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

I'm trying to install the module BerkeleyDB.pm, but when I try to make, I get the error "/bin/sh: bleedperl: command not found. Error 127." What is bleedperl? Why won't it install my module? Thanks, Evan

Replies are listed 'Best First'.
(crazyinsomniac) Re: Installing BerkeleyDB.pm
by crazyinsomniac (Prior) on Feb 07, 2002 at 09:43 UTC
    I attempted this as well yesterday, and ran into the same thing.

    from perlhack

    If you are a member of the perl5-porters mailing list, it is a good thing to keep in touch with the most recent changes. If not only to verify if what you would have posted as a bug report isn't already solved in the most recent available perl development branch, also known as perl-current, bleading edge perl, bleedperl or bleadperl.

    Now from what I can gather, this is a simple typo on the part of the guy who wrote the Makefile.PL (I may be wrong).

    What I'd try (I haven't done it myself), is simply changing the instances of bleedperl to just perl, preferably in Makefile.PL

    sub MY::postamble { ' $(NAME).pod: $(NAME).pod.P t/examples.t.T t/examples3.t.T mkpod perl ./mkpod $(NAME).xs: constants.h constants.xs typemap $(TOUCH) $(NAME).xs constants.h constants.xs: mkconsts bleedperl mkconsts xs $(NAME).pm: mkconsts bleedperl mkconsts pm $(NAME).pm > $(NAME).pm.tmp && mv $(NAME).pm +.tmp $(NAME).pm Makefile: config.in ' ; }
    Lemme know how it goes.

    Happy Coding!

     
    ______crazyinsomniac_____________________________
    Of all the things I've lost, I miss my mind the most.
    perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

      I've tried that but get
      perl mkconsts pm BerkeleyDB.pm > BerkeleyDB.pm.tmp && mv BerkeleyDB.pm +.tmp BerkeleyDB.pm Can't locate ExtUtils/Constant.pm in @INC (@INC contains: /usr/local/l +ib/perl5/5.6.1/sparc64-linux /usr/local/lib/perl5/5.6.1 /usr/local/li +b/perl5/site_perl/5.6.1/sparc64-linux /usr/local/lib/perl5/site_perl/ +5.6.1 /usr/local/lib/perl5/site_perl/5.6.0/sparc64-linux /usr/local/l +ib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at mkconst +s line 3. BEGIN failed--compilation aborted at mkconsts line 3. make: *** [BerkeleyDB.pm] Error 2
      I thought that if you tried to upgrade ExtUtils, you end up having to re-install perl. Am I incorrect?

      -Lee

      "To be civilized is to deny one's nature."
        I thought that if you tried to upgrade ExtUtils, you end up having to re-install perl. Am I incorrect?
        No. That was some old CPAN bug which upgrade your perl. ExtUtils::MakeMaker and ExtUtils::Constant are both regular cpan distributions (and MakeMaker even has a website ).

        MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
        I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
        ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Installing BerkeleyDB.pm
by shotgunefx (Parson) on Feb 21, 2002 at 22:18 UTC
    Hi Evan,
    Did you ever get this to work? I had this same problem.

    -Lee

    "To be civilized is to deny one's nature."