Justin Erenkrantz wrote .. > On Thu, Aug 17, 2006 at 06:08:48PM -0400, Graham Dumpleton wrote: > > > > and it just goes haywire. > > > > You are going to have to explain 'haywire' by posting up the actual error > > output from compiler or otherwise. > > The extracted values for LINKFORSHARED depends on values not present in > the > Makefile: PYTHONFRAMEWORKDIR / VERSION / PYTHONFRAMEWORK producing a Makefile > LDFLAGS like so: > > LDFLAGS= -Wl,-framework,Python -u __dummy -u _PyMac_Error -framework System > $(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK) -framework > CoreServices -framework Foundation -Wl,-F. -Wl,-F. > > The undefined symbols causes LDFLAGS to reduce to: > > LDFLAGS= -Wl,-framework,Python -u __dummy -u _PyMac_Error -framework System > /Versions// -framework CoreServices -framework Foundation > > That's a syntax error that is detected at link-time of mod_python.so with: > > .../libtool --silent --mode=link ccache gcc -o mod_python.la -rpath > .../httpd-trunk/modules -module -avoid-version hlistobject.lo hlist.lo > filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo > requestobject.lo _apachemodule.lo mod_python.lo -Wl,-framework,Python -u > __dummy -u _PyMac_Error -framework System /Versions// -framework CoreServices > -framework Foundation -Wl,-F. -Wl,-F. -lm -framework Python -ldl > powerpc-apple-darwin8-gcc-4.0.1: /Versions//: No such file or directory
Which 'libtool' is your build using? Are you using a version of Apache newer that 2.2.2? That you reference 'httpd-trunk' suggests you are. Was there changes to libtool in trunk since Apache 2.2.2 was released? I see the bad arguments as well: /usr/local/apache-2.0/build/libtool --silent --mode=link gcc -o mod_python.la -rpath /usr/local/apache-2.0/modules -module -avoid-version hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo -Wl,-framework,Python -u __dummy -u _PyMac_Error -framework System /Versions// -framework CoreServices -framework Foundation -Wl,-F. -Wl,-F. -lm -framework Python -ldl but I get no complaints under Apache 2.0.59 or 2.2.2 and it compiles okay. So, agree that it is not good that the malformed argument is getting in there, but still don't know why it is dying for you unless it is specifically related to you using Apache from subversion trunk and thus why no one else is seeing it. Graham