Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
I am trying to build the Perl Module GD, via the CPAN shell, but when it tries to compile GD.c I get the following errors: (note I am doing this directly on the DNS-323 and not via a cross-compile)
+ gcc -c -I/ffp/include -Wformat=0 '-DVERSION="2.45"' '-DXS_VERSION="2.45"' -fPIC -I/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE -DHAVE_JPEG -DHAVE_FT -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FTCIRCLE GD.c
In file included from /ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/perl.h:4749,
from GD.xs:5:
/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/proto.h:513: error: expected declaration specifiers or '...' before 'off64_t'
/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/proto.h:518: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Perl_do_sysseek'
/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/proto.h:521: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Perl_do_tell'
/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/proto.h:4294: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Perl_PerlIO_tell'
/ffp/lib/perl5/5.10.0/arm-linux-thread-multi/CORE/proto.h:4295: error: expected declaration specifiers or '...' before 'off64_t'
Any help would be appreciated.
I see that there is a pre-build perl GD package available at http://www.inreto.de/dns323/fun-plug/0. … .41-1.tgz, so someone must have been able to compile it.
Offline
Dear Cary
I can not give you any direct help about your specific problem but I want to give one advice based on the experience
I have from compiling PHP.
Do
export LD_LIBRARY_PATH=/ffp/lib:/usr/local/lib:/lib export TMPDIR=/ffp/tmp
In the shell before you make any ./configure or make
The first one make sure the compiler/assembler/linker finds all installed libraries
The second make sure that the compiler/assembler/linker uses the directory /ffp/tmp directory when
creating temporary files otherwise they will use /tmp and that is on the ramdisk which is not that big.
(make sure that the directory /ffp/tmp exists aswell)
What arguments was you giving ./configure ?
minimum is
./configure --prefix=/ffp --libdir=/ffp/lib --includedir=/ffp/include .........
Regards Stefan
Last edited by stefanth (2010-12-22 08:39:07)
Offline