Page 1 of 1

Building Qtractor: lilv problems.

Posted: Wed Oct 15, 2014 5:19 am
by ikerobme
Hello everyone,

I am attempting to build the latest version of qtractor on my Ubuntu studio 12.04 system. I have hit a wall with the following errors when I attempt to make. I think at this point I've exhausted the ./configure options for paths etc. I have a working build that has lv2 disabled, but that's not what I'm looking for! I am attempting to build lilv myself, but have encountered a strange pkg-config problem. When waf checks pkg-conf for a package called serd it exits, complaining that it does not satisfy the version requirements. However, a terminal query of 'pkg-conf serd-0 --modversion' shows that I do indeed have an up to date version. I'm not sure if building all of these packages myself is the way to go, however I have not met with any success fiddling with synaptic. Any ideas to help solve this are greatly appreciated!

Code: Select all

make[1]: Entering directory `/home/onward/Desktop/qtractor'
cd src/ && make -f qtractor.mak 
make[2]: Entering directory `/home/onward/Desktop/qtractor/src'
/usr/bin/qmake -o qtractor.mak src.pro
make[2]: Leaving directory `/home/onward/Desktop/qtractor/src'
make[2]: Entering directory `/home/onward/Desktop/qtractor/src'
g++ -c -m64 -pipe -I/usr/include/suil-0 -I/usr/local/include -I/usr/include/lilv-0 -msse -mfpmath=sse -ffast-math -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DDATADIR="/usr/local/share" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/local/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4 -Ivestige -Ilv2 -I.moc -I.ui -o .obj/qtractorLv2Plugin.o qtractorLv2Plugin.cpp
qtractorLv2Plugin.cpp: In function ‘void qtractor_lv2_set_port_value(const char*, void*, const void*, uint32_t, uint32_t)’:
qtractorLv2Plugin.cpp:974:68: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In function ‘const void* qtractor_lv2_get_port_value(const char*, void*, uint32_t*, uint32_t*)’:
qtractorLv2Plugin.cpp:1005:58: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual const QString& qtractorLv2PluginType::aboutText()’:
qtractorLv2Plugin.cpp:1692:56: error: ‘lilv_plugin_get_project’ was not declared in this scope
qtractorLv2Plugin.cpp: In constructor ‘qtractorLv2Plugin::qtractorLv2Plugin(qtractorPluginList*, qtractorLv2PluginType*)’:
qtractorLv2Plugin.cpp:1995:60: error: ‘lilv_port_get’ was not declared in this scope
qtractorLv2Plugin.cpp:2038:60: error: ‘lilv_port_get’ was not declared in this scope
qtractorLv2Plugin.cpp:2071:72: error: ‘lilv_plugin_get_related’ was not declared in this scope
qtractorLv2Plugin.cpp:2075:49: error: ‘lilv_world_load_resource’ was not declared in this scope
qtractorLv2Plugin.cpp:2098:45: error: ‘lilv_plugin_get_port_by_designation’ was not declared in this scope
qtractorLv2Plugin.cpp:2101:41: error: ‘lilv_port_get_index’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::loadPreset(const QString&)’:
qtractorLv2Plugin.cpp:3595:2: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3595:13: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3600:30: error: ‘lilv_state_new_from_file’ was not declared in this scope
qtractorLv2Plugin.cpp:3603:27: error: ‘lilv_state_new_from_world’ was not declared in this scope
qtractorLv2Plugin.cpp:3612:46: error: ‘lilv_state_restore’ was not declared in this scope
qtractorLv2Plugin.cpp:3615:23: error: ‘lilv_state_free’ was not declared in this scope
qtractorLv2Plugin.cpp: In member function ‘virtual bool qtractorLv2Plugin::savePreset(const QString&)’:
qtractorLv2Plugin.cpp:3646:2: error: ‘LilvState’ was not declared in this scope
qtractorLv2Plugin.cpp:3646:13: error: ‘state’ was not declared in this scope
qtractorLv2Plugin.cpp:3650:53: error: ‘lilv_state_new_from_instance’ was not declared in this scope
qtractorLv2Plugin.cpp:3655:58: error: ‘lilv_state_set_label’ was not declared in this scope
qtractorLv2Plugin.cpp:3674:56: error: ‘lilv_state_save’ was not declared in this scope
qtractorLv2Plugin.cpp:3676:23: error: ‘lilv_state_free’ was not declared in this scope
make[2]: *** [.obj/qtractorLv2Plugin.o] Error 1
make[2]: Leaving directory `/home/onward/Desktop/qtractor/src'
make[1]: *** [sub-src-make_default] Error 2
make[1]: Leaving directory `/home/onward/Desktop/qtractor'
make: *** [src/qtractor] Error 2

Re: Building Qtractor: lilv problems.

Posted: Wed Oct 15, 2014 7:58 am
by rncbc
ikerobme wrote:I am attempting to build lilv myself, but have encountered a strange pkg-config problem. When waf checks pkg-conf for a package called serd it exits, complaining that it does not satisfy the version requirements. However, a terminal query of 'pkg-conf serd-0 --modversion' shows that I do indeed have an up to date version. I'm not sure if building all of these packages myself is the way to go, however I have not met with any success fiddling with synaptic. Any ideas to help solve this are greatly appreciated!
i have a suggestion:
1) uninstall all existing versions of lilv, sratom, sord and serd; also lv2, just in case.
2) build and reinstall everything from source (or from a reputable repo eg. kxstudio) in this order: lv2 (if previously uninstalled), then serd, sord, sratom and lilv;
if you're installing pre-build packages, make sure you also install the -dev ones.

hth
cheers