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 8832 times)

stefanero

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

btw, you run configure as user? or as root??

when I do as root
#echo $PATH
/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin

as user I get
$echo $PATH
home/stefanero/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/usr/games:/opt/kde3/bin:/usr/lib/java/jre/bin

so as user you should detect gtk-config, if I would run as root I would also net detect it, since its not in my PATH variable

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 #16 on: June 28, 2004, 10:40:23 AM »

I enter in su to install rpm and i forget to quit
i can't continue this today my pc has STOP OF WORK!
i am using my girlfriend pc to excuce me to you. i will continue this post when i repare my pc.
:'-(
thx you for all of yours comments. Probably ./configure hast to make a warning if is called as root, after all this is a feature request post ;-)

GuerreroPeludo
Logged

GuerreroPeludo

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

Ok, i am lost 256M of ram, but i still with the other 256M. That is not so bad!

ok the problem with amule continue the compile error is the some as  the begin of post:

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-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

yes, i think the problems is me!  i am recompiled wxGTK from source insted rpm and no changes. and problem still.

./configure
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking target system type... i686-suse-linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for windres... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ranlib... (cached) ranlib
checking for library containing strerror... none required
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
checking for wxWidgets base version >= 2.4.2... yes (version 2.4.2)
checking for curl >= 7.9.5... yes (version 7.11.0)
checking for gdlib-config... /usr/bin/gdlib-config
checking for gdlib version >= 2.0.0... yes (version 2.0.22)
checking if wxWidgets was linked with GTK2... no
checking for gtk-config... /opt/gnome/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking if wxWidgets version >=2.5.0 ... no
checking for crypto++ version >= 5.1... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should be compiled in safe mode... no
checking whether pure GTK code should be compiled... yes
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for locale.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for floor... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... (cached) yes
checking for select... yes
checking for setlocale... (cached) yes
checking for sqrt... no
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strdup... (cached) yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating src/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/doc/Makefile
config.status: creating src/utils/wxCas/pixmaps/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/webserver/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating docs/Makefile
config.status: creating Makefile
config.status: creating Compilation.flags
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


  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                1.2.10
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE 9.1 (gtk2 kernel 2.6)
« Reply #18 on: June 28, 2004, 12:37:16 PM »

hey

did you try to do a
make clean
in the direcory? so that no leftover from the failing make are left?
anohter suggestion would be to use configure with
--disable-cas --disable-wxcas

und check first if amule comiles.. cas and wxcas are just extra programms...
but they should compile fine...

stefanero

PS
in /usr/bin
ls -l | grep wx-config
and in /usr/local/bin
ls -l | grep wx-config
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 #19 on: June 28, 2004, 12:47:53 PM »

Quote
Originally posted by stefanero
hey

did you try to do a
make clean
in the direcory? so that no leftover from the failing make are left?
[/quate]
yes a am already try it
Quote
anohter suggestion would be to use configure with
--disable-cas --disable-wxcas

compilie
that is nice. it work!!!
but wat is the problem
thx very mach
Quote
und check first if amule comiles.. cas and wxcas are just extra programms...
but they should compile fine...

stefanero

PS
in /usr/bin
ls -l | grep wx-config
and in /usr/local/bin
ls -l | grep wx-config
lrwxrwxrwx   1 root root          16 2004-06-28 09:20 wx-config -> wxgtk-2.4-config
yes. it is there
Logged

GuerreroPeludo

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

./configure --disable-cas
is ok, that compile
but ./configure --disable-wxcas
do error at complile time.
Logged

stefanero

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

hey

so with --disable-cas everything workes ok???

and you can now run new cvs-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."

GuerreroPeludo

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

Apparently all work ok.
test is in progres , but all work until now
Logged

stefanero

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

ok thnx,
this is proabably due to the fact taht the gd-lib for cas is outdatet aswell in SuSE or something alike.
I don'T have that lib here on my suse system, so configure skips it and also cas while compiling...thats why I did not get taht error....

but also configure should show an info about your gd-lib version
does it complain or something?

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 #24 on: June 28, 2004, 01:26:16 PM »

Quote
Originally posted by stefanero
ok thnx,
this is proabably due to the fact taht the gd-lib for cas is outdatet aswell in SuSE or something alike.
I don'T have that lib here on my suse system, so configure skips it and also cas while compiling...thats why I did not get taht error....

but also configure should show an info about your gd-lib version
does it complain or something?

stefanero
checking for gdlib version >= 2.0.0... yes (version 2.0.22)
and not any else. Exept the error ;-)

Thx to you

GuerreroPeludo
Logged

stefanero

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

ok

thnx, I will report this to falso who is dev of cas...
have fun with a working 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."

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.1 (gtk2 kernel 2.6)
« Reply #26 on: June 28, 2004, 03:09:50 PM »

Quote
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.4.2... yes (version 2.4.2)
checking for wxbase-2.4-config... /usr/bin/wxbase-2.4-config
checking for wxWidgets base version >= 2.4.2... yes (version 2.4.2)

Pages: 1 [2]