This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make error
Type: compile error Stage:
Components: Installation Versions: Python 2.6
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: gast, georg.brandl, loewis
Priority: normal Keywords:

Created on 2009-05-20 09:01 by gast, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg88108 - (view) Author: gast (gast) Date: 2009-05-20 09:01
please help my!

OS - AIX 5.3 64x
i have need to install Python 2.6

./configure --with-gcc

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

 
make

In file included from Include/unicodeobject.h:120,
                 from Include/Python.h:85,
                 from ./Modules/python.c:3:
/opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/wchar.h:299: 
error: parse error before 'mbstate_t'
/opt/freeware/lib/gcc/powerpc-ibm-aix5.1.0.0/4.0.0/include/wchar.h:302: 
error: parse error before 'mbstate_t'
make: 1254-004 The error code from the last command is 1.

What can i do for correct it? please...
msg88207 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2009-05-22 19:12
> please help my!

Please understand that the Python bug tracker is not a place
to obtain help. Instead, it is a place for you to help Python.

Please find out
a) whether mbstate_t is defined in your system, and (if so)
b) what header file needs to be included to get the type
   definition
msg97312 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-01-06 17:28
Closing due to lack of response.
History
Date User Action Args
2022-04-11 14:56:49adminsetgithub: 50317
2010-01-06 17:28:47georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg97312

resolution: works for me
2009-05-22 19:12:54loewissetnosy: + loewis
messages: + msg88207
2009-05-20 09:01:05gastcreate