Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

shiboken failed to build on 10.9.1 #27038

Closed
vfilimonov opened this issue Feb 26, 2014 · 8 comments
Closed

shiboken failed to build on 10.9.1 #27038

vfilimonov opened this issue Feb 26, 2014 · 8 comments

Comments

@vfilimonov
Copy link

On the install of shiboken the following error occurs:

brew install shiboken
==> Downloading http://download.qt-project.org/official_releases/pyside/shiboken-1.2.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/shiboken-1.2.1.tar.bz2
==> Patching
patching file ext/sparsehash/google/sparsehash/sparseconfig.h
==> cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/shiboken/1.2.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DBUI


-- Configuring incomplete, errors occurred!
See also "/tmp/shiboken-1Kkb/shiboken-1.2.1/macbuild/CMakeFiles/CMakeOutput.log".
See also "/tmp/shiboken-1Kkb/shiboken-1.2.1/macbuild/CMakeFiles/CMakeError.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

The folder /tmp/shiboken-1Kkb does not exist

Here is the gist with error logs:
https://gist.github.com/anonymous/9237077

@adamv
Copy link
Contributor

adamv commented Mar 5, 2014

Python: /Users/vladimir/.virtual_envs/system/bin/python

Is your venv healthy?

@vfilimonov
Copy link
Author

@adamv How can I see if it is healthy?

@adamv
Copy link
Contributor

adamv commented Mar 5, 2014

What do which -a python and python -V give you?

@vfilimonov
Copy link
Author

$ which -a python
/Users/vladimir/.virtual_envs/system/bin/python
/usr/local/bin/python
/usr/bin/python
/usr/local/bin/python
$ python -V
Python 2.7.6

@adamv
Copy link
Contributor

adamv commented Mar 5, 2014

How about /usr/local/bin/python and then try some Python out interactively? Does that work too?

@adamv
Copy link
Contributor

adamv commented Mar 5, 2014

Copying in the error:

-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.5", minimum required is "2.6") 
dyld: Library not loaded: @executable_path/../.Python
  Referenced from: /usr/local/bin/python2.7
  Reason: image not found
dyld: Library not loaded: @executable_path/../.Python
  Referenced from: /usr/local/bin/python2.7
  Reason: image not found
CMake Error at cmake/Modules/FindPythonInterpWithDebug.cmake:45 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  CMakeLists.txt:33 (find_package)


CMake Error at cmake/Modules/FindPythonInterpWithDebug.cmake:46 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  CMakeLists.txt:33 (find_package)


dyld: Library not loaded: @executable_path/../.Python
  Referenced from: /usr/local/bin/python2.7
  Reason: image not found
CMake Error at CMakeLists.txt:43 (message):
  Could not detect Python module installation directory.

I don't really know what's going on here. Seems related to #25118.

@adamv
Copy link
Contributor

adamv commented Mar 5, 2014

Possibly something like this is needed here too: https://github.com/Homebrew/homebrew/pull/27095/files

@adamv
Copy link
Contributor

adamv commented Apr 27, 2014

I can't reproduce this. The good news is that there have been several updates to Homebrew since this was opened that may have addressed this problem.

Please brew update, update to the latest Xcode, and try installation again.

Note, I can't really give any guidance as to the behavior from within a virtual-env; it builds for me when I am not in one (and I don't use any.)

If compilation still fails on an updated system, please provide new troubleshooting information.

@adamv adamv closed this as completed Apr 27, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants