Open Semo opened 8 years ago
Got same issues here :(
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for sqrt in -lm... yes
checking for library containing clock_gettime... none required
checking for library containing backtrace... none required
checking for event_base_new in -levent... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for rl_save_prompt in -lreadline... yes
checking for libconfig... enabled
checking for config_init in -lconfig... yes
checking for liblua... enabled
checking for lua... /usr/bin/lua
checking if /usr/bin/lua is a Lua interpreter... yes
checking for lua version... 5.2
checking for lua platform... unknown
checking for lua script directory... ${prefix}/share/lua/5.2
checking for lua module directory... ${exec_prefix}/lib/lua/5.2
checking if LUA_VERSION is defined... yes
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
checking lualib.h usability... no
checking lualib.h presence... no
checking for lualib.h... no
checking lauxlib.h usability... no
checking lauxlib.h presence... no
checking for lauxlib.h... no
checking luaconf.h usability... no
checking luaconf.h presence... no
checking for luaconf.h... no
checking for Lua headers in... /usr/include/lua5.2
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... yes
checking for lauxlib.h... yes
checking luaconf.h usability... yes
checking luaconf.h presence... yes
checking for luaconf.h... yes
checking for Lua header version... 5.2
checking if Lua header version matches 5.2... yes
checking if LUA_VERSION is defined... yes
checking for library containing exp... none required
checking for library containing dlopen... -ldl
checking for library containing lua_load... -llua5.2
checking for python... enabled
checking for python build information...
checking for python3.5... no
checking for python3.4... python3.4
checking for main in -lpython3.4... no
checking for main in -lpython3.4m... no
checking for main in -lpython3.4mu... no
checking for python3.3... no
checking for python3.2... no
checking for python3.1... no
checking for python3... python3
checking for main in -lpython3... no
checking for main in -lpython3m... no
checking for main in -lpython3mu... no
checking for python2.7... python2.7
checking for main in -lpython2.7... no
checking for main in -lpython2.7m... no
checking for main in -lpython2.7mu... no
checking for python2.6... no
checking for python2... python2
checking for main in -lpython2... no
checking for main in -lpython2m... no
checking for main in -lpython2mu... no
checking for python... python
checking for main in -lpython... no
checking for main in -lpythonm... no
checking for main in -lpythonmu... no
results of the Python check:
Binary: python
Library: no
Include Dir: no
configure: error: No supported python lib version found. Try --disable-python
pi@domoticz ~/tg $
Python is installed:
pi@domoticz ~/tg $ dpkg --get-selections | grep python
dh-python install
idle-python2.7 install
idle-python3.2 deinstall
idle-python3.4 install
libboost-python1.55.0 install
libpython-stdlib:armhf install
libpython2.7:armhf install
libpython2.7-minimal:armhf install
libpython2.7-stdlib:armhf install
libpython3-stdlib:armhf install
libpython3.4-minimal:armhf install
libpython3.4-stdlib:armhf install
python install
python-cairo install
python-characteristic install
python-chardet install
python-dbus install
python-dbus-dev install
python-gi install
python-glade2 install
python-gobject install
python-gobject-2 install
python-gtk2 install
python-libtorrent install
python-minecraftpi install
python-minimal install
python-notify install
python-numpy install
python-openssl install
python-pam install
python-picamera install
python-pifacecommon install
python-pifacedigitalio install
python-pkg-resources install
python-pyasn1 install
python-pyasn1-modules install
python-pygame install
python-rpi.gpio install
python-serial install
python-service-identity install
python-support install
python-talloc install
python-tk install
python-twisted-bin install
python-twisted-core install
python-twisted-web install
python-wicd install
python-xdg install
python-zope.interface install
python2.7 install
python2.7-minimal install
python3 install
python3-minecraftpi install
python3-minimal install
python3-numpy install
python3-picamera install
python3-pifacecommon install
python3-pifacedigital-scratch-handler install
python3-pifacedigitalio install
python3-serial install
python3-tk install
python3.2 deinstall
python3.2-minimal deinstall
python3.4 install
python3.4-minimal install
pi@domoticz ~/tg $
I've got the same problem!
Install before run ./configure
:
$ apt-get install python-dev autoconf pkg-config
Installing python-dev
instead of libpython
fixed it for me. Thanks!
On CentOS I installed python-devel
which solved the problem.
I have same problem in CentOS 6.9
Before install:
# yum install python python-devel
:
:
Package python-2.6.6-66.el6_8.x86_64 already installed and latest version
Package python-devel-2.6.6-66.el6_8.x86_64 already installed and latest version
:
:
Install:
[/tg]# ./configure
:
:
checking for python... disabled
:
:
After install:
[/tg]# telegram-cli -Z test.py
telegram-cli: invalid option -- 'Z'
:
:
But I don't have problem with lua.
Sorry bothering. I have the same issue. After calling ./configure I get after a long trace this output:
This is false. When checking my system of course python is installed. Here please see after hitting TAB while entering the command:
So, how to solve it, without breaking the ./configure program? I can't install python, because it's already installed and in various flavours, too. :tada:
What I tried was to set the file
/etc/environment
Is there a preferred version at all? Please provide some infos.
Regards, Semo