apr binary package misconfigured?

Ryan Schmidt ryandesign at macports.org
Mon Oct 15 02:36:35 PDT 2012


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




More information about the macports-dev mailing list