Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Need help with module problem specific to sun-solaris

by erasei (Pilgrim)
on Nov 08, 2002 at 14:23 UTC ( [id://211435]=note: print w/replies, xml ) Need Help??


in reply to Need help with module problem specific to sun-solaris

Solaris 2.8

Perl 5.005_03, failed cookie test with a "Can't find CGI::Util.pm" error message, yet my "kit is complete".

Perl 5.8, failed both simple and standard, just like your example, both with an error "Can't locate CGI/Simple.pm" and "CGI/Simple/Standard.pm" in @INC (paths follow).

Both simple and standard failed on line 9, the "use Simple" line.

Feel free to contact me off site at erasei@erasei.com

  • Comment on Re: Need help with module problem specific to sun-solaris

Replies are listed 'Best First'.
Re: Re: Need help with module problem specific to sun-solaris
by tachyon (Chancellor) on Nov 08, 2002 at 20:29 UTC

    At the top of the test scripts is the line

    use lib qw(t/lib blib/lib blib/arch);

    This is the build library made by make after you run

    %perl Makefile.PL %make

    I suspect you may have just untargzipped the module without performing the make step (you must have done perl Makefile.PL as this is when you get the kit complete message). Without running make there will be no blib and thus the inability of perl to find the module in @INC.

    If you did perform the make step I would be very interested to know what is going on!

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      Yes, I performed the correct steps, and installed it just like I always do, namely:
      tar -zxvf Cgi-Simple-0.05.tar.gz cd Cgi-Simple-0.05/ perl Makefile.PL make make test
      I just tried it again just to be sure, and it did the same thing again, so I am sure I did the same thing last week. I'd be happy to send you any output you need, just let me know.

        Hi erasei

        That is *very* strange for the reasons noted above. First could you download the 0.06 which now tests error free on Solaris. If you still get test failures because the modules can't be found then as well as the full output of make test the main- things of interest are what actually is in @INC and are the /blib dirs being written by make. Something like:

        %make test >dump.txt %ls * -Rl >>dump.txt

        should help reveal the source of the problem. If you can send me the dump.txt file or post it here I would be grateful.

        cheers

        tachyon

        s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://211435]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-24 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found