Relocated Compiling... Any tips ?



Ok, So I downloaded:

atk-1.2.4
pango-1.2.5
glib-2.2.3
gtk+-2.2.4

And... I need my libs to *eventualy* install in /usr/lib (on
other machines), so from experience:

builddir/glib-2.2.3 $ ./configure --prefix=/usr

does the trick,

but since I can't install on the machine used for compileing...

I do this:

builddir/glib-2.2.3 $ mkdir distrib
builddir/glib-2.2.3 $ make DESTDIR=`pwd`/distrib install

so far so good... but now that I'm compiling atk-1.2.4, atk wants
to link against the new glib I just built... hmmm, setting LD_LIBRARY_PATH
to: "`pwd`/builddir/glib-2.2.3/distrib/usr/lib" doesn't help...

Anyone have an easier proceedure to compile gtk+ in a relocated
environment ?

(I mean, sure I'll get throught it by hand but...
that could end up being a nightmare ;-)

Cheers,
                     -Tristan





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