mod_* & libtool

Bjarne D Mathiesen macintosh at mathiesen.info
Sun Jun 3 09:05:44 PDT 2012


Bradley Giesbrecht wrote:
> 
> On Jun 3, 2012, at 7:36 AM, Bjarne D Mathiesen wrote:
> 
>> I'm in the process of re-writing the active and/or working mod_* ports
>> for the new Debian/Ubunto layout.
>>
>> However, I've run into a problem with most of them :-(
>> They are all installing perfectly under the present Apache layout.
>>
>> I've compared the logs from a perfect install & a failed install.
>> What goes wrong is the following :
>>
>> /macportstest/share/apr-1/build/libtool --silent --mode=link --tag=CC
>> /usr/bin/clang -o mod_chroot.la  -rpath  -module -avoid-version
>> mod_chroot.lo
>>
>> the -rpath is empty on a failed build.
>> As far as I can see, -rpath ought to be the dir where the module is
>> going to be installed , but setting :
>> 	--libexecdir=[dict get ${apache} libexecdir] \
> 
> 
> FYI, the tcl (8.4.7) supplied with Leopard (Mac OS X 10.5) does not appear to have "dict".
> 
> Perhaps we can use an array so we don't leave Leopard behind unnecessarily?
> http://www.tcl.tk/man/tcl8.4/TclCmd/array.htm#M16
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

hmmm ... macports has 8.5.11
can we fix it so that macports uses it's own tcl after installation ???

But let me get this problem fixed first ... then we can take a look at
whether and how /dict/ breaks under 10.5

I've used /dict/ extesively in Apache2, & it's uploaded to your
bitbucket so you've got the opportunity to test it under 10.5 on a
build-bot :-) I don't ahve an active 10.5 at present :-(

I used the manual that the macports guide refers to as my guide in
writing my port scripts
http://tmml.sourceforge.net/doc/tcl/

:-) Happy Hacking :-)
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list