Hi,

Our group ended  up needing a non-universal x86_64 framework build because
we had  trouble building some modules with the non-framework build. We had
to modify the makefile in two places to get it to work. First we fixed a
place where configure generates '-arch_only i386'. That fixes the the build
phase. Then we got rid of some install targets that  were trying to pull  in
Carbon code. 

The first problem seems like it could easily be fixed by somebody who
understands the configure script.

I'm not sure what's going on with the second problem. Is
--disable-toolbox-glue not being handled  correctly when the install target
is generated? It seems like the build phase is skipping the Carbon dependent
extension modules correctly but install is trying to pull in modules that
depend on those disabled modules. FYI, here's what  were doing:

./configure --prefix=${HOME} --with-cxx-main='/usr/bin/mpicxx -arch x86_64'\
--enable-framework=${HOME} --disable-toolbox-glue CC='/usr/bin/mpicc -arch \
x86_64' CXX='/usr/bin/mpicxx -arch x86_64' LDFLAGS='-framework Accelerate \
-arch x86_64'

Edit Makefile to replace  -arch_only i386 with -arch_only x86_64 and remove
frameworkinstallmaclib and frameworkinstallapps from the altinstall: target.
 
diff Makefile Makefile~
457c457
<              -lSystem -lSystemStubs -arch_only x86_64 -install_name
$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
-compatibility_version $(VERSION) -current_version $(VERSION) ;\
---
>              -lSystem -lSystemStubs -arch_only i386 -install_name
$(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)
-compatibility_version $(VERSION) -current_version $(VERSION) ;\
741c741
<                 sharedinstall oldsharedinstall
frameworkaltinstallunixtools
---
>                 sharedinstall oldsharedinstall frameworkinstallmaclib
frameworkinstallapps frameworkaltinstallunixtools

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to