Hi, OS CentOS 6.3 perl=/home/dermot/perl5/perlbrew/perls/perl-5.16.0/bin/perl, %ENV: PERLBREW_BASHRC_VERSION="0.64" PERLBREW_HOME="/home/dpaikkos/.perlbrew" PERLBREW_MANPATH="/home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/man"
PERLBREW_PATH="/home/dpaikkos/perl5/perlbrew/bin:/home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/bin" PERLBREW_PERL="perl-5.16.0" PERLBREW_ROOT="/home/dpaikkos/perl5/perlbrew" PERLBREW_VERSION="0.64" @INC: /home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0/x86_64-linux /home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/lib/site_perl/5.16.0 /home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/lib/5.16.0/x86_64-linux /home/dpaikkos/perl5/perlbrew/perls/perl-5.16.0/lib/5 I have installed perlbrew and cpanm. I have been trying to get a number of modules installed but have come un-stuck with Apache2::Request. I have posted the buildlog from the cpanm build below. I have tried to manually ./configure the package but I am fairly certain that I am not using the correct options that will get the package installed where my perl binary can see it. The last configure options I gave where: ./configure --with-perl=/home/dermot/perl5/perlbrew/perls/perl-5.16.0/bin/perl --enable-perl-glue --with-apache2-apxs=/usr/sbin/apxs --with-apache2-httpd=/usr/sbin/http When I make install, I get permission denied and have to use sudo which should not be happening. Below are the configure , can anyone offer any advice? Thanks in advance, Dermot. =============== Configure options ================ Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libapreq2] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-profile compile libapreq2 with "-pg -fprofile-arcs -ftest-coverage" for gcov/gprof --enable-perl-glue build perl modules Apache::Request and Apache::Cookie Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] --with-perl path to perl executable --with-apache2-apxs path to apache2's apxs --with-apache2-src path to httpd source --with-apache2-httpd path to httpd binary --with-apr-config path to apr-*-config script --with-apu-config path to apu-*-config script --with-apache1-apxs path to apache1's apxs --with-perl-opts extra PERL options --with-mm-opts extra ExtUtils::MakeMaker options --with-expat specify expat location Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> LIBS libraries to pass to the linker, e.g. -l<library> CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> CPP C preprocessor CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command ================================================= ================== Build.log======================== cpanm (App::cpanminus) 1.6920 on perl 5.016000 built for x86_64-linux Work directory is /home/dermot/.cpanm/work/1371727227.27798 You have make /usr/bin/make You have LWP 6.05 You have /bin/tar: tar (GNU tar) 1.23 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Apache2::Request on cpanmetadb ... --> Working on Apache2::Request Fetching http://www.cpan.org/authors/id/I/IS/ISAAC/libapreq2-2.13.tar.gz -> OK Unpacking libapreq2-2.13.tar.gz Entering libapreq2-2.13 Checking configure dependencies from META.yml Configuring libapreq2-2.13 Running Makefile.PL perl: 16 ok build/version_check.pl failed: no version_string found in '' for 'mod_perl2'. Please upgrade mod_perl2 first. Apache::Test: 1.38 ok ExtUtils::MakeMaker: 6.68 ok build/version_check.pl failed: no version_string found in '' for 'ExtUtils::XSBuilder'. Please upgrade ExtUtils::XSBuilder first. Test::More: 0.98 ok Use of uninitialized value $args{"with-apache2-apxs"} in concatenation (.) or string at Makefile.PL line 91. ./configure --enable-perl-glue --with-apache2-apxs="" --with-perl="/home/dermot/perl5/perlbrew/perls/perl-5.16.0/bin/perl" checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make sets $(MAKE)... (cached) yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1966080 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool 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 ./configure: line 20252: -q: command not found ./configure: line 20266: -q: command not found ./configure: line 20270: -q: command not found ./configure: line 20274: -q: command not found ./configure: line 20274: -q: command not found build/version_check.pl failed: no version_string found in '' for 'apache2'. configure: error: Bad apache2 binary (/) -> N/A -> FAIL Configure failed for libapreq2-2.13. See /home/dermot/.cpanm/work/1371727227.27798/build.log for details. [dermot@eurydome libapreq2-2.13]$