Thread
-
7.0.2 source rpm failed to compile
PostgreSQL Bugs List <pgsql-bugs@postgresql.org> — 2000-09-26T16:29:58Z
Olof Nyqvist (olof.nyqvist@cadcam.kth.se) reports a bug with a severity of 2 The lower the number the more severe it is. 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. Basically nothing has been upgraded or changed in the RedHat installation. These postgres-packages where installed with the RedHat distribution: postgresql-6.5.3-6 postgresql-devel-6.5.3-6 postgresql-jdbc-6.5.3-6 postgresql-odbc-6.5.3-6 postgresql-perl-6.5.3-6 postgresql-server-6.5.3-6 I want to upgrade to 7.0 to benefit from the FOREIGN KEY implementation. 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? Sample Code No file was uploaded with this report
-
Re: 7.0.2 source rpm failed to compile
Thomas Lockhart <lockhart@alumni.caltech.edu> — 2000-09-26T17:01:31Z
> 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 -
Re: 7.0.2 source rpm failed to compile
Lamar Owen <lamar.owen@wgcr.org> — 2000-09-26T18:05:39Z
pgsql-bugs@postgresql.org wrote: > 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? You need to have python-devel installed. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
-
Re: [BUGS] 7.0.2 source rpm failed to compile
Lamar Owen <lamar.owen@wgcr.org> — 2000-09-26T18:08:45Z
Thomas Lockhart wrote: > > > 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? Fixed in the latest stuff from RedHat in RH 7. Will shortly be fixed on our server, as the RH 7 RPM's won't rebuild smoothly on 6.2 as yet. There will be an error issued complaining about the lack of python-devel as part of the build if python-devel isn't there. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11