Danny Thomas wrote:

I would be grateful if people could try the documented approach but
 1) as non-root (which is always good when building software because
    it makes it unlikely stuff gets accidentally installed in wrong location)
 2) with a fairly clean file-system. I did a rm -rf of the http
    and mod_perl directories between each attempt. Also had an
    empty install directory, again in case previous attempts left
something around confounding the situation. I did not go to the extreme of cleaning out and re-installing
    between each ATTEMPT
 3) trying to install in a specified location, eg with --prefix

Brian Huxtable's posting suggests the documented method worked for him
though he did not indicate that had been done with a clean file-system.
I did try adding the "MP_COMPAT_1X=1 MP_GENERATE_XS=1" he used, but
it still did not work for me.
Danny,

The first installation I did using this method was a new install of CentOS 4 (without Apache2/mod_perl RPMs installed). It was fairly clean. I upgraded CGI and Compress::Zlib modules per the instructions. The 2.0RC5 build had no other Apache install to contend with.

My method was very similar to your second attempt with the following exceptions:

- my tar doesn't have a --bunzip2 option (used -j)
- I downloaded mod_perl from /http://perl.apache.org/dist/mod_perl-2.0-current.tar.gz/ and didn't use the CPAN method
- I had a few more options (as you've seen)
- I installed as root

There was an issue with an installation directory in the Makefile (there was a patch posted on this list earlier that cleaned it up) and I had to run 'make test' twice; but for the most part it worked well.

I built 2.0RC6 and 2.0.0 over the installed Apache2/static mod_perl with similar results as above. I dump the httpd-2.0.54 and mod_perl-2.0.x directories before each build and untar again.

After your second post on this subject I went back to my sources and tried to make/make test as a less privileged user and that seemed to work well (only needed one run of 'make test'!).

About the only thing I can think to try is to grab the mod_perl source from the URL above instead of using the CPAN module. I'm not familiar with FreeBSD and the jail setups so I don't know if there is anything that needs to be done to support that.

Brian

Reply via email to