aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amule on Solaris  (Read 2088 times)

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Amule on Solaris
« on: October 23, 2004, 06:35:15 PM »

OK, so I decided to start this thread just to talk about this great platform, running this great P2P app. First of all, sorry for not publishing any amule-specific problems, but my compiler here is pretty messed up, and is not even compiling wxGTK properly. If anybody makes any progress with this, then _please_ post it here. I'm sure I am not the only one who dreams about running amule on a solaris x86 (or even SPARC) machine.

Thanks.

P.S: Just for Kry's fun, here are the errors compiling wxGTK, just in case you can light me a little...

bash-2.05b# gmake
./bk-deps gcc -c -o wxexpat_xmlparse.o -I./src/expat  -fPIC -DPIC -DWX_PRECOMP -
DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk-ansi-release-2.5 -I./in
clude -I/opt/csw/include/gtk-1.2 -I/opt/csw/include/glib-1.2 -I/opt/csw/lib/glib
/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -isystem /usr/openwi
n/include -O2 -Wall src/expat/lib/xmlparse.c
./bk-deps gcc -c -o wxexpat_xmlrole.o -I./src/expat  -fPIC -DPIC -DWX_PRECOMP -D
NO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk-ansi-release-2.5 -I./inc
lude -I/opt/csw/include/gtk-1.2 -I/opt/csw/include/glib-1.2 -I/opt/csw/lib/glib/
include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -isystem /usr/openwin
/include -O2 -Wall src/expat/lib/xmlrole.c
./bk-deps gcc -c -o wxexpat_xmltok.o -I./src/expat  -fPIC -DPIC -DWX_PRECOMP -DN
O_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib/wx/include/gtk-ansi-release-2.5 -I./incl
ude -I/opt/csw/include/gtk-1.2 -I/opt/csw/include/glib-1.2 -I/opt/csw/lib/glib/i
nclude -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -isystem /usr/openwin/
include -O2 -Wall src/expat/lib/xmltok.c
rm -f lib/libwxexpat-2.5.a
ar rcu lib/libwxexpat-2.5.a wxexpat_xmlparse.o wxexpat_xmlrole.o wxexpat_xmltok.
o
: lib/libwxexpat-2.5.a
./bk-make-pch .pch/wxprec_basedll/wx/wxprec.h.gch wx/wxprec.h g++ -I.pch/wxprec_
basedll -D__WXGTK__        -I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -D
wxUSE_BASE=1 -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -DGTK_NO_CHECK_CASTS -Ilib
/wx/include/gtk-ansi-release-2.5 -I./include -I/opt/csw/include/gtk-1.2 -I/opt/c
sw/include/glib-1.2 -I/opt/csw/lib/glib/include -D_REENTRANT -D_FILE_OFFSET_BITS
=64 -D_LARGE_FILES -isystem /usr/openwin/include -O2 -Wall
In file included from /usr/include/sys/reg.h:13,
                 from /usr/include/sys/regset.h:24,
                 from /usr/include/sys/ucontext.h:21,
                 from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.9/3.4.1/include/sys
/signal.h:249,
                 from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:22,
                 from ./include/wx/string.h:47,
                 from ./include/wx/memory.h:20,
                 from ./include/wx/object.h:25,
                 from ./include/wx/wx.h:16,
                 from ./include/wx/wxprec.h:47:
/usr/include/ia32/sys/reg.h:302: error: `upad128_t' does not name a type
/usr/include/ia32/sys/reg.h:303: error: `upad128_t' does not name a type
/usr/include/ia32/sys/reg.h:333: error: `upad128_t' does not name a type
gmake: *** [.pch/wxprec_basedll/wx/wxprec.h.gch] Error 1
bash-2.05b#  gcc --version
i386-pc-solaris2.9-gcc (GCC) 3.4.1
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-2.05b#

Thanks!
Logged

lfroen

  • Guest
Re: Amule on Solaris
« Reply #1 on: October 24, 2004, 10:19:30 AM »

According to http://www.wxwidgets.org Solaris is supported.
Check at http://www.wxwidgets.org/platform.htm

For more specific details
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Amule on Solaris
« Reply #2 on: October 24, 2004, 04:08:17 PM »

Which wx version?
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Amule on Solaris
« Reply #3 on: October 24, 2004, 07:53:56 PM »

The 2.5.3, using gcc 3.4.1. I also have the option to use gcc 2.9.5. I already managed to solve some of the problems, but now, I face another big one, there seem to be some missing files, something regarding motif (no idea why, but I've still not managed to get the wxstuff to get either gtk1 or 2 on solaris, it will always build using motif) I'll try harder, and see what I can get.

BTW, which compiler would you recommend to compile wx* and amule? the 3.4.1 or the 2.9.5?

Regards.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Amule on Solaris
« Reply #4 on: October 24, 2004, 08:10:11 PM »

3.x