LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-09-2005, 10:55 PM   #1
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Docbook XSL in BLFS


I'm currently reading the SVN version of BLFS. I'm trying to install GtkDocBook, but it keeps failing saying that I don't have the DocBook XSL StyleSheets in my XML catalog. I installed the docbook-xsl-1.67.2 package per the instructions. I've verified that all the entries arein my xml catalog, but when I run
Code:
# xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
I get the following errors:
Code:
$ xmlcatalog --noout "/etc/xml/catalog" "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
No entry for SYSTEM http://docbook.sourceforge.net/relea...html/chunk.xsl
No entry for URI http://docbook.sourceforge.net/relea...html/chunk.xsl
Can anyone help me out as to what I can try. I've been beating my head against the wall for two days with this.
 
Old 03-10-2005, 08:43 AM   #2
lmmix
Member
 
Registered: Feb 2005
Distribution: debian sid, blfs 6.0
Posts: 41

Rep: Reputation: 15
try this link, it is 'xhtml'
http://docbook.sourceforge.net/relea...html/chunk.xsl

http://docbook.sourceforge.net/relea...current/xhtml/
http://prdownloads.sourceforge.net/docbook/

Last edited by lmmix; 03-10-2005 at 08:44 AM.
 
Old 03-12-2005, 01:17 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
sed -i 's@/1.67.2@/current@g' /etc/xml/catalog
 
Old 03-15-2005, 12:52 AM   #4
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Andrew Benton
sed -i 's@/1.67.2@/current@g' /etc/xml/catalog
I figured it out after I posted, but this is what I did that fixed the problem.
 
Old 03-15-2005, 05:20 AM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Cool, though that solution is a bit crude. A better solution is to
Code:
xmlcatalog --noout --add rewriteSystem http://docbook.sourceforge.net/release/xsl/current /usr/share/xml/docbook/xsl-stylesheets-1.67.2 /etc/xml/catalog &&
xmlcatalog --noout --add rewriteURI http://docbook.sourceforge.net/release/xsl/current /usr/share/xml/docbook/xsl-stylesheets-1.67.2 /etc/xml/catalog
 
Old 03-29-2005, 06:11 PM   #6
Zero-0-Effect
Member
 
Registered: Sep 2002
Location: Texas
Distribution: SlackWare - Current LFS - CVS
Posts: 267

Rep: Reputation: 31
I had the same problem and re-read the instructions in the blfs book and saw this at the bottom:

"For LFS 6.0, version 1.65.1 of this package should be installed. In addition, you need to make a symbolic link as described in the INSTALL file of LFS 6.0."

Installing that version and creating the link fixes the problem.
 
Old 03-29-2005, 06:24 PM   #7
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
That's because those instructions include the rewrite commands to tell gtk doc where xsl current is
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Docbook XSL Stylesheets /etc/xml/catalog Ironica Linux - Software 0 12-10-2004 04:03 AM
XML and XSL Kedelfor Programming 4 09-13-2004 06:30 PM
Need help installing docbook-xsl [docbook xsl stylesheet kmguy Linux - Software 0 09-10-2004 01:14 AM
xml parsing with xsl crabboy Programming 2 03-22-2004 02:45 AM
browser that support xsl demmylls Linux - Software 0 02-08-2004 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:46 PM.

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