aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: installation problem on SuSE 9.1  (Read 2238 times)

roadburns

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
installation problem on SuSE 9.1
« on: November 21, 2004, 06:53:14 PM »

I've installed succesfully all required tools following official installation (wiki) guide, but my amule won't built. I've tried source code of 2.0.0rc7 and src.rpm (for SuSE 9.1) of 2.0.0rc6 and I've obtained the same results.
I attach the final output of compilation (the problem).
I hope someone can help me.
Thanks very much.
________________________________________________________________________
if gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -D__GD__ -O2 -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:32:16: gd.h: No such file or directory
graphics.c: In function `createimage':
graphics.c:44: error: `FILE' undeclared (first use in this function)
graphics.c:44: error: (Each undeclared identifier is reported only once
graphics.c:44: error: for each function it appears in.)
graphics.c:44: error: `in' undeclared (first use in this function)
graphics.c:44: error: `out' undeclared (first use in this function)
graphics.c:46: error: `gdImagePtr' undeclared (first use in this function)
graphics.c:46: error: parse error before "im"
graphics.c:61: error: `im' undeclared (first use in this function)
make[5]: *** [cas-graphics.o] Error 1
make[5]: Leaving directory `/home/yuri/aMule-2.0.0rc7/src/utils/cas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/yuri/aMule-2.0.0rc7/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/yuri/aMule-2.0.0rc7/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/yuri/aMule-2.0.0rc7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/yuri/aMule-2.0.0rc7'
make: *** [all] Error 2
Logged
--
Registered Linux user No. 368.889

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: installation problem on SuSE 9.1
« Reply #1 on: November 21, 2004, 09:51:10 PM »

this is fixed now in the configure script (GonoszTopi fixed it today) in CVS. the problem is you have libgd installed, but you lack the libgd-dev package. please install it and re-run the ./configure script. than compile.
Greetings!
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: installation problem on SuSE 9.1
« Reply #2 on: November 23, 2004, 12:22:59 AM »

roadburns

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Thank you very much Jacobo221...
« Reply #3 on: December 03, 2004, 02:51:56 PM »

Quote
Originally posted by Jacobo221
this is fixed now in the configure script (GonoszTopi fixed it today) in CVS. the problem is you have libgd installed, but you lack the libgd-dev package. please install it and re-run the ./configure script. than compile.
Greetings!


Thank you very much Jacobo221, I've installed libgd, reconfigured/compiled/installed amule and now all run correctly!
Thanks a lot!
Logged
--
Registered Linux user No. 368.889