Build failed

the current development version

Build failed

Postby Janedek » Mon Jun 12, 2017 10:42 am

Hi,

I have a Slackware distribution which have Guitarix V0.35.0. I would like to upgrade it to Guitarix V0.35.3. I made a try to install from source. My problem is that the compiler doesn't find the jack.

# ./waf configure
Checking for program msgfmt : /usr/bin/msgfmt
Checking for program intltool-merge : /usr/bin/intltool-merge
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for jack <= 1.8.0 :
Checking for jack >= 1.9.2 :

/root/Downloads/guitarix-0.35.3/wscript:657: error: the configuration failed (see '/root/Downloads/guitarix-0.35.3/build/config.log')

I checked the current version of jack using terminal on your Linux, and it has V1.9.10, which should be ok.
# jackd
jackdmp 1.9.10

The problem is that guitarix can't find the files, or maybe the path. Or maybe - it looks like it is looking for every kind of jack greater than or lesser than the included version. That's kind of weird. Could you please check what could be the problem?

Thanks in advance,
Janedek
User avatar
Janedek
 
Posts: 3
Joined: Mon Jun 12, 2017 10:19 am

Re: Build failed

Postby brummer10 » Tue Jun 20, 2017 5:42 am

Seems like the waf script can't find the header files on your system. I don't know much about slackware, but, you must ensure that you've a "full" jack installation, including the development part.

Janedek wrote:The problem is that guitarix can't find the files, or maybe the path. Or maybe - it looks like it is looking for every kind of jack greater than or lesser than the included version.


No, it just check for jack1 or jack2.
I'm running jackdmp 1.9.11 now, and have used jackdmp 1.9.10 before, without issues.

regards
hermann
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Build failed

Postby Janedek » Tue Jun 27, 2017 8:10 pm

Hi Hermann,

thanks for your test and the answer. I don't know what to do now, but maybe some of the other packages causes this problem.

Regards,
Benedek
User avatar
Janedek
 
Posts: 3
Joined: Mon Jun 12, 2017 10:19 am

Re: Build failed

Postby brummer10 » Wed Jun 28, 2017 6:41 am

You may check /trunk/build/config.log
were the errors been logged.

The remaining question is, could you compile other jack aware applications?

Also, I see you try to build in your root folder, don't build as root, just do that as user in your home folder.
Only install needs root access.
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm

Re: Build failed

Postby Janedek » Sun Jul 09, 2017 8:26 am

The problem was that the package pkg-config wasn't installed. Now there is is an other problem with gtk+. I installed gtk+2-2.24.20 but it looks like that the script doesn't find it.

./waf configure
Checking for program msgfmt : /usr/bin/msgfmt
Checking for program intltool-merge : /usr/bin/intltool-merge
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for jack <= 1.8.0 :
Checking for jack >= 1.9.2 : yes
Checking for jack session support : no
Checking for gmodule-export-2.0 : yes
Checking for sndfile >= 1.0.17 : yes
Checking for gtk+-2.0 >= 2.20 : Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
/usr/a/guitarix-0.35.3/wscript:665: error: the configuration failed (see '/usr/a/guitarix-0.35.3/build/config.log')

The config.log contains the following;
# project guitarix (0.35.3) configured on Sun Jul 9 10:08:19 2017 by
# waf 1.5.18 (abi 7, python 20703f0 on linux2)
# using ./waf configure
#

----------------------------------------
Checking for program msgfmt
find program=['msgfmt'] paths=[] var=None
-> '/usr/bin/msgfmt'

----------------------------------------
Checking for program intltool-merge
find program=['intltool-merge'] paths=[] var='INTLTOOL'
-> '/usr/bin/intltool-merge'

----------------------------------------
Checking for program g++ or c++
find program=['g++', 'c++'] paths=[] var='CXX'
-> '/usr/bin/g++'

----------------------------------------
Checking for program cpp
find program=['cpp'] paths=[] var='CPP'
-> '/usr/bin/cpp'

----------------------------------------
Checking for program ar
find program=['ar'] paths=[] var='AR'
-> '/usr/bin/ar'

----------------------------------------
Checking for program ranlib
find program=['ranlib'] paths=[] var='RANLIB'
-> '/usr/bin/ranlib'

----------------------------------------
Checking for g++
ok

----------------------------------------
Checking for jack <= 1.8.0
pkg-config --errors-to-stdout --print-errors --max-version=1.8.0 jack


----------------------------------------
Checking for jack >= 1.9.2
pkg-config --errors-to-stdout --print-errors --atleast-version=1.9.2 jack
pkg-config --errors-to-stdout --print-errors --cflags --libs jack
-ljack
yes

----------------------------------------
Checking for jack session support
==>
#include <jack/session.h>
int main(){return JackSessionID != 0;}
<==
[1/2] cxx: build/.conf_check_0/test.cpp -> build/.conf_check_0/testbuild/default/test_1.o
../test.cpp:1:26: fatal error: jack/session.h: No such file or directory
#include <jack/session.h>
^
compilation terminated.
['/usr/bin/g++', '../test.cpp', '-c', '-o', 'default/test_1.o']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cxx test.cpp -> test_1.o}'no

----------------------------------------
Checking for gmodule-export-2.0
pkg-config --errors-to-stdout --print-errors --cflags --libs gmodule-export-2.0
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0
yes

----------------------------------------
Checking for sndfile >= 1.0.17
pkg-config --errors-to-stdout --print-errors --atleast-version=1.0.17 sndfile
pkg-config --errors-to-stdout --print-errors --cflags --libs sndfile
-lsndfile
yes

----------------------------------------
Checking for gtk+-2.0 >= 2.20
pkg-config --errors-to-stdout --print-errors --atleast-version=2.20 gtk+-2.0
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found

What do you suggest to do now...? :roll:
User avatar
Janedek
 
Posts: 3
Joined: Mon Jun 12, 2017 10:19 am

Re: Build failed

Postby brummer10 » Sun Jul 09, 2017 9:13 am

Looks like the same problem then previous with jack, the gtk+-2.0.pc file is missing.

do a
Code: Select all
locate gtk+-2.0.pc


to see if you've it,
User avatar
brummer10
Site Admin
 
Posts: 714
Joined: Thu Mar 26, 2009 6:57 pm


Return to guitarix git

Who is online

Users browsing this forum: No registered users and 1 guest