On Sat, May 06, 2006 at 03:02:10PM +0200, steven mestdagh wrote:
> comments?
If wxWidgets-headers is installed, the build fails due to wx-config:
| [...]
| Making all in drivers
| [...]
| cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../include
Provide a WXCONFIG environment variable, please -I/usr/X11R6/include/freetype2
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -O2 -pipe
-mieee-fp -MT gd_la-gd.lo -MD -MP -MF .deps/gd_la-gd.Tpo -c gd.c -fPIC -DPIC
-o .libs/gd_la-gd.o
| cc: cannot specify -o with -c or -S and multiple compilations
| *** Error code 1
| [...]
Quick fix[1]:
--- Makefile.orig Sat May 6 13:13:45 2006
+++ Makefile Sat May 6 20:13:03 2006
@@ -57,6 +57,7 @@
--disable-linuxvga \
--disable-pdl \
--disable-python \
+ --disable-wxwidgets \
--with-ltdlsystem \
--with-gd-incdir=${LOCALBASE}/include \
--with-gd-libdir=${LOCALBASE}/lib \
Ciao,
Kili
[1] a better fix would be to add, for example, a wxgtk subpackage
and set WXCONFIG=${LOCALBASE}/bin/wxgtk-2.4-config, but this may
open a can of wxFOO subpackages for all wxWidgets libraries.