LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SELinux 5.6 need apsx or ap_release.h to install Apache::Request (https://www.linuxquestions.org/questions/linux-software-2/selinux-5-6-need-apsx-or-ap_release-h-to-install-apache-request-882653/)

PrimeMogul 05-25-2011 12:50 PM

SELinux 5.6 need apsx or ap_release.h to install Apache::Request
 
I am trying to install MAA's WeBWorK and cannot seem to get the Apache::Request perl module installed with CPAN.

I am using RedHat Enterprise Server 5.6, Apache 2.2.3 and Perl 5.8.8. The install asks for the full path to apxs or ap_release.h, but neither of these are on my system. (perhaps yum just installs executables?)

Any suggestions?

(BTW yum tells me "Package mod_perl-2.0.4-6.el5.x86_64 already installed and latest version" I thought it would include these modules" but, no.)

PrimeMogul 05-25-2011 01:25 PM

I discovered I need Apache2::Request, but it does not change my question. The CPAN install fails as follows


Quote:

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: /usr/sbin/apxs: No such file or directory
./configure: line 20266: /usr/sbin/apxs: No such file or directory
./configure: line 20270: /usr/sbin/apxs: No such file or directory
./configure: line 20274: /usr/sbin/apxs: No such file or directory
./configure: line 20274: /usr/sbin/apxs: No such file or directory
build/version_check.pl failed: no version_string found in '' for 'apache2'.
configure: error: Bad apache2 binary (/)
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
It still seems to want apxs. Apache2 is running very smoothly...

PrimeMogul 05-25-2011 06:34 PM

I may have this fixed. Someone told me to try

and they seem to do the trick.


All times are GMT -5. The time now is 03:49 PM.