Re: Keeping two different versions of GTK+ on the same system.
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Fabrício Barros Cabral <fxcabral yahoo com br>
- Cc: gtk-devel-list gnome org
- Subject: Re: Keeping two different versions of GTK+ on the same system.
- Date: Sat, 20 Dec 2003 04:06:46 -0500
On Fri, 19 Dec 2003, [iso-8859-1] Fabrício Barros Cabral wrote:
> Behdad Esfahbod <behdad cs toronto edu> wrote:
> > Mix this with yours:
> > GCCOPTS="-mcpu=pentium4 -march=pentium4 -g"
> > export CC="gcc $GCCOPTS"
> > export CXX="g++ $GCCOPTS"
> > export PATH="$HOME/bin:$PATH:$HOME/script"
> > export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
> > export LD_WARN=yes
> > export CPPFLAGS="-I$HOME/include $CPPFLAGS"
> > export CFLAGS="-I$HOME/include $CFLAGS"
> > export CXXFLAGS="-I$HOME/include $CXXFLAGS"
> > export LDFLAGS="-L$HOME/lib $LDFLAGS"
> > export LIBS="-L$HOME/lib $LIBS"
> > export PKG_CONFIG_PATH="$HOME/lib/pkgconfig:$PKG_CONFIG_PATH"
> > export PYTHONPATH="$HOME/lib/python:$HOME/lib/python2.3/site-packages:$PYTHONPATH"
> >
> > In particular, you lack the CFLAGS and LDFLAGS part.
>
> Behdad, it worked *fine*. Thanks! :) But I'd like to understand
> it: Why Should I change the CFLAGS and LDFLAGS? I thought pkg-config
> made that to me.
Actually I don't know the exact situation you have. Many
libraries still don't support pkg-config. Many packages do not
have pkg-config tests in their configure. But with gnome I'm
afraid they should simply work. Lemme give it a try and would
reply again if found anything.
behdad
> Thanks in advance,
>
> --fx
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]