Error installing p5-net-libidn

Ryan Schmidt ryandesign at macports.org
Thu Feb 11 17:53:11 PST 2010


On Feb 11, 2010, at 19:30, Scott Haneda wrote:

> So if I get this correct, I should just remove libidn, then p5-net-libidn will install fine?

I would have guessed so.


> $port installed libidn
> The following ports are currently installed:
>  libidn @1.15_0 (active)
> 
> $sudo port uninstall libidn
> --->  Deactivating libidn @1.15_0
> --->  Uninstalling libidn @1.15_0
> 
> $port installed libidn
> None of the specified ports are installed.
> 
> $sudo port -d install p5-net-libidn 2>&1 | tee ~/Desktop/p5-net-libidn.txt
> 
> Results:
> http://dl.dropbox.com/u/340087/drops/02.11.10/p5-net-libidn-fc9f6575-172724.txt

Looks like you successfully built libidn again. Is it now built for x86_64? I suspect it is now.

p5-net-libidn did not build because you did not clean it since the last attempt.


> Still seems to be trying to go 64

Yes; everything you build on Snow Leopard should by default be built 64-bit. This is normal. What wasn't normal was that your libidn.dylib wasn't 64-bit for some reason.


> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2'
> 
> So this means I need to add +univeral to libidn, and install it by hand ahead of time?  How so I solve this so that end users need not worry about this, when they just want to `sudo port install ASSP`.

No, you don't need universal. You just need all the architectures to match, which, unless you mess with build_arch or install parts on 10.5 and parts on 10.6, should just happen automatically.





More information about the macports-users mailing list