Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 42ACE476386 for ; Thu, 12 Sep 2002 11:04:43 -0400 (EDT) Received: from mail.astrofoto.org (dsl092-102-177.nyc2.dsl.speakeasy.net [66.92.102.177]) by postgresql.org (Postfix) with ESMTP id 85767476362 for ; Thu, 12 Sep 2002 11:04:42 -0400 (EDT) Received: from kuiper.rlent.pnet (IDENT:root@kuiper.rlent.pnet [192.168.3.50]) by mail.astrofoto.org (8.12.3/8.12.3) with ESMTP id g8CF4ktV026601; Thu, 12 Sep 2002 11:04:47 -0400 Received: (from roland@localhost) by kuiper.rlent.pnet (8.11.6/8.11.6) id g8CF4ku12341; Thu, 12 Sep 2002 11:04:46 -0400 X-Authentication-Warning: kuiper.rlent.pnet: roland set sender to roland@astrofoto.org using -f To: Lamar Owen Cc: pgsql-admin@postgresql.org Subject: Re: 7.2.2 RPM build failure References: <200209112356.04904.lamar.owen@wgcr.org> From: Roland Roberts Date: 12 Sep 2002 11:04:46 -0400 In-Reply-To: <200209112356.04904.lamar.owen@wgcr.org> Message-ID: Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/141 X-Sequence-Number: 5680 >>>>> "Roland" == Roland Roberts 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