Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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

by perrin (Chancellor)
on Jun 23, 2002 at 23:22 UTC ( #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 ./ 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 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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2020-02-22 10:02 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (99 votes). Check out past polls.