aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: error compiling amule (gd.h)  (Read 3421 times)

crunix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.breccebianche.com
error compiling amule (gd.h)
« 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
Logged

Theetjuh

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 37
Re: error compiling amule (gd.h)
« Reply #1 on: November 01, 2004, 11:16:25 AM »

You need gd to be installed ... search for a package for your distro :)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: error compiling amule (gd.h)
« Reply #2 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!
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: error compiling amule (gd.h)
« Reply #3 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!
Logged

crunix

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • http://www.breccebianche.com
Re: error compiling amule (gd.h)
« Reply #4 on: November 01, 2004, 01:31:20 PM »

thanks a lot!  :baby:


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

crunix
Logged

lfroen

  • Guest
Re: error compiling amule (gd.h)
« Reply #5 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.
Logged