aMule Forum

English => en_Linux => Topic started by: crunix on November 01, 2004, 09:40:51 AM

Title: error compiling amule (gd.h)
Post by: crunix on November 01, 2004, 09:40:51 AM
Hello folks,
I was trying to upgrade from rc5 to rc7.
after unpacking the tar file, i got the following error while "make":

./configure --enable-webserver --enable-optimise --disable-debug => OK
make

graphics.c:32:16: gd.h: No such file or directory

This is my system configuration:


wxWidgets                2.4.2
         GTK                1.2.10

After configuring i got the following notice:

NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
              amuleweb amulecmd and alcc

May be could be this linked to my make error ?     8o

Thanks a lot
crunix
Title: Re: error compiling amule (gd.h)
Post by: Theetjuh on November 01, 2004, 11:16:25 AM
You need gd to be installed ... search for a package for your distro :)
Title: Re: error compiling amule (gd.h)
Post by: Jacobo221 on November 01, 2004, 12:26:28 PM
yes, you lack libgd but anyway it's not really needed. it's only for CAS but not even CAS requires it to copile. you can still compile without libgd, so, unless you are going to use CAS with it's -o option (image gneration) you can bypass that message and compile normally :)
Greetings!
Title: Re: error compiling amule (gd.h)
Post by: Jacobo221 on November 01, 2004, 12:27:17 PM
BTW, you need the devel package of libgd, which might be something like libgd-dev or libgd-devel
Greetings!
Title: Re: error compiling amule (gd.h)
Post by: crunix on November 01, 2004, 01:31:20 PM
thanks a lot!  :baby:


I installed gd-dev and now make is going on...

crunix
Title: Re: error compiling amule (gd.h)
Post by: lfroen on November 01, 2004, 04:50:44 PM
Quote
yes, you lack libgd but anyway it's not really needed

You do need it if you want amuleweb to generate statistic graphs.