Question:
how to install Apache 2.X on Unix Based OS?
ANON123456
2010-01-19 09:23:27 UTC
hi i'm having problems installing and compiling this im following the Instructions on the Php.net website i gunzip the file use the Tar command and cd into httpd-2.2.14 once there i do the ./configure --enable-so like it says but when i try the next step "make" it gives me a error saying no make file should i have this somewhere besides the /home/*/Desktop or downloading the File from the terminal window instead of off a mirror on Apache website ive tried redownloading several times and using the 1.3 version of Apache they all say the same thing what am i doing wrong im using Fedora 11 and im signed in as Root while doing all of this
Four answers:
Nick
2010-01-19 09:39:21 UTC
You can find where your Makefile is by doing:

find . -name Makefile



You need to run make in the directory where your Makefile is.



Also you want to ensure that your ./configure succeeded.
deonejuan
2010-01-19 09:39:34 UTC
On Ubuntu (Debian-based) we use packages .deb. I'm surprised that you haven't done .rpm install. In any event, with Ubuntu I must install the C/C++ headers and we call this .deb 'build-essential'. Once that is installed, then the Terminal has shared libs with the cmake.so to 'make'.



Investigate the .rpm way because it is convenient sometimes. Let's say you have a project going in Computer Vision using OpenCV. The version 2.0 installs, but it conflicts with other libraries that make OpenCV a webcam appliance product -- the webcam project was designed with version 1.0 of the OpenCV. Because of examples like this, it is much easier to un-install packages. It is impossible to clean out all the crud from a build.



But, it's good to know how to build. And, you DON'T want to be ROOT all the time, just on the install after the make.



good luck. I'm sorry I don't know the 'real' Linux... Fedora. One final thought, if you were wanting PHP, MySQL and Apache, that's a script for the LAMP stack. I highly recommend that as an approach.
Michael from UK
2010-01-19 09:30:33 UTC
Can't you download a package and just install that via whatever package manager you use? There are packages for most Linux distros, and it's easier than making it yourself.



In terms of your problem, the make file, that is created when you run the installation so sounds like one of the previous steps has failed if you have nothing to make.



Check out the link (this implies a Fedora package is available)
surenndra kc
2010-01-19 09:55:21 UTC
visit this i think this will help you http://easyybloger.blogspot.com/2010/01/how-to-install-apache-2x-on-unix.html


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...