aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: SuSE 9.2  (Read 7602 times)

Ben

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: SuSE 9.2
« Reply #15 on: November 17, 2004, 03:08:58 PM »

hi! on my SuSE 9.2 amule runs fine, but i noticed that if i give a sertain order to sources, in the transfert window (order by priority, for ex) when i minimize and then restore i loose order. Is it a problem of my SuSE aMule version or it is also the same for all?

bye
Logged
If freedom is outlawed, only outlaws will have freedom!!!

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: SuSE 9.2
« Reply #16 on: November 17, 2004, 07:25:25 PM »

it's not happening here to me. or maybe i don't get what yo mean.
Probably it's just refreshed the sources,so that some of the sources you could see before are now lower or upper in the list or don't exist anymore (they have been disconnected). Could htat be it?
Greetings!
Logged

Ben

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: SuSE 9.2
« Reply #17 on: November 17, 2004, 09:17:52 PM »

hi!! sorry i made a mistake: it happens not when i minimizze and then restore... but when i make it show the sources per file, i order them, then i hide the sources and make it show them again... there i loose order... sorry if i'm not very clear...

bye (and thank's)
Logged
If freedom is outlawed, only outlaws will have freedom!!!

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: SuSE 9.2
« Reply #18 on: November 17, 2004, 09:30:38 PM »

hi Ben,

its fixed in cvs ;)

cheers

gbvalor

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.oxixares.com/~gbv/
Re: SuSE 9.2
« Reply #19 on: December 06, 2004, 12:08:21 PM »

Hello,

I'm the guy making SuSE rpm packages at

http://ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms

site.

I had many problems with SuSE 9.2, so I still have not released an rpm for it. The problem for SuSE 9.2 is that wxbase is embebed in what they call wxGTK-compat.
I've tried a tricky patch to compile amule using only wxGTK shiped by SuSE -to avoid other package dependencies problem-. The next patch works but I have to add --disable-gsocket to configure.

 What are the problems disabling gsocket? If the are no showstoper problem, I will release it. Waiting your sugestions.

The patch only copy WX_* flags to WXBASE_* flags, then it have to run autoconf again.


diff -Naur aMule-2.0.0rc7/configure.in aMule-2.0.0rc7-patched/configure.in
--- aMule-2.0.0rc7/configure.in 2004-10-19 20:56:42.000000000 +0200
+++ aMule-2.0.0rc7-patched/configure.in 2004-12-05 11:40:18.000000000 +0100
@@ -492,6 +492,15 @@
        CXX="$CXX"
 esac

+dnl Patch for SuSE-9.2
+WXBASE_CFLAGS="$WX_CFLAGS"
+WXBASE_CXXFLAGS="$WX_CXXFLAGS"
+WXBASE_LIBS="$WX_LIBS"
+
+echo "WX_CFLAGS : WX_$CFLAGS"
+echo "WX_CXXFLAGS : WX_$CXXFLAGS"
+echo "WX_LIBS: $WX_LIBS"
+
 AC_CONFIG_FILES([src/Makefile src/pixmaps/Makefile src/utils/Makefile src/utils/aLinkCreator/Makefile src/utils/aLinkCreator/src/Makefile src/utils/cas/Makefile src/utils/wxCas/Makefile src/utils/wxCas/src/Makefile src/utils/xas/Makefile src/webserver/Makefile src/kademlia/Makefile src/kademlia/utils/Makefile intl/Makefile po/Makefile.in m4/Makefile docs/Makefile Makefile Compilation.flags])
 AC_OUTPUT

Guillermo
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: SuSE 9.2
« Reply #20 on: December 06, 2004, 07:25:48 PM »

Disabling gsocket might cause lowid on restart, if wx version is < 2.5.3

Anyway, why do you have to disable it?
Logged

gbvalor

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
    • http://www.oxixares.com/~gbv/
Re: SuSE 9.2
« Reply #21 on: December 06, 2004, 08:31:16 PM »

It is a compilation error. The extrange thing is this only happens in gsocket-2.5.c
Suse 9.2 has wxGTK 2.4.2.8 instaled. It uses the source assembled at wxPython site. This is the begin of a long list of errors when it arrives at gsocket-2.5.c :

if /usr/bin/ccache gcc -DHAVE_CONFIG_H -I. -I. -I..      -I/usr/lib/wx/include/gtk2-2.5 -I/usr/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -D__GTK2__  -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0  -O2  -MT amule-gsocket-2.5.o -MD -MP -MF ".deps/amule-gsocket-2.5.Tpo" \
  -c -o amule-gsocket-2.5.o `test -f 'gsocket-2.5.c' || echo './'`gsocket-2.5.c; \
then mv -f ".deps/amule-gsocket-2.5.Tpo" ".deps/amule-gsocket-2.5.Po"; \
else rm -f ".deps/amule-gsocket-2.5.Tpo"; exit 1; \
fi
In file included from /usr/include/wx-2.5/wx/unix/gsockunx.h:19,
                 from gsocket-2.5.c:168:
/usr/include/wx-2.5/wx/gsocket.h:39: error: parse error before "GSocket"
/usr/include/wx-2.5/wx/gsocket.h:39: warning: data definition has no type or storage class
/usr/include/wx-2.5/wx/gsocket.h:92: error: parse error before '*' token
/usr/include/wx-2.5/wx/gsocket.h:100: error: parse error before "GSocketGUIFunctionsTable"
/usr/include/wx-2.5/wx/gsocket.h:101: error: syntax error before '{' token
/usr/include/wx-2.5/wx/gsocket.h:104: error: syntax error before "void"
/usr/include/wx-2.5/wx/gsocket.h:104: error: function `OnExit' is initialized like a variable
/usr/include/wx-2.5/wx/gsocket.h:105: error: parse error before "bool"
/usr/include/wx-2.5/wx/gsocket.h:105: error: function `CanUseEventLoop' is initialized like a variable
/usr/include/wx-2.5/wx/gsocket.h:105: warning: data definition has no type or storage class
/usr/include/wx-2.5/wx/gsocket.h:106: error: parse error before "bool"
/usr/include/wx-2.5/wx/gsocket.h:106: error: parse error before '*' token
/usr/include/wx-2.5/wx/gsocket.h:106: error: function `Init_Socket' is initialized like a variable
/usr/include/wx-2.5/wx/gsocket.h:106: warning: data definition has no type or storage class
....

BTW, I tried a bit the rpm -with gsocket disabled-.  You can get source and binary rpm here:

http://ftp://ftp.oxixares.com/pub/rpms/SuSE_9.2/

but PLEASE, tomorow morning it will be at the mirror

http://ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.2/

it is better to me you use the mirror, my server is a snail server with a narrow ADSL line.

Guillermo
Logged
Pages: 1 [2]