Antw: Re: trouble with rpmbuild on WBEL3.0/x86_64

From: "Marcel Gsteiger" <Marcel(dot)Gsteiger(at)milprog(dot)ch>
To: <devrim(at)gunduz(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Antw: Re: trouble with rpmbuild on WBEL3.0/x86_64
Date: 2004-11-09 21:41:53
Message-ID: s19147cb.099@milprog1.milprog.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

thanks for your reply. My distutils was in /usr/lib64/python2.2 . I installed python.i386 (so I had distutils in /usr/lib thereafter). No change.
I applied the patch, again no change. My error still persists.
I would be happy if I could build postgresql without python support. Is there an easy way to accomplish this?
Seems that making x86_64 rpms for postgresql is somewhat tricky...

regards
--marcel

>>> Devrim GUNDUZ <devrim(at)gunduz(dot)org> 09.11.2004 >>>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Mon, 1 Nov 2004, Marcel Gsteiger wrote:

> I wanted to install postgreSQL 7.4 on my ia32e box (x86_64 dual xeon PL370G4) running WBEL3.0. I looked for binary RPMs but did not find any. So I tried to
>
> rpmbuild --rebuild --define 'build9 1' postgresql-7.4.6-2PGDG.src.rpm
>
> but during configure I get the error
>
> ....
> checking for python... /usr/bin/python
> checking Python installation directories... /usr/lib/python2.2
> checking how to link an embedded Python application... no
> configure: error: Python Makefile not found
> Fehler: Bad exit status from /var/tmp/rpm-tmp.75919 (%build)
>
> python-devel-2.2.3-5 is installed. On a similar i386 system (same
> versions of rpms), this error does not happen; here I could build all
> RPMs successfully (but, of course, not for x86_64).

python-2.2.3-5 should have distuils module installed. Do you have
/usr/lib/python2.2/distutils ?

Anyway,

http://archives.postgresql.org/pgsql-hackers/2004-09/msg00447.php

has a patch that fixes your problems. Could you please apply it to your
postgresql source and retry building rpm?

> On my x86_64 system, rh-postgresql 7.3.6-7 is still installed - I
> thought I could rebuild newer RPMS before removing the old ones. Should
> I remove rhdb first?

No. You can still rebuild the RPMS even if you dont't have PostgreSQL
installed on your server. But you'll need to remove the old binaries
befora installing the new ones.

Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBj/1Ktl86P3SPfQ4RAlOZAJ9xGK5i+NZ/71dVHmFw1P4nn19KfwCg4I73
q4RUJOwn5HROuPVbgP3ryOU=
=2doM
-----END PGP SIGNATURE-----

Browse pgsql-general by date

  From Date Subject
Next Message John White 2004-11-09 23:00:57 The classic "NEW used in query that is not in a rule" problem again
Previous Message Brian Edmonds 2004-11-09 21:38:46 Re: Important Info on comp.databases.postgresql.general