GNU bug report logs - #24403
Automake fails to build via Homebrew if path to Xcode contains a space

Previous Next

Package: automake;

Reported by: Michael Miller <michaelmiller <at> gmail.com>

Date: Sat, 10 Sep 2016 02:19:02 UTC

Severity: normal

Tags: moreinfo

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Miller <michaelmiller <at> gmail.com>
To: bug-automake <at> gnu.org
Subject: Automake fails to build via Homebrew if path to Xcode contains a space
Date: Fri, 9 Sep 2016 18:18:07 -0700
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



This bug report was last modified 3 years and 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.