-
Problem installing MySQL
Hello,
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.
-
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.
-
what parameters did you use when running ./configure?
-
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
# make install
# scripts/mysql_install_db
# 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.
-
hehe rpm Uvh mysql
now isnt that alot easier hehe
does 6.2 have rpm??
RiOtEr
-
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.