Some quick help for a noob

Anonymous

2002-12-04 14:11:00

Hi folks, bear with me as I'm new to the unix end of things. I'm trying to compile the command line tool "Scale2x" from http://scale2x.sourceforge.net/. The readme in the source code for this tool says that it requires the libpng library, so I have downloaded libpng from here and installed it by using the standard mac os x pkg installer.

Now, when I type gcc scale2x.c I get a bunch of errors that appear to be related to me not having libpng installed- like

header file 'png.h' not found
undefined type, found `png_byte'

and so on.

What am I doing wrong?

jesustoast

2002-12-05 03:35:00

try
./configure
make

or use the install-sh script
sh install-sh