Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installation woes

Status
Not open for further replies.

frozenpeas

Technical User
Sep 13, 2001
893
CA
Hi,

I am trying to install PHP and MySQL on RH7. I had this problem when I installed qmail, as well.

After I unpack and ./configure... I try "make" and get an error like this:

Code:
make: *** No targets specified and no makefile found.  Stop.

Then just for the hell of it, I try "make install" and get:

Code:
make: *** No rule to make target `install'.  Stop.

What am I doing wrong? Thanks.
 
Is there any reason you can't install with rpms? You should be able to find the latest version at RedHat or it's mirror sites. If you must compile from source, you will need to compile php with mysql and apache support. The command line for ./configure will look something like this:

$ ./configure --with-mysql --with-apache=../apache_1.3.x

The error is saying it can't find the file called "makefile" which should have been created by configure. Look to see if another dir was created with the source files in it and look for "makefile". Then type the make command from there.

You will also have to recompile apache if it wasn't compiled with the php modules.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top