LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP installation problem (https://www.linuxquestions.org/questions/linux-newbie-8/php-installation-problem-286882/)

ridge321 02-06-2005 08:32 AM

PHP installation problem
 
I downloaded the tar ball
extract it ... ok
configure it... ok
make ....when i try to run MAKE it says the file doesnt exist and indeed there is no MAKE in the downloaded directory but the installation instructions says configure , make, then make install but there is no make file..can i get some help please

Crashed_Again 02-06-2005 08:47 AM

ummmm...can we get some more info please. You should put your distribution in your profile so we know what we are dealing with. My guess is that your distribution has an easier way to install php other then compiling from source.

ridge321 02-06-2005 09:00 AM

I have php-5.03

bathory 02-06-2005 09:28 AM

make must be in your path. Run:
Code:

which make
to see if that's true.
In the directory you extracted php there is only a Makefile which tells the make program how to build the source.

ridge321 02-06-2005 09:57 AM

Quote:

Originally posted by bathory
make must be in your path. Run:
Code:

which make
to see if that's true.
In the directory you extracted php there is only a Makefile which tells the make program how to build the source.

when i run which make it points me /usr/bin/make
but when i try to run this file i get nothing to be done for make /usr/bin/make or /usr/bin/make i get no target specified and no makefile found.
FYI there is a makefile.objects and makefile.fragments in the extracted directory.

btmiller 02-06-2005 11:10 AM

Are you in the same directory that you ran configure in? You need to be in the same directory as the Makefile. Do a ls on your directory and make sure that the Makefile is there.

ridge321 02-06-2005 11:17 AM

Quote:

Originally posted by btmiller
Are you in the same directory that you ran configure in? You need to be in the same directory as the Makefile. Do a ls on your directory and make sure that the Makefile is there.
There is no makefile in the directory as i stated earlier .only makefile.fragments and makefile.objects


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