aMule Forum

Spanish => sp_Linux => Topic started by: Olaf "El Blanco" on November 17, 2004, 09:16:31 PM

Title: lenguaje C, amule, recursividad...
Post by: Olaf "El Blanco" on November 17, 2004, 09:16:31 PM
Bajo el amule...
Desempaqueto...
Descomprimo...
./configure
Instalo librerias y paquetes
./configure
Perfecto!

Estoy como root y...
make install

Bien, bien, bien...
/************************
Making install in xas
make[4]: Entering directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[5]: Entering directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[5]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../mkinstalldirs /usr/local/lib/xchat/plugins
 /usr/bin/install -c -m 644 xas.pl /usr/local/lib/xchat/plugins/xas.pl
make[5]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
make[4]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/xas'
Making install in cas
make[4]: Entering directory `/home/Olaf/aMule-2.0.0rc7/src/utils/cas'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I/usr/include -D__GD__ -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -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:44: warning: left-hand operand of comma expression has no effect
graphics.c:46: error: `gdImagePtr' undeclared (first use in this function)
graphics.c:46: error: parse error before "im"
graphics.c:50: warning: implicit declaration of function `fopen'
graphics.c:51: warning: implicit declaration of function `printf'
graphics.c:54: warning: implicit declaration of function `fclose'
graphics.c:61: error: `im' undeclared (first use in this function)
graphics.c:61: warning: implicit declaration of function `gdImageCreateFromPng'
graphics.c:62: warning: implicit declaration of function `gdImageColorResolve'
graphics.c:66: warning: implicit declaration of function `gdImageStringFT'
graphics.c:78: warning: implicit declaration of function `gdImagePng'
graphics.c:81: warning: implicit declaration of function `gdImageDestroy'
make[4]: *** [cas-graphics.o] Error 1
make[4]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils/cas'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src/utils'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/Olaf/aMule-2.0.0rc7/src'
make: *** [install-recursive] Error 1
*//////////////////////////////////////////

No se que hacer...

Muchas Gracias!
Title: Re: lenguaje C, amule, recursividad...
Post by: deltaHF on November 17, 2004, 09:55:43 PM
you don't have gd installed (libgd) ..

cheers
Title: Re: lenguaje C, amule, recursividad...
Post by: Jacobo221 on November 17, 2004, 10:06:07 PM
error en CAS.
debes instalar la libreria LibGD.
o poner --disable-cas en el configure ;)
Un saludo!
Title: Re: lenguaje C, amule, recursividad...
Post by: Jacobo221 on November 17, 2004, 10:06:41 PM
jodio deltaHF... siempre más rapido :-/
xP
Title: RE: lenguaje C, amule, recursividad...
Post by: phoenix on November 17, 2004, 11:55:58 PM
Olaf "El Blanco",

I got really curious about that problem, because I have tried here without gdlib installed and everything works just fine. Could you please show me the exact commands that you entered to configure/compile amule? Also, can you tell me what is your linux distribution?

Cheers!
Title: RE: lenguaje C, amule, recursividad...
Post by: Olaf "El Blanco" on November 18, 2004, 02:34:40 PM
Suse 9.1

and the commands are configure and make !!!
Title: Re: lenguaje C, amule, recursividad...
Post by: deltaHF on November 18, 2004, 07:36:12 PM
http://www.amule.org/files/files.php?cat=13