I'm trying to build gnome15 for Linux Mint 17.1.
The current zipped source on github, which expands in directory gnome15-master, has no configure, just configure.ac. So I'm using a copy from last year but its configure is having a problem with python. It stops with:
Code:
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.7
checking for Python library path... -L/usr/lib -lpython2.7
checking for Python site-packages path... /usr/lib/python2.7/dist-packages
checking python extra libraries... -L/usr/lib -lz -lpthread -ldl -lutil
checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development environment... no
configure: error: in `/devel/gnome15-0.9.8-arch':
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
See `config.log' for more details
What is it looking for?
config.log has:
Code:
configure:12589: checking for python
configure:12607: found /usr/bin/python
configure:12619: result: /usr/bin/python
configure:12640: checking for python version
configure:12647: result: 2.7
configure:12659: checking for python platform
configure:12666: result: linux2
configure:12692: checking for python script directory
configure:12727: result: ${prefix}/lib/python2.7/dist-packages
configure:12736: checking for python extension module directory
configure:12771: result: ${exec_prefix}/lib/python2.7/dist-packages
configure:12792: checking for python2.7
configure:12822: result: /usr/bin/python
configure:12838: checking for a version of Python >= '2.1.0'
configure:12864: result: yes
configure:12872: checking for a version of Python 2.6
configure:12876: result: yes
configure:12893: checking for the distutils Python package
configure:12897: result: yes
configure:12911: checking for Python include path
configure:12921: result: -I/usr/include/python2.7
configure:12928: checking for Python library path
configure:13013: result: -L/usr/lib -lpython2.7
configure:13020: checking for Python site-packages path
configure:13026: result: /usr/lib/python2.7/dist-packages
configure:13033: checking python extra libraries
configure:13040: result: -L/usr/lib -lz -lpthread -ldl -lutil
configure:13047: checking python extra linking flags
configure:13054: result: -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
configure:13061: checking consistency of all components of python development environment
configure:13087: gcc -o conftest -g -O2 -I/usr/include/python2.7 conftest.c -L/usr/lib -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -lz -lpthread -ldl -lutil >&5
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
configure:13087: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gnome15"
| #define PACKAGE_TARNAME "gnome15"
| #define PACKAGE_VERSION "0.9.8"
| #define PACKAGE_STRING "gnome15 0.9.8"
| #define PACKAGE_BUGREPORT "https://projects.russo79.com/projects/gnome15/issues/new"
| #define PACKAGE_URL ""
| #define PACKAGE "gnome15"
| #define VERSION "0.9.8"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_PYTHON "2.7"
| /* end confdefs.h. */
|
| #include <Python.h>
| int
| main ()
| {
| Py_Initialize();
| ;
| return 0;
| }
|
configure:13104: result: no
configure:13108: error: in `/devel/gnome15-0.9.8-arch':
configure:13110: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
See `config.log' for more details
An extract of what's installed:
Code:
$ dpkg-query -l | grep python -
ii libpython-dev:amd64 2.7.5-5ubuntu3 amd64
ii libpython-stdlib:amd64 2.7.5-5ubuntu3 amd64
ii libpython2.7:amd64 2.7.6-8 amd64
ii libpython2.7-dev:amd64 2.7.6-8 amd64
ii libpython2.7-minimal:amd64 2.7.6-8 amd64
ii libpython2.7-stdlib:amd64 2.7.6-8 amd64
ii libpython3-dev:amd64 3.4.0-0ubuntu2 amd64
ii libpython3-stdlib:amd64 3.4.0-0ubuntu2 amd64
ii libpython3.4:amd64 3.4.0-2ubuntu1 amd64
ii libpython3.4-dev:amd64 3.4.0-2ubuntu1 amd64
ii libpython3.4-minimal:amd64 3.4.0-2ubuntu1 amd64
ii libpython3.4-stdlib:amd64 3.4.0-2ubuntu1 amd64
ii python 2.7.5-5ubuntu3 amd64
ii python-dev 2.7.5-5ubuntu3 amd64
ii python2.7 2.7.6-8 amd64
ii python2.7-dev 2.7.6-8 amd64
ii python2.7-minimal 2.7.6-8 amd64
ii python3 3.4.0-0ubuntu2 amd64
ii python3-dev 3.4.0-0ubuntu2 amd64
ii python3.4 3.4.0-2ubuntu1 amd64
ii python3.4-dev 3.4.0-2ubuntu1 amd64
ii python3.4-minimal 3.4.0-2ubuntu1 amd64
Code:
$ cd /usr/lib
$ ls -d1 py*
pymodules
pyshared
python2.6
python2.7
python3
python3.4
I tried using 'set -x' in configure in the hope that it would give me an explicit command that would tell me what to look for, but no such luck. Too much stuff is in variables.
gnome15 supports the Logitech G series gaming keyboards. I looked in the normal repos but only the g15daemon and g15macro components for my keyboard (G510s) are present. Not enough. I tried to access the pps:
Code:
# add-apt-repository ppa:tanktarta/gnome15
Cannot add PPA: 'No JSON object could be decoded'.
Is there other support for the G510s?
Thanks