autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf and 64-bit Systems


From: Paul Elliott
Subject: Re: Autoconf and 64-bit Systems
Date: Tue, 3 Feb 2009 10:19:21 -0600
User-agent: Mutt/1.5.16 (2007-06-09)

On Tue, Feb 03, 2009 at 05:50:21AM -0700, Eric Blake wrote:
> According to Tom Browder on 2/2/2009 1:53 PM:
> > Is there any way to have configure test for a 64-bit system and then
> > put libraries in a default place, say /usr/local/lib64, instead of the
> > default /usr/local/lib as so many GNU packages do at the moment?
> > 
> > I know I can use ./configure --libdir=/usr/local/lib64 but would like
> > the package to take care of that.


All of the .rpm based distros that I use recommend putting
./configure --libdir=%_libdir .....

in the .spec file. %_libdir is is /usr/lib or /usr/lib64

Since you want to use /usr/local you should write

./configure --libdir=/usr/local/%_lib

for rpm based distros.

The Debian based distros that I have used don't need anything done
because /usr/lib works for 64bit.


-- 
Paul Elliott                       1(512)837-1096
address@hidden                    PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117

Attachment: pgpg8vsZzs19z.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]