Compiling Python source code

s713221 at student.gu.edu.au s713221 at student.gu.edu.au
Tue May 29 05:19:53 EDT 2001


Bruce Sass wrote:
> 
> On 28 May 2001, JimB417 wrote:
> 
> > Hello all,
> >
> > I downloaded the RPM source files for Python 2.1 (expat-1.1-3tummy.src.rpm,
> > python2-2.1-4.src.rpm ) and I'm having problems with compiling on my Linux
> > box. i open a terminal window and type:
> >
> > rpm --rebuild expat-1.1-3tummy.src.rpm
> >
> > After a few moments (and all seems to have gone well) I type at the prompt:
> >
> > rpm --rebuild python2-2.1-4.src.rpm,
> >
> > and I get the following message:
> >
> > expat 1.1-3tummy is needed by python2-2.1-4.
> 
> install the expat*.rpm you built with the first "rpm ..."
> 
> > What am I doing wrong here? I've been at this for several days now.
> I tried
> 
> "--build" only builds a package, you need to install it also.
> (and if I'm wrong, someone who uses rpm will correct me :)

Whoops, obviously I should read the entire first post before I reply. As
Bruce as correctly pointed out, once you build expat you need to install
it. You'll find your expat*tummy.i*86.rpm files under
/usr/src/RPM/RPMS/i*86 (* depends on architecture - Mandrake is i586,
RedHat is i386)

rpm -U expat*tummy*rpm

will install all your expat rpms.

Joal Heagney/AncientHart



More information about the Python-list mailing list