CC: | "Schmid, Peter (GE, Research, consultant)" <Schmid [...] crd.ge.com> |
Subject: | Problem installing via cpan shell |
Date: | Fri, 23 Jan 2009 15:12:36 -0500 |
To: | <bug-libapreq2 [...] rt.cpan.org> |
From: | "Wurtz, Frederick (GE, Research, consultant)" <wurtz [...] ge.com> |
Hello.
I'm attempting to use the cpan shell utility to install
Apache2::Cookie. I have the "makepl_arg" configured thusly:
makepl_arg PREFIX=/opt/HAL/perlmodules
...so that all of the installed files will end up down the
"/opt/HAL/perlmodules" path instead of the standard install path.
The problem is that this value gets assigned to the "with-perl-opts"
command line option to the "configure" utility and somehow
is interpreted to be a (missing) Perl script instead of a path prefix.
So the install fails when direct the installables to a non-standard
location
via the "makepl_arg" cpan option. This is the option that works with all
of the many other modules I've installed down this alternate path.
Here's a view of the cpan shell session:
Show quoted text
cpan> force test Apache::Cookie
.
.
.
.
./configure --enable-perl-glue
--with-perl-opts="PREFIX=/opt/HAL/perlmodules"
--with-apache2-apxs="/usr/local/apache-2.2.11/bin/apxs"
--with-perl="/usr/bin/perl"
.
.
.
.
.
.
checking how to hardcode library paths into programs... immediate
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles...
no
Can't open perl script "PREFIX=/opt/HAL/perlmodules": No such file or
directory.
Use -S to search $PATH for it.
configure: error: Bad apache2 binary
(/usr/local/apache-2.2.11/bin/httpd)
Running make test
Make had some problems, maybe interrupted? Won't test
Thanks for the help.
Cheers,
Fred Wurtz