>>>>> "Roland" == Roland Roberts <roland(at)astrofoto(dot)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: *** [user_locks.o] Error 1
Roland> make: 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:
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.
PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
roland(at)rlenter(dot)com 76-15 113th Street, Apt 3B
roland(at)astrofoto(dot)org Forest Hills, NY 11375
In response to
pgsql-admin by date
|Next:||From: Bruce Momjian||Date: 2002-09-12 16:07:38|
|Subject: Re: disk spin down|
|Previous:||From: Brickley Jeff-RA9607||Date: 2002-09-12 14:40:53|