[gradsusr] Enable netcdf 4.1.1 option in grads configure file
Huber Paúl Gilt López
huber.gilt at igp.gob.pe
Fri Jun 11 14:11:34 EDT 2010
Hello,
Im trying to build grads with netcdf option enable, after I configured the
grads with this command:
./configure -prefix=/opt/grads-2.0.a8 --with-sdf
--with-netcdf-include=/home/huber/grads/supplibs/include/netcdf > config.out
I had the following message that ludunits library is not found:
Checking in supplibs for libraries to support netcdf-4 ...
checking for udunits.h... (cached) yes
checking for utInit in -ludunits... (cached) no
- netcdf-4 disabled
Then, I tried to build the source ldudunits library with the make command,
and also I had this error:
cc -o udunits -O udunits.o -R/data/hoop/udunits-1.11.7/src/lib
-L/data/hoop/udunits-1.11.7/src/lib -ludunits
-R/data/hoop/udunits-1.11.7/src/port/misc
-L/data/hoop/udunits-1.11.7/src/port/misc -ludport -ly -lm
(Bundled) cc: warning 922: "-O" is unsupported in the bundled compiler,
ignored.
(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/lib': use +help for online documentation.
(Bundled) cc: warning 901: unknown option:
`-R/data/hoop/udunits-1.11.7/src/port/misc': use +help for online
documentation.
ld: Can't find library for -ludunits
Fatal error.
Why the compilation needs the ludunits library, I was thought this library
will be the output?
Please help me
Best regards,
Huber Paul Gilt Lopez
IGP-Peru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100611/3d9b7329/attachment-0003.html
More information about the gradsusr
mailing list