Thread: 8.0.1 SRPM on RHEL v.3

8.0.1 SRPM on RHEL v.3

From
Shane Dawalt
Date:
  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)

  Shane


Re: 8.0.1 SRPM on RHEL v.3

From
Devrim GUNDUZ
Date:
Hi,

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

AFAIR we've/ll fixed/fix this in 8.1 spec.

Regards,
--
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                       http://www.gunduz.org

Re: 8.0.1 SRPM on RHEL v.3

From
Shane Dawalt
Date:

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


Re: 8.0.1 SRPM on RHEL v.3

From
Devrim GUNDUZ
Date:
Hi,

On Thu, 29 Sep 2005, Shane Dawalt wrote:

>> 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.

Sorry, that was my typo :(

Regards,
--
Devrim GUNDUZ
Kivi Bilişim Teknolojileri - http://www.kivi.com.tr
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
                       http://www.gunduz.org