[Python-checkins] python/dist/src/Misc AIX-NOTES,1.9,1.10

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Sun, 02 Feb 2003 09:10:07 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv14490a/Misc

Modified Files:
	AIX-NOTES 
Log Message:
Add some notes that got python to work on the snake farm

Index: AIX-NOTES
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/AIX-NOTES,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** AIX-NOTES	26 Oct 2000 17:07:01 -0000	1.9
--- AIX-NOTES	2 Feb 2003 17:10:04 -0000	1.10
***************
*** 138,140 ****
--- 138,156 ----
         for ld_so_aix.
  
+ According to Gary Hook from IBM, the format of the export file changed
+ in AIX 4.2.  For AIX 4.2 and later, a period "." is required on the
+ first line after "#!".  If python crashes while importing a shared
+ library, you can try modifying the LINKCC variable in the Makefile.
+ It probably looks like this:
+ 
+ 	LINKCC=     $(srcdir)/Modules/makexp_aix Modules/python.exp \"\" $(LIBRARY); $(PURIFY) $(CXX)
+ 
+ You should modify the \"\" to be a period:
+ 
+ 	LINKCC=     $(srcdir)/Modules/makexp_aix Modules/python.exp . $(LIBRARY); $(PURIFY) $(CXX)
+ 
+ Using a period fixed the problem in the snake farm.  YMMV.
+ After testing with different versions of AIX, a fix should
+ be checked in.  Hopefully, this fix be incorporated into Python 2.3.
+ 
  ==============================================================================