dsheeler / jack_mixer

Gtk, jack desktop mixer application
GNU General Public License v2.0
10 stars 1 forks source link

configure error #3

Open mxmilkiib opened 4 years ago

mxmilkiib commented 4 years ago

On Arch, getting this;

...
checking whether to build static libraries... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for JACKMIXER... yes
checking for JACK_MIDI... yes
checking for OLD_JACK_MIDI... no
checking whether JACK MIDI functions need nframes parameter... no
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 3.8
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.8/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.8/site-packages
checking for headers required to compile python extensions...   File "<string>", line 1
    import sys; print sys.prefix
                      ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import sys; print sys.exec_prefix
                      ^
SyntaxError: invalid syntax
not found
configure: error: Could not find Python headers
dsheeler commented 4 years ago

Yes, this is because autotools picks python3, and we need python2. @nedko is looking into fixing this, and I might look into it today, myself. There is a workaround if you just want to try building: after running autotgen.sh, you can run $ PYTHON=python2 ./configure and it will work