LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-12-2006, 01:58 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry Apache make and make install issues


Hi guys am using Linux 9 Apache2.0.55 php 5.0.5. I get this error upon 'make'and 'make install' of apache.

make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/local/httpd/server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd/server'
However am able to start and stop apache without issues.

Then when I configured php I got this error.

Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

I can find apxs in the /usr/local/httpd/bin/apxs and when i configured php i mentioned the path as with-apxs2=/usr/local/httpd/bin/apxs and I still seem to get this error.

IS anyody aware of this problem?? Is the error in php because apache was not configured properly. if not how can i uninstall apache completely and do a fresh install?? Is there a workaround to this issue?? I have to get this server up ad running by today. Any help wille appreciated . Thx.
 
Old 04-12-2006, 03:07 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Have you looked if you had done this? 3. Apache was not built using --enable-so
 
Old 04-12-2006, 03:10 AM   #3
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
yes i am prety sure i did it. Infcat thats the only option i added while configuring apache
 
Old 04-12-2006, 03:15 AM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Try reconfiguring with this:
Code:
./configure  --enable-module=most --enable-shared=max  --enable-so
 
Old 04-12-2006, 03:17 AM   #5
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Thx hominid . I tried but still the same
 
Old 04-12-2006, 03:21 AM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Don't know then. Which distro are you using? Aren't there any suitable packages?
 
Old 04-12-2006, 03:39 AM   #7
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Original Poster
Rep: Reputation: 15
Tell me how do I uninstall apache completely. Have done several make cleans, make and make installs. Just want to delete the files that are overwritten too many times. thx
 
Old 04-12-2006, 03:42 AM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
As I know make uninstall is the only way when installing from source. That's why it is recommended to follow any package management system.
 
  


Reply


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
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
How to make install apache server backpacker Linux - Software 2 06-21-2005 04:38 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
How to make rule for make install and make uninstall melinda_sayang Programming 1 06-14-2004 05:58 AM
Make Install Issues - HELP! digitydain Linux - Newbie 0 05-05-2004 07:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:54 AM.

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