7.2.2 RPM build failure
От | Roland Roberts |
---|---|
Тема | 7.2.2 RPM build failure |
Дата | |
Msg-id | m2lm68yykw.fsf@kuiper.rlent.pnet обсуждение исходный текст |
Ответы |
Re: 7.2.2 RPM build failure
|
Список | pgsql-admin |
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
В списке pgsql-admin по дате отправления: