[Proj] Compiling on Solaris 10 x86

Vinicius Carvalho vinicius.carvalho at ericsson.com
Wed Mar 23 07:12:08 PDT 2011


Thanks a million Frank. That did trick. I found that ar is actually located at /usr/xpg4/bin (Have no idea what that dir is though :P)

Regards 

-----Original Message-----
From: proj-bounces at lists.maptools.org [mailto:proj-bounces at lists.maptools.org] On Behalf Of Frank Warmerdam
Sent: 23 March 2011 14:05
To: PROJ.4 and general Projections Discussions
Subject: Re: [Proj] Compiling on Solaris 10 x86

On 11-03-23 07:57 AM, Vinicius Carvalho wrote:
> Hi There! I'm trying to compile and install this library on a Solaris 
> 10 x86 server. Needed for the PostGIS install.
> So, I ran ./configure and everything went ok, but gmake is throwing an error:
...
> (cd .libs && rm -f libproj.so.0 && ln -s libproj.so.0.6.6 
> libproj.so.0) (cd .libs && rm -f libproj.so && ln -s libproj.so.0.6.6 
> libproj.so) false cru .libs/libproj.a PJ_aeqd.o PJ_gnom.o PJ_laea.o 
> PJ_mod_ster.o PJ_nsper.o PJ_nzmg.o PJ_ortho.o PJ_stere.o PJ_sterea.o 
> PJ_aea.o PJ_bipc.o

Vinicius,

I'm not sure why it is happening, but it seems that configure selected "false"
as the "ar" command on your system.  It looks like predefining the AR environment variable may operate as a clue to configure about what archive command to use.  Try:

export AR=/bin/ar
./configure

and check what "ac_ct_AR" is set to in src/Makefile.

It might also be a problem with libtool since I presume libtool is actually intercepting in the ar command.

Good luck,
-- 
---------------------------------------+--------------------------------
---------------------------------------+------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj



More information about the Proj mailing list