Devrim GUNDUZ wrote:
On Thu, 29 Sep 2005, Shane Dawalt wrote:
I'm attempting to build the srpm (postgresql-8.0.1-2PGDG.src.rpm),
but am running into a snag with krb5.h. The configure script doesn't
see it although I have krb5-devel installed and the file exists in
/usr/kerberos/include/. Anyone have a clue what I should do? (I'm
using rpmbuild --rebuild)
Try
rpmbuild --rebuild --define 'kerbdir=/usr/kerberos'
postgresql-8.0.1-2PGDG.src.rpm
I tried this, but it also resulted in not finding kbr5.h. Looking
through the Configure log, the '=' on the --define option was actually
used as part of the directory. That is, the Configure command line
showed "--with-includes==/usr/kerberos/include". I cannot find any
information on the --define option in the rpmbuild manpage, so I don't
know what the proper syntax really is. But I changed the '=' to a space
and everything built correctly.
Thanks for pointing out the problem!
Shane
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster