geekvenue.net

Welcome to Chucktips Hardware HELP WITH DEAD OS Installing FreeBSD Miscellaneous
 faq
 search
 add article
 cool-stuff
 how-to
 main
 tips


Scrollkeeper portupgrade
Ports and Packages Posted by Understudy on Sunday February 22, @06:30PM
from the I need my XML Parser dept.
You must have XML::Parser installed to run scrollkeeper.

That is the error message you get if you try to portupgrade scrollkeeper. Now I will explain how to deal with the error.
I have been doing portupgrade based on this article http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html. It is a nice article however when I do my portversion -l "<" after portupgrade -arR I get a few ports that won't upgrade even with a pkgdb -F. Scrollkeeper is one of them.
It wants a xml parser, whatever the heck that is. It is certainly dependant on it. A 'locate xml-parser' showed an xmllib was already installed. Scrollkeeper didn't want that xml parser. A quick run over to freshports and search on their site showed three matches. I went with the p5-XML-Parser.It was a guess. Freshports showed it as being located in the textproc part of the ports tree.
So (as root) a quick cd /usr/ports/textproc/p5-XML-Parser and a 'make && make install && rehash && make clean' installed the port. Then portupgrade scrollkeeper and all was right with world.

<  |  >

 

Related Links
  • Articles on Ports and Packages
  • Also by Understudy
  • Contact author

    Lilliput Mini USB Computer Monitor

    If you have ever wanted to learn about Cisco Routers, check out my new book "Cisco Routers for the Small Business" - it's Cisco CLI for the Regular Guy!

  • Sponsors

    The Fine Print: The following comments are owned by whoever posted them.
    ( Add a Reply )

    Scrollkeeper and another error
    by Understudy on Sunday March 21, @03:34PM
    I was doing another upgrade on another FreeBSD box and scrollkeeper burped again this time for a completly different reason.

    checking for DocBook XML DTD... configure: error: not found. Make sure you have the DocBook DTD
    installed and ensure that it is registered in /usr/local/share/xml/catalog.
    ===> Script "configure" failed unexpectedly.
    Please report the problem to gnome@FreeBSD.org [maintainer] and attach
    the "/usr/ports/textproc/scrollkeeper/work/scrollkeeper-0.3.14/config.log"
    including the output of the failure of your make command.
    Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
    *** Error code 1

    Okay this wonderful little error explained sort of in the error message. It is looking for a file called /usr/local/share/xml/catalog and it isn't there. If you cd /usr/local/share/xml/ you will see a file called catalog.ports which isn't the file scrollkeeper is looking for. However all the information is in catalog.ports . So you need to create a symbolic link to it. ln -s catalog catalog.ports . This will help with those nasty scrollkeeper issues. Somebody at gnome needs to do a better job of maintaing this port.
    [ Add a Reply to this ]
    Re: Scrollkeeper portupgrade
    by Davor on Sunday June 20, @03:51AM
    Thanks for this tip man! I searched around usenet, and it seems that there are alot of people with this problem, but with very few answers. So thanks for helping us out.
    [ Add a Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Article Reply )

    "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate

    Powered by Zope  Powered by Apache  Squishdot Powered
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann.
    [ main | post article | search ]