Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 1999 02:53:00 +0200
From:      Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
To:        "Mikhail A. Sokolov" <mishania@demos.net>
Cc:        questions@freebsd.org
Subject:   Re: GTK+ failures to be detected.
Message-ID:  <19991010025300.H38786@daemon.ninth-circle.org>
In-Reply-To: <19991009230845.A91126@demos.su>
References:  <19991009230845.A91126@demos.su>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <gtk/gtk.h>
>#include <stdio.h>
>
>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 <http://home.wxs.nl/~asmodai>;
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




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