Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   MySQL problems
Date:   2002-03-11 18:24:34
From:   spiffyman
Once again, thanks for a great article. However, I'm having problems with the source install of MySQL.


After downloading the file you pointed to with Internet Explorer, the actual name of the file was download.php. Because of that, tar (gzip?) didn't want to unpack the file, so Stuffit Expander did. So I was unsure as to whether I should move the resulting folder to /usr/local/src/ or not. (If so, I didn't, and how do I do that? cp doesn't seem to create the directory necessary in /usr/local/src/)


Anyhow, I ran the ./configure options and it went fine, but when make finished, I got the following line at the end:


make[2]: Nothing to be done for `all-am'.


There weren't any other error reports that I could see, but then, maybe I did miss something. When I ran sudo make install, I got this line at the top and throughout the output as well as several lines with `install-data-am' instead:


make[2]: Nothing to be done for `install-exec-am'.


And these lines at the bottom:


make[2]: *** [install-binPROGRAMS] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1


Now, when I go to /usr/local/, sudo ./bin/mysql_install_db produces a command not found error.


I suspect there was some sort of problem in the make or make install commands, but if I find a solution, I'll still need to know what to move or remove so a reinstall goes smoothly. Thanks for your help.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • MySQL problems
    2002-06-30 04:19:01  mrx1 [View]

    Well, it's an old post and I bet you got it working since then but it might be useful to others... In general, when I get those stupid "download.php" names, I look at the real name of the file I downloaded (easily enough by double clicking on the dl in the dl manager in IE5, but the way you get it doesn't matter, as long as you find the exact dl path with the name of the file at the end) and just copy and paste it to the downloaded file (replacing the "download.php"), say "yes" when the Finder asks if you wanna change the extension from .php to whatever your file's in... stuffit should now recognize your file and you should be able to do whatever you need with it. Cheers.