Hi,
I'm trying to compile wxPython 2.5.3.1 under OS X for X, not for
the native GUI. Why? I'm trying to find some combination of wx
and VTK that I can get compiled for this system I can't get a
build of VTK on my own but fink managed, so I'm trying that way.
Grrr!
I think, btw, that I'm only building the wxWidgets portion at
this time, not wxPython.
Here are the last few lines of the make output. The errors are of
the form "ld: monodll_utilsx11.o illegal reference to symbol:
_XChangeProperty defined in indirectly referenced dynamic
library /usr/X11R6/lib/libX11.6.dylib"
A cursory web search wasn't much help.
g++ -dynamiclib -single_module -headerpad_max_install_names -o lib/libwx_gtk2ud-2.5.3.0.0.dylib monodll_appbase.o monodll_clntdata.o monodll_cmdline.o monodll_config.o monodll_datetime.o monodll_datstrm.o monodll_dircmn.o monodll_dynarray.o monodll_dynlib.o monodll_dynload.o
.. much text deleted ...
monodll_xh_stbmp.o monodll_xh_stbox.o monodll_xh_stlin.o monodll_xh_sttxt.o monodll_xh_text.o monodll_xh_tglbtn.o monodll_xh_toolb.o monodll_xh_tree.o monodll_xh_unkwn.o monodll_xh_wizrd.o monodll_xmlres.o monodll_xmlrsall.o monodll_xml.o monodll_xtixml.o -L/usr/X11R6/lib -Llib -install_name /sw/wx/2.5/lib/libwx_gtk2ud-2.5.3.dylib -compatibility_version 2.5.3 -current_version 2.5.3 -lwxtiffd-2.5 -lwxjpegd-2.5 -lwxpngd-2.5 -lwxregexud-2.5 -lwxexpatd-2.5 -L/usr/X11R6/lib -lz -lpthread -liconv -L/sw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -L/sw/lib -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lXinerama -lXxf86vm -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
ld: monodll_utilsx11.o illegal reference to symbol: _XChangeProperty defined in indirectly referenced dynamic library /usr/X11R6/lib/libX11.6.dylib
ld: monodll_dcpsg.o illegal reference to symbol: _FT_Done_Glyph defined in indirectly referenced dynamic library /usr/X11R6/lib/libfreetype.6.dylib
ld: /usr/X11R6/lib/libXxf86vm.a(XF86VMode.o) illegal reference to symbol: _XMissingExtension defined in indirectly referenced dynamic library /usr/X11R6/lib/libXext.6.dylib
ld: warning multiple definitions of symbol _regfree
lib/libwxregexud-2.5.a(wxregex_regfree.o) definition of _regfree in section (__TEXT,__text)
/usr/lib/libpthread.dylib(regfree.So) definition of _regfree
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning multiple definitions of symbol _regerror
lib/libwxregexud-2.5.a(wxregex_regerror.o) definition of _regerror in section (__TEXT,__text)
/usr/lib/libpthread.dylib(regerror.So) definition of _regerror
/usr/bin/libtool: internal link edit command failed
make: *** [lib/libwx_gtk2ud-2.5.3.0.0.dylib] Error 1
Here's the info the configure script spits out
Configured wxWidgets 2.5.3 for `powerpc-apple-darwin7.5.0'
Which GUI toolkit should wxWidgets use? GTK+ 2
Should wxWidgets be compiled into single library? yes
Should wxWidgets be compiled in debug mode? yes
Should wxWidgets be linked as a shared library? yes
Should wxWidgets be compiled in Unicode mode? yes
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.2 no
wxWidgets 2.4 yes
Which libraries should wxWidgets use?
jpeg builtin
png builtin
regex builtin
tiff builtin
zlib sys
odbc no
expat builtin
libmspack no
sdl yes
Andrew
dalke@dalkescientific.com