View Single Post
Old 02-19-2016, 03:07 PM   #30
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,816
Karma: 6000000
Join Date: Nov 2009
Device: many
Hi,
Your system seems to be missing the Python.h header and others related to libpython 3.4. Try looking for the dev package or some package that contains Python.h (and the other libpython headers) and install it with your package manager, and then try a clean rebuild.

Kevin

ps - the build docs for linux are here

https://github.com/Sigil-Ebook/Sigil...dingOnLinux.md

My guess is you did not install the libpython3.4-dev package as is listed in the Building On Linux docs.

Quote:
Originally Posted by patrik View Post
Linux Mint 17.2 Cinnamon 64-bit
cmake 3.2.2
python 3.4.3
qt5.5.1

Make ends with "*** [all ] Error 2".

Ideas?


cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/opt/Qt5.5.1/5.5/gcc_64/lib/cmake -DPYTHON_LIBRARY=/usr/lib/python3.4 -DCMAKE_INSTALL_PREFIX=/home/patrik/bin -DPYTHON_EXECUTABLE=/usr/bin/python3.4 -DCMAKE_BUILD_TYPE=Release Sigil-0.9.3_src


Code:
CMakeFiles/sigil.dir/Misc/EmbeddedPython.cpp.o: In function `EmbeddedPython::EmbeddedPython()':
EmbeddedPython.cpp:(.text+0x7): undefined reference to `Py_Initialize'

Last edited by KevinH; 02-19-2016 at 03:14 PM.
KevinH is offline   Reply With Quote