Hello Monks. New here as a monk but have been a reader in the past...
I ran in to this problem too. Having had a look at the Makefile.PL sourcecode, I see the problem is due to the way Makefile.PL interfaces with configure. I've sent the following message to apreq-dev@httpd.apache.org:
----->8-------
I've been trying to install libapreq2-2.12 using the following command:
perl Makefile.PL INSTALLDIRS=vendor --with-apache2-apxs=/blah
This fails because Makefile.PL assumes that options passed to it that are not recognised are Perl options rather than Makefile.PL options (line 54).
This results in configure being invoked as:
./configure --enable-perl-glue --with-perl-opts=INSTALLDIRS=vendor --w +ith-apache2-apxs=/blah/apxs --with-perl=/blah/perl
This leads to the configure script trying to run the following command at line 19493:
perl INSTALLDIRS=vendor build/version_check.pl
that then fails...
Does anyone think it would be possible to enable the Makefile.PL INSTALLDIRS=vendor for this package? I appreciate that the distribution uses a somewhat non-standard way to install the modules.
-----8<------
I'll post anything I hear back about this question. In the meantime I've just not passed the INSTALLDIRS option to Makefile.PL - not ideal in my situation, but at least it allows me to install the modules.
Simon
In reply to Re^3: CPAN: Install of Apache2::Request failed
by simonrees
in thread CPAN: Install of Apache2::Request failed
by nesto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |