LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache make and make install issues (https://www.linuxquestions.org/questions/linux-software-2/apache-make-and-make-install-issues-434362/)

rajnair0278 04-12-2006 01:58 AM

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.

Alien_Hominid 04-12-2006 03:07 AM

Have you looked if you had done this? 3. Apache was not built using --enable-so

rajnair0278 04-12-2006 03:10 AM

yes i am prety sure i did it. Infcat thats the only option i added while configuring apache

Alien_Hominid 04-12-2006 03:15 AM

Try reconfiguring with this:
Code:

./configure  --enable-module=most --enable-shared=max  --enable-so

rajnair0278 04-12-2006 03:17 AM

Thx hominid .:( I tried but still the same

Alien_Hominid 04-12-2006 03:21 AM

Don't know then. Which distro are you using? Aren't there any suitable packages?

rajnair0278 04-12-2006 03:39 AM

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

Alien_Hominid 04-12-2006 03:42 AM

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.


All times are GMT -5. The time now is 10:57 AM.