[GRASS5] Re: bug in configure routine
Eric G . Miller
egm2 at jps.net
Thu Nov 23 17:10:58 EST 2000
On Thu, Nov 23, 2000 at 03:08:58PM +0100, Andreas Lange wrote:
> Hi Eric,
>
> i am not an autoconf expert, but i gained some expirience in
> hand-crafting the header files for IRIX and the cygwin setup.
>
> Should i send you the header.* files so that you can see which
> setups/paths work?
Sure.
> > SGI doesn't have XDRLIB? It's required for encoding rasters. Anyway, if
> > no special linking is needed for this, then $(XDRLIB) should evaluate to
> > an empty string. Currently I have it set for the three -lsun, -lnsl,
> > and -lrpclib (if they exist). Otherwise it now should come up empty.
>
> I watched this too on IRIX. But i think that if there is a library of
> that name (libsun? libnsl??, can't remember) the inclusion would not
> hurt. There are many messages in the form "libxyz not used to resolve
> any symbol...". Does that mean that the library is linked into the
> binary even if it is not used to resolve anything? That would bloat
> the executable.
Well, you all will have to give me direction here.
> > > Also, is there a way to get configure to search in directories unique to
> > > systems? For example on SGI the png and jpeg libraries are not installed
> > > by default but can be easily installed under a directory called
> > > /usr/freeware from their website. Is there a way to tell configure to
> > > search /usr/freeware if the machine is an SGI? Or do we need to provide
> > > an option to indicate which directory to search?
>
> On IRIX there seems to be a difference if you use MIPS PRO native SGI
> compiler or gcc. Using gcc i have always the problem that the libraries
> are found in lib, but in lib the library is in the old format, whilst
> gcc compiles in the new (n32 ABI) format. So the library search path
> must be lib32 (/usr/lib32, /usr/local/lib32, /usr/freeware/lib32). If
> you have a 64bit machine and compile in the new 64bit mode, you'll find
> the libraries in lib64, but i expect this not to work without heavy code
> modification.
No idea about this either.
--
Eric G. Miller <egm2 at jps.net>
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list