Perl-Tk Make Error

Kingsley Oteng-Amoako kingsley.koteng at gmail.com
Sun Dec 19 21:20:50 PST 2010


Hello Ryan,

Below is the previous error plus the couple of lines that occur before the
error,

*gcc-4.2   -arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common
-DPERL_DARWIN -fno-strict-aliasing -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*


I am actually installing TK as it is need for a Latex Packet manager tlmgr.
So assuming TK was installed properly, the gui for the packet manager would
be started as,

tlmgr gui

Do you still think it would suffice to simply install the port, given I am
using it for tlmgr?




On Sun, Dec 19, 2010 at 11:47 PM, Ryan Schmidt <ryandesign at macports.org>wrote:

> On Dec 19, 2010, at 22:17, Kingsley Oteng-Amoako wrote:
>
> > I am trying to install Perl Tk on my MacBook Pro. I downloaded Tk-804.029
> on my pac and followed the following process,
> > cd Tk-804.029
> > perl Makefile.PL
> > make
> > make test
> > sudo make install
> >
> > However after typing the second set of commands, I get a series of errors
> after the make attempt. The errors were,
> > make[3]: *** [libpng12_la-png.lo] Error 1
> > make[2]: *** [all] Error 2
> > make[1]: *** [libpng/libpng.a] Error 2
> > make: *** [subdirs] Error 2
>
> The actual error message would have been on a line earlier than that, so
> you would need to supply more of the log to know what went wrong.
>
>
> > Does anyone have suggestions on how to make the file and/or what might be
> causing the error?
>
> Is this the same as the software that's in the p5-tk port? If so, you
> should install that port, rather than trying to build it by hand.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101220/72518daf/attachment.html>


More information about the macports-users mailing list