![]() Registered Member ![]()
|
I am unable to get soprano to compile. I get various errors related to raptor. In fact I can't get soprano to compile fro the source package for my distro (Debian). Maybe someone could help me figure out what the problem is. I get the following error:
. . . . . Scanning dependencies of target soprano_redlandcore [ 39%] [ 40%] Building CXX object backends/redland/CMakeFiles/soprano_redlandcore.dir/redlandworld.cpp.o Building CXX object index/CMakeFiles/sopranoindex.dir/cluceneindex.cpp.o In file included from /usr/include/librdf.h:33:0, from /usr/include/redland.h:30, from /sdb1/kdesrc/soprano/backends/redland/redlandworld.h:26, from /sdb1/kdesrc/soprano/backends/redland/redlandworld.cpp:23: /usr/include/rasqal/rasqal.h:1035:73: error: ‘raptor_log_handler’ has not been declared /usr/include/rasqal/rasqal.h:1043:7: error: ‘raptor_syntax_description’ does not name a type /usr/include/rasqal/rasqal.h:1060:7: error: ‘raptor_syntax_description’ does not name a type I've successfully compiled and installed rasqal, redland, and raptor from the sources for my distro which match the latest versions from librdf.org. thanks Fred |
![]() KDE Developer ![]()
|
I faced the same problem today and fixed it partially (I can compile soprano and kdelibs, but parts of soprano are not build) in the following way: uninstall libraptor1-dev, install libraptor2-dev and edit the cmake/modules/FindRaptor.cmake file to search in /usr/include/raptor2 for RAPTOR_INCLUDE_DIR
|
![]() Registered Member ![]()
|
Now I get:
[ 51%] Building CXX object parsers/raptor/CMakeFiles/soprano_raptorparser.dir/raptorparser.cpp.o /sdb1/kdesrc/soprano/parsers/raptor/raptorparser.cpp: In constructor ‘<unnamed>::RaptorInitHelper::RaptorInitHelper()’: /sdb1/kdesrc/soprano/parsers/raptor/raptorparser.cpp:48:25: error: ‘raptor_init’ was not declared in this scope /sdb1/kdesrc/soprano/parsers/raptor/raptorparser.cpp: In destructor ‘<unnamed>::RaptorInitHelper::~RaptorInitHelper()’: /sdb1/kdesrc/soprano/parsers/raptor/raptorparser.cpp:51:27: error: ‘raptor_finish’ was not declared in this scope raptor_init is a version1 function. I'm lost. Debians' distribution of soprano-dev doesn't include the redland backend, so if I exclude soprano from the .kdesrc-buildrc config then kdepimlibs wont compile. |
![]() KDE Developer ![]()
|
try deleting the build directory before rebuilding - it did not work for me the first time after my package changes
|
![]() Registered Member ![]()
|
I've tried that and more. Despite my best efforts, I cannot get Sopranos' raptor_parser or raptor_serializer. I've been unable to build them or install them from debian's packages. I've tried the source tarballs from sopranos' sourceforce home page. The net effect is that kdelibs wont build nepomuk so kdepimlibs wont even configure. The problem has to do with Sopranos' dependencies on raptor. From what I can tell, part of soprano requires raptor v1.4 and part of it requires raptor 2. The best I can do still - compiling debians source distribution of soprano - still leaves me a soprano without raptorparser or raptorserializer. I hope someone will kindly point me in the right direction.
Fred |
![]() Registered Member ![]()
|
ok, problem resolved - I got around to doing a dist-upgrade on my development system today and the new distribution of soprano included the raptorparser and raptorserializer that is needed by kdelibs/kdepimlibs. I feel a little miffed as I went to a lot of trouble for nothing......
|
![]() Registered Member ![]()
|
Hi,
I have the same problem into building soprano Please can you explain how can I build its. I have tryed librdf0-dev and also any possible combination between libraptor1-dev e libraptor2-dev, but all of them fails ![]() thanks a lot dj3mb3
dj3mb3, proud to be a member of KDE forums since 2008-Oct.
|
![]() Registered Member ![]()
|
Actually, I updated my machine to the newest soprano-dev on debian experimental. eg., I used soprano distributed with debian and excluded soprano from my build of KDE.
good luck Fred |
![]() Registered Member ![]()
|
thanks you a lot for the hack
Nowadays I can finally say that I was able to compile kde on my debian wheezy into virtualbox Not such a very big event, but perhaps my first small step towards the development road. another time thanks you very much dj3mb3
dj3mb3, proud to be a member of KDE forums since 2008-Oct.
|
![]() KDE Developer ![]()
|
There are debian patches that fix this issue:
git clone git://git.debian.org/pkg-kde/kde-req/soprano.git those are located in the aptches directory. Cheerio |
![]() Registered Member ![]()
|
Thank you very much for your suggestion
well, nowadays a have resolved this issue applying the patch directly from the soprano debian package in sid. cheers dj3mb3
dj3mb3, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]