SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Has anybody built gnome-games-2.24.3 for Slackware 12.2? I have been working on it by downloading all the required software from ftp.gnome.org,configuring and installing. This involved many different gnome packages, gtk-2.0, pygtk, etc. After finally satisfying all the gnome-games dependencies specified by ./configure I ran make and ran into another problem.
The make failed on an xml stylesheet problem. Here is the output:
xsltproc -o aisleriot-C.omf --stringparam db2omf.basename aisleriot --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/local/share/omf" --stringparam db2omf.help_dir "/usr/local/share/gnome/help" --stringparam db2omf.omf_in "/home/user1/src/gnome-games-2.24.3/aisleriot/help/aisleriot.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/aisleriot.xml || { rm -f "aisleriot-C.omf"; exit 1; }
compilation error: file C/aisleriot.xml line 105 element book
xsltParseStylesheetProcess : document is not a stylesheet
make[3]: *** [aisleriot-C.omf] Error 1
Here is the offending line:
<book id="index" lang="en">
I really know very little on using xml.
Can anybody help me?
I got no replies posting it to gnome mailing list.
I really wasn't looking to install the whole gnome on Slackware, at this time just the games and maybe a couple of other apps. I am using the xfce desktop right now. Using Linux and Slackware is also a learning experience, if something I try to do doesn't work, find out why and fix it.
So, I still want to find out the reason why my build of gnome-games is failing.
Sometime back I had similar problems with something that was using xsltproc. I think the way i got around it was by editing the Makefile so that the docs would not be built or that they would not be re-generated by xsltproc. the xsltproc author is 'embarassed' because he hasn't founbd a fix for this problem. Can you attach a copy of the Makefile here? Maybe i can sort out the offending line...
Either that, or you look in the Makefile.am and Makefile.in and find where the SUBDIRS are specified, remove the 'docs' or whatever the name of the offending subdir is, then run 'autoreconf -if' and ./configure again before compiling. Fun stuff, Huh?
Isn't docbook in the linuxdoc-tools-0.9.21-i486-6 package?
tj
It's possible. I know gtk-doc is in there. linuxdoc-tools can be a source of problems at times because it's either outdated or incomplete. I always got the impression that package was a bastardized collection of half-apps. I know you'll have problems building Gnome if you rely soley on that package to provide what it's "supposed" to provide, which basically means it's borderline useless for the purpose of building Gnome.
Check all your deps. When building Gnome 2.24.x, I have no problems building gnome-games. Ofcourse that was on Slackware 12.1
And, yea, I'd also make sure gnome-doc-utils is installed.
The only reference I found to that error specifically related to building gnome-games gave the solution of installing gnome-doc-utils -it was on a frugalware site.
In looking thorugh the Makefile.in for the aisleriot subdir, it seems you might be able to avoid this problematic Makefile rule being run by passing '--disable-scrollkeeper' to configure.
Bingo, gnome-docs solved the problem. In fact, I had already downloaded and untar'ed gnome-docs, but for some reason, got interrupted by wife, etc, I had never installed it. So, in my feeble mind it was done and since the gnome-games configure didn't complain about it, I dismissed it as being a cause of the problem. Duh. Lesson learned.
A very deep thanks to all for their time and help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.