On Wed, 8 Apr 2009, Ovidiu Adorian wrote:

g.       command failed: 
"/usr/src/redhat/BUILD/postgresql-8.3.1/src/test/regress/./tmp_check/install//usr/bin/psql"
 -X -c "CREATE DATABASE
\"regression\" TEMPLATE=template0 ENCODING='SQL_ASCII'" "postgres"

h.      server stopped

i.         make: *** [check] Error 2

j.        error: Bad exit status from /var/tmp/rpm-tmp.87659 (%build)

k.       RPM build errors:

l.         Bad exit status from /var/tmp/rpm-tmp.87659 (%build)

 

Is there another way (III) or I am doing something wrong?

        Salut Ovidiu,

This usually fails even when rebuilding the source RPM from the distro. So you can use this:

rpmbuild --rebuild --define 'dist .fc9' --define 'runselftest 0' /path/to/postgresql/source/rpm

A while ago I've written some postgresql RPMs myself, you can still find them here: http://blackblue.iasi.rdsnet.ro/pgcluster-rpms/ Of course, they are not the latest version and in the meanwhile there were a lot of changes done to the original postgresql spec file as well, but you may find those useful enough (there are also some scripts there that you could use to manage the various services of the pgcluster).

--
Victor Tarhon-Onu
Lead Systems Administrator
ActiveMedia Technology
http://www.activemediatech.com
.............................................................................
This communication contains information that is confidential and may also be
privileged. It is for the exclusive use of the intended recipient(s). If you
are not the intended recipient(s) please note that any form of distribution,
copying or use of this communication or the information in it is strictly
prohibited and may be unlawful. If you have received this communication in
error kindly notify the sender immediately and delete it from your system.
_______________________________________________
Pgcluster-general mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgcluster-general

Reply via email to