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.1 (gtk2 kernel 2.6)  (Read 8817 times)

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
SuSE 9.1 (gtk2 kernel 2.6)
« on: June 28, 2004, 08:59:32 AM »

Hi,
The cvs verion not compile in SuSE 9.1
the new rc4 will work in newest os?
best regards
GuerreroPeludo
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #1 on: June 28, 2004, 09:01:28 AM »

huh?

I know a lot of people who use SuSE9.1 it has nothing to do with your OS....
check your libs or/and post the error...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #2 on: June 28, 2004, 09:09:16 AM »

./autogen.sh
./configure
...
...
Which libraries should aMule use?
                                       wxWidgets          2.4.2
                                       GTK                2.2.4
...
make
....
aking all in cas
make[5]: Entering directory `/home/mburda/Documents/tools/amule-cvs/src/utils/cas'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -Wall -g -ggdb -fno-inline -D__DEBUG__   -MT cas-cas.o -MD -MP -MF ".deps/cas-cas.Tpo" -c -o cas-cas.o `test -f 'cas.c' || echo './'`cas.c; \
then mv -f ".deps/cas-cas.Tpo" ".deps/cas-cas.Po"; else rm -f ".deps/cas-cas.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -Wall -g -ggdb -fno-inline -D__DEBUG__   -MT cas-functions.o -MD -MP -MF ".deps/cas-functions.Tpo" -c -o cas-functions.o `test -f 'functions.c' || echo './'`functions.c; \
then mv -f ".deps/cas-functions.Tpo" ".deps/cas-functions.Po"; else rm -f ".deps/cas-functions.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -Wall -g -ggdb -fno-inline -D__DEBUG__   -MT cas-configfile.o -MD -MP -MF ".deps/cas-configfile.Tpo" -c -o cas-configfile.o `test -f 'configfile.c' || echo './'`configfile.c; \
then mv -f ".deps/cas-configfile.Tpo" ".deps/cas-configfile.Po"; else rm -f ".deps/cas-configfile.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -Wall -g -ggdb -fno-inline -D__DEBUG__   -MT cas-graphics.o -MD -MP -MF ".deps/cas-graphics.Tpo" -c -o cas-graphics.o `test -f 'graphics.c' || echo './'`graphics.c; \
then mv -f ".deps/cas-graphics.Tpo" ".deps/cas-graphics.Po"; else rm -f ".deps/cas-graphics.Tpo"; exit 1; fi
graphics.c:5:16: gd.h: Aucun fichier ou répertoire de ce type
graphics.c: In function `createimage':
graphics.c:17: error: `FILE' undeclared (first use in this function)
graphics.c:17: error: (Each undeclared identifier is reported only once
graphics.c:17: error: for each function it appears in.)
graphics.c:17: error: `in' undeclared (first use in this function)
graphics.c:17: error: `out' undeclared (first use in this function)
graphics.c:17: warning: left-hand operand of comma expression has no effect
graphics.c:19: error: `gdImagePtr' undeclared (first use in this function)
graphics.c:19: error: parse error before "im"
graphics.c:23: warning: implicit declaration of function `fopen'
graphics.c:24: warning: implicit declaration of function `printf'
graphics.c:27: warning: implicit declaration of function `fclose'
graphics.c:34: error: `im' undeclared (first use in this function)
graphics.c:34: warning: implicit declaration of function `gdImageCreateFromPng'
graphics.c:35: warning: implicit declaration of function `gdImageColorResolve'
graphics.c:39: warning: implicit declaration of function `gdImageStringFT'
graphics.c:51: warning: implicit declaration of function `gdImagePng'
graphics.c:54: warning: implicit declaration of function `gdImageDestroy'
make[5]: *** [cas-graphics.o] Erreur 1
make[5]: Leaving directory `/home/mburda/Documents/tools/amule-cvs/src/utils/cas'
make[4]: *** [all-recursive] Erreur 1
make[4]: Leaving directory `/home/mburda/Documents/tools/amule-cvs/src/utils'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/home/mburda/Documents/tools/amule-cvs/src'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/mburda/Documents/tools/amule-cvs/src'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/mburda/Documents/tools/amule-cvs'
make: *** [all] Erreur 2
Logged

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #3 on: June 28, 2004, 09:11:55 AM »

i see in YaST gtk1 is instaled but configure not find him
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #4 on: June 28, 2004, 09:17:08 AM »

so....

so check that you have also gtk-devel or something alike installed....

what wxGTK packages you have installed? the once from our side or the once from suse? or compiled yourself?
also recheck the link, taht is looks like shown in amule HowTO, this is also really importand!!

the once from our side are linked agains gtk1 so would be good if amule configure could find it...
also don't forget the libcryptopp packages we provide you need those also...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #5 on: June 28, 2004, 09:25:56 AM »

from SuSE 9.1
gtk adn gtk dev 1.2.10
wxGTK 2.4.2.4
and wxBase from amule
libcripto++ from amule
i go see the link
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #6 on: June 28, 2004, 09:27:44 AM »

hey

remove the wxGTK from SuSE its buggy....
install ours and also our wxGTK-dev!!

then recheck the link!

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #7 on: June 28, 2004, 09:42:35 AM »

hmmm..
  Configure script has finished system check.

  Configured aMule CVS for 'i686-suse-linux'.

  Should aMule be compiled in debug mode?                  yes
  Should aMule be compiled with verbose console output?    no
  Should aMule be compiled with upload speed sense?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             no
  Should aMule be compiled with systray?                   yes
  Should aMule be compiled with safe systray?              no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be compiled without bar drawing?            no
  Should aMule be linked against patched gsocket?          yes
  Should ccache support be enabled?                        no
  Should aMule command line client be built?               no
  Should aMule GUI client be built?                        no
  Should aMule WebServer be built?                         no
  Should aMule WebServer GUI be built?                     no
  Should aMule ed2k links handler be built?                yes
  Should C aMule Statistics (CAS) be built?                yes
  Should aMule GUI Statistics (wxCas) be built?            yes
  Crypto++ library/headers style?                          mdk_suse_fc

  Which libraries should aMule use?
                                       wxWidgets          2.4.2
                                       GTK                Not detected


:-( in SuSE 9.0 a no was these problems with amule
Logged

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #8 on: June 28, 2004, 09:52:05 AM »

gtk 1 and dev are installed but i can't fin it
i instal cripto for fedora but i think this is not the problem old amule are the some problem.
is wx is suse really bugy? SuSE has to correct it!

Thx for your help
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #9 on: June 28, 2004, 10:01:41 AM »

hey

you miss some gtk packages....
here is a list of mine from my vmware suse91....

#rpm -qa | grep gtk
gtk-qt-engine-0.3-44
gtk-1.2.10-877
gtk2-2.2.4-121
gtk-engines-0.12-956
gtk2-engines-2.2.0-393
gtkzip-0.5.1-1045
gtksourceview-0.7.0-129
gtk2-themes-0.1-634
gtk2-devel-2.2.4-121
gtkspell-2.0.5-53
gtkcomm-0.5.13-836
libgtkhtml-devel-2.4.1-140
rep-gtk-0.17-34
gtkhtml2-3.0.10-16
libgtkhtml-2.4.1-140
gtkglarea-1.2.2-889
libexif-gtk-0.3.3-304
gtkam-0.1.11dev2-43
gtk-devel-1.2.10-877
gtk2-doc-2.2.4-121

you miss one of those which is importand...
and probably its gtk-devel package but you said you installed it...

try : $whereis gtk-config

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #10 on: June 28, 2004, 10:03:28 AM »

hmm i am trying to compile the wxGTK instead to install the rpm package and i am the some problem with gtk 1
checking for GTK - version >= 1.2.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for gtk-config... (cached) no
checking for GTK - version >= 1.2.3... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

but YaST say gtk and gtk-dev are installed!
now i remmember that: in suse 9.0 i need to install a SuSE package for the gtk-config but i not find it in the newest distro!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #11 on: June 28, 2004, 10:04:01 AM »

Quote
Originally posted by GuerreroPeludo
gtk 1 and dev are installed but i can't fin it
i instal cripto for fedora but i think this is not the problem old amule are the some problem.
is wx is suse really bugy? SuSE has to correct it!

Thx for your help

well its not really "buggy" but linux distributors tend to make there own version of some things....
so the version from suse is 2.4.2-4 and the once we have and the once provided by wxwidgets is 2.4.2-1
so teh changes suse does to some packages affect that they are not working anymore correctly with amule

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #12 on: June 28, 2004, 10:06:48 AM »

try

whereis gtk-config

and then check that the path probably /opt/gnome/bin/gtk-config
is in your $PATH variable...if not add it ....

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GuerreroPeludo

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 20
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #13 on: June 28, 2004, 10:12:41 AM »

Quote
Originally posted by stefanero
hey

you miss some gtk packages....
here is a list of mine from my vmware suse91....

#rpm -qa | grep gtk
gtk-qt-engine-0.3-44
gtk-1.2.10-877
gtk2-2.2.4-121
gtk-engines-0.12-956
gtk2-engines-2.2.0-393
gtkzip-0.5.1-1045
gtksourceview-0.7.0-129
gtk2-themes-0.1-634
gtk2-devel-2.2.4-121
gtkspell-2.0.5-53
gtkcomm-0.5.13-836
libgtkhtml-devel-2.4.1-140
rep-gtk-0.17-34
gtkhtml2-3.0.10-16
libgtkhtml-2.4.1-140
gtkglarea-1.2.2-889
libexif-gtk-0.3.3-304
gtkam-0.1.11dev2-43
gtk-devel-1.2.10-877
gtk2-doc-2.2.4-121

you miss one of those which is importand...
and probably its gtk-devel package but you said you installed it...

try : $whereis gtk-config

stefanero

Ok i am theses ones
alila:/home/mburda/Documents/tools/wxGTK-2.4.2 # rpm -qa | grep gtk
gtk-engines-0.12-956
gtkam-0.1.11dev2-43
gtk2-themes-0.1-634
gtkhtml2-devel-3.0.10-16
gtk-1.2.10-877
gtklp-0.9p-166
libexif-gtk-0.3.3-304
gtk2-doc-2.2.4-121
gtkhtml-1.1.10-195
gtk2-2.2.4-121
libgtkhtml-2.4.1-140
gtkglarea-1.2.2-889
gtksourceview-0.7.0-129
gtkhtml2-3.0.10-16
python-gtk-2.0.0-212
gtk2-devel-2.2.4-121
gtk-devel-1.2.10-877
gtk2-engines-2.2.0-393
gtkmm-1.2.10-297
gtkspell-2.0.5-53
libgtkhtml-devel-2.4.1-140
gtkdoc-1.2-59
dalila:/home/mburda/Documents/tools/wxGTK-2.4.2 # whereis gtk-config
gtk-config: /opt/gnome/bin/gtk-config
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #14 on: June 28, 2004, 10:14:29 AM »

hey

so you have it....
and now
$echo $PATH

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: [1] 2