RH9 postgresql 8.0.7 rpm

Started by Gaetano Mendolaalmost 20 years ago8 messages
#1Gaetano Mendola
mendola@bigfoot.com

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

Hi all,
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 )

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)

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

Can someone help me in this ?

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

iD8DBQFEO9nu7UpzwH2SGd4RAi/nAJ9WoyVBUR1aSp0+TCPkNEnXhvSbzwCgmEYf
2xQem+7IA7cAF7HxclNv6Ts=
=Lj75
-----END PGP SIGNATURE-----

#2Joshua D. Drake
jd@commandprompt.com
In reply to: Gaetano Mendola (#1)
Re: RH9 postgresql 8.0.7 rpm

Gaetano Mendola wrote:

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

Hi all,
I'm trying to build the rpms for RH9,
I downloaded the srpm for RH9 but I'm stuck on these errors:

RH9 is not a supported platform by RedHat or PGDG.

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 )

Because you are using a very old version of RH.

I strongly suggest you update your version of RH to FC5 or better yet
Ubuntu.

Also this really is better served on pgsql-general not hackers.

Sincerely,

Joshua D. Drake

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

#3Devrim GUNDUZ
devrim@commandprompt.com
In reply to: Gaetano Mendola (#1)
Re: RH9 postgresql 8.0.7 rpm

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.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/

#4Gaetano Mendola
mendola@bigfoot.com
In reply to: Joshua D. Drake (#2)
Re: RH9 postgresql 8.0.7 rpm

Joshua D. Drake wrote:

Gaetano Mendola wrote:

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

Hi all,
I'm trying to build the rpms for RH9,
I downloaded the srpm for RH9 but I'm stuck on these errors:

RH9 is not a supported platform by RedHat or PGDG.

I thought given this link

http://www.postgresql.org/ftp/binary/v8.0.7/linux/srpms/redhat/redhat-9/

is not empty RH9 was still supported.

Regards
Gaetano Mendola

#5Gaetano Mendola
mendola@bigfoot.com
In reply to: Devrim GUNDUZ (#3)
Re: [HACKERS] RH9 postgresql 8.0.7 rpm

-----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-----

#6Devrim GUNDUZ
devrim@commandprompt.com
In reply to: Gaetano Mendola (#4)
Re: RH9 postgresql 8.0.7 rpm

Hi,

On Wed, 2006-04-12 at 12:24 +0200, Gaetano Mendola wrote:

I thought given this link

http://www.postgresql.org/ftp/binary/v8.0.7/linux/srpms/redhat/redhat-9/

is not empty RH9 was still supported.

PostgreSQL is built on Red Hat 9; but "we" (RPM packagers) can't provide
RPMs now, because I upgraded my RH9 box.

I provided the SRPMS to most platforms for the people who would like to
pick it up and build RPMs on their boxes (and want to contribute the
RPMs they build ;) )

Regards,

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/

#7Devrim GUNDUZ
devrim@commandprompt.com
In reply to: Gaetano Mendola (#5)
Re: [HACKERS] RH9 postgresql 8.0.7 rpm

Hi,

On Wed, 2006-04-12 at 13:07 +0200, Gaetano Mendola wrote:

I was able to create it with:

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

I'll be hppy if you send the RPMs directly to me; so that I can upload
them. A tarball would be fine.

Regards,
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PL/php, plPerlNG - http://www.commandprompt.com/

#8Gaetano Mendola
gmendola@mbigroup.it
In reply to: Devrim GUNDUZ (#7)
Re: [HACKERS] RH9 postgresql 8.0.7 rpm

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

Devrim GUNDUZ wrote:

Hi,

On Wed, 2006-04-12 at 13:07 +0200, Gaetano Mendola wrote:

I was able to create it with:

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

I'll be hppy if you send the RPMs directly to me; so that I can upload
them. A tarball would be fine.

Dev I'll send you in private a link to my own web server so you can
download the files from there.

Regards
Gaetano Mendola

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

iD8DBQFEPQ+B7UpzwH2SGd4RAsbxAKCK2AIZK5+YzY5+BeGnoWY4+n3/3QCfUfiE
SpVt3/M0srlf6Vw3MhLGUXs=
=9pF+
-----END PGP SIGNATURE-----