Issue 1239186: Install Error: "cannot compute sizeof (int), 77" (original) (raw)

Created on 2005-07-15 22:00 by rgazzale, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
config.log rgazzale,2005-07-15 22:00 Configuration log
Messages (4)
msg25824 - (view) Author: Bob Gazzale (rgazzale) Date: 2005-07-15 22:00
Computer: Mac OS: Tiger 10.4.2 When attempting to install Python 2.4, I get the following error message in the "configure" stage: "checking size of int... configure: error: cannot compute sizeof (int), 77" config.log is attached. Many thanks, Bob
msg25825 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2005-07-15 22:23
Logged In: YES user_id=357491 Are you using the standard version of gcc that comes with Tiger? I noticed in the log it says ``gcc (GCC) 4.1.0 20050517 (experimental)`` and I thought Tiger had gcc 4.0 (I can't check right now since I am at work), let alone came with a non-experimental version. Regardless, I don't see how it could be the configure files fault since Python does not have any control over the C compiler being able to determine the size of int.
msg25826 - (view) Author: Bob Gazzale (rgazzale) Date: 2005-07-17 13:48
Logged In: YES user_id=1313508 I am using the gcc I downloaded from Gaurav Khanna's HPC site. Thanks for the lead. I'll try going back to a non-experimental version of gcc. Bob
msg25827 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-08-26 08:38
Logged In: YES user_id=1188172 As one can see from config.log, this is a fault in the GCC 4.1.0 header files. The file "machine/ansi.h" is missing. Closing as Invalid.
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42195
2005-07-15 22:00:25 rgazzale create