Re: [gtk-list] glib still doesn't link right on Solaris
- From: Jeff Garzik <jgarzik pobox com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] glib still doesn't link right on Solaris
- Date: Mon, 14 Dec 1998 13:17:00 -0500 (EST)
Todd Dukes wrote:
>
> If you do a normal install of glib and gtk+, for example
>
> cd glib
> ./configure --prefix=/somedir
> make
> make install
> cd ../gtk+
> ./configure --prefix=/somedir
> make
> make install
>
> the second make (making gtk+) will fail at link because it
> can't find the glib library.
You are missing the -R option in LDFLAGS. Here is what I use:
bubba:/home/jgarzik/cvs/gnome/glib> CC=gcc CFLAGS=-O ./configure ; make
bubba:/home/jgarzik/cvs/gnome/gtk+> CC=gcc CFLAGS=-O LDFLAGS=-R/usr/local/lib ./configure --with-threads ; make
bubba:/home/jgarzik/cvs/gnome/imlib> CC=gcc CFLAGS=-O LDFLAGS=-R/usr/local/lib ./configure ; make
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]