From: | Roland Roberts <roland(at)astrofoto(dot)org> |
---|---|
To: | Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: 7.2.2 RPM build failure |
Date: | 2002-09-12 15:04:46 |
Message-ID: | m2sn0fgsfl.fsf@kuiper.rlent.pnet |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
>>>>> "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[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(at)rlenter(dot)com 76-15 113th Street, Apt 3B
roland(at)astrofoto(dot)org Forest Hills, NY 11375
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-09-12 16:07:38 | Re: disk spin down |
Previous Message | Brickley Jeff-RA9607 | 2002-09-12 14:40:53 | Vaccuum/Analyze |