Open VictorEijkhout opened 5 months ago
If building PnetCDF using its official releases, you do not need to run autoreconf
.
Running command configure
is sufficient.
Running autoreconf
is only required when building from a clone of GitHub repo.
Right. I'm now able to build the official release.
But I'm still wondering (just a little) where this problem with installing from a git clone comes from.
Maybe your libtool version is older than 2.4.6. Please check with command "libtool --version".
libtool --version
libtool (GNU libtool) 2.4.7
Written by Gordon Matzigkeit, 1996
Copyright (C) 2014 Free Software Foundation, Inc
Besides, it says the macro is undefined. I tried setting it as an environment variable but that didn't help.
I tested it with libtool 2.4.6 only. Maybe there is a conflict when using 2.4.7. Could you give 2.4.6 a try?
I have compiler m4/autoconf/automake/libtool from source since my system did not have the latest versions you requested. Did I miss something in the setup? The Gnu pages seem to indicate that configure/make on each of these should be enough.