|
From: dan n. <dne...@ya...> - 2018-10-05 16:12:41
|
Hello Olli, Thanks for your response. I am very new to Cmake, so I don't quite understand how to execute FindPythonInterp. I tried using cmake3 from the command line: cmake3 -DPython_ADDITIONAL_VERSIONS=3.4 --find-package -DNAME=PYTHON but this generated an error: CMake Error at /usr/share/cmake3/Modules/CMakeFindPackageMode.cmake:37 (message): COMPILER_ID argument not specified. In doubt, use GNU. Anyway, I can execute python3.4m and it works, so it seems it is available. I also selected the advanced check box and the PYTHON build variables showed up. However, the CMakeCache.txt file was not updated by the generate. I don't know if this is normal or not. On the other hand, there was one possible problem I found. The build variable PYTHON_LIBRARY_DEBUG was set to PYTHON_LIBRARY_DEBUG-NOTFOUND. I don't know if this would cause a problem, since I am not building a debug version of itom, but it may. Regards, Dan On Friday, October 5, 2018, 5:59:28 AM PDT, sch...@tw... <sch...@tw...> wrote: Hi Dan, I tried to reproduce your problem using an odroid with some debian distro. I also get the fataldoesnotExist error output in the CMAKE log, but itom compiles happily(at least yet at the moment…).. …Yep compilation has succeeded It looks like findpython is done in the FindNumpy.cmake using L.179: find_package(PythonInterp) which is some cmake internally provided script... And the CMAKE is showing these entries only, if the advanced checkbox is checked. (see screenshot), so maybe this could help your search. If setting the path directly doesn’t help you could give this a try: https://cmake.org/cmake/help/v3.0/module/FindPythonInterp.html but I never tried it, so I’m not sure on how to use this. Good luck! Olli From: dan nessett via Itom-discussions <ito...@li...> Sent: Freitag, 5. Oktober 2018 01:17 To: Dan Nessett via Itom-discussions <ito...@li...> Subject: [itom-discussions] Cannot figure out problem with python3.4 in cmake configure Hi, I am trying to figure out the problem, not just forwarding questions, but am having no luck. First, I should state that when I was still doing software development, it was on PHP, which didn't need make. The last time I was involved with software that used make was in the mid 1990s and even then someone else maintained the make tools - I just used them. So, I am at a disadvantage when attempting to debug make problems. That said, I am still poking at things trying to analyze the problem. When I enter values for PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR, and PYTHON_LIBRARY into the Cmake3-gui window and then run configure, the values simply disappear. I have attached two screenshots to this message. The first shows the data I entered for python before clicking "configure" and the second shows the result (the python build variables are no longer there - I scrolled through the cached values and checked). I wandered around the ...sources/itom3.1.0-devel directory structure looking for anything that might reference python3.4, but found nothing. Where are the PYTHON build variables referenced or cached? Thanks for any help you can give (I think Marc is at a location with limited internet service, so if someone else could help, that would be great). Dan _______________________________________________ Itom-discussions mailing list Ito...@li... https://lists.sourceforge.net/lists/listinfo/itom-discussions - - - - - |