bug#24403: Automake fails to build via Homebrew if path to Xcode contains a space

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

bug#24403: Automake fails to build via Homebrew if path to Xcode contains a space

Michael Miller
Hello GNU folks,

I recently had a problem building automake via Homebrew on OS X. Turns out the problem was that the path to Xcode contained a space: /Applications/Xcode 7.app — Removing the space caused the build to work correctly.

To Reproduce:
1. Install Xcode
2. Change the path from /Applications/Xcode.app to /Applications/Xcode 7.app
3. sudo xcode-select sudo xcode-select --switch /Applications/Xcode\ 7.app/
4. brew install automake

Result:
make: /Applications/Xcode: No such file or directory
make: *** [install-am] Error 1

Workaround:
Rename Xcode 7.app to Xcode7.app (sans the space), and then re-run xcode-select on the new path. The build now works.

Spaces really should be ok though! :)

-Michael


Loading...