bricoleurs / bricolage

Content management and publishing system
http://www.bricolagecms.org
112 stars 51 forks source link

make cpan: Can't open perl script "INSTALLDIRS=site": No such file or directory #54

Closed streaps closed 10 years ago

streaps commented 10 years ago

not sure if it's the install script's or the user's fault. I only know, that I have no idea how to fix it.

$ sudo make cpan
/usr/bin/perl inst/cpan.pl

==> Installing Modules From CPAN <==

Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 26 Aug 2014 02:41:02 GMT
Found Apache2::Request  Installing...

[...]

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 "INSTALLDIRS=site": No such file or directory
configure: error: Bad apache2 binary (/usr/sbin/apache2)
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
  ISAAC/libapreq2-2.13.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
make: *** [cpan] Error 1
theory commented 10 years ago

You're probably better off installing the apreq2 Ubuntu package. Some useful posts from Cameron Miller here.

streaps commented 10 years ago

libapache2-mod-apreq2 was already installed. What was missing was libapache2-request-perl. Thanks!