I am trying to compile wxPython on Solaris 8, and am
receiving a rather strange error as detailed below. Can
anyone provide any help?
--David
Information of interest:
OS: Solaris 8
Python: 2.3
wxPython: 2.4.1.2
wxWindows: (built-in)
build step: building 'wxc' extension (in setup.py)
I followed the "standard" build process using the local copy
of wxGTK, and am in the process of building wxPython using
the setup.py script. I ran the same build process on a
Linux machine minutes earlier with no problems, the only
difference being different locations of
Python/wxGTK.
Error Text (including command that created it):
···
--------------------------------------------------
c++ -shared build/temp.solaris-2.8-sun4u-2.3/src/helpers.o build/temp.solaris-2.8-sun4u-2.3/src/drawlist.o build/temp.solaris-2.8-sun4u-2.3/src/libpy.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/wx.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/windows.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/windows2.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/windows3.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/events.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/misc.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/misc2.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/gdi.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/mdi.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/controls.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/controls2.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/cmndlgs.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/stattool.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/frames.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/image.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/printfw.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/sizers.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/clip_dnd.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/filesys.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/streams.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/utils.o build/temp.solaris-2.8-sun4u-2.3/src/gtk/fonts.o -L/usr/X11R6/lib -o build/lib.solaris-2.8-sun4u-2.3/wxPython/wxc.so -L/usr/local/wxPython/lib/wxPython/lib -pthreads -Wl,-rpath -Wl,/usr/local/wxPython/lib/wxPython/lib -lwx_gtk-2.4
ld: fatal: file /usr/local/wxPython/lib/wxPython/lib: unknown file type
ld: fatal: File processing errors. No output written to build/lib.solaris-2.8-sun4u-2.3/wxPython/wxc.so
collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1
--------------------------------------------------