Now I can't build JackMixDesk

Support & discussion regarding DAWs and MIDI sequencers.

Moderators: MattKingUSA, khz

Post Reply
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Now I can't build JackMixDesk

Post by Louigi Verona »

I am still struggling to get software that would help me control jack streams in one GUI. I can use JackEq for this, but I would rather try a dedicated app. However, as usual, I cannot build it.

I am now trying to compile JackMixDesk and configure says:

Code: Select all

No package 'lash-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LASH_CFLAGS
and LASH_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Lash is installed on my system... What should I do? (and will there ever be a standard installer so that none of this crap happens? I am just tired of failing to compile things)
roaldz
Established Member
Posts: 28
Joined: Sat May 02, 2009 3:21 pm
Location: Almelo, Netherlands
Contact:

Re: Now I can't build JackMixDesk

Post by roaldz »

It´s looking for a specific version number/package name. Make sure the build script is checking for the correct way your system has version-numbered lash. If the build script is looking for lash-1.0, and the installed version is lash1-0, it won´t work. Apples and Oranges in the same version fruit:)
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Now I can't build JackMixDesk

Post by raboof »

Louigi Verona wrote:Lash is installed on my system... What should I do?
What was your distro again?
Louigi Verona wrote:(and will there ever be a standard installer so that none of this crap happens? I am just tired of failing to compile things)
The 'standard installer' is your distributions' packaging...
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

My distro is Ubuntu 9.10 but I had manually installed Ubuntu Studio packages over it (because Ubuntu Studio installation disc did not work).
Make sure the build script is checking for the correct way your system has version-numbered lash. If the build script is looking for lash-1.0, and the installed version is lash1-0, it won´t work.
How do I make sure? I've searched and I can find only lashd in my usr/bin directory.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Now I can't build JackMixDesk

Post by raboof »

Louigi Verona wrote:

Code: Select all

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LASH_CFLAGS
and LASH_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The pkg-config files for libraries, which are sometimes needed to build applications that depend on those libraries, are usually found in the libraries' '-dev'-packages.

for lash, it looks like the '-dev' package is called liblash-dev:

Code: Select all

arnouten@bird:~$ apt-cache search liblash | grep dev
liblash-dev - Linux Audio Session Handler (LASH) development files
Does installing that package help? (haven't checked)
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Tried that and installed any lash package I found in the synaptic. Eventually configure did work, so thanks!

However, make did not. Here's the output:

Code: Select all

make[1]: *** [jackmixdesk_gtk-mixdesk_gtk.o] Error 1
make[1]: Leaving directory `/home/louigi/Desktop/jackmixdesk-0.3-r2'
make: *** [all] Error 2
I understand that Error 1 is not very helpful, but I don't know what else to paste.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Now I can't build JackMixDesk

Post by raboof »

Louigi Verona wrote:I understand that Error 1 is not very helpful, but I don't know what else to paste.
Perhaps the ~20 lines above 'Error 1'?
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Above it were only various warnings, but here you go:

Code: Select all

louigi@louigi-laptop:~/Desktop/jackmixdesk-0.3-r2$ make
make  all-am
make[1]: Entering directory `/home/louigi/Desktop/jackmixdesk-0.3-r2'
gcc -DHAVE_CONFIG_H -I.    -Wall -O2       -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/lash-1.0 -I/usr/include/alsa   -I/usr/include/libxml2   -g -O2 -MT jackmixdesk_gtk-mixdesk_gtk.o -MD -MP -MF .deps/jackmixdesk_gtk-mixdesk_gtk.Tpo -c -o jackmixdesk_gtk-mixdesk_gtk.o `test -f 'mixdesk_gtk.c' || echo './'`mixdesk_gtk.c
mixdesk_gtk.c:34:23: error: phat/phat.h: No such file or directory
mixdesk_gtk.c: In function ‘gtk_fader_gain_out_change’:
mixdesk_gtk.c:253: warning: implicit declaration of function ‘phat_fan_slider_get_value’
mixdesk_gtk.c:253: warning: implicit declaration of function ‘PHAT_FAN_SLIDER’
mixdesk_gtk.c:260: warning: implicit declaration of function ‘phat_fan_slider_set_value’
mixdesk_gtk.c:272: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_fader_gain_chan_change’:
mixdesk_gtk.c:358: warning: implicit declaration of function ‘phat_knob_get_value’
mixdesk_gtk.c:358: warning: implicit declaration of function ‘PHAT_KNOB’
mixdesk_gtk.c:359: warning: implicit declaration of function ‘phat_knob_set_value’
mixdesk_gtk.c:377: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_entry_gain_chan_change’:
mixdesk_gtk.c:392: warning: implicit declaration of function ‘PHAT_IS_KNOB’
mixdesk_gtk.c: In function ‘gtk_fader_pan_chan_change’:
mixdesk_gtk.c:545: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c:599: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_fader_gain_send_change’:
mixdesk_gtk.c:698: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_fader_pan_send_change’:
mixdesk_gtk.c:828: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_fader_gain_l_send_change’:
mixdesk_gtk.c:989: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘gtk_fader_gain_r_send_change’:
mixdesk_gtk.c:1083: warning: format ‘%f’ expects type ‘double’, but argument 2 has type ‘int’
mixdesk_gtk.c: In function ‘interface_init_gtk_channels’:
mixdesk_gtk.c:1468: warning: implicit declaration of function ‘phat_vfan_slider_new_with_range’
mixdesk_gtk.c:1468: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1575: warning: implicit declaration of function ‘phat_knob_new_with_range’
mixdesk_gtk.c:1575: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1623: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1680: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1681: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1682: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1799: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1800: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c:1891: warning: assignment makes pointer from integer without a cast
mixdesk_gtk.c: In function ‘interface_init_gtk_outputs’:
mixdesk_gtk.c:2065: warning: format not a string literal and no format arguments
mixdesk_gtk.c:2081: warning: assignment makes pointer from integer without a cast
make[1]: *** [jackmixdesk_gtk-mixdesk_gtk.o] Error 1
make[1]: Leaving directory `/home/louigi/Desktop/jackmixdesk-0.3-r2'
make: *** [all] Error 2
brummer

Re: Now I can't build JackMixDesk

Post by brummer »

Louigi Verona wrote:Above it were only various warnings, but here you go:

Code: Select all

. . .  .
mixdesk_gtk.c:34:23: error: phat/phat.h: No such file or directory
. . . . 
not only . .
it seems you need the phat libary
http://phat.berlios.de/

brummer
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Did it. Funny enough phat library compiled again. The error persists.
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Now I can't build JackMixDesk

Post by raboof »

Louigi Verona wrote:Did it. Funny enough phat library compiled again. The error persists.
Did you install libphat0-dev ?
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Yes, even before I tried compiling the phat library itself I installed everything phat related from Synaptic, including libphat0-dev.
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Okay, here's what make outputs now:

Code: Select all

louigi@louigi-laptop:~/Desktop/jackmixdesk-0.3-r2$ make
make  all-am
make[1]: Entering directory `/home/louigi/Desktop/jackmixdesk-0.3-r2'
gcc -DHAVE_CONFIG_H -I.    -Wall -O2       -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/lash-1.0 -I/usr/include/alsa   -I/usr/include/libxml2   -g -O2 -MT jackmixdesk_gtk-mixdesk_gtk.o -MD -MP -MF .deps/jackmixdesk_gtk-mixdesk_gtk.Tpo -c -o jackmixdesk_gtk-mixdesk_gtk.o `test -f 'mixdesk_gtk.c' || echo './'`mixdesk_gtk.c
In file included from /usr/include/phat/phat.h:8,
                 from mixdesk_gtk.c:34:
/usr/include/phat/phatkeyboard.h:5:43: error: libgnomecanvas/libgnomecanvas.h: No such file or directory
In file included from /usr/include/phat/phat.h:8,
                 from mixdesk_gtk.c:34:
/usr/include/phat/phatkeyboard.h:31: error: expected specifier-qualifier-list before ‘GnomeCanvasGroup’
/usr/include/phat/phatkeyboard.h:45: error: expected specifier-qualifier-list before ‘GnomeCanvas’
mixdesk_gtk.c: In function ‘interface_init_gtk_outputs’:
mixdesk_gtk.c:2065: warning: format not a string literal and no format arguments
make[1]: *** [jackmixdesk_gtk-mixdesk_gtk.o] Error 1
make[1]: Leaving directory `/home/louigi/Desktop/jackmixdesk-0.3-r2'
make: *** [all] Error 2
louigi@louigi-laptop:~/Desktop/jackmixdesk-0.3-r2$
So there seems to be some libgnomecanvas.h missing. Anyone know what that might be?
User avatar
raboof
Established Member
Posts: 1855
Joined: Tue Apr 08, 2008 11:58 am
Location: Deventer, NL
Has thanked: 50 times
Been thanked: 74 times
Contact:

Re: Now I can't build JackMixDesk

Post by raboof »

Louigi Verona wrote:So there seems to be some libgnomecanvas.h missing.
Jep!
Anyone know what that might be?
http://packages.ubuntu.com/search?searc ... c&arch=any - looks like you'll have to run ./configure again after installing - it doesn't seem to do anything when i start it though :/
User avatar
Louigi Verona
Established Member
Posts: 402
Joined: Mon Aug 24, 2009 8:56 am
Been thanked: 1 time

Re: Now I can't build JackMixDesk

Post by Louigi Verona »

Same here, man. The process gets started, but nothing happens. Gotta read up...
Post Reply