Re: Building module Encode::Detect on solaris 10 platform
- From: sisyphus <sisyphus359@xxxxxxxxx>
- Date: Sat, 23 Feb 2008 04:10:04 -0800 (PST)
On Feb 22, 1:13 am, Guy Paulus <gpau...@xxxxxxxxxxxxxxx> wrote:
.
.
On the other hand, when I resort to using "gcc -x c++" as compiler,
all source files are compiled, but then "make test" fails:
I think that's the correct approach - explicitly calling the C++
compiler almost works for me, too, on Win32.
Everyone who tries to build this module manages to come up with
different errors.
For me the make process is killed by an undefined reference to
'_boot_Encode__Detect' - which means that the Encode::Detect loadable
object doesn't get built and the tests fail. Of course, since the
loadable object didn't build, the tests should not even run - at least
that's the way it would be with ExtUtils::MakeMaker. Maybe
Module::Build enforces different rules.
/usr/local/perl5/bin/perl Build --makefile_env_macros 1 test
t/base........
# Failed test 'use Encode::Detect::Detector;'
# at t/base.t line 5.
# Tried to use 'Encode::Detect::Detector'.
# Error: Can't load
'/root/Encode-Detect-1.00/blib/arch/auto/Encode/Detect/Detector/Detector.so'
for module Encode::Detect::Detector: ld.so.1: perl: fatal: relocation
error: file
/root/Encode-Detect-1.00/blib/arch/auto/Encode/Detect/Detector/Detector.so:
symbol __gxx_personality_v0: referenced symbol not found at
/usr/local/perl5/5.10.0/lib/sun4-solaris/DynaLoader.pm line 203.
# at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/base.t line 5.
t/base........NOK 1/0Can't locate auto/Encode/Detect/Detector/new.al
Can't really help with this error.
t/encoding....Can't locate Data/Dump.pm in @INC
First thing to do here is install Data::Dump. Until you do that,
you'll aways get that error. But don't be surprised if, after having
installed Data::Dump, you still get failures with the encoding.t
tests.
As I remarked at
http://groups.google.com.au/group/perl.beginners/browse_thread/thread/4dcd83a69c52acde/3a61152b5e8b7712?hl=en#3a61152b5e8b7712
this module has the markings of an abandoned module.
But it can probably be hacked into a workable form if one knows how.
Maybe check the bug reports at http://rt.cpan.org/Public/Dist/Display.html?Name=Encode-Detect
to see if there's anything there that helps.
Cheers,
Rob
.
- References:
- Building module Encode::Detect on solaris 10 platform
- From: Guy Paulus
- Building module Encode::Detect on solaris 10 platform
- Prev by Date: Re: Installing Curses Module?
- Next by Date: Re: Installing Curses Module?
- Previous by thread: Building module Encode::Detect on solaris 10 platform
- Next by thread: Installing Curses Module?
- Index(es):
Relevant Pages
|
|