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: Modules/zipimport.c does not compile on solaris
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: nikiwaibel, rhettinger
Priority: normal Keywords:

Created on 2004-11-08 15:54 by nikiwaibel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.3.4.nww.patch nikiwaibel, 2004-11-10 10:03 patch to fix module_info problem (solaris) in Modules/zipimport.c
Messages (4)
msg23069 - (view) Author: Niki W. Waibel (nikiwaibel) Date: 2004-11-08 15:54
problem occurs in line 253 of Modules/zipimport.c.
you must not use
        module_info
on solaris!
it is used in several system header files -- usually 
defined as struct...

seen that on solaris9-x86 / solaris8-sparc / solaris9-
sparc.

renaming it to sthg else helps and python compiles 
cleanly.

module_info occurs 5 times in that file ...
i think providing a patch is not necessary, because it 
is absolutely easy to fix. if you'd like a patch, then 
just tell me.

hope this helps improving python!
niki
msg23070 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-11-10 04:54
Logged In: YES 
user_id=80475

Please do submit a patch.  I feel blind applying code that
hasn't been run through a compiler and the full test suite.
msg23071 - (view) Author: Niki W. Waibel (nikiwaibel) Date: 2004-11-10 10:03
Logged In: YES 
user_id=1951

okay -- here is my patch
msg23072 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-11-10 13:09
Logged In: YES 
user_id=80475

Applied as Modules/zipimport.c 1.18.
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41153
2004-11-08 15:54:44nikiwaibelcreate