Hi All,
I am trying to build Encode-Detect (I am using Solaris Express 1/08,
Sunfreeware perl 5.8.8 and
Sunfreeware gcc 3.4.6).
When I run make I get the following error:
In file included from /usr/local/lib/perl5/5.8.8/i86pc-solaris/CORE/
perl.h:1195,
from Detector.xs:40:
/usr/include/sys/mode.h:49: error: use of enum `vtype' without
previous declaration
error building lib/Encode/Detect/Detector.o from 'lib/Encode/Detect/
Detector.c' at /usr/local/lib/perl5/site_perl/5.8.8/ExtUtils/CBuilder/
Base.pm line 109.
*** Error code 2
make: Fatal error: Command failed for target `all'
/usr/bin/make -- NOT OK
I hope that I'm doing something wrong but I have not idea how to work
out what! I have also tried using the Blastwave perl 5.8.8 with the
Sun compiler but that fails with the message:
cc: Warning: illegal option -x
cc: No input file specified, no output generated
error building src/LangBulgarianModel.o from
'src/LangBulgarianModel.cpp' at
/opt/csw/share/perl/site_perl/ExtUtils/CBuilder/Base.pm line 108.
*** Error code 2
make: Fatal error: Command failed for target `all'
/usr/ccs/bin/make -- NOT OK
If this is not the correct list to ask, please let me know so that I
can forward my question to the correct place.
Thanks,
David
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/