Hi,
I’m using Zelwalk, a Slackware-based distribution, and I’d like to build Ardour against the latest rasqal version, but I’m getting this error:
g++ -o libs/ardour/globals.os -c -Woverloaded-virtual -DPROGRAM_NAME=\"Ardour\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DGTK_NEW_TOOLTIP_API -DPACKAGE=\"libardour2\" -DLIBSIGC_DISABLE_DEPRECATED -DDATA_DIR=\"/usr/share\" -DMODULE_DIR=\"/usr/lib\" -DVAMP_DIR=\"/usr/lib/ardour2/vamp\" -DCONFIG_DIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_JACK_CLIENT_OPEN -DHAVE_JACK_ON_INFO_SHUTDOWN -DHAVE_JACK_RECOMPUTE_LATENCIES -DHAVE_JACK_VIDEO_SUPPORT -DHAVE_JACK_PORT_ENSURE_MONITOR -DHAVE_WORDEXP -DHAVE_SYS_VFS_H -DHAVE_LV2 -O2 -fomit-frame-pointer -ffast-math -fstrength-reduce -pipe -O2 -march=i686 -mtune=i686 -Wall -DHAVE_LIBLO -DPROGRAM_NAME=\"Ardour\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibs -DENABLE_NLS -DHAVE_SLV2 -Ilibs -pthread -DUSE_RUBBERBAND -fPIC -Ilibs/pbd -I/usr/include/glib-2.0 -Ilibs/surfaces/control_protocol -Ilibs/midi++2 -Ilibs/vamp-sdk -Ilibs/sigc++2 -Ilibs/glibmm2 -I/usr/lib/glib-2.0/include -Ilibs/ardour -Ilibs/rubberband -I/usr/include/rasqal -I/usr/include/libxml2 libs/ardour/globals.cc In file included from /usr/include/librdf.h:33:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rasqal/rasqal.h:1021:73: error: ‘raptor_log_handler’ has not been declared /usr/include/rasqal/rasqal.h:1029:7: error: ‘raptor_syntax_description’ does not name a type In file included from /usr/include/slv2/world.h:26:0, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/librdf.h:196:9: error: ‘raptor_term’ does not name a type In file included from /usr/include/librdf.h:334:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_init.h:89:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_init.h:91:72: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:337:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_node.h:66:32: error: ‘RAPTOR_TERM_TYPE_UNKNOWN’ was not declared in this scope /usr/include/rdf_node.h:67:32: error: ‘RAPTOR_TERM_TYPE_URI’ was not declared in this scope /usr/include/rdf_node.h:68:32: error: ‘RAPTOR_TERM_TYPE_LITERAL’ was not declared in this scope /usr/include/rdf_node.h:69:32: error: ‘RAPTOR_TERM_TYPE_BLANK’ was not declared in this scope /usr/include/rdf_node.h:81:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:85:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:87:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:91:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:95:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:99:1: error: ‘librdf_node’ does not name a type In file included from /usr/include/librdf.h:337:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_node.h:103:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:107:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:110:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:114:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:116:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:120:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:124:23: error: variable or field ‘librdf_free_node’ declared void /usr/include/rdf_node.h:124:23: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:124:36: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:131:33: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:131:46: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:134:39: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:134:52: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:137:46: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:137:59: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:139:64: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:139:77: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:139:89: error: expected primary-expression before ‘*’ token /usr/include/rdf_node.h:139:91: error: ‘len_p’ was not declared in this scope /usr/include/rdf_node.h:139:96: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:141:47: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:141:60: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:143:46: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:143:59: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:145:45: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:145:58: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:147:56: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:147:69: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:150:32: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:150:45: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:153:49: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:153:62: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:155:57: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:155:70: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:155:82: error: expected primary-expression before ‘*’ token /usr/include/rdf_node.h:155:84: error: ‘len_p’ was not declared in this scope /usr/include/rdf_node.h:155:89: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:157:29: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:157:42: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:159:28: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:159:41: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:161:26: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:161:39: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:165:27: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:165:40: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:165:46: error: expected primary-expression before ‘unsigned’ /usr/include/rdf_node.h:165:76: error: expected primary-expression before ‘length’ /usr/include/rdf_node.h:165:82: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:167:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_node.h:171:38: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:171:51: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:173:46: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:173:59: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:173:71: error: expected primary-expression before ‘*’ token /usr/include/rdf_node.h:173:73: error: ‘len_p’ was not declared in this scope /usr/include/rdf_node.h:173:78: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:177:23: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:177:36: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:177:58: error: expected primary-expression before ‘*’ token /usr/include/rdf_node.h:177:59: error: ‘iostr’ was not declared in this scope /usr/include/rdf_node.h:177:64: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:179:24: error: variable or field ‘librdf_node_print’ declared void /usr/include/rdf_node.h:179:24: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:179:37: error: ‘node’ was not declared in this scope /usr/include/rdf_node.h:179:48: error: expected primary-expression before ‘*’ token /usr/include/rdf_node.h:179:49: error: ‘fh’ was not declared in this scope /usr/include/rdf_node.h:184:24: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:184:37: error: ‘first_node’ was not declared in this scope /usr/include/rdf_node.h:184:49: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:184:62: error: ‘second_node’ was not declared in this scope /usr/include/rdf_node.h:184:73: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:189:53: error: ‘librdf_node’ was not declared in this scope /usr/include/rdf_node.h:189:67: error: ‘nodes’ was not declared in this scope /usr/include/rdf_node.h:189:74: error: expected primary-expression before ‘int’ /usr/include/rdf_node.h:189:82: error: initializer expression list treated as compound expression /usr/include/rdf_node.h:191:76: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:338:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_concepts.h:104:1: error: ‘librdf_node’ does not name a type In file included from /usr/include/librdf.h:339:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_statement.h:74:72: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:74:94: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:74:118: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:339:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_statement.h:92:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_statement.h:94:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:97:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_statement.h:99:66: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:102:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_statement.h:104:63: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:132:67: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:134:89: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:138:83: error: ‘librdf_node’ has not been declared /usr/include/rdf_statement.h:140:67: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:340:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_model.h:72:43: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:72:65: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:72:89: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:74:68: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:74:90: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:340:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_model.h:76:67: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:76:89: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:92:50: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:92:69: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:95:51: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:95:70: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:120:108: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:122:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:122:82: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:124:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:124:82: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:126:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:126:85: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:128:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_model.h:130:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_model.h:132:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_model.h:136:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:138:65: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:156:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:158:62: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:160:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:162:65: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:164:68: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:166:68: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:168:56: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:191:106: error: ‘librdf_node’ has not been declared /usr/include/rdf_model.h:219:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_model.h:221:72: error: ‘librdf_node’ has not been declared In file included from /usr/include/rdf_storage.h:29:0, from /usr/include/librdf.h:341, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_storage_module.h:163:46: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:163:65: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:166:47: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:166:66: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:175:104: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:178:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:178:79: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:181:58: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:181:76: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:184:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:184:79: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:187:60: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:190:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:193:57: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:196:60: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:199:64: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:205:58: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:208:61: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:212:36: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage_module.h:218:3: error: ‘librdf_node’ does not name a type /usr/include/rdf_storage_module.h:221:68: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:341:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_storage.h:97:114: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:99:70: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:99:88: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:101:67: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:101:88: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:103:70: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:103:91: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:108:70: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:110:71: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:114:56: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:114:75: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:117:57: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:117:76: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:121:67: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:123:68: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:125:70: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:127:71: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:129:74: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:131:74: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:145:112: error: ‘librdf_node’ has not been declared /usr/include/rdf_storage.h:152:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_storage.h:154:78: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:342:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_parser.h:45:7: error: ‘raptor_syntax_description’ does not name a type /usr/include/rdf_parser.h:101:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_parser.h:103:75: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:344:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_serializer.h:48:7: error: ‘raptor_syntax_description’ does not name a type /usr/include/rdf_serializer.h:92:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_serializer.h:94:87: error: ‘librdf_node’ has not been declared In file included from /usr/include/librdf.h:345:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_stream.h:96:1: error: ‘librdf_node’ does not name a type In file included from /usr/include/librdf.h:346:0, from /usr/include/slv2/world.h:26, from /usr/include/slv2/slv2.h:38, from libs/ardour/ardour/lv2_plugin.h:34, from libs/ardour/ardour/plugin_manager.h:32, from libs/ardour/globals.cc:61: /usr/include/rdf_query.h:79:97: error: ‘librdf_node’ has not been declared /usr/include/rdf_query.h:81:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_query.h:85:1: error: ‘librdf_node’ does not name a type /usr/include/rdf_query.h:137:7: error: ‘raptor_syntax_description’ does not name a type scons: *** [libs/ardour/globals.os] Error 1 scons: building terminated because of errors.
I found someone had the same problem there: http://www.linuxquestions.org/questions/slackware-14/last-current-update-rasqal-redland-and-ardour-2-8-11-a-862290/#post4256454
But the problem doesn’t seem to be solved.
Can someone help me?