on Solaris9.
rpm --rebuild org/UPD/postgresql-7.3.1-1.2.2.src.rpm
fails with
../../src/include -I/cw/include -I/cw/include -DFRONTEND -DSYSCONFDIR
='"/cw/etc/postgresql"' -c -o fe-print.o fe-print.c
In file included from fe-connect.c:46:
/usr/include/crypt.h:22: parse error before '(' token
/usr/include/crypt.h:22: parse error before "const"
make[3]: *** [fe-connect.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
error: Bad exit status from /cw/RPM/TMP/rpm-tmp.28382 (%build)
/usr/include/crypt.h is from SUNWhea. There is no crypt.h in
/cw/include. There IS /cw/include/openssl/crypt.h.
Repeated this with on a full install of Solaris9 on another machine -
same result.
Anyone got any ideas what's going wrong here?
Thanks,
Ingo
---- another problem -----
I tried to make an index of the contents of all rpms
rpm -qpil BIN/sparc64-solaris9/*.rpm
to find out if there is a /cw/include/crypt.h in any other rpm.
After 19926 lines, while enumerating the files in
BIN/sparc64-solaris9/postgresql-7.3.1-1.2.0.sparc64-solaris2.9-cw.rpm
I get a bus error (and core dump). I deleted
postgresql-7.3.1-1.2.0.sparc64-solaris2.9-cw.rpm, re-rsynced it from
rsync.openpkg.org::openpkg-ftp/release/1.2 openpkg/release, same
problem. Removed it again, rpm -qpil *.rpm produces a nice ouput of
34055 lines and no bus error. Might it be that the rpm on
rsync.openpkg.org is damaged?
Thanks.
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [EMAIL PROTECTED]