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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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...


>>> Devrim GUNDUZ <devrim(at)gunduz(dot)org> 09.11.2004 >>>
Hash: SHA1


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 ?


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.

- --
Version: GnuPG v1.2.1 (GNU/Linux)


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