LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2007, 09:21 AM   #1
rn5a
Member
 
Registered: Aug 2007
Posts: 48

Rep: Reputation: 15
Question No Make File!


I installed Apache successfully & then tried to install PHP-5.2.4 from a tar.gz file. After uncompressing the tar.gz file, this is how I configured PHP (as described in the help file):

./configure --build=i586-alt-linux --host=i586-alt-linux --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext --prefix=/usr --enable-inline-optimization --with-pic --enable-cli --disable-cgi --disable-debug --enable-safe-mode --disable-magic-quotes --disable-rpath --enable-bcmath --enable-ctype --enable-ftp --enable-session --enable-shmop --enable-sysvsem --enable-sysvshm --enable-libxml --disable-dom --disable-simplexml --disable-hash --enable-xml --enable-wddx --enable-shared=yes --enable-static=no --enable-so --with-layout=GNU --with-exec-dir=/usr/bin --with-zlib=/usr --with-gettext=/usr --with-iconv --without-mysql --with-mm=/usr --without-sqlite --with-regex=php --without-pear --with-config-file-path=/etc/php/5.2.4/apache-2.2.4-mod_php --with-mssql=/usr --with-apxs2=/usr/local/apache-2.2.4/bin/apxs --with-apache2=/usr/local/apache-2.2.4

Next when I executed make, the following error got generated:

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

When I had a look at the directory in which I uncompressed the tar.gz file, thereīs no file named Makefile though there are files named Makefile.frag, Makefile.fragments, Makefile.gcov, Makefile.global, Makefile.objects, makedist & makerpm.

Why didnīt the Makefile get created when I configured PHP? It should have, isnīt it?

I am really having a harrowing time installing LAMP. I had installed PHP successfully earlier but after installing MySQL, PHP refused to run.

Some PLEASE give me a solution to overcome this problem. Itīs driving me nuts. Itīs been more than a week since I started installing LAMP & till now, I havenīt managed to install it.

Thanks,

Ron
 
Old 09-08-2007, 09:25 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by rn5a View Post
Why didnīt the Makefile get created when I configured PHP? It should have, isnīt it?
Yes, sure. If the configuration process did not report any error. Have you noticed some error message during configuration? You can look also at config.log, which is usually created at configuration time.
 
  


Reply



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
make complete image file from partition file for qemu lbdgwgt Linux - Newbie 2 11-16-2006 08:04 AM
Make Trouble linking some fortran code Make file problem? any ideas? TheBrick Linux - General 0 05-17-2006 11:21 AM
make a .img file for custom liveCD, dd?? (Also, how to make your system very small) 1veedo Linux - Newbie 6 05-07-2006 05:52 PM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 09:58 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:20 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