Re: wxWindows configuration under Suse 8.2

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: wxWindows configuration under Suse 8.2
Date: 2003-06-11 17:57:54
Message-ID: 200306111957.54796.jm.poure@freesurf.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wednesday 11 June 2003 19:06, Adam H. Pendleton wrote:
> Okay, so what is the location of gtk/gtk.h on your system?

I am running the ./configure script again. gtk2 and gtk2-devel are installed,
but not other packages like glib, etc..

Any idea?
Cheers, Jean-Michel

**************************************************
checking for GTK+ - version >= 2.0.0... no
*** 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+ is incorrectly
installed.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
**************************************************
gtk-config --libs
-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm
**************************************************

config.log

| #define wxUSE_LIBTIFF 1
| /* end confdefs.h. */
|
| #include <gtk/gtk.h>
| #include <stdio.h>
|
| int
| main ()
| {
| return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
| ;
| return 0;
| }
configure:20334: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

*****************
echo$PATH
/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/kde3/bin
I tried to add export PATH=$PATH:/usr/lib:/usr/X11R6/lib without result.
Seems like a library missing.
*******************

rm -f conf.gtktest

fi
fi

if test -z "$wx_cv_lib_gtk"; then
wx_cv_lib_gtk=none
else

wx_cv_cflags_gtk=$GTK_CFLAGS
wx_cv_libs_gtk=$GTK_LIBS
fi

fi

if test "$gtk_version_cached" = 1; then
echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
echo "${ECHO_T}$wx_cv_lib_gtk" >&6
fi

case "$wx_cv_lib_gtk" in
2.0) WXGTK20=1
TOOLKIT_VERSION=2
;;
1.2.7) WXGTK127=1
WXGTK12=1
;;
1.2.3) WXGTK12=1
=> Line 20334 ;;
*) { { echo "$as_me:$LINENO: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2003-06-11 18:03:46 Re: Static Build
Previous Message Adam H. Pendleton 2003-06-11 17:06:54 Re: wxWindows configuration under Suse 8.2