Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 22:48:17 -0400 (EDT)
From:      Joe Clarke <marcus@marcuscom.com>
To:        Larry Rosenman <ler@lerctr.org>
Cc:        Gregory Bond <gnb@itga.com.au>, <ports@FreeBSD.ORG>
Subject:   Re: xscreensaver and gtk12 link problems
Message-ID:  <20020611224745.G32865-100000@shumai.marcuscom.com>
In-Reply-To: <1023845634.366.5.camel@lerlaptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Jun 2002, Larry Rosenman wrote:

> On Tue, 2002-06-11 at 20:17, Gregory Bond wrote:
> > [I hope this is the right place; please cc me as I'm not subscribed to ports@]
> >
> > I'm trying to build xscreensaver-4.04.2 (using the port Makefile rev 1.54).
> >
> > I don't want or have gnome.  I do have gtk and gdk installed (from the gtk12
> > port, version 1.2.10 with Makefile rev 1.80).  AFAIK these are the latest
> > versions.
> >
> > The build of xscreensaver is failing at link time, trying to link "-lgtk"
> > which doesn't exist - it is called "-lgtk12". Some serious head scratching and
> > looking at xscreensaver's configure script has led me to look at pkg-config.
> >
> > "pkg-config --libs gtk" gives what seems to be the correct output:
> > 	-Wl,-E  -L/usr/X11R6/lib -L/usr/local/lib -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm
> >
> > but the configure script is calling "pkg-config --libs gtk+" which gives the
> > bogus output:
> > 	-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lintl -lXext -lX11 -lm -lglib
> >
> > Further investigation leads me to the gtk12 port, which installs the file
> > 	/usr/X11R6/libdata/pkgconfig/gtk+.pc
> > which contains the bogus data.
> >
> > Is this a bug in the gtk12 port?
> DougB@FreeBSD.org committed a change to 4.05, but it fails:
> ===>  Cleaning for esound-0.2.27
> ===>  Cleaning for gnomeaudio-gnome-1.4.0
> ===>  Cleaning for libaudiofile-0.2.3
> ===>  Cleaning for libiconv-1.7.0.1
> ===>  Cleaning for db3-3.2.9_3,1
> ===>  Cleaning for gdbm-1.8.0
> ===>  Cleaning for gnomedb-gnome-0.2.96_1
> ===>  Cleaning for libgda-gnome-0.2.96_1
> ===>  Cleaning for ORBit-0.5.17
> ===>  Cleaning for bison-1.35_1
> ===>  Cleaning for bonobo-gnome-1.0.20_2
> ===>  Cleaning for gconf-gnome-1.0.9
> ===>  Cleaning for gettext-0.11.1_3
> ===>  Cleaning for glib-1.2.10_6
> ===>  Cleaning for gmake-3.79.1_2
> ===>  Cleaning for gnomevfs-gnome-1.0.5_4
> ===>  Cleaning for imake-4.2.0_1
> ===>  Cleaning for libglade-gnome-0.17_2
> ===>  Cleaning for libgnugetopt-1.1
> ===>  Cleaning for libtool-1.3.4_4
> ===>  Cleaning for libunicode-0.4_3
> ===>  Cleaning for oaf-gnome-0.6.10
> ===>  Cleaning for pkgconfig-0.12.0
> ===>  Cleaning for popt-1.5.1_1
> ===>  Cleaning for Mesa-3.4.2_2
> ===>  Cleaning for gdk-pixbuf-0.17.0
> ===>  Cleaning for gle-3.0.3
> ===>  Cleaning for gnomecanvas-gnome-0.17.0
> ===>  Cleaning for imlib-1.9.14_1
> ===>  Cleaning for jpeg-6b_1
> ===>  Cleaning for libungif-4.1.0b1
> ===>  Cleaning for png-1.2.3
> ===>  Cleaning for tiff-3.5.7
> ===>  Cleaning for guile-1.4
> ===>  Cleaning for gnomemimedata-gnome-1.0.8
> ===>  Cleaning for freetype2-2.1.0_1
> ===>  Cleaning for ghostscript-gnu-7.05_1
> ===>  Cleaning for gnomeprint-gnome-0.36
> ===>  Cleaning for gnomecontrolcenter-gnome-1.4.0.5_1
> ===>  Cleaning for expat-1.95.2
> ===>  Cleaning for libxml-1.8.17_1
> ===>  Cleaning for pspell-0.12.2_1
> ===>  Cleaning for scrollkeeper-0.2,1
> ===>  Cleaning for glibwww-gnome-0.2_1
> ===>  Cleaning for gtkhtml-gnome-1.0.3
> ===>  Cleaning for libghttp-1.0.9
> ===>  Cleaning for libwww-5.3.2
> ===>  Cleaning for gal-gnome-0.19.2_1
> ===>  Cleaning for gtk-1.2.10_5
> ===>  Cleaning for XFree86-libraries-4.2.0_1
> ===>  Cleaning for gnomecore-gnome-1.4.1
> ===>  Cleaning for gnomelibs-1.4.1.7
> ===>  Cleaning for xscreensaver-gnome-4.05
> /bin/sh pkg-libwarning
> pkg-libwarning: Can't open pkg-libwarning: No such file or directory
> *** Error code 2
>
> Stop in /usr/ports/x11/xscreensaver-gnome.
>
> I've sent mail to Doug.  No response as of yet (only sent an hour ago,
> though).

I also notified Doug earlier, and it looks like he committed the fix.
Note, though, that I was still unable to build xscreensaver-gnome even
after the fix.

Joe

>
>
> >
> > Greg,
> > still a real novice when it comes to automake and gnome/gtk stuff.
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-ports" in the body of the message
> >
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
>
>

PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020611224745.G32865-100000>