I'm trying to write ebuild for screencloud[1]. I have already dependencies solved and with source the configuration succeeds:
Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.8")
While emerging the ebuild i get this error:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)
(Required is at least version "2.6")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindPythonLibs.cmake:210 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:222 (find_package)
Here is the current ebuild:
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
inherit cmake-utils python-r1
DESCRIPTION="screenshot sharing tool"
HOMEPAGE="https://github.com/olav-st/screencloud"
SRC_URI="https://github.com/olav-st/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="
dev-libs/quazip
x11-libs/libqxt
dev-python/PyQtMobility
"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P}/${PN}"
Question
causes
I'm trying to write ebuild for screencloud[1]. I have already dependencies solved and with source the configuration succeeds:
While emerging the ebuild i get this error:
Here is the current ebuild:
How can i fix the python configure step?
[1] https://github.com/olav-st/screencloud
Link to comment
Share on other sites
2 answers to this question
Recommended Posts