Re: forcing configure to use /opt/gnome



Steve Vertigan wrote:
> 
> Well I've decided to download the entire gnome 1.4 release and install
> everything to /opt/gnome.  The first package audiofile built ok,
> installed libraries to /opt/gnome/lib and informed me if I want to link
> against them I have to add -lLIBDIR when linking and add /opt/gnome/lib
> to ld.so.conf.
> 
> So my question is how do I add -lLIBDIR without editing the Makefiles.
> I invoked the next configure like this
> ./configure --prefix=/opt/gnome --libdir=/opt/gnome/lib --with-gnu-ld

No, here you say: the package will be installed "under" /opt/gnome but
the installation directory for the librairies is /opt/gnome/lib (which
is actually a null op). If you want to use audiofile (ex not really
interrested for audiofile because of the audiofile-config script) from
/opt/gnome, use something like:
--with-audiofile=/opt/gnome or --with-audiofile-libs=/opt/gnome/lib
--with-audiofile-includes=/opt/gnome/include (the older are not always
correctly handled depending how m4 macros are written).

In all cases, closely check that the generated libraries/executables are
linked with the good libraries with ldd.

> 
> Will that do the trick?  It still seems to be referencing /usr/lib and
> it queried /usr/bin/audiofile-config rather than
> /opt/gnome/bin/audiofile-config.

Add /opt/gnome/bin in your PATH before all others:
sh/ksh/bash: PATH=/opt/gnome/bin:$PATH
csh:         setenv PATH "/opt/gnome/bin:$PATH"

> 
> Thanks,
> Steve
>

Good luck
 
> --
> FreeBSD maelstrom.dyn.dhs.org 3.4-STABLE i386
>  5:35PM  up 23 days,  1:18, 1 user, load averages: 0.00, 0.02, 0.08
> "If you can count your money, you don't have a billion dollars."
>                 -- J. Paul Getty
> 
> _______________________________________________
> gnome-list mailing list
> gnome-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-list

-- 
   _/_/_/   _/    _/  _/      /      Remi Cohen-Scali
   _/      _/    _/  _/_/   _/       Development engineer
  _/_/_/  _/    _/  _/  _/ _/        Network Service Provider Division
     _/  _/    _/  _/   _/_/         Phone:     +33-139-447-509  x44509
_/_/_/   _/_/_/   _/     _/          E-mails: Remi Cohen-Scali Sun COM
M  I  C  R  O  S  Y  S  T  E  M  S            Remi Cohen-Scali COM
                                     WAPmail:
Remi CohenScali Itineris Net




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