compilation problem with wxPython
Hi, all
I’ m running under solaris. I have downloaded and compiled Python1.5.2 , wxWindows. But compiling wxPython , an error occurs :
execution make-3.77/gmake (default)
c++ -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD -I. /var/tmp/wxWindows/wx-config --cflags
-I/var/tmp/Python-1.5.2/ -I/var/tmp/Python-1.5.2/Include -I/var/tmp/wxPython/src -g -O2 gtk-config --cflags
-c gtk/windows.cpp
/bin/sh: gtk-config: not found
execution gcc-2.8.1_e1/c++ (default)
gtk/windows.cpp: In function `struct _object * _wrap_wxWindow_SetToolTipString(struct _object *, struct _object *, struct _object *)’:
gtk/windows.cpp:4475: no matching function for call to `wxWindow::SetToolTip (wxString &)’
gtk/windows.cpp: In function `struct _object * _wrap_wxWindow_SetToolTip(struct _object *, struct _object *, struct _object *)’:
gtk/windows.cpp:4515: no matching function for call to `wxWindow::SetToolTip (wxToolTip *&)’
gtk/windows.cpp: In function `struct _object * _wrap_wxWindow_GetToolTip(struct _object *, struct _object *, struct _object *)’:
gtk/windows.cpp:4544: no matching function for call to `wxWindow::GetToolTip ()’
gtk/windows.cpp: In function `struct _object * _wrap_wxWindow_SetDropTarget(struct _object *, struct _object *, struct _object *)’:
gtk/windows.cpp:4726: no matching function for call to `wxWindow::SetDropTarget (wxDropTarget *&)’
gtk/windows.cpp: In function `struct _object * _wrap_wxWindow_GetDropTarget(struct _object *, struct _object *, struct _object *)’:
gtk/windows.cpp:4755: no matching function for call to `wxWindow::GetDropTarget ()’
gmake: *** [windows.o] Error 1
This is what returns wx-config :
-I/var/tmp/Python-1.5.2/Modules/include -I/var/tmp/Python-1.5.2/Modules/lib/wx/include -D__USE_WXCONFIG__ -D__WXDEBUG__ -D__WXMOTIF__ -I/usr/openwin/include -I/usr/dt/include
Note that I can’t find gtk-config and for an unknown reason, perhaps due to my local config, make doesn’t work : I use gmake.
Thanks for help
Stephane Tallard