[Python-bugs-list] [ python-Bugs-420416 ] Python for BeOS/PPC Unicode Build Prob.
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 28 May 2001 03:59:25 -0700
Bugs item #420416, was updated on 2001-05-01 03:08
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420416&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Schinckel (schinckel)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Python for BeOS/PPC Unicode Build Prob.
Initial Comment:
When trying to build python(2.1 final) normally under BeOS/PPC
5, Py_UCS4 does not seem to be defined in
Includes/unicodeobject.h
(This would seem to indicate that uint and ulong are shorter
than 4 bits!!!)
I'm guessing this is resultant of a problem elsewhere, but I'm
too clueless in terms of C(++) to work it out.
----------------------------------------------------------------------
>Comment By: Matthew Schinckel (schinckel)
Date: 2001-05-28 03:59
Message:
Logged In: YES
user_id=193059
Here is the crux of my recent communications with Marc-Andre:
> Okay, I might be guessing a bit here but:
>
> These programs are supposed to print the sizeof value.
>
> They are not printing anything.
>
> The only error being raised is:
>
> ### mwcc Compiler Warning :
> # }
> # ^
> # return value expected
> #----------------------------------------------------------
> File "configure"; Line 2245
> # while compiling "/boot/var/tmp/conftest.c"
> #----------------------------------------------------------
>
Interesting: the compiler chokes on the missing return statement
in the test program rather than some other error. This is clearly
an autoconf bug and I'm not sure whether it can be fixed in
Python.
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2001-05-23 02:20
Message:
Logged In: YES
user_id=38388
I've uploaded Matthew's config files to SF. Perhaps some
Metroworks wizard could also take a look at these ?!
----------------------------------------------------------------------
Comment By: Matthew Schinckel (schinckel)
Date: 2001-05-22 03:12
Message:
Logged In: YES
user_id=193059
Sorry, I've been on holiday:-)
Donn Cave gave me a patch that allows BeOS to build it, so I'll send
it along with the config.* files...
(I've zipped them up, but I fear they will not upload with my
browser.)
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2001-05-21 02:46
Message:
Logged In: YES
user_id=38388
Matthew, if you can not help us here, we won't be able to
resolve the problem.
Please send us the config.* files, so that we can check
where the problem originates.
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2001-05-07 04:14
Message:
Logged In: YES
user_id=38388
Hmm, this seems to indicate that the autoconf generated
configure script doesn't work right on BeOS. Could you
attach the config.* files to this bug report ? Perhaps we
can find the cause of configure failing on BeOS.
Thanks.
----------------------------------------------------------------------
Comment By: Matthew Schinckel (schinckel)
Date: 2001-05-07 01:20
Message:
Logged In: YES
user_id=193059
okay, the config.h file is autogenerated - and all of the SIZEOF_xxx
constants are set to 0.
That's bad, huh?
----------------------------------------------------------------------
Comment By: M.-A. Lemburg (lemburg)
Date: 2001-05-02 05:50
Message:
Logged In: YES
user_id=38388
Looking at unicodeobject.h:
/*
* Use this typedef when you need to represent a UTF-16
surrogate pair
* as single unsigned integer.
*/
#if SIZEOF_INT >= 4
typedef unsigned int Py_UCS4;
#elif SIZEOF_LONG >= 4
typedef unsigned long Py_UCS4;
#endif
it seems that SIZEOF_LONG and/or SIZEOF_INT are not defined
in your config.h file. Does the BeOS-port have its own
special config.h file or is the file generated using
autoconf ?
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420416&group_id=5470