LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2009, 11:24 AM   #1
wufo
Member
 
Registered: Oct 2004
Posts: 209

Rep: Reputation: 15
xml error building gnome-games for Slackware 12.2


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.


tj
 
Old 02-05-2009, 12:13 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by wufo View Post
I got no replies posting it to gnome mailing list
On GSB' home page they say "GSB 2.24.2 available in gsb-testing". But I do not know where it is nor if it works for Slackware 12.2
 
Old 02-05-2009, 12:16 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
gsb-current is the 12.2-ready branch of GSB.
 
Old 02-05-2009, 12:33 PM   #4
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
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.

tj
 
Old 02-05-2009, 01:09 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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?

Last edited by gnashley; 02-05-2009 at 01:11 PM.
 
Old 02-05-2009, 05:26 PM   #6
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Just out of curiosity, have you installed the docbook xml/xsl packages?
 
Old 02-05-2009, 08:12 PM   #7
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
I assumed that it was installed when I installed the 12.2. I just went ahead and said "install everything" went I did the clean 12.2 install.

But, I guess that is something to check.

tj
 
Old 02-05-2009, 08:31 PM   #8
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
Isn't docbook in the linuxdoc-tools-0.9.21-i486-6 package?

tj
 
Old 02-06-2009, 01:31 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Do you have gnome-doc-utils installed?

Searching for 'xsltParseStylesheetProcess : document is not a stylesheet' truned up lots of hits...
 
Old 02-06-2009, 09:06 AM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Quote:
Originally Posted by wufo View Post
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.

Last edited by jong357; 02-06-2009 at 09:07 AM.
 
Old 02-06-2009, 10:19 AM   #11
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 02-06-2009, 12:40 PM   #12
wufo
Member
 
Registered: Oct 2004
Posts: 209

Original Poster
Rep: Reputation: 15
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.

tj
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dsniff building Error Slackware 12.1 Panci Slackware 4 02-18-2009 02:50 PM
Dsniff building Error Slackware 12.1 Panci Slackware 2 02-02-2009 06:27 AM
error while building gnome-panel Mr.J Linux - Desktop 2 07-14-2008 11:07 AM
gnucash -> gnome libraries and xml error jtwJGuevara Linux - Software 2 03-30-2004 08:58 PM
Building Gnome 2.4 with Garnome (error) JimDog Linux - Software 7 10-17-2003 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration