building mod_perl in a temp build dir

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben Fitzgerald

    building mod_perl in a temp build dir

    Hi,

    I've built apache under a temp dir so I can package and install it,
    which I have done. I also have built and installed perl this way.

    Now I'm trying to build mod_perl under a temp directory to package.
    Unfortunately when running:

    mod_perl $ DESTDIR=~/buildroot/ make install

    I get the following error:

    mkdir /export/home/js: Permission denied at \
    /usr/local/perl/lib/5.8.0/ExtUtils/Install.pm line 80

    mod_perl is trying to install modules to my perl install. Is there a
    flag I can pass to have mod_perl's makefile put the modules into my
    ~/buildroot/ for packaging? Perhaps there is another solution I haven't
    considered - if so, please let me know.

    Please note I've seen a couple of postings saying "just su to root". I
    know this is a way to force it but I'd like to build this cleanly as I
    would any other package.

    thanks,

    ben.


    --
    Registered Linux user number 339435
Working...