Re: wxWindows configuration under Suse 8.2 - Mailing list pgadmin-hackers

From Jean-Michel POURE
Subject Re: wxWindows configuration under Suse 8.2
Date
Msg-id 200306111957.54796.jm.poure@freesurf.fr
Whole thread Raw
In response to Re: wxWindows configuration under Suse 8.2  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
Responses Re: wxWindows configuration under Suse 8.2
List 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.


pgadmin-hackers by date:

Previous
From: Adam Pendleton
Date:
Subject: Static Build
Next
From: "Dave Page"
Date:
Subject: Re: Static Build