[ZOPE] Zope on AIX note.

Steven D. Majewski sdm7g at virginia.edu
Tue Aug 29 18:04:11 EDT 2000


This should probably go to one of the Zope mailing lists, but I'm
not subscribed and there are SO DAMN MANY of them! 
( I did look in the searchable archives and couldn't find a note
  on this. ) 


file: Zope*/doc/PLATFORMS/AIX.txt, says: 

| from Thiebaut Champenier
|
|  "python wo_pcgi.py" doesn't build the extensions correctly due to
|  linking problems.  To fix it, I just SymLinked ld_so_aix, makexp_aix
|  and python.exp (found in <python-build>/Modules/) into each of the
|  dirs in <Zope-build>/python/lib that contain .c files... and it
|  worked just great. But I'm sure it's not the best solution
|


Here's a better solution:

in ($pythonlib)/config/Makefile.pre.in: 

# Uncomment the following two lines for AIX
#LINKCC=         $(LIBPL)/makexp_aix $(LIBPL)/python.exp "" $(LIBRARY); $(PURIFY) $(CC)
#LDSHARED=       $(LIBPL)/ld_so_aix $(CC) -bI:$(LIBPL)/python.exp


the Makefile.pre.in in Zope*/lib/python gets overwritten with this
file, so uncommenting it there has no effect on the build. 

( Maybe there's a better place to change it upstream before Python's 
  make install. ) 



---|  Steven D. Majewski   (804-982-0831)  <sdm7g at Virginia.EDU>  |---
---|  Department of Molecular Physiology and Biological Physics  |---
---|  University of Virginia             Health Sciences Center  |---
---|  P.O. Box 10011            Charlottesville, VA  22906-0011  |---
		"All operating systems want to be unix, 
		 All programming languages want to be lisp." 





More information about the Python-list mailing list