You are here

make issues when installing 0. 6 from source

After seeing that the version of qtractor I've been using from the official repositories is slightly old, I thought I'd try installing 0.6 from source. All was going well, until the error below, given (reliably) during the "make" stage. I have tried to follow the dependencies listed in the "README" file, but it would be great if anyone could provide me with a raw list of dependencies for Debian-based distros? (as in "libsndfile-dev, libvorbis-dev" etc etc)

I'm running Linux Mint 15, which I believe is based upon Ubuntu 12.04.

Results from ./configure -

(I have tried to satisfy as many of these conditions as possible)

"Qtractor 0.6.0

Build target . . . . . . . . . . . . . . . . . . .: release

JACK Audio Connection Kit support . . . . . . . .: yes
ALSA MIDI Sequencer support . . . . . . . . . . .: yes
General audio file support (libsndfile) . . . . .: yes
Ogg Vorbis audio file support (libvorbis) . . . .: yes
MPEG-1 Audio Layer 3 file support (libmad) . . . .: yes
Sample-rate conversion support (libsamplerate) . .: yes
Pitch-shifting support (librubberband) . . . . . .: yes
OSC service support (liblo) . . . . . . . . . . .: yes
Archive/Zip file support (zlib) . . . . . . . . .: yes
IEEE 32bit float optimizations . . . . . . . . . .: yes
SSE optimization support (x86) . . . . . . . . . .: yes
LADSPA plug-in support . . . . . . . . . . . . . .: yes
DSSI plug-in support . . . . . . . . . . . . . . .: yes
VST plug-in support . . . . . . . . . . . . . . .: yes
LV2 plug-in support (liblilv) . . . . . . . . . .: yes
LV2 plug-in UI support (libsuil) . . . . . . . . .: yes
LV2 plug-in External UI support . . . . . . . . .: yes
LV2 plug-in MIDI/Event support . . . . . . . . . .: yes
LV2 plug-in MIDI/Atom support . . . . . . . . . .: yes
LV2 plug-in Worker/Schedule support . . . . . . .: yes
LV2 plug-in State support . . . . . . . . . . . .: yes
LV2 plug-in State Files support . . . . . . . . .: yes
LV2 plug-in Programs support . . . . . . . . . . .: yes
LV2 plug-in Presets support . . . . . . . . . . .: yes
LV2 plug-in Time support . . . . . . . . . . . . .: yes
LV2 plug-in Options support . . . . . . . . . . .: yes
LV2 plug-in Buf-size support . . . . . . . . . . .: yes

JACK Session support . . . . . . . . . . . . . . .: yes
JACK Latency support . . . . . . . . . . . . . . .: yes

Non Session Management (NSM) support . . . . . . .: yes

X11 Unique/Single instance . . . . . . . . . . . .: no
VeSTige header support . . . . . . . . . . . . . .: yes
Gradient eye-candy . . . . . . . . . . . . . . . .: yes
Debugger stack-trace (gdb) . . . . . . . . . . . .: no

Install prefix . . . . . . . . . . . . . . . . . .: /usr/local"

And the error thrown during make -

"qtractorLv2Plugin.cpp: In constructor ‘qtractorLv2Plugin::qtractorLv2Plugin(qtractorPluginList*, qtractorLv2PluginType*)’:
qtractorLv2Plugin.cpp:1877:60: error: ‘lilv_port_get’ was not declared in this scope
qtractorLv2Plugin.cpp:1908:60: error: ‘lilv_port_get’ was not declared in this scope
make[2]: *** [.obj/qtractorLv2Plugin.o] Error 1
make[2]: Leaving directory `/home/oliver/Downloads/qtractor-0.6.0/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/oliver/Downloads/qtractor-0.6.0'
make: *** [src/qtractor] Error 2"

I would also like to express my thanks and support for what is a fantastic piece of software :)

Any help massively appreciated!

Cheers

Oliver

Forums: 
rncbc's picture

check liblilv-dev version..., should be no older than perhaps 0.18.0 ...

i'd also suggest you to look and try the kxstudio repos where you may find just the right stuff for any *buntu and probably also debian needs ;)

in alternative or as last resort, try my own OBS packaging, but take those at your own risk ;)
cheers

Thanks for the quick response Rui, the first answer solved my problem. I've installed the latest versions of all the referenced libraries hosted on drobilla, however now I get a different error during compilation :( -

".obj/qtractorLv2Plugin.o: In function `qtractorLv2Plugin::selectProgram(int, int)':
qtractorLv2Plugin.cpp:(.text+0x3131): undefined reference to `suil_instance_get_handle'
/usr/local/lib/liblilv-0.so: undefined reference to `sord_get'
collect2: error: ld returned 1 exit status
make[2]: *** [qtractor] Error 1
make[2]: Leaving directory `/home/oliver/Downloads/qtractor-0.6.0/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/oliver/Downloads/qtractor-0.6.0'
make: *** [src/qtractor] Error 2"

This appears to be coming from the sord/suil libraries, which I don't understand since I definitely have the latest versions installed...

Unfortunately, from what I've read LM15 has issues with the kxstudio repos - my computer seems to think they are empty! So it would appear that installing from source is my best option, aside from using your opensuse packages.

Any ideas as to what might be causing this error?

Thanks

rncbc's picture

smells like trouble with libsuil et al.

make sure you only have one version of the libraries and resp. dev files.

having some under /usr/local as probably built and from installed from source and another set under /usr as usual for system officially installed packages, is the most common route for the kind of troubles you're experiencing.

get rid of anything related to serd, sord, sratom, suil and lilv (ie. the complete drobilla's lad/lv2 stack, from both /usr and /usr/local and in this order) then try re-building and installing from the latest released sources.

cheers

Problem solved! Thank you very much for your help!

Add new comment