Error installing p5-net-libidn
Scott Haneda
talklists at newgeo.com
Thu Feb 11 18:45:15 PST 2010
On Feb 11, 2010, at 5:53 PM, Ryan Schmidt wrote:
> On Feb 11, 2010, at 19:30, Scott Haneda wrote:
>
>> $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.
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
> 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
>> 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.
As far as I can tell, it was.
>> 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.
I am leaning on something more obscure here now.
$sudo port -d clean p5-net-libidn
$sudo port -d install p5-net-libidn
Does this output after the above command have anything to do with it?
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn
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
If you have some steps you would like me to try, and I am doing something wrong this time around, let me know, I am happy to try them out. This is just my test machine, so I can be pretty aggressive with what I do on it.
Thank you Ryan.
--
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the macports-users
mailing list