LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2010, 11:54 AM   #1
fmonte2010
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Trouble to install libapreq2 package dependencies to mod_perl


Hi guys,

I have a trouble with the installation the libapreq2 package to configure mod_perl and Template Toolkit on Centos Linux with Apache 2.2.3 I obtained the following error message:

sh: ./configure: Permission denied

This error message appears when it tries to configure apxs.

Please if is possible to someone help me.

Thanks
 
Old 10-09-2010, 06:48 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ. .. .. ..

Assume libapreq2-2.12.tar.gz . May be you got a corrupt package ?
( The packages from the Apache mirrors are not quite OK.)
The perfect package is here :
http://search.cpan.org/~joesuf/libap...he2/Request.pm
> http://search.cpan.org/CPAN/authors/...q2-2.12.tar.gz
> > libapreq2-2.12.tar.gz

cd libapreq2-2.12/ && ./configure && make : No errors, CentOS 5.5, 32 Bits.
.......
 
Old 10-09-2010, 10:16 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
if you have a permission denied
then add the +x option to it ( should be set as default)
but why are you using "sh" first ????
you are already in the shell and "configure" is not a executable binary file , it is a script
try this first ( as a normal user and NOT as root
Code:
./configure --help
read the output !!

you mostlikly need to add the --prefix option to configure
 
Old 10-10-2010, 01:51 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
... And : we forgot the most obvious install methods :

A) yum install libapreq2-devel perl-libapreq2

*libapreq2-* packages (version 2.09) are in the EPEL repo
https://fedoraproject.org/wiki/EPEL
https://fedoraproject.org/wiki/EPEL/FAQ#howtouse


B) 1) su ; 2) cpan 3) > cpan install Apache2::Request
ref. the "libapreq2 ~ Apache2::Request" link
http://search.cpan.org/~joesuf/libap...he2/Request.pm
..
 
  


Reply



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
Install Package dependencies separately over network sr71919 Linux - General 4 08-18-2010 12:14 PM
[SOLVED] The error occured while installing mod_perl supporting library libapreq2-2.12 twistisha Linux - Software 2 07-11-2010 03:37 AM
how to install a package -dependencies autoresolved narendra.pant Red Hat 1 08-27-2007 05:37 PM
how to make a package to install it dependencies? jabka Debian 0 05-21-2007 03:14 PM
How can I install a rpm package and get the dependencies installed automatically? sceadu Fedora 10 01-06-2006 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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