Error installing p5-net-libidn

Ryan Schmidt ryandesign at
Thu Feb 11 19:23:13 PST 2010

On Feb 11, 2010, at 20:45, Scott Haneda wrote:

>> Looks like you successfully built libidn again. Is it now built for x86_64? I suspect it is now.
> Yes, but I suspect it always was:
>    $lipo -info /opt/local/lib/libidn.dylib
>    Non-fat file: /opt/local/lib/libidn.dylib is architecture: x86_64

If libidn.dylib is x86_64, and you're building p5-net-libidn for x86_64, then the error message "warning: in /opt/local/lib/libidn.dylib, file is not of required architecture" does not make any sense.

>> p5-net-libidn did not build because you did not clean it since the last attempt.
> I just ran this:
>    $sudo port -d clean p5-net-libidn
> So it should be cleaned now

And it still does not build? I can't think of another reason why, if the error message is staying the same.

Let's try cleaning out everything and let's see the whole debug output.

sudo port -f uninstall libidn
sudo port clean libidn p5-net-libidn
sudo port -d install p5-net-libidn 2>&1 | tee ~/Desktop/p5-net-libidn.txt

If that still doesn't build, I'll take a look at your p5-net-libidn.txt and compare it to mine.

> Does this output after the above command have anything to do with it?
> DEBUG: Found port in file:///opt/local/var/macports/sources/
> DEBUG: Changing to port directory: /opt/local/var/macports/sources/
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.2.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
> System Arch: i386 is wrong

It's a little confusing, but this is not in fact wrong. System Arch will either be ppc (on any PowerPC Mac, 32-bit or 64-bit) or i386 (on any Intel Mac, 32-bit or 64-bit). This is not the same thing as build_arch.

More information about the macports-users mailing list