Re: Config errors when building mod-perl-2.0.12

"Edward J. Sabol" <[email protected]> Sun, 21 Aug 2022 15:23:39 -0400
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Aug 20, 2022, at 8:54 AM, Mehul Sanghvi <[email protected]> wrote:
> Since there seems to be activity on the mailing list, I’m re-posting the below query, in case it was missed earlier.

I looked at this when you posted it previously, but I couldn't find the cause and neglected to subsequently follow up. (To be clear, I'm just an interested mod_perl user, not an Apache committer.)

What operating system is this on? I don't think you ever said, but maybe I missed it.

It looked like everything worked up until you issued the command:

> perl Makefile.PL MP_AP_PREFIX=${fakeroot_dir}${app_dir} MP_AP_DESTDIR=${DESTDIR} DESTDIR=${DESTDIR}

Is that right?

When I compiled mod_perl 2.0.11 from source, I used this command:

perl Makefile.PL MP_APXS=/my/path/to/bin/apxs

That worked for me, but I haven't tried to compile mod_perl 2.0.12, tbh. (Haven't seen a reason to upgrade.) However, I reported a possibly related problem with an Apache installation in a non-standard directory when I tested the release candidate of Apache::Test 1.43. At the time I was told my issue would be addressed later, but it hasn't been (yet). And mod_perl 2.0.12 includes Apache::Test 1.43, AFAIK, so I'm not very surprised. I had to hack the source for Apache::Test to get it to work with my Apache httpd installation.

My first suggestion is to determine if your command works with the mod_perl 2.0.11 source. If so, I feel you definitely have found a regression from 2.0.11, and you should file a bug in the issue tracker, please.

Next, I would suggest dropping one or both of the "*DESTDIR" options from your "perl Makefile.PL" command to see if that makes any difference and possibly experiment with "MP_APXS=/path/to/your/bin/apxs" instead of "MP_AP_PREFIX=...". Just some ideas....

Hope this helps,
Ed