1 |
Am Donnerstag, 19. Oktober 2017, 04:47:18 CEST schrieb tuxic@××××××.de: |
2 |
> Hi, |
3 |
> |
4 |
> compiling uranium failed here. From the output: |
5 |
> -- Using CURA_BINARY_DATA_DIRECTORY from set of environment variables... |
6 |
> CMake Error at |
7 |
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): |
8 |
> Could NOT find PythonInterp: Found unsuitable version "3.4.6", but required |
9 |
> is at least "3.5.0" (found |
10 |
> /var/tmp/portage/dev-python/uranium-2.6.0/temp/python3.4/bin/python) |
11 |
> Call Stack (most recent call first): |
12 |
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:375 |
13 |
> (_FPHSA_FAILURE_MESSAGE) |
14 |
> /usr/share/cmake/Modules/FindPythonInterp.cmake:158 |
15 |
> (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:13 (find_package) |
16 |
> |
17 |
> |
18 |
> -- Configuring incomplete, errors occurred! |
19 |
> See also |
20 |
> "/var/tmp/portage/dev-python/uranium-2.6.0/work/uranium-2.6.0_build/CMakeFi |
21 |
> les/CMakeOutput.log". * ERROR: dev-python/uranium-2.6.0::gentoo failed |
22 |
> (configure phase): * cmake failed |
23 |
> * |
24 |
> * Call stack: |
25 |
> * ebuild.sh, line 124: Called src_configure |
26 |
> * environment, line 4080: Called cmake-utils_src_configure |
27 |
> * environment, line 1096: Called die |
28 |
> * The specific snippet of code: |
29 |
> * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die |
30 |
> "cmake failed"; * |
31 |
> * If you need support, post the output of `emerge --info |
32 |
> '=dev-python/uranium-2.6.0::gentoo'`, * the complete build log and the |
33 |
> output of `emerge -pqv '=dev-python/uranium-2.6.0::gentoo'`. * The complete |
34 |
> build log is located at |
35 |
> '/var/tmp/portage/dev-python/uranium-2.6.0/temp/build.log'. * The ebuild |
36 |
> environment file is located at |
37 |
> '/var/tmp/portage/dev-python/uranium-2.6.0/temp/environment'. * Working |
38 |
> directory: |
39 |
> '/var/tmp/portage/dev-python/uranium-2.6.0/work/uranium-2.6.0_build' * S: |
40 |
> '/var/tmp/portage/dev-python/uranium-2.6.0/work/Uranium-2.6.0' [1] 15403 |
41 |
> exit 1 emerge media-gfx/cura |
42 |
> |
43 |
> But: |
44 |
> root>python --version |
45 |
> Python 3.5.4 |
46 |
> |
47 |
> eselect python list |
48 |
> Available Python interpreters, in order of preference: |
49 |
> [1] python3.5 |
50 |
> [2] python3.4 |
51 |
> [3] python2.7 |
52 |
> |
53 |
> |
54 |
> How can I fix this? |
55 |
> |
56 |
> Thanks a lot for any help in advance! |
57 |
> Cheers |
58 |
> Meino |
59 |
|
60 |
Hi Meino, |
61 |
|
62 |
what do $PYTHON_SINGLE_TARGET and $PYTHON_TARGETS look like on your system |
63 |
(check, e.g., the output of "emerge --info")? Those determine what version of |
64 |
python the package actually uses. |
65 |
|
66 |
In any case, I would file a bug that apparently Python 3.4 is not supported by |
67 |
that package anymore, so that it can be removed from the list of compatible |
68 |
versions. |
69 |
|
70 |
HTH |
71 |
-- |
72 |
Marc Joliet |
73 |
-- |
74 |
"People who think they know everything really annoy those of us who know we |
75 |
don't" - Bjarne Stroustrup |