Re: 8.0.1 SRPM on RHEL v.3 - Mailing list pgsql-general

From Shane Dawalt
Subject Re: 8.0.1 SRPM on RHEL v.3
Date
Msg-id 433C439F.7080907@wright.edu
Whole thread Raw
In response to Re: 8.0.1 SRPM on RHEL v.3  (Devrim GUNDUZ <devrim@gunduz.org>)
Responses Re: 8.0.1 SRPM on RHEL v.3
List pgsql-general

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


pgsql-general by date:

Previous
From: "Reid Thompson"
Date:
Subject: Does copy abort on a failed insertion?
Next
From: Sergei Dubov
Date:
Subject: Many-To-Many Bridge Table Index