[ python-Bugs-1160534 ] Autoconf failure on FreeBSD 5.3, and AC_INIT set incorrectly

SourceForge.net noreply at sourceforge.net
Mon Mar 14 22:34:46 CET 2005


Bugs item #1160534, was opened at 2005-03-10 11:19
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1160534&group_id=5470

Category: Build
>Group: 3rd Party
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Richard Brooksby (rptb1)
Assigned to: Nobody/Anonymous (nobody)
Summary: Autoconf failure on FreeBSD 5.3, and AC_INIT set incorrectly

Initial Comment:
Begin forwarded message:

Date: 8 March 2005 18:20:48 GMT
To: bug-autoconf at gnu.org
Subject: Autoconf asked me to tell you about this bug

On a clean FreeBSD 5.3 machine, do:

  cd /usr/local/lang/python
  make install

and you will see, amongst other things:

checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... yes
configure: WARNING: ncurses.h: present but cannot be compiled
configure: WARNING: ncurses.h: check for missing prerequisite 
headers?
configure: WARNING: ncurses.h: proceeding with the 
preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf at gnu.org. 
##
configure: WARNING:     ## ------------------------------------ ##
checking for ncurses.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes

---

Begin forwarded message:

Date: 9 March 2005 11:47:03 GMT
To: Richard Brooksby <rb at ravenbrook.com>
Cc: bug-autoconf at gnu.org
Subject: Re: Autoconf asked me to tell you about this bug

Hello,

On Tue, Mar 08, 2005 at 06:20:48PM +0000, Richard Brooksby 
wrote:
On a clean FreeBSD 5.3 machine, do:
  cd /usr/local/lang/python

you should report this bug to the bug report address of the 
"python"
project.  Tell them to read the section "Present But Cannot Be 
Compiled"
of the manual to autoconf-2.59.

They have misconfigured the bug report address in AC_INIT, so 
also tell
them to change it to *their* bug report address.



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2005-03-14 22:34

Message:
Logged In: YES 
user_id=21627

Thanks for the report! Looking at the file, I see

In file included from configure:4766:
/usr/include/ncurses.h:289: error: conflicting types for
'wchar_t'
/usr/include/stdlib.h:58: error: previous declaration of
'wchar_t' was here

So it looks like your system has conflicting definitions of
wchar_t, one in ncurses.h, and one in stdlib.h. I thought I
had seen this before, but I cannot find a resolution. You
might want to report this to the FreeBSD people.

As for the autoconf manual hint: they propose to perform
further includes to make the header compilable. However,
since the header is truly broken, this is no solution.

As for the hint to change the bug reporting address: I have
now done this, and committed this change as

configure.in 1.475.2.7
configure 1.462.2.7
configure.in 1.483
configure 1.470

Closing the report as fixed, 3rd party.

----------------------------------------------------------------------

Comment By: Richard Brooksby (rptb1)
Date: 2005-03-14 11:41

Message:
Logged In: YES 
user_id=927536

Sorry if the text isn't helpful -- I'm just following instructions.  Please find 
config.log attached.

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2005-03-12 23:36

Message:
Logged In: YES 
user_id=21627

That information does not help to resolve the problem, and
it is not clear that it is a problem in Python's configure -
it could be a bug in your operating system installation also.

Please attach the config.log.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1160534&group_id=5470


More information about the Python-bugs-list mailing list