apr binary package misconfigured?

Blair Zajac blair at orcaware.com
Mon Oct 15 04:45:24 PDT 2012


On 10/15/2012 02:36 AM, Ryan Schmidt wrote:
>
> On Oct 15, 2012, at 03:42, Titus von Boxberg wrote:
>
>> I tried to port upgrade outdated subversion.
>> For some reason it wanted to compile serf1 instead of
>> installing a precompiled package.
>>
>> configure of serf1 failed because /opt/local/bin/apr-1-config
>> tells serf1's configure that the C preprocessor is 'gcc-4.2 -E'
>>
>> gcc-4.2 is not available on my machine:
>> OSX 10.6, Xcode 4.2
>>
>> Since this is the only 10.6 / 4.2 machine I have I cannot
>> decide whether this is a problem of the package (building machine)
>> or if I screwed up my installation.
>>
>> Could someone help with this decision?
>
> http://lists.macosforge.org/pipermail/macports-dev/2012-October/020636.html
>
> In this case, the package with the compiler baked in is apr.
>
> To work around the problem, you could rebuild apr on your machine.
>
> sudo port -ns upgrade --force apr
>
> Then clean serf1 before trying again.
>
> sudo port clean serf1

A good reason for MacPorts to have a ${prefix}/bin/cc that is a symlink 
to the system's compiler.

Blair



More information about the macports-dev mailing list