P4DTI issue job000186

TitleAG suggests python RPM which is insufficient
Statusclosed
Priorityessential
Assigned userNick Barnes
OrganizationRavenbrook
DescriptionMySQLdb can't be built using just the python RPM linked to from the AG.
Our users need to build and install MySQLdb. To build it they need the python 1.5.2 header files. The python RPM linked to from the AG doesn't have any header files. They are contained in a python-devel RPM. However, the python-devel-1.5-2 RPM which we installed on swan (which may have downloaded from ftp.python.org; www.python.org does not now link to any RPMs for python 1.5.2) provides header files which are not quite right for building MySQLdb. I haven't dug very deeply here.
I managed to build MySQLdb 0.2.2 by editing its source code. This is not very satisfactory. For MySQLdb 0.3.0 I also had problems. I resolved these by uninstalling the python and python-devel RPMs and building python from the sources (python-1.5.2.tar.gz). The optional syslog module is required by the P4DTI, so I had to edit Modules/Setup before running make.
We need to fix the prerequisites section of the AG so that users get a python environment on which they can build MySQLdb and run the P4DTI.
AnalysisIt would be good to find a working RPM for python 1.5.2.
On further investigation, it looks as if swan had a python 1.5.2-13 RPM (which is good) and a python-devel 1.5-2 RPM (which is bad). We need python 1.5.2-13 and python-devel 1.5.2-13. I am downloading these from RedHat. [NB 2001-01-23]
Duplicate of job000185, but this one has better information. [NB 2001-01-23]
How foundmanual_test
EvidenceMy headache yesterday.
Introduced in0.5.0
Created byNick Barnes
Created on2001-01-23 11:11:42
Last modified byGareth Rees
Last modified on2001-12-10 19:20:12
History2001-01-23 NB Created.
2001-01-23 NB Added further analysis.
2001-01-23 NB Added analysis.
2001-02-19 GDR Downgraded to essential.

Fixes

Change Effect Date User Description
7540 closed 2001-01-23 12:44:31 Nick Barnes Python 1.5.2 RPMs for RedHat Linux 7.0.
7539 closed 2001-01-23 12:23:06 Nick Barnes The real 1.5.2 RPMs.