Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

Hello monks,

I'm deploying a copy of perl-5.8.9 in my system, since I need it for working on a project and my system perl has already been upgraded to 5.10. So far the compilation and installation of perl-5.8.9 has gone fine and now I'm installing the project's required modules.

I'm getting an error with CGI::Test, during the make test stage, saying undefined symbol: PL_curpad. This is the partial output of what I'm doing:

$ PATH=$PATH:/opt/myperl/bin /opt/myperl/bin/cpan CGI::Test [...] Running make test PERL_DL_NONLAZY=1 /opt/myperl/bin/perl "-MExtUtils::Command::MM" "-e" +"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/env...........ok + t/get...........ok + t/parsing.......ok + t/play_get......ok + t/play_multi....ok 3/27Can't load '/opt/myperl/lib/5.8.9/i686-linux/au +to/Fcntl/Fcntl.so' for module Fcntl: /opt/myperl/lib/5.8.9/i686-linux +/auto/Fcntl/Fcntl.so: undefined symbol: PL_curpad at /opt/myperl/lib/ +5.8.9/i686-linux/XSLoader.pm line 70. at /opt/myperl/lib/5.8.9/i686-linux/Fcntl.pm line 215 BEGIN failed--compilation aborted at /opt/myperl/lib/5.8.9/i686-linux/ +Fcntl.pm line 216.

I've searched google and the monastery to no avail, although I saw some things that could help to shed some light on this:

$ nm /opt/myperl/lib/5.8.9/i686-linux/auto/Fcntl/Fcntl.so | grep PL_cu +rpad U PL_curpad $ nm /opt/myperl/bin/perl | grep PL_curpad 0813c000 B PL_curpad $ /opt/myperl/bin/perl -MFcntl -e 'print "ok\n";' ok

This last snippet shows that Fcntl seems to load properly, although it doesn't when testing CGI::Test. Maybe I'm inadvertently mixing something with the system perl, although I don't see where. What should I do? I'm out of ideas.

--
David Serrano


In reply to Unable to install CGI::Test on a local installation of perl by Hue-Bond

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found