mod_* & libtool

Bradley Giesbrecht pixilla at macports.org
Sun Jun 3 09:45:17 PDT 2012


On Jun 3, 2012, at 9:05 AM, Bjarne D Mathiesen wrote:

> 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 :-(

You got it! I'll test on 10.5 and report/fix breakage.

Are you working on a PortGroup file as well?


Regards,
Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120603/d3cc550f/attachment-0001.bin>


More information about the macports-dev mailing list