Ah, sorry. I misunderstood when you mentioned the other stuff.
I've had to use:
CC=/usr/sfw/bin/gcc ./configure --without-motif --enable-unicode --with-x11
(Without the x11, configure would fail, asking which toolkit to use.)
But then, both make and gmake fail (did a distclean between):
make
make: Fatal error in reader: Makefile, line 27703: Macro assignment on
dependency line
gmake
./bk-deps /usr/sfw/bin/gcc -c -o wxregex_regcomp.o -D__WXX11__ -fPIC -DPIC
-DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/openwin/include
-isystem /usr/openwin/include -Wall -Wundef -O2 -fno-strict-aliasing
./src/regex/regcomp.c
./bk-deps /usr/sfw/bin/gcc -c -o wxregex_regexec.o -D__WXX11__ -fPIC -DPIC
-DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/openwin/include
-isystem /usr/openwin/include -Wall -Wundef -O2 -fno-strict-aliasing
./src/regex/regexec.c
./bk-deps /usr/sfw/bin/gcc -c -o wxregex_regerror.o -D__WXX11__ -fPIC -DPIC
-DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/openwin/include
-isystem /usr/openwin/include -Wall -Wundef -O2 -fno-strict-aliasing
./src/regex/regerror.c
./bk-deps /usr/sfw/bin/gcc -c -o wxregex_regfree.o -D__WXX11__ -fPIC -DPIC
-DWX_PRECOMP -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/openwin/include
-isystem /usr/openwin/include -Wall -Wundef -O2 -fno-strict-aliasing
./src/regex/regfree.c
rm -f lib/libwxregexu-2.7.a
ar rcu lib/libwxregexu-2.7.a wxregex_regcomp.o wxregex_regexec.o
wxregex_regerror.o wxregex_regfree.o
ranlib lib/libwxregexu-2.7.a
./bk-make-pch .pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h g++
-I.pch/wxprec_basedll -D__WXX11__ -D__WXUNIVERSAL__ -I./src/regex
-DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -DWX_PRECOMP
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-Ilib/wx/include/x11univ-unicode-release-2.7 -I./include -I/usr/openwin/include
-isystem /usr/openwin/include -pthreads -D_REENTRANT -Wall -Wundef
-Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/pango-1.0
-I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
In file included from ./include/wx/wx.h:26,
from ./include/wx/wxprec.h:68:
./include/wx/app.h:650:31: wx/univ/theme.h: No such file or directory
gmake: *** [.pch/wxprec_basedll/wx/wxprec.h.gch] Error 1
If I get more time in the next couple of days (maybe tonight), I'll follow up
on gmake. Sun's make obviously won't work on the (GCC-specific?) Makefile.
Perhaps I need to pass --with-gtk instead of x11.
Rainer
This message posted from opensolaris.org