You are not logged in.

#1 2013-03-21 15:19:10

BaconPie
Member
Registered: 2010-08-11
Posts: 209

python-pyside installation error

I'm trying to install the python-pyside package so that I can use PySide and Python3 and I'm getting the following error:

$ yaourt -S python-pyside
...
==> Starting build()...
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/lib64/cmake/Shiboken-1.1.2/ShibokenConfig.cmake:5 (include):
  include could not find load file:

    /usr/lib/cmake/Shiboken-1.1.2/ShibokenConfig.None.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)


-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.4", minimum required is "4.5.0") 
-- Detected OS: x11
CMake Error at CMakeLists.txt:148 (message):
  Could not detect Python module installation directory.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
...

This is the output when I try to build using just makepkg:

$ makepkg
==> Making package: python-pyside 1.1.2-7 (Thu 21 Mar 15:16:39 GMT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Found pyside-qt4.8+1.1.2.tar.bz2
==> Validating source files with md5sums...
    pyside-qt4.8+1.1.2.tar.bz2 ... Passed
==> Extracting Sources...
  -> Extracting pyside-qt4.8+1.1.2.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
CMake Error at /usr/lib64/cmake/Shiboken-1.1.2/ShibokenConfig.cmake:5 (include):
  include could not find load file:

    /usr/lib/cmake/Shiboken-1.1.2/ShibokenConfig.None.cmake
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)


-- Detected OS: x11
CMake Error at CMakeLists.txt:148 (message):
  Could not detect Python module installation directory.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

The abort happens because the SITE_PACKAGE variable isn't set in the CMakeLists.txt file. I don't really know how to go about fixing this.

I have both Python 2 and Python 3 installed.

Offline

Board footer

Powered by FluxBB