problem compiling proj.4

Karen.Frederickson at rsgisc.crrel.usace.army.mil Karen.Frederickson at rsgisc.crrel.usace.army.mil
Tue Jul 26 17:08:27 EDT 1994


Hello Gie,

I am currently trying to install PROJ.4 on our Sun workstation- and hope
to then install mapgen. I am using a script with the following two lines:

sh -x install sun4.1 /usr/local/bin /usr/local/lib /usr/local/include
ranlib /usr/local/lib/libproj.a


I get the following feedback and error messages when I run this script:

----- Begin Included Message -----

+ : 
+ [ 4 -lt 4 ] 
bin=/usr/local/bin
lib=/usr/local/lib
inc=/usr/local/include
+ [ ! -d /usr/local/bin -o ! -w /usr/local/bin ] 
+ [ ! -d /usr/local/lib -o ! -w /usr/local/lib ] 
+ [ ! -d /usr/local/include -o ! -w /usr/local/include ] 
+ cd src 
+ make install LIB=/usr/local/lib CC=gcc COMP=-O -DFILENAME_MAX=1024 -DNO_STRERRNO 
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib libproj.a ; fi
gcc -o proj proj.o gen_cheby.o emess.o  libproj.a -lm
ld: -lgcc: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `proj'
+ [ 1 -ne 0 ] 
+ echo make failed 
make failed
+ exit 1 
ranlib: cannot open /usr/local/lib/libproj.a


----- End Included Message -----

Could you help me identify what the problem is? (also, where can I obtain
the full manual OF-90-284?)

Thank you in advance!

Karen Frederickson
RS/GIS Center
USACRREL
72 Lyme Road
Hanover, NH 03755
(603) 646-4387



More information about the grass-user mailing list