Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Error compiling perl? PL_sv_undef error with POSIXby Ineffectual (Scribe) |
on Jul 29, 2009 at 20:01 UTC ( [id://784356]=perlquestion: print w/replies, xml ) | Need Help?? |
Ineffectual has asked for the wisdom of the Perl Monks concerning the following question:
Greetings all,
I installed perl and all appears to be fine until one of my scripts tries to use POSIX and gets the following error:
The offending piece of code in Bio::Root::IO is: use POSIX qw(dup); Since trying to re-install any of those leads to perl try to recompile itself, what did I compile wrong? This is perl 5.8.9 on an x86 linux machine (2.4.21-58.EL). I built without threads using cc 3.2.3 with dynamic loading and a shared libperl.so. I accepted fast stdio. The other SoPW node that contains information talks about POLLUTE=1, but I don't know where to set that (and the docs seem to indicate that it's set to 1 by default now). I edited the Fcntl.xs to have the #define statement from there and reran configure. update: This failed. The module refused to compile. Make has the following info: CCCMD = cc -DPERL_CORE -c -fno-strict-aliasing -pipe -I/usr/local/include -I/tools/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -std=c89 -O2 -Wall -ansi -pedantic -W -Wdeclaration-after-statement -DPERL_GCC_PEDANTIC
Back to
Seekers of Perl Wisdom
|
|