-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
MySQL 5.5.14 fails with "‘strnlen’ was not declared in this scope" #6827
Comments
I can't guarantee that this will solve your problem, but you probably need to install XCode 4.1 since you're using Lion--there are quite a few compatibility issues with 3.2.x on 10.7. |
Xcode 4.1 is needed for Lion; older versions are not supported by Homebrew and don't work well in general. |
...and it is installed. As well as the Java Developer tools from Apple. Do you see something that indicates it's not? |
Xcode: 3.2.5 :
|
whoa nelly. my bad. it's installed, perhaps not correctly. will re-install, restart and try again. thanks. |
Yup. PEBKAC. Turns out I had installed the "Install Xcode" app, but not actually installed Xcode 4.1 |
Note to future googlers: if you hack-install 3.2.6 on lion and 4.1 on top of it with the hopes of building universal binaries that include PPC, then you probably HAVE NOT installed all of xcode 4.1. At least this is the case using the 'InstallXcodeLion' package. To confuse matters even further, homebrew may claim that you are using xcode 4.0! If you are further entrenched in madness and attempting to install a usable clang with ARC via 4.2, then all hope is lost. Give up. You cannot win this battle. Only failure and disappointment await you. |
Trying to install mysql 5.5 on OSX 10.7 and it fails with the following:
Installation output: https://gist.github.com/1123651
brew doctor
: https://gist.github.com/1123655The text was updated successfully, but these errors were encountered: