List Info

Thread: BLFS experimental code




BLFS experimental code
user name
2006-06-18 13:02:31
Hi

Starting playing with the blfs code in experimental

It ran packages.sh ok and created a packages file, but when
I then run 
blfs-parser.sh it errors, complaining that it cant find the
external entity

=====
        Using gnome-core as the target package.

        No dependencies level has been defined.
        Assuming level 2 (Required plus Recommended).

        Generating gnome-core dependencies tree ...warning:
failed to 
load external entity 
"..//home/david/lfs/svn/BLFSSVN/BOOK/gnome/core/config
.xml"
unable to parse
..//home/david/lfs/svn/BLFSSVN/BOOK/gnome/core/config.xml
=====

even though the file exists at /home/david/lfs......

Why is the absolute location from the packages file being
prefixed with 
../ ?

Does the script need to be run from a certain location
relative to my 
copy of the svn for the BLFS book ?

Or am I missing something obvious 

Thanks

DaveM







-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
BLFS experimental code
user name
2006-06-18 21:22:53
El Domingo, 18 de Junio de 2006 15:02, David Mascall
escribió:

>
> Why is the absolute location from the packages file
being prefixed with
> ../ ?

Due that we need to use relative paths in the XSL and
XInclude code.

> Does the script need to be run from a certain location
relative to my
> copy of the svn for the BLFS book ?

Yes. The BLFS sources directory must be placed in the same
directory where you 
should to copy the files under jhalfs-X/BLFS. For example:

macanasandbox:~/test/BLFS$ ls
alternatives.conf  blfs-xml  packages  blfs-parser.sh    
libs      
packages.sh  

Here "blfs-xml" is the BLFS sources directory.
You must to use that directory 
name due that it's hardcoded in book.xsl for now.  

-- 
Manuel Canales Esparcia
Usuario de LFS nº2886:       http://www.linuxfroms
cratch.org
LFS en castellano: http://www.escomp
oslinux.org/lfs-es http://www.lfs-es.com
TLDP-ES:                           http://es.tldp.org
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )