From owner-freebsd-questions Sat Oct 9 17:52:55 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60]) by hub.freebsd.org (Postfix) with ESMTP id BFABD150C3 for ; Sat, 9 Oct 1999 17:52:52 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.198.188]) by smtp02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA5315; Sun, 10 Oct 1999 02:52:50 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id CAA40311; Sun, 10 Oct 1999 02:53:00 +0200 (CEST) (envelope-from asmodai) Date: Sun, 10 Oct 1999 02:53:00 +0200 From: Jeroen Ruigrok/Asmodai To: "Mikhail A. Sokolov" Cc: questions@freebsd.org Subject: Re: GTK+ failures to be detected. Message-ID: <19991010025300.H38786@daemon.ninth-circle.org> References: <19991009230845.A91126@demos.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i In-Reply-To: <19991009230845.A91126@demos.su> Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On [19991009 21:49], Mikhail A. Sokolov (mishania@demos.net) wrote: >whilst compiling ports, such as wmakerconf, as for instance, xmms or whatever >would need gtk+ >1.2.x I come up with a failure of this toolkit to be >detected, no matter what gtk version is installed. Checked are: 1.2.{0-5}. >However, glib, which comes in the package will do ok, no matter how is GTK >installed, from ports or manually. Logical. glib is what makes GTk+ work. In other words, glib is dependent upon by GTk+, but not vice versa. >*** Could not run GTK test program, checking why... >*** The test program failed to compile or link. See the file config.log for the >*** exact error that occured. This usually means GTK was incorrectly installed >*** or that you have moved GTK since it was installed. In the latter case, you >*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk-config >configure: error: *** GTK >= 1.2.0 not installed - please install first *** What do you have? gtk12-config or gtk-config? Makes a world of difference. If you have gtk12-config, try making a symlink of gtk-config to gtk12-config. >file /usr/X11R6/lib/libgtk12.* >/usr/X11R6/lib/libgtk12.a: current ar archive >/usr/X11R6/lib/libgtk12.so: symbolic link to libgtk12.so.2 >/usr/X11R6/lib/libgtk12.so.2: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped [snip compile] >configure: failed program was: >#line 1966 "configure" >#include "confdefs.h" > >#include >#include > >int main() { > return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); >; return 0; } 0 lrwxr-xr-x 1 root wheel - 15 Aug 14 18:10 libgtk-1.2.so@ -> libgtk-1.2.so.2 4728 -rwxr-xr-x 1 root wheel - 4828637 Feb 28 1999 libgtk-1.2.so.0* 3240 -rwxr-xr-x 1 root wheel - 3306965 Aug 14 18:10 libgtk-1.2.so.2* That is how I have them, but I made them from the sources myself. Do you update your ports tree regularly? If so then I cannot actually see what is going wrong here and will have to delve deeper into it. If not, could you please try to cvsup the ports to the latest? HTH, -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Here is, I believe, the fundamental rule of all being: Life is not at all like this. It is completely different... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message