Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-10-2010, 06:10 AM   #1
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Question The error occured while installing mod_perl supporting library libapreq2-2.12

I am installing mod_perl on the Linux box. Could successfully installed httpd, mod_perl, expat. Now when I try to run "make" command for libapreq2-2.12, it gives following error -

[FONT="Arial"]Making all in glue
make[1]: Entering directory `/opt/customer/apache/2.2.8_64_modperl/lib/libapreq2-2.12/glue'
cd perl; /usr/bin/perl Makefile.PL -apxs /opt/customer/apache/2.2.8_64_modperl/bin/apxs
Can't locate Apache2/ in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.1/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at Makefile.PL line 19.
BEGIN failed--compilation aborted at Makefile.PL line 19.[/FONT

Any help in this regard is appreciated!

Last edited by twistisha; 07-11-2010 at 04:38 AM. Reason: big font
Old 07-10-2010, 12:36 PM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 15,920

Rep: Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026Reputation: 3026
Welcome to LQ.

Enlarged typing is considered shouting. Please edit.
And please avoid colors for a whole text. Use code tags : ( # )
[/code] at text end. [code] at text start.
Perl 5.8.5 : Are you using RH EL4 / CentOS 4.8 ?

"" Can't locate Apache2/ in @INC ""
'Apache2/' is part of apache mod-perl.
mod_perl-1.99_16-4.5.x86_64.rpm for 4.8 :
The naming may be Apache2, if you build it manually, --prefix=/usr.

Last edited by knudfl; 07-10-2010 at 12:38 PM.
Old 07-11-2010, 04:37 AM   #3
LQ Newbie
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your reply. yeah even I realised about the font size, but didn't know how to edit it again.
anyway, i will take care next time.
I could pass this error message, I had to set the perl5.10.0 path before proceeding installation. It worked with the path setting.

Thanks again,



installation, modperl

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
error occured when installing wine-1.1.9 cricketlong Linux - Software 3 12-07-2008 12:51 PM
Gthumb - And error occured in the io-library homer99 Fedora 1 12-05-2006 02:31 PM
error occured while installing grub lord_cedrich SUSE / openSUSE 15 10-30-2006 05:44 AM
An error occured while installing xine kesara3k Fedora 1 08-01-2004 02:51 PM

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration