pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roland Roberts <roland@astrofoto.org>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: 7.2.2 RPM build failure
Date: 12 Sep 2002 11:04:46 -0400
Message-ID: <m2sn0fgsfl.fsf@kuiper.rlent.pnet> (raw)
In-Reply-To: <200209112356.04904.lamar.owen@wgcr.org>
References: <m2lm68yykw.fsf@kuiper.rlent.pnet>
	<200209112356.04904.lamar.owen@wgcr.org>

>>>>> "Roland" == Roland Roberts <roland@astrofoto.org> writes:

    Roland> I'm trying to build from the source RPMs for a (mostly) up-to-date
    Roland> RedHat 7.2 system.  The build fails with this message:

    Roland> gcc -O2 -march=i386 -mcpu=i686 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include -I/usr/kerberos/include  -c -o user_locks.o user_locks.c
    Roland> In file included from ../../src/include/postgres.h:47,
    Roland>                  from user_locks.c:12:
    Roland> ../../src/include/c.h:52:23: pg_config.h: No such file or directory
    Roland> make[1]: *** [user_locks.o] Error 1
    Roland> make[1]: Leaving directory `/opt/src/redhat/BUILD/postgresql-7.2.2/contrib/userlock'
    Roland> make: *** [all] Error 2
    Roland> make: Leaving directory `/opt/src/redhat/BUILD/postgresql-7.2.2/contrib'
    Roland> error: Bad exit status from /var/tmp/rpm-tmp.86826 (%build)

I'm going crazy :-/

I just rebuilt after doing the following:

    cd /usr/src/redhat/BUILD/postgresql-7.2.2
    make clean
    cd ../../SPECS
    rpm -bc --short-circuit postgresql.spec

and it builds fine, going right past the error above.  Yesterday I
built from scratch twice (rpm -ba ...) and it failed consistently at
the above location.  The install phase (rpm -bi --short-circuit) still
fails :-(.  I started again from scratch (rpm -ba) and it built!

I can only guess there was something wacky in my environment, but I
don't know what it might have been.  I am logged in remotely doing the
build now, rather than locally, but don't know of anything specific in
my .profile or .bashrc that would be affected by that.

However, it is still failing during the install.  It would appear the
Pg.3pm is not being created during the perl build.

roland
-- 
		       PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD                             RL Enterprises
roland@rlenter.com                     76-15 113th Street, Apt 3B
roland@astrofoto.org                       Forest Hills, NY 11375



view thread (4+ messages)

Message-ID: <m2sn0fgsfl.fsf@kuiper.rlent.pnet>
Permalink:  ../m2sn0fgsfl.fsf@kuiper.rlent.pnet/
Also on:    postgresql.org/message-id/m2sn0fgsfl.fsf@kuiper.rlent.pnet

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: roland@astrofoto.org, lamar.owen@wgcr.org
  Subject: Re: 7.2.2 RPM build failure
  In-Reply-To: <m2sn0fgsfl.fsf@kuiper.rlent.pnet>
  References: <m2lm68yykw.fsf@kuiper.rlent.pnet> <200209112356.04904.lamar.owen@wgcr.org> <m2sn0fgsfl.fsf@kuiper.rlent.pnet>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox