[reportlab-users] running reportlab on RH7.2

Robin Becker reportlab-users@reportlab.com
Fri, 12 Jul 2002 15:23:22 +0100


In article <1026479016.1698.22.camel@mars.putland.int>, Karl Putland
<karl@putland.linux-site.net> writes
>Installed RL, or at least tried to install on RH7.2.  Using distutils,
>It complains about unknown OS linux2.  Added linux2 to the list of OSs
>in the same group as BSD.  Seemed to build ok, but test suite segfaults.
>
>pyRXP also didn't want to build using distutils.  pyRXP seems to work
>parsing some xml that I've been working on, but when exiting python, it
>segfaulted as well.
>
>Are there any secrets to getting RH and pyRXP built and installed
>properly on RH7.2?
>
>What follows is a session of experiments.
>--Karl
>
>[root@mars test]# uname -a
>Linux mars.putland.int 2.4.18 #9 Sun Mar 17 21:42:58 MST 2002 i686
>unknown
>[root@mars test]# pwd 
>/usr/local/lib/python2.2/site-packages/reportlab/test
>[root@mars test]# python2 runAll.py
>.Traceback (innermost last):
>  File "genreference.py", line 13, in ?
>    import reportlab
>ImportError: No module named reportlab
>Traceback (innermost last):
>  File "genuserguide.py", line 13, in ?
>    from reportlab.tools.docco.rl_doc_utils import *
>ImportError: No module named reportlab.tools.docco.rl_doc_utils
>Traceback (innermost last):
>  File "gengraphguide.py", line 10, in ?
>    from reportlab.tools.docco.rl_doc_utils import *
>ImportError: No module named reportlab.tools.docco.rl_doc_utils
>Traceback (innermost last):
>  File "graphdocpy.py", line 22, in ?
>    from reportlab import rl_config
>ImportError: No module named reportlab
>F...................................................................Segmentation 
>fault
>[root@mars test]# which python2 
>/usr/local/bin/python2
>[root@mars test]# python2 
>Python 2.2 (#3, Mar 24 2002, 13:24:31) 
>[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import reportlab
>>>> dir(reportlab)
>['Version', '__builtins__', '__doc__', '__file__', '__name__',
>'__path__', '__version__', 'getStory']
>>>> from reportlab import pdfgen
>>>> from reportlab import platypus
>>>> # About to exit python with Ctrl-D
>>>>
>[root@mars test]# python2
>Python 2.2 (#3, Mar 24 2002, 13:24:31) 
>[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyRXP
>>>> p = pyRXP.Parser()
>>>> # About to exit python with Ctrl-D
>>>>
>Segmentation fault
>[root@mars test]# 
>[root@mars test]# python2
>Python 2.2 (#3, Mar 24 2002, 13:24:31) 
>[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
>Type "help", "copyright", "credits" or "license" for more information.
>>>> import pyRXP
>>>> p = pyRXP.Parser()
>>>> del p
>Segmentation fault
>[root@mars test]# 
>
>
I have pyRXP.version '0.51' running OK on the 2.1.1 freeBSD box and 0.7
with 2.2.1 on the win32. I'll try and have a go at a full rebuild on the
freeBSD machine soon.

on freeBSD/2.1.1 the _rl_accel is at 0.37 and on win32/2.2.1 is 0.38.
-- 
Robin Becker