Perl-Tk Make Error

Ryan Schmidt ryandesign at macports.org
Sun Dec 19 20:47:51 PST 2010


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.




More information about the macports-users mailing list