Problems installing NCL 5.2.0 in Fedora 13

From: Mateus Teixeira <mateus.teixeira_at_nyahnyahspammersnyahnyah>
Date: Sun Nov 21 2010 - 10:14:47 MST

Dear NCL developers,

I'm trying to install NCL 5.2.0 from source in Fedora 13, but I'm getting
some errors and I having troubles in figure them out. Below are some of
these errors:

gcc -ansi -fPIC -O -I../../../.././include -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/cairo -I/usr/local/
include/curl -I/usr/local/include/fontconfig -I/usr/local/include/hdf
-I/usr/local/include/jasper -I/usr/local/include/libpng14 -I/usr/lo
cal/include/pixman-1 -DBuildPNG -DBuildCAIRO -DSYSV -D_POSIX_SOURCE
-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o mapngb.o map
ngb.c
mapngb.c: In function ‘gsvini_’:
mapngb.c:81: error: ‘int_p_NULL’ undeclared (first use in this function)
mapngb.c:81: error: (Each undeclared identifier is reported only once
mapngb.c:81: error: for each function it appears in.)
make[5]: ** [mapngb.o] Erro 1

...

gfortran -fPIC -fno-second-underscore -fno-range-check -O -o ncargworld
ncargworld.o ../../../.././ncarg2d/src/libncarg_gks/awi/ggkwd
r_stub.o -L../../../.././ncarg2d/src/libncarg -lncarg
-L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/li
bncarg_c -lncarg_c -L/usr/local/ncarg/lib -L/usr/local/lib
-L/usr/local/lib/cairo -L/usr/local/lib/pkgconfig
ncargworld.o: In function `MAIN__':
ncargworld.f:(.text+0x1c2): undefined reference to `maproj_'
ncargworld.f:(.text+0x208): undefined reference to `mapstr_'
ncargworld.f:(.text+0x228): undefined reference to `mapstr_'
ncargworld.f:(.text+0x248): undefined reference to `mapstr_'
ncargworld.f:(.text+0x286): undefined reference to `mapset_'
ncargworld.f:(.text+0x2a6): undefined reference to `mapsti_'
ncargworld.f:(.text+0x2c6): undefined reference to `mapsti_'
ncargworld.f:(.text+0x2e0): undefined reference to `mapsti_'
ncargworld.f:(.text+0x2e5): undefined reference to `mapint_'
ncargworld.f:(.text+0x3ca): undefined reference to `maptri_'
ncargworld.f:(.text+0x56d): undefined reference to `mapdrw_'
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0xbd): undefined reference to `maptra_'
pcmpxy.f:(.text+0xfc): undefined reference to `maptri_'
pcmpxy.f:(.text+0x3e4): undefined reference to `maptra_'
collect2: ld returned 1 exit status
make[5]: ** [ncargworld] Erro 1

...

gfortran -fPIC -fno-second-underscore -fno-range-check -O -o tdpackdemo
TdpackDemo.o -L../../../.././ncarg2d/src/libncarg -lncarg -L.
./../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lcairo -lfontconfig
-lpixman-1 -lfreet
ype -lexpat -lpng -lz -lpng -lz -L/usr/local/ncarg/lib -L/usr/local/lib
-L/usr/local/lib/cairo -L/usr/local/lib/pkgconfig -lX11 -lXext
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0xbd): undefined reference to `maptra_'
pcmpxy.f:(.text+0xfc): undefined reference to `maptri_'
pcmpxy.f:(.text+0x3e4): undefined reference to `maptra_'
collect2: ld returned 1 exit status
make[5]: ** [tdpackdemo] Erro 1

...
mdlndr.f:(.text+0xf7e): undefined reference to `mapit_'
mdlndr.f:(.text+0xfe1): undefined reference to `mapit_'
mdlndr.f:(.text+0x100e): undefined reference to `mapiq_'
mdlndr.f:(.text+0x10e1): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x1129): undefined reference to `mdgetr_'
mdlndr.f:(.text+0x1142): undefined reference to `mdplmb_'
../../../.././ncarg2d/src/libncarg/libncarg.a(mdutin.o): In function
`mdutin_':
mdutin.f:(.text+0xf0): undefined reference to `mdpin2_'
mdutin.f:(.text+0x852): undefined reference to `mdpint_'
collect2: ld returned 1 exit status
make[5]: ** [ezmapdemo] Erro 1

gfortran -fPIC -fno-second-underscore -fno-range-check -O -o nnalg
nadisp.o nadraw.o naskln.o nasort.o -L../../../.././ncarg2d/src
/libncarg -lncarg -L../../../.././ncarg2d/src/libncarg_gks -lncarg_gks
-L../../../.././common/src/libncarg_c -lncarg_c -lcairo -lfontconf
ig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpng -lz -L/usr/local/ncarg/lib
-L/usr/local/lib -L/usr/local/lib/cairo -L/usr/local/lib/pkgc
onfig -lX11 -lXext
../../../.././ncarg2d/src/libncarg/libncarg.a(pcmpxy.o): In function
`pcmpxy_':
pcmpxy.f:(.text+0xbd): undefined reference to `maptra_'
pcmpxy.f:(.text+0xfc): undefined reference to `maptri_'
pcmpxy.f:(.text+0x3e4): undefined reference to `maptra_'
collect2: ld returned 1 exit status
make[5]: ** [nnalg] Erro 1

mdlndr.f:(.text+0xe91): undefined reference to `mdpchi_'
mdlndr.f:(.text+0xeea): undefined reference to `mapit_'
mdlndr.f:(.text+0xf7e): undefined reference to `mapit_'
mdlndr.f:(.text+0xfe1): undefined reference to `mapit_'
mdlndr.f:(.text+0x100e): undefined reference to `mapiq_'
mdlndr.f:(.text+0x10e1): undefined reference to `mdpchi_'
mdlndr.f:(.text+0x1129): undefined reference to `mdgetr_'
mdlndr.f:(.text+0x1142): undefined reference to `mdplmb_'
../../.././ncarg2d/src/libncarg/libncarg.a(mdlnri.o): In function `mdlnri_':
mdlnri.f:(.text+0x210): undefined reference to `mpdbdi_'
collect2: ld returned 1 exit status
make[4]: ** [ncl] Erro 1

I have compiled and installed all non-optional software and some optional
software in /usr/local, as recommended in the website.

Best regards,

-- 
Mateus da Silva Teixeira
Registered Linux User #466740 (http://counter.li.org/)

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Sun Nov 21 10:14:55 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 30 2010 - 08:00:31 MST