aMule Forum

English => aMule Help => Topic started by: roadburns on November 21, 2004, 06:53:14 PM

Title: installation problem on SuSE 9.1
Post by: roadburns 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
Title: Re: installation problem on SuSE 9.1
Post by: Jacobo221 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!
Title: Re: installation problem on SuSE 9.1
Post by: deltaHF on November 23, 2004, 12:22:59 AM
http://www.amule.org/files/files.php?cat=13
Title: Thank you very much Jacobo221...
Post by: roadburns 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!