[ncl-install] install ncl

Julie Chen chenj at ssc.ucla.edu
Thu Jan 31 17:51:35 MST 2008


I'm trying to compile ncl_ncarg-5.0.0 on Solaris 10 x86.  I'm using
gcc version 3.4.6, no optional support were select.    When I try to run
make Everything, I got following error.  I'm hoping to get some help to
get it compiled.  Or is there a compiled version for Solaris 10 x86_64?

 

 

 

Thanks for your time.

 

Julie

 

 

 

gcc -ansi  -O    -o nyacc closure.o lalr.o main.o output.o skeleton.o
verbose.o  error.o lr0.o mkpar.o reade

 

r.o symtab.o warshall.o  -L/usr/local/ncarg/lib -L/usr/openwin/lib
-L/usr/dt/lib   -Wl,-Bdynamic -lnsl -lint

 

l -lsocket -ldl -lw -Wl,-Bstatic 

 

ld: fatal: library -lc: not found

 

ld: fatal: File processing errors. No output written to nyacc

 

collect2: ld returned 1 exit status

 

*** Error code 1

 

make: Fatal error: Command failed for target `nyacc'

 

Current working directory /usr/local/ncl_ncarg-5.0.0/ni/src/nyacc

 

*** Error code 1

 

The following command caused the error:

 

tname=includes; \

 

for dir in nyacc lib ncl mkwrap db scripts examples ; do \

 

if (test -d $dir) then \

 

(cd $dir; echo "Making $tname in ./ni/src/$dir";\

 

make  includes);\

 

else echo "NOT Making $tname in ./ni/src/$dir"; fi \

 

done

 

make: Fatal error: Command failed for target `includes'

 

Current working directory /usr/local/ncl_ncarg-5.0.0/ni/src

 

*** Error code 1

 

The following command caused the error:

 

tname=includes; \

 

for dir in src ; do \

 

if (test -d $dir) then \

 

(cd $dir; echo "Making $tname in ./ni/$dir";\

 

make  includes);\

 

else echo "NOT Making $tname in ./ni/$dir"; fi \

 

done

 

make: Fatal error: Command failed for target `includes'

 

Current working directory /usr/local/ncl_ncarg-5.0.0/ni

 

*** Error code 1

 

The following command caused the error:

 

tname=includes; \

 

for dir in config external common ncarg2d ngmath ncarview ni ; do \

 

if (test -d $dir) then \

 

(cd $dir; echo "Making $tname in ./$dir";\

 

make  includes);\

 

else echo "NOT Making $tname in ./$dir"; fi \

 

done

 

make: Fatal error: Command failed for target `includes'

 

Current working directory /usr/local/ncl_ncarg-5.0.0

 

*** Error code 1

 

The following command caused the error:

 

make  includes

 

make: Fatal error: Command failed for target `Everything'

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20080131/c2ad4a15/attachment.html


More information about the ncl-install mailing list