Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: MakeMaker, h2xs, and writing CPAN modules

by perrin (Chancellor)
on Jun 23, 2002 at 23:22 UTC ( [id://176644]=note: print w/replies, xml ) Need Help??


in reply to Re: MakeMaker, h2xs, and writing CPAN modules
in thread MakeMaker, h2xs, and writing CPAN modules

Thanks! This works from command-line, but if I make a simple script and try to use it, it fails. Here's an example script:
#!/usr/bin/perl -w use blib '..';
And here's the message I get:
Cannot find blib even in /home/perrin/oscon/../../../../.. BEGIN failed--compilation aborted at ./bench.pl line 3.

Replies are listed 'Best First'.
Re x 3: MakeMaker, h2xs, and writing CPAN modules
by Sweeper (Pilgrim) on Jun 24, 2002 at 20:00 UTC
    In the usual incantation:
    perl Makefile.PL
    make
    make test
    make install
    
    the build library (blib) is created by the second line make, and is most useful in the third line make test. You cannot use blib before make.

    And if you can't even after that, there is something seriously wrong with your makefile / machine / Perl installation / file system / what not.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-04-16 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found