Re: 8.0.1 SRPM on RHEL v.3

From: Shane Dawalt <shane(dot)dawalt(at)wright(dot)edu>
To: Devrim GUNDUZ <devrim(at)gunduz(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.0.1 SRPM on RHEL v.3
Date: 2005-09-29 19:42:23
Message-ID: 433C439F.7080907@wright.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergei Dubov 2005-09-29 19:44:09 Many-To-Many Bridge Table Index
Previous Message Reid Thompson 2005-09-29 19:28:44 Does copy abort on a failed insertion?