Results 1 to 6 of 6

Thread: Problem installing MySQL

  1. #1
    Junior Member
    Join Date
    May 2002
    Posts
    9

    Unhappy 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.

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Posts
    458
    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.

  3. #3
    Senior Member
    Join Date
    Jan 2002
    Posts
    458
    what parameters did you use when running ./configure?

  4. #4
    Junior Member
    Join Date
    May 2002
    Posts
    9
    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.

  5. #5
    Banned
    Join Date
    Sep 2001
    Posts
    852
    hehe rpm Uvh mysql
    now isnt that alot easier hehe
    does 6.2 have rpm??
    RiOtEr

  6. #6
    Junior Member
    Join Date
    May 2002
    Posts
    9
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •