On 08/23/2013 08:24 AM, Chaoran Yang wrote:
Hi all,
I'm trying to build netcdf-fortran-4.2 on my arch linux machine and it failed
with the following message:
make[2]: Entering directory
`/home/chaoran/src/netcdf-fortran-netcdf-fortran-4.2/man4'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/chaoran/src/netcdf-fortran-netcdf-fortran-4.2/missing
makeinfo --version) >/dev/null 2>&1; then \
for f in netcdf-f90.info netcdf-f90.info-[0-9] netcdf-f90.info-[0-9][0-9]
netcdf-f90.i[0-9] netcdf-f90.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/chaoran/src/netcdf-fortran-netcdf-fortran-4.2/missing
makeinfo -I . \
-o netcdf-f90.info netcdf-f90.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./netcdf-f90.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
netcdf-f90.texi:2085: warning: @item missing argument
netcdf-f90.texi:6982: raising the section level of @unnumberedsubsec which is
too low
Does someone know what might be the problem here? Here's my configure line:
./configure --prefix=$HOME/pkgs/netcdf-fortran-netcdf-fortran-4.2
CPPFLAGS=-I/home/chaoran/pkgs/netcdf-c-netcdf-4.2/include
LDFLAGS=-L/home/chaoran/pkgs/netcdf-c-netcdf-4.2/lib
And my LD_LIBRARY_PATH:
echo $LD_LIBRARY_PATH
/home/chaoran/pkgs/netcdf-c-netcdf-4.2/lib
Try this patch.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion@xxxxxxxx
Boulder, CO 80301 http://www.nwra.com
Index: man4/netcdf-f90.texi
===================================================================
--- man4/netcdf-f90.texi (revision 57)
+++ man4/netcdf-f90.texi (working copy)
@@ -2127,7 +2127,6 @@
The name of the
group will be copied to this character array. The name will be less
than NF90_MAX_NAME in length.
-@item
@end table
@@ -7023,7 +7022,7 @@
@node FORTRAN 77 to Fortran 90 Transition Guide, Combined Index, Summary of
Fortran 90 Interface, Top
@appendix Appendix B - FORTRAN 77 to Fortran 90 Transition Guide
-@unnumberedsubsec The new Fortran 90 interface
+@unnumberedsec The new Fortran 90 interface
The Fortran 90 interface to the netCDF library closely follows the
FORTRAN 77 interface. In most cases, function and constant names and
@@ -7045,7 +7044,7 @@
versions may be implemented entirely in Fortran 90, adding additional
error checking possibilities.
-@unnumberedsubsec Changes to Inquiry functions
+@unnumberedsec Changes to Inquiry functions
In the Fortran 90 interface there are two inquiry functions each for
dimensions, variables, and attributes, and a single inquiry function
@@ -7079,7 +7078,7 @@
INTEGER FUNCTION NF_INQ_ATTNAME (NCID, VARID, ATTNUM, name)
@end example
-@unnumberedsubsec Changes to put and get function
+@unnumberedsec Changes to put and get function
The biggest simplification in the Fortran 90 is in the nf90_put_var
and nf90_get_var functions. Both functions are overloaded: the values