Problems with wxPython on solaris 2.6

Hello again,
I've built and installed wxGTK (thanks to Vadim
Zeitlin). Now I'm building and installing wxPython
2.4.0.7 on solaris 2.6 (SPARC) with gcc 3.2.2 and
Python 2.2.2 but I get this error:

ld: elf error: file /usr/local/wxPython/lib: unknown
type, unable to process using elf(3E) libraries
ld: fatal: File processing errors. No output written
to build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

Any help?

Thanks,
Fran

···

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

Francisco Infante wrote:

Hello again,
I've built and installed wxGTK (thanks to Vadim
Zeitlin). Now I'm building and installing wxPython
2.4.0.7 on solaris 2.6 (SPARC) with gcc 3.2.2 and
Python 2.2.2 but I get this error:

ld: elf error: file /usr/local/wxPython/lib: unknown
type, unable to process using elf(3E) libraries
ld: fatal: File processing errors. No output written
to build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

What are the lines leading up to this one?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

--- Robin Dunn <robin@alldunn.com> escribió: >
Francisco Infante wrote:

···

> Hello again,
> I've built and installed wxGTK (thanks to Vadim
> Zeitlin). Now I'm building and installing wxPython
> 2.4.0.7 on solaris 2.6 (SPARC) with gcc 3.2.2 and
> Python 2.2.2 but I get this error:
>
> ld: elf error: file /usr/local/wxPython/lib:
unknown
> type, unable to process using elf(3E) libraries
> ld: fatal: File processing errors. No output
written
> to build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
>

What are the lines leading up to this one?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax
with wxPython!

---------------------------------------------------------------------

To unsubscribe, e-mail:
wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail:
wxPython-users-help@lists.wxwindows.org

Hi,
These are the lines:

...
running build
running build_py
copying wxPython/__version__.py ->
build/lib.solaris-2.6-sun4u-2.2/wxPython
running build_ext
building 'wxc' extension
g++ -shared
build/temp.solaris-2.6-sun4u-2.2/src/helpers.o
build/temp.solaris-2.6-sun4u-2.2/src/drawlist.o
build/temp.solaris-2.6-sun4u-2.2/src/libpy.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/wx.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/windows.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/windows2.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/windows3.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/events.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/misc.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/misc2.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/gdi.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/mdi.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/controls.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/controls2.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/cmndlgs.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/stattool.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/frames.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/image.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/printfw.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/sizers.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/clip_dnd.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/filesys.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/streams.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/utils.o
build/temp.solaris-2.6-sun4u-2.2/src/gtk/fonts.o
-L/usr/X11R6/lib -o
build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
-L/usr/local/wxPython/lib -pthreads -Wl,-rpath
-Wl,/usr/local/wxPython/lib -lwx_gtkd-2.4
ld: error de elf: archivo /usr/local/wxPython/lib:
tipo desconocido, imposible procesarlo utilizando
bibliotecas elf(3E)
ld: error fatal:
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

Thanks
Fran

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

Francisco Infante wrote:

--- Robin Dunn <robin@alldunn.com> escribió: >
Francisco Infante wrote:

Hello again,
I've built and installed wxGTK (thanks to Vadim
Zeitlin). Now I'm building and installing wxPython
2.4.0.7 on solaris 2.6 (SPARC) with gcc 3.2.2 and
Python 2.2.2 but I get this error:

ld: elf error: file /usr/local/wxPython/lib:

unknown

type, unable to process using elf(3E) libraries
ld: fatal: File processing errors. No output

written

to build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

-L/usr/X11R6/lib -o
build/lib.solaris-2.6-sun4u-2.2/wxPython/wxc.so
-L/usr/local/wxPython/lib -pthreads -Wl,-rpath
-Wl,/usr/local/wxPython/lib -lwx_gtkd-2.4
ld: error de elf: archivo /usr/local/wxPython/lib:
tipo desconocido, imposible procesarlo utilizando
bibliotecas elf(3E)
ld: error fatal: collect2: ld returned 1 exit status
error: command 'g++' failed with exit status 1

Looks like it may be having a problem with the rpath options. You may want to try building the "old way" without the private copy of wxGTK as described in wxPython/BUILD.unix.txt

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!