Thanks, it worked.
-Chaoran
On Aug 23, 2013, at 4:54 PM, Orion Poplawski <orion@xxxxxxxxxxxxx> wrote:
> 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
> <netcdf-fortran-man.patch>