On Fri, Jan 8, 2010 at 10:45 AM, Mahalingam Subramaniam <[email protected]> wrote: > Dear All > I am in the course of setting up a LAMP server on RHEL 5.2. After the > successful compilation cum installation of Mysql 5.2, Apache 2.2, I have been > making repeated attempt to compile & install Php-5.2.12 like other two > through source downloaded from php.net, I am unable to do so. Whilst, trying > to execute "Make" after configure with options, it outputs error message as > follows: > "make: *** No targets specified and no makefile found. Stop." > Your valuable suggestions & comments are sought to resolve this issue.
My goodness. This thread seems to have evoked a great deal of responses. If configure exits with an error, makefiles will not be generated. The way autoconf works is that it generates Makefile from Makefile.in and Makefile.am. And it invokes libtool, autoheader, aclocal, automake and so on. All part of the autoconf tool chain. In some cases you have to generate configure from autogen.sh. This usually happens when you download code from a version control repo. Otherwise you only run the ./configure script. Please try this. $ ./configure --help | less Read the various options and see if disabling something lets configure generate makefiles correctly. Some dependencies are mandatory and some optional depending upon what feature is enabled. Anyway your error clearly says that the configure script existed due to a possible dependency or version issue. Hence the makefile "Makefile" (possibly many each per subdir) was not generated correctly. You could inspect the file config.log or something similar in the toplevel directory or simply run configure again. And also there is nothing wrong in trying to learn all these things someday. If you stick only to binary packages you will never know. Looking at the responses I see in this thread the awareness of the way the autoconf suite works seem pretty poor. I wonder how configure script can depend on perl. I am yet to see a situation like that. perl modules have their own "perl Makefile.PL" way of generating makefiles. That is not the case here. I wonder. Best, Girish -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
