Re: [HACKERS] RH9 postgresql 8.0.7 rpm

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Devrim GUNDUZ <devrim(at)commandprompt(dot)com>
Cc: Gaetano Mendola <mendola(at)bigfoot(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: [HACKERS] RH9 postgresql 8.0.7 rpm
Date: 2006-04-12 11:07:39
Message-ID: 443CDF7B.3060806@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Devrim GUNDUZ wrote:
> Hi Gaetano,
>
> On Tue, 2006-04-11 at 18:31 +0200, Gaetano Mendola wrote:
>> I'm trying to build the rpms for RH9,
>> I downloaded the srpm for RH9 but I'm stuck on these errors:
>>
>> Attempt a:
>>
>> # rpmbuild --rebuild postgresql-8.0.7-1PGDG.src.rpm
>> Installing postgresql-8.0.7-1PGDG.src.rpm
>> error: Failed build dependencies:
>> tcl-devel is needed by postgresql-8.0.7-1PGDG
>>
>> why tcl-devel on rh9 version? tcl-devel doesn't exist on rh9 )
>
> We use only one spec file for all platforms. If you are using Red Hat 9,
> you should consider using the macros that are enabled for RH9 (build89
> and/or build9 in the spec file).
>
>> Attempt b:
>> # rpmbuild --nodeps --rebuild postgresql-8.0.7-1PGDG.src.rpm
>> ....
>> checking krb5.h presence... no
>> checking for krb5.h... no
>> configure: error: header file <krb5.h> is required for Kerberos 5
>> error: Bad exit status from /var/tmp/rpm-tmp.73067 (%build)
>
> I think rebuilding with --define 'buildrhel3 1' will work here.
>> ok no kerberos now:
>>
>> Attempt c:
>> # rpmbuild --nodeps --rebuild --define 'kerberos 0' postgresql-8.0.7-1PGDG.src.rpm
>> .....
>> checking for zlib.h... yes
>> checking openssl/ssl.h usability... no
>> checking openssl/ssl.h presence... no
>> checking for openssl/ssl.h... no
>> configure: error: header file <openssl/ssl.h> is required for OpenSSL
>> error: Bad exit status from /var/tmp/rpm-tmp.3109 (%build)
>>
>> actually I have that file:
>>
>> # locate openssl/ssl.h
>> /usr/include/openssl/ssl.h
>
> I have no idea about this and I can't remember right now how I was
> building RH9 RPMs ...
>
> If you provide me a RH9 box, I can help you.

I was able to create it with:

- --nodeps --define 'buildrhel3 1' --define 'build9 1'

thank you for the support and I'm rly sorry to not be able to write/read
the postgres forums as I was used to do in the past.

Regards
Gaetano Mendola

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEPN977UpzwH2SGd4RAgT7AJ9FjmQ1QbX6RmuAl35UmiaqJbQ2pQCguudG
JvAWClxAWnT3FjbRS6M5gf8=
=uUh5
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Devrim GUNDUZ 2006-04-12 11:13:10 Re: RH9 postgresql 8.0.7 rpm
Previous Message Gaetano Mendola 2006-04-12 10:24:25 Re: RH9 postgresql 8.0.7 rpm

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GUNDUZ 2006-04-12 11:13:10 Re: RH9 postgresql 8.0.7 rpm
Previous Message Dave Page 2006-04-12 10:54:30 Re: plpgsql by default