Prev: Soprano Update eeded to 2.4.4 ? Current version not findinglibiodbc
Next: Current unassigned ports problem reports
From: david on 4 Jul 2010 15:26 > > From: owner-freebsd-ports(a)freebsd.org > > [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Doug Barton > > Sent: 03 July 2010 15:09 > > To: david(a)vizion2000.net > > Cc: freebsd-ports(a)freebsd.org > > Subject: RE: Redland compile error missing librdf > > > > On Sat, 3 Jul 2010, david(a)vizion2000.net wrote: > > > > > I cc'd to you a post to the list 10 minutes before you > > wrote the above. > > > > Sorry if I missed that, your verbose communication style makes it > > difficult to follow what is going on. I disagee with simplistic assumptions. Unfortunately problems can be more complex than some may anticipate. If simplistic solutions do not work it does not mean people are either not following instructions or have otherwise cocked things up. There may be other causes. The steps I followed took me nearly a week to find out but I believe they should solve most of the above errors. Not all steps may be essential in every instance. The steps are for solving problems when one or more kde4 ports fail to either compile or install and when console reports refer to either: a: inability to find nepomuk libraries e.g could not find Nepomuk (missing: NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR) b: missing librdf e.g *Redland storage backend (missing librdf/redland - http://librdf.org c: inability to find soprano even when the port is actually installed e.g "The following optional packages could NOT be located on your system Soprano (2.3.70 or higher)" d: libiodbc errors e: rasqal library problems f: Redland backend missing e.g SOPRANO_PLUGIN_REDLANDBACKEND_FOUND or redland with broken NEEDED section detected, disabling .. Could NOT find Redland (missing: _REDLAND_VERSION_OK) The approach here is pretty intense and may be overkill on occasions but the dependencies between these ports create complex problems when any one of them goes wrong. If at any time during this process you get one of the above errors it means a. there has been an error in applying the instructions - so check them out OR: b. there is another error I have not yet found OR c. There is a mistake in my instructions In any case I suggest you start a script before you begin so you have a log file of the whole process: #script /my/path/to/myscriptfile when you finish # exit Examine the log file to search for errors and help reporting. 1. identify all kde4 ports and deinstall them. The method that worked for me was: #pkg_info |grep kde which gave me a list. If you need to know where they are in the ports tree then #pkg_info -o 'xxxxx*' will give you their location. 2. deinstall redland* libiodbc* raptor* redland* soprano* rasqal* akonadi* virtuoso*. NB before going further check that all these files have indeed been deinstalled. 3. cd /var/db/ports rm -rf kde* redland* libiodbc* raptor* redland* soprano* rasqal* akonadi* virtuoso 4. deinstall any qt3 ports 5. portsclean -C -DD 6. cd /usr/libs and remove the redland directory with # rm -rf ./redland* [I found old library files hanging about in this directory. They created difficulties.] 7. OK now we have a pretty clean deck. 8. update the ports tree. 9. I later found it useful to give myself an updated locate database # /usr/libexec/locate.updatedb 10. cd /usr/ports/databases/libiodbc && make install clean && make clean 11. cd /usr ports/textproc/redland n.b I did try to install redland from packages but it is not sufficiently up to date. 12. make -DWITH VIRTUOSO && make install && make clean && make clean 13. cd /usr/ports/textproc/soprano 14. make -DWITH_REDLAND -DWITH_VIRTUOSO && make install & make clean n.b This is important. The current makefile does not install the Redland Backend by default. So if anyone tells you to compile with default option just ignore that advice. It is misleading. ( NB The package distribution for soprano also appears to have problems). 15. The above steps should also have installed raptor & rasqal. 16. Check where you are before going any further with: pkg_info -o 'raptor*' 'libiodbc*' 'redland*' 'soprano*' 'rasqal*' 'virtuoso*' 17. Provided all ports are in place you can go to the next step. Make sure you have virtuoso installed! 18. cd /usr/ports/x11/kde4 19. make config (choose your options) and then 20. make && make install clean && make clean 21. Hopefully the above should work for you. Please let me know if it works. If it does not then I will see if my instructions can be improved. OK That is what has worked for me. Good lucl David _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org" |