I'm not a perl guy but I need to make something run that relies on the
BSDGlob.pm module. I downloaded xzvf File-BSDGlob-0.94.tar.gz  from
CPAN and generated the Makefile. The make dies with

bash-3.2$ perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for File::BSDGlob
bash-3.2$ make
cp BSDGlob.pm blib/lib/File/BSDGlob.pm
AutoSplitting blib/lib/File/BSDGlob.pm (blib/lib/auto/File/BSDGlob)
gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -
Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-
D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
size=4 -m64 -mtune=generic   -DVERSION=\"0.94\" -DXS_VERSION=\"0.94\" -
fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"
bsd_glob.c
bsd_glob.c: In function ‘globtilde’:
bsd_glob.c:369: error: ‘my_perl’ undeclared (first use in this
function)
bsd_glob.c:369: error: (Each undeclared identifier is reported only
once
bsd_glob.c:369: error: for each function it appears in.)
bsd_glob.c:685:8: warning: extra tokens at end of #endif directive
make: *** [bsd_glob.o] Error

Interestingly, there is NO reference to my_perl anywhere in
bsd_glob.c, only in the included perl.h.

Linux kubo.phy.bme.hu 2.6.18-238.9.1.el5.centos.plus #1 SMP Tue Apr 12
20:34:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

Help greatly appreciated,
Robi


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to