Thread: Bug

Bug

From
Vincent Predoehl
Date:
I was running fink and it said to report this:

configure: WARNING: krb5.h: present but cannot be compiled
configure: WARNING: krb5.h:     check for missing prerequisite headers?
configure: WARNING: krb5.h: see the Autoconf documentation
configure: WARNING: krb5.h:     section "Present But Cannot Be Compiled"
configure: WARNING: krb5.h: proceeding with the preprocessor's result
configure: WARNING: krb5.h: in the future, the compiler will take
precedence
configure: WARNING:     ## ---------------------------------------- ##
configure: WARNING:     ## Report this to pgsql-bugs@postgresql.org ##
configure: WARNING:     ## ---------------------------------------- ##


--
Vincent

Re: Bug

From
Peter Eisentraut
Date:
Vincent Predoehl wrote:
> I was running fink and it said to report this:
>
> configure: WARNING: krb5.h: present but cannot be compiled
> configure: WARNING: krb5.h:     check for missing prerequisite headers?
> configure: WARNING: krb5.h: see the Autoconf documentation
> configure: WARNING: krb5.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: krb5.h: proceeding with the preprocessor's result
> configure: WARNING: krb5.h: in the future, the compiler will take precedence
> configure: WARNING:     ## ---------------------------------------- ##
> configure: WARNING:     ## Report this to pgsql-bugs@postgresql.org
> <mailto:pgsql-bugs@postgresql.org> ##
> configure: WARNING:     ## ---------------------------------------- ##

Which PostgreSQL version?

Re: Bug

From
Vincent Predoehl
Date:
On Dec 19, 2008, at 3:48 AM, Peter Eisentraut wrote:

> Vincent Predoehl wrote:
>> I was running fink and it said to report this:
>> configure: WARNING: krb5.h: present but cannot be compiled
>> configure: WARNING: krb5.h:     check for missing prerequisite
>> headers?
>> configure: WARNING: krb5.h: see the Autoconf documentation
>> configure: WARNING: krb5.h:     section "Present But Cannot Be
>> Compiled"
>> configure: WARNING: krb5.h: proceeding with the preprocessor's result
>> configure: WARNING: krb5.h: in the future, the compiler will take
>> precedence
>> configure: WARNING:     ##
>> ---------------------------------------- ##
>> configure: WARNING:     ## Report this to pgsql-
>> bugs@postgresql.org <mailto:pgsql-bugs@postgresql.org> ##
>> configure: WARNING:     ##
>> ---------------------------------------- ##
>
> Which PostgreSQL version?


8.3.5


-- VP

Re: Bug

From
Peter Eisentraut
Date:
On Saturday 20 December 2008 02:15:05 Vincent Predoehl wrote:
> On Dec 19, 2008, at 3:48 AM, Peter Eisentraut wrote:
> > Vincent Predoehl wrote:
> >> I was running fink and it said to report this:
> >> configure: WARNING: krb5.h: present but cannot be compiled
> >> configure: WARNING: krb5.h:     check for missing prerequisite
> >> headers?
> >> configure: WARNING: krb5.h: see the Autoconf documentation
> >> configure: WARNING: krb5.h:     section "Present But Cannot Be
> >> Compiled"
> >> configure: WARNING: krb5.h: proceeding with the preprocessor's result
> >> configure: WARNING: krb5.h: in the future, the compiler will take
> >> precedence
> >> configure: WARNING:     ##
> >> ---------------------------------------- ##
> >> configure: WARNING:     ## Report this to pgsql-
> >> bugs@postgresql.org <mailto:pgsql-bugs@postgresql.org> ##
> >> configure: WARNING:     ##
> >> ---------------------------------------- ##
> >
> > Which PostgreSQL version?
>
> 8.3.5

Could you attach your config.log file then?

Re: Bug

From
Peter Eisentraut
Date:
Vincent Predoehl wrote:
>
> On Dec 20, 2008, at 9:15 AM, Peter Eisentraut wrote:
>
>> On Saturday 20 December 2008 02:15:05 Vincent Predoehl wrote:
>>> On Dec 19, 2008, at 3:48 AM, Peter Eisentraut wrote:
>>>> Vincent Predoehl wrote:
>>>>> I was running fink and it said to report this:
>>>>> configure: WARNING: krb5.h: present but cannot be compiled
>>>>> configure: WARNING: krb5.h:     check for missing prerequisite
>>>>> headers?
>>>>> configure: WARNING: krb5.h: see the Autoconf documentation
>>>>> configure: WARNING: krb5.h:     section "Present But Cannot Be
>>>>> Compiled"
>>>>> configure: WARNING: krb5.h: proceeding with the preprocessor's result
>>>>> configure: WARNING: krb5.h: in the future, the compiler will take
>>>>> precedence
>>>>> configure: WARNING:     ##
>>>>> ---------------------------------------- ##
>>>>> configure: WARNING:     ## Report this to pgsql-
>>>>> bugs@postgresql.org <mailto:pgsql-bugs@postgresql.org> ##
>>>>> configure: WARNING:     ##
>>>>> ---------------------------------------- ##
>>>>
>>>> Which PostgreSQL version?
>>>
>>> 8.3.5
>>
>> Could you attach your config.log file then?
>
> Here it is.  I ran ./configure since I posted the error occurred because
> I was having problems with my system … it didn't reboot after the last
> update.  Hopefully, this will give you the info you're looking for.  Let
> me know if I can be of further assistance.

This is not the config.log file from the run that produced the warning
you are complaining about.

Re: Bug

From
Vincent Predoehl
Date:
On Dec 30, 2008, at 2:49 AM, Peter Eisentraut wrote:

> Vincent Predoehl wrote:
>> On Dec 20, 2008, at 9:15 AM, Peter Eisentraut wrote:
>>> On Saturday 20 December 2008 02:15:05 Vincent Predoehl wrote:
>>>> On Dec 19, 2008, at 3:48 AM, Peter Eisentraut wrote:
>>>>> Vincent Predoehl wrote:
>>>>>> I was running fink and it said to report this:
>>>>>> configure: WARNING: krb5.h: present but cannot be compiled
>>>>>> configure: WARNING: krb5.h:     check for missing prerequisite
>>>>>> headers?
>>>>>> configure: WARNING: krb5.h: see the Autoconf documentation
>>>>>> configure: WARNING: krb5.h:     section "Present But Cannot Be
>>>>>> Compiled"
>>>>>> configure: WARNING: krb5.h: proceeding with the preprocessor's=20=20
>>>>>> result
>>>>>> configure: WARNING: krb5.h: in the future, the compiler will take
>>>>>> precedence
>>>>>> configure: WARNING:     ##
>>>>>> ---------------------------------------- ##
>>>>>> configure: WARNING:     ## Report this to pgsql-
>>>>>> bugs@postgresql.org <mailto:pgsql-bugs@postgresql.org> ##
>>>>>> configure: WARNING:     ##
>>>>>> ---------------------------------------- ##
>>>>>
>>>>> Which PostgreSQL version?
>>>>
>>>> 8.3.5
>>>
>>> Could you attach your config.log file then?
>> Here it is.  I ran ./configure since I posted the error occurred=20=20
>> because I was having problems with my system =85 it didn't reboot=20=20
>> after the last update.  Hopefully, this will give you the info=20=20
>> you're looking for.  Let me know if I can be of further assistance.
>
> This is not the config.log file from the run that produced the=20=20
> warning you are complaining about.


I did run configure several times since the error.  I know nothing of=20=20
autoconf and didn't know to save the config.log file.  I just ran ./=20
configure again for 8.3.5 and did not get the error.  I have=20=20
installed other things since the error that probably fixed it.  If=20=20
you know what package contains krb5.h, I can try to reproduce it.=20=20
Otherwise, it seems to be working fine now.

--=20
Vincent

Re: Bug

From
Vincent Predoehl
Date:
On Dec 30, 2008, at 2:49 AM, Peter Eisentraut wrote:

> Vincent Predoehl wrote:
>> On Dec 20, 2008, at 9:15 AM, Peter Eisentraut wrote:
>>> On Saturday 20 December 2008 02:15:05 Vincent Predoehl wrote:
>>>> On Dec 19, 2008, at 3:48 AM, Peter Eisentraut wrote:
>>>>> Vincent Predoehl wrote:
>>>>>> I was running fink and it said to report this:
>>>>>> configure: WARNING: krb5.h: present but cannot be compiled
>>>>>> configure: WARNING: krb5.h:     check for missing prerequisite
>>>>>> headers?
>>>>>> configure: WARNING: krb5.h: see the Autoconf documentation
>>>>>> configure: WARNING: krb5.h:     section "Present But Cannot Be
>>>>>> Compiled"
>>>>>> configure: WARNING: krb5.h: proceeding with the preprocessor's=20=20
>>>>>> result
>>>>>> configure: WARNING: krb5.h: in the future, the compiler will take
>>>>>> precedence
>>>>>> configure: WARNING:     ##
>>>>>> ---------------------------------------- ##
>>>>>> configure: WARNING:     ## Report this to pgsql-
>>>>>> bugs@postgresql.org <mailto:pgsql-bugs@postgresql.org> ##
>>>>>> configure: WARNING:     ##
>>>>>> ---------------------------------------- ##
>>>>>
>>>>> Which PostgreSQL version?
>>>>
>>>> 8.3.5
>>>
>>> Could you attach your config.log file then?
>> Here it is.  I ran ./configure since I posted the error occurred=20=20
>> because I was having problems with my system =85 it didn't reboot=20=20
>> after the last update.  Hopefully, this will give you the info=20=20
>> you're looking for.  Let me know if I can be of further assistance.
>
> This is not the config.log file from the run that produced the=20=20
> warning you are complaining about.

One other thing, I have tried to use fink ( MacOS X ) to install=20=20
postgresql, but reverted to downloading the source myself because the=20=20
non-standard directory structure that fink created for the package=20=20
was causing problems.

I'll see if I can reproduce the error.

--=20
Vincent

Re: Bug

From
Peter Eisentraut
Date:
Vincent Predoehl wrote:
>> This is not the config.log file from the run that produced the warning
>> you are complaining about.
>
> I did run configure several times since the error.  I know nothing of
> autoconf and didn't know to save the config.log file.  I just ran
> ./configure again for 8.3.5 and did not get the error.  I have installed
> other things since the error that probably fixed it.  If you know what
> package contains krb5.h, I can try to reproduce it. Otherwise, it seems
> to be working fine now.

The warning is about krb5.h, so in order to reproduce it, you should
probably at least put --with-krb5 into the configure line.

If we are to analyze the problem, then we must look at the config.log
file from the configure run that shows the warning.

In general, I think you are the first to show this problem, so it is
possible that it is a local misconfiguration rather than a general bug.

Re: Bug

From
Vincent Predoehl
Date:
On Dec 30, 2008, at 4:56 AM, Peter Eisentraut wrote:

> Vincent Predoehl wrote:
>>> This is not the config.log file from the run that produced the
>>> warning you are complaining about.
>> I did run configure several times since the error.  I know nothing
>> of autoconf and didn't know to save the config.log file.  I just
>> ran ./configure again for 8.3.5 and did not get the error.  I have
>> installed other things since the error that probably fixed it.  If
>> you know what package contains krb5.h, I can try to reproduce it.
>> Otherwise, it seems to be working fine now.
>
> The warning is about krb5.h, so in order to reproduce it, you
> should probably at least put --with-krb5 into the configure line.
>
> If we are to analyze the problem, then we must look at the
> config.log file from the configure run that shows the warning.
>
> In general, I think you are the first to show this problem, so it
> is possible that it is a local misconfiguration rather than a
> general bug.


I agree, running with --with-krb5 did not produce the error.  I think
the postgresql package installed by fink may have caused the problem,
or maybe it was a permission problem.  I ran into that before

Either way, I think your software is good.  If something happens in
the future, at least I will know to keep config.log.

--
Vincent