Posted on 2008-01-01 17:40:34-08 by rlyle
Error compiling p5-Encode-Detect...
I was trying to install ths p5-Encode-Detect port on a FreeBSD 4.9 system... and got the following error..
Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.8.8/E +xtUtils/ParseXS.pm line 508, <GEN36> line 65. cc -Isrc -I/usr/local/lib/perl5/5.8.8/mach/CORE -DXS_VERSION="1.00" -DVERSION="1.00" -DPIC -fPIC -x + c++ -Iinclude -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPO +INT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe -o lib/Encode/Detect/Detector.o lib +/Encode/Detect/Detector.c lib/Encode/Detect/Detector.c:73: syntax error before `__attribute__' lib/Encode/Detect/Detector.c:74: syntax error before `__attribute__' lib/Encode/Detect/Detector.c:79: register name not specified for `struct SV ** mark' lib/Encode/Detect/Detector.c:79: `sp' was not declared in this scope lib/Encode/Detect/Detector.c:81: syntax error before `if' error building lib/Encode/Detect/Detector.o from 'lib/Encode/Detect/Detector.c' at /usr/local/lib/p +erl5/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 109. *** Error code 2
Direct Responses: 6785 | Write a response
Posted on 2008-01-01 17:45:33-08 by rlyle in response to 6784
Re: Error compiling p5-Encode-Detect...
P.S. my GCC version is 2.95.4, which is a bit old... so I'm installing a newer version now.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.