[Pyobjc-dev] [ pyobjc-Bugs-839536 ] libffi doesn't build when path has spaces in it
Brought to you by:
ronaldoussoren
From: SourceForge.net <no...@so...> - 2003-11-10 21:22:18
|
Bugs item #839536, was opened at 2003-11-10 13:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=839536&group_id=14534 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Josh Minor (joshminor) Assigned to: Nobody/Anonymous (nobody) Summary: libffi doesn't build when path has spaces in it Initial Comment: This took me a while to track down, so I thought I'd share it with others. If you happen to be in a directory that has spaces in the name (as is often the case on the Mac) then libffi's configure script fails. % pwd /Volumes/Kyoto_HD/Users/joshm/foo bar/pyobjc-1.0 % /usr/bin/python setup.py Performing task: Building FFI /Volumes/Kyoto_HD/Users/joshm/foo bar/pyobjc-1.0/libffi- src/configure: line 489: test: /Volumes/Kyoto_HD/Users/ joshm/foo: binary operator expected /Volumes/Kyoto_HD/Users/joshm/foo bar/pyobjc-1.0/libffi- src/configure: line 495: test: /Volumes/Kyoto_HD/Users/ joshm/foo: binary operator expected configure: error: can not find install-sh or install.sh in / Volumes/Kyoto_HD/Users/joshm/foo bar/pyobjc-1.0/libffi- src/ creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no Task 'Building FFI' failed [256] This appears to be due to the fact that some $variables are not quoted properly, but the workaround it quite simple. Just build in a path with no spaces. (also submitted as a bug in libffi) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=114534&aid=839536&group_id=14534 |