|
Compiling pgplot after patched it :
gcc -c -DUSE_PERL -Wall -fPIC -DPG_PPU -O -I. -I/home/XXXXXX/pgplot/drivers
-I/home/XXXXXX/pgplot/drivers/ptk -I/usr/lib/perl5/Tk/pTk /home/gXXXXXX/pgplot/drivers/ptk/ptkpgplot.c
In file included from /home/XXXXXX/pgplot/drivers/ptk/ptkpgplot.c:15:
/home/XXXXXX/pgplot/drivers/ptk/ptkpgplot.h:9: erreur: syntax error before <<Arg>>
...
make: *** [ptkpgplot.o] Erreur 1
perl Makefile.PL in Tk-Pgplot-0.30/ directory :
ExtUtils::F77: Version 1.15
Loaded ExtUtils::F77 version 1.15
Found compiler g77
ExtUtils::F77: Using system=Linux compiler=G77
Checking for gcc in disguise:
Compiler is gcc version 4.0.3 20051204 (prerelease) (Ubuntu 4.0.2-5ubuntu2)
Runtime: -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib -lg2c -lm -L/usr/lib/gcc/i486-linux-gnu/4.0.3 -lgcc
ExtUtils::F77: Validating -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib -lg2c -lm -L/usr/lib/gcc/i486-linux-gnu/4.0.3 -lgcc [ok]
ExtUtils::F77: Compiler: g77
ExtUtils::F77: Cflags: -O
/home/guitch/Tk-Pgplot-0.30 does not start with /usr/lib/perl5
i.e. building outside Tk itself
Can't use string (" -L/usr/local/pgplot/ -L/usr/X") as an ARRAY ref while "strict refs" in use at /usr/lib/perl5/Tk/MMutil.pm line 538.
at /usr/lib/perl5/Tk/MMutil.pm line 538
Tk::MMutil::TkExtMakefile('NAME', 'Tk::Pgplot', 'INC', ' -I/usr/local/pgplot/ ', 'LIBS', ' -L/usr/local/pgplot/ -L/usr/X11R6/lib -lptkpgplot -lcpgpl...', 'VERSION_FROM', 'Pgplot.pm', 'MYEXTLIB', ...) called at Makefile.PL line 28
|