May 15th, 2002, 05:04 PM
Problem installing MySQL
I am trying to install MySQL, Apache, and PHP on my Red Hat Linux 6.1 box, I downloaded all tar.gz sources to a temp directory '/tmp/download'. Now I am trying to execute 'make' from the mysql directory as stated Here , but I get the following error message:
make: *** No targets specified and no makefile found. Stop.
Anyone have any idea what to do, I’d sincerely appreciate any help.
May 15th, 2002, 11:05 PM
It is hard to say exactly what the problem is, but the problem lies somewhere within your Makefile. I am assuming the make is looking for something that is not in Redhat 6.1 and therefore cannot compile. This problem can be solved by figuring out where in the Makefile the compile is dying and edit it as necessary. Or...you could either try a different version of mySQL or try an RPM package.
May 15th, 2002, 11:07 PM
what parameters did you use when running ./configure?
May 16th, 2002, 12:50 PM
Thanks a lot iNViCTuS, I had tried an alternative installation method using tar.gz source files as follows:
# gunzip -c mysql-3.23.33.tar.gz | tar xvf -
# cd mysql-3.23.33
# ./configure --prefix=/usr/local/mysql
# make install
# cd /usr/local/mysql/bin
# ./safe_mysqld &
# ./mysqladmin -u root password 'new-password'
So far everything works fine. lol I figured out that I was using the binary files instead of sources, since I didn't realize the difference between the two.
May 17th, 2002, 12:31 PM
hehe rpm Uvh mysql
now isnt that alot easier hehe
does 6.2 have rpm??
May 17th, 2002, 06:38 PM
Yes thank you RiOtEr it's a lot easier, the MySQL RPMs are built on a RedHat 6.2 but should work on other versions of Linux that support rpm and use glibc.