Rael has asked for the wisdom of the Perl Monks concerning the following question:

So I've done this before gents. I've got the source
compiled, and the parser program runs fine. I try to
build the Perl interface for Lingua::Linkparser and I
get the following:

root@localhost Lingua-LinkParser1.05# make test
make1: Entering directory `/opt/perl/Lingua-LinkParser1.05/Definitions'
make1: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Definitions'
make1: Entering directory `/opt/perl/Lingua-LinkParser1.05/Dictionary'
make1: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Dictionary'
make1: Entering directory `/opt/perl/Lingua-LinkParser1.05/Linkage'
make2: Entering directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Sublinkage'
make3: Entering directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Sublinkage/ Link'
make3: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Sublinkage/L ink'
make2: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Sublinkage'
make2: Entering directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Word'
make2: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Linkage/Word'
make1: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Linkage'
make1: Entering directory `/opt/perl/Lingua-LinkParser1.05/Sentence'
make1: Leaving directory `/opt/perl/Lingua-LinkParser1.05/Sentence'
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..15
ok 1
about to define new objmake: *** test_dynamic
Segmentation fault

How does a lowly priest get this running? Has anyone
gotten this to work on RH9 w/ perl 5.8?

Replies are listed 'Best First'.
Re: LinkParser No Worky on RH9?!?
by ScooterQ (Pilgrim) on Jun 20, 2003 at 00:26 UTC
    (/me runs off to find where I've posted this previously... Oh yeah - here!)

    RH9 caused more than a few problems for me with a number of modules until I edited my /etc/sysconfig/i18n file. Here's mine:
    #LANG="en_US.UTF-8" LANG="en_US" SUPPORTED="en_US.UTF-8:en_US:en" SYSFONT="latarcyrheb-sun16"
    It looks like some modules (like CPAN!) don't like that UTF-8. If you don't want to monkey with your system-wide locale setting, just type "export LANG=en_US" and then try your install again.

    I can't say for certain that this will solve your problem, but it's worth a try.
      Thanks bro. I gave that a shot and it's still a no go >:}
        Did you restart building the module from scratch? The LANG environment variable affects MakeMaker when it builds the Makefile. The Makefile is probably wrong and needs to be rebuilt.