Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AC8EA4769EE for ; Wed, 11 Sep 2002 18:02:22 -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 F2C594769D4 for ; Wed, 11 Sep 2002 18:02:21 -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 g8BM2NtV022939 for ; Wed, 11 Sep 2002 18:02:24 -0400 Received: (from roland@localhost) by kuiper.rlent.pnet (8.11.6/8.11.6) id g8BM2Nt08922; Wed, 11 Sep 2002 18:02:23 -0400 X-Authentication-Warning: kuiper.rlent.pnet: roland set sender to roland@astrofoto.org using -f To: pgsql-admin@postgresql.org Subject: 7.2.2 RPM build failure From: Roland Roberts Date: 11 Sep 2002 18:02:23 -0400 Message-ID: Lines: 60 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/131 X-Sequence-Number: 5670 I'm trying to build from the source RPMs for a (mostly) up-to-date RedHat 7.2 system. The build fails with this message: 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 In file included from ../../src/include/postgres.h:47, from user_locks.c:12: ../../src/include/c.h:52:23: pg_config.h: No such file or directory make[1]: *** [user_locks.o] Error 1 make[1]: Leaving directory `/opt/src/redhat/BUILD/postgresql-7.2.2/contrib/userlock' make: *** [all] Error 2 make: Leaving directory `/opt/src/redhat/BUILD/postgresql-7.2.2/contrib' error: Bad exit status from /var/tmp/rpm-tmp.86826 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.86826 (%build) I cd to the stop directory and finish the build by just typing 'make', followed by rpm -bc --short-circuit postgresql.spec This was a no-op, which is what I expected. Then on to the installation step rpm -bi --short-circuit postgresql.spec [...lots of stuff elided....] Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Writing /usr/lib/perl5/site_perl/5.6.1/i386-linux/auto/Pg/.packlist Appending installation info to /usr/lib/perl5/5.6.1/i386-linux/perllocal.pod make: Leaving directory `/opt/src/redhat/BUILD/postgresql-7.2.2/src/interfaces/perl5' + find /var/tmp/postgresql-7.2.2-root/usr/lib/perl5 -name .packlist -exec rm -f '{}' ';' + find /var/tmp/postgresql-7.2.2-root/usr/lib/perl5 -type f -print + sed -e 's|/var/tmp/postgresql-7.2.2-root/|/|g' + sed -e 's|.*/man/.*|&\*|' + find /var/tmp/postgresql-7.2.2-root/usr/lib/perl5 -type d -name Pg -print + sed -e 's|/var/tmp/postgresql-7.2.2-root/|%dir /|g' + '[' '!' -e '/var/tmp/postgresql-7.2.2-root/usr/share/man/man3/Pg.*' ']' + mkdir -p /var/tmp/postgresql-7.2.2-root/usr/share/man/man3 ++ find /var/tmp/postgresql-7.2.2-root -name 'Pg.3*' -print + cp /var/tmp/postgresql-7.2.2-root/usr/share/man/man3 cp: missing destination file Try `cp --help' for more information. error: Bad exit status from /var/tmp/rpm-tmp.35944 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.35944 (%install) What am I missing? 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