1
A friend tried to install Perl/Tk 804.029 from source on his MacBook Pro, but it failed during the build of the internal zlib archive:
$ cpanp -i Tk [...] cd zlib && make libz.a "CC=llvm-gcc-4.2 " RANLIB="/usr/bin/ar s" [...] llvm-gcc-4.2 -arch x86_64 -arch i386 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -DUSE_MMAP -c -o inffast.o inffast.c ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o zutil.o inflate.o infback.o inftrees.o inffast.o ar: libz.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) ar: libz.a: Inappropriate file type or format make[2]: *** [libz.a] Error 1 make[1]: *** [zlib/libz.a] Error 2 make: *** [subdirs] Error 2
sudo port install p5-tk – Jared Burrows – 2013-09-09T05:11:28.430