Re: 7.0.2 source rpm failed to compile

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: olof(dot)nyqvist(at)cadcam(dot)kth(dot)se, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.0.2 source rpm failed to compile
Date: 2000-09-26 17:01:31
Message-ID: 39D0D66B.C94C5A5A@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

> Short Description
> 7.0.2 source rpm failed to compile
> Long Description
> I'm running RedHat 6.2 SPARC, two processors, 128 MB RAM
> I downloaded postgresql-7.0.2-2.src.rpm from your main FTP site and tried 'rpm --rebuild postgresql-7.0.2-2.src.rpm', it ran fine for a long time but then exited abnormally.
> This is the output from when it exited:
> ***********************************************************
> make[2]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl/tcl'
> make[1]: Leaving directory `/usr/src/redhat/BUILD/postgresql-7.0.2/src/pl'
> All of PostgreSQL is successfully made. Ready to install.
> + pushd interfaces/python
> /usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/python /usr/src/redhat/BUILD/postgresql-7.0.2/src /usr/src/redhat/BUILD/postgresql-7.0.2
> + cp /usr/lib/python1.5/config/Makefile.pre.in .
> cp: /usr/lib/python1.5/config/Makefile.pre.in: No such file or directory
> Bad exit status from /var/tmp/rpm-tmp.46557 (%build)
> ****************************************************************
> A check in the rpm database showed that these python modules are installed:
> python-1.5.2-13
> pythonlib-1.23-1
> rpm-python-3.0.4-0.48
> So, what gives?

Y'all are missing the python-devel RPM. Install it and try again. It may
be an RPM issue, with python-devel a required package for the source
RPM. Not sure how that works; it may be that things failed just as they
should, since afaik "required packages" are specified for the binary
RPMs, but not for the src RPMs. Lamar?

- Thomas

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Lamar Owen 2000-09-26 18:05:39 Re: 7.0.2 source rpm failed to compile
Previous Message pgsql-bugs 2000-09-26 16:29:58 7.0.2 source rpm failed to compile

Browse pgsql-hackers by date

  From Date Subject
Next Message Jarmo Paavilainen 2000-09-26 17:21:46 SV: Case sensitive field names
Previous Message G. Anthony Reina 2000-09-26 16:52:45 PostgreSQL 7.0.3?