From owner-freebsd-ports Tue Jun 11 18:17:33 2002 Delivered-To: freebsd-ports@freebsd.org Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 6AD9B37B409 for ; Tue, 11 Jun 2002 18:17:28 -0700 (PDT) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA51417 for ; Wed, 12 Jun 2002 11:17:26 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id LAA28847; Wed, 12 Jun 2002 11:17:26 +1000 (EST) Message-Id: <200206120117.LAA28847@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: ports@freebsd.org Subject: xscreensaver and gtk12 link problems Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Jun 2002 11:17:26 +1000 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [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? 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