From owner-freebsd-questions Fri Jun 28 16: 5:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF12737B405 for ; Fri, 28 Jun 2002 16:05:33 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1618A43E06 for ; Fri, 28 Jun 2002 16:05:33 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g5SN5WwI052118; Fri, 28 Jun 2002 18:05:32 -0500 (CDT) (envelope-from dan) Date: Fri, 28 Jun 2002 18:05:32 -0500 From: Dan Nelson To: "S. Salman Ahmed" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Ports' configure scripts not finding gtk-config Message-ID: <20020628230532.GC18990@dan.emsphone.com> References: <15644.59053.219750.714279@zeus.asci> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15644.59053.219750.714279@zeus.asci> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jun 28), S. Salman Ahmed said: > I had been trying to build nmapfe from ports on a 4.6-STABLE box, and > one of the configure scripts for nmapfe wasn't able to find the > gtk-config script even though I had already installed gtk-1.2 and > gtk-2.0 on my system. > > I tracked the problem down to the the fact that gtk12-config existed > in /usr/X11R6/bin but there was no gtk-config in that directory. My > quick fix was to just symlink gtk-config to gtk12-config. After that > fix, nmapfe built without any problems. > > My question is: is this a bug/breakage in the upstream nmapfe source or > is it in gtk-1.2 port (for not creating the gtk-config symlink) ? There shouldn't be any gtk-config. gtk12 installs gtk12-config, and the nmapfe port seems to build fine for me: checking for gtk-config... /usr/X11R6/bin/gtk12-config The port Makefile sets USE_GTK=yes, which ends up setting GTK_CONFIG=${X11BASE}/bin/gtk12-config , so everyhint *should* have worked for you. > Also, since I just noticed that I also have gtk-2.0 installed why is > there no gtk20-config script ? gtk20 uses pkgconfig, so the info ends up stored in /usr/local/libdata/pkgconfig/ instead of /usr/local/bin/*-config. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message