Tor Olav Stava wrote this on Sun, Jan 08, 2006 at 05:50:18PM +0100. My reply is below.
> I'm trying to get the Python scripts from the "BLFS deps" hint to > update it's database from the downloaded BLFS XML repository. I've > installed Python 2.4.2 and BerkeleyDB, and all the Docbook DTD and > Stylesheet things. The "HarvestPackages.py" script is my problem. It > runs ok without any error message, but the output is '0 packages'. > Has anyone got the Dependency extraction/sorting working with > later versions than BLFS-5.0, or got any other way of automating the > process of Dependency sorting? I'm the hint author. You are not the only one with this problem. Sorry to say, I have not been able to read the newer versions of BLFS XML with Python, either. I'm not sure where the problem lies, and I haven't pursued it. Now that someone is interested (You're the first.), I'll get right on it. Actually, I was hoping anything non-standard in the BLFS XML was going to get fixed magically without my having to deal with it. > I've tried applying the "xml.sax.expatreader.patch" to the Python > libs, but without any effect. It doesn't seem to apply cleanly, as > it expect version 2.3.2 or so of Python. I believe the patch is already in some of the later Pythons. I'll put a test in the BLFS Dependencies code to recommend the patch when needed, fail hard if it isn't applied, and otherwise keep quiet. Please give me a couple of days. I understand you'll have to move forward in other directions, but I would appreciate help testing any new code I happen to come up with. BTW, what exact version of the BLFS book are you using? You may reply to me off-list. -- .. Chuck Rhode, Sheboygan, WI, USA .. 36?F. Wind ESE 7 mph. Cloudy. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
