Date: 30 May 2002 18:02:11 -0700 From: Chip Wiegand <chip@wiegand.org> To: Questions FreeBSD <questions@FreeBSD.ORG> Subject: libpng - what's the secret to getting it installed? Message-ID: <1022806931.177.22.camel@chip.wiegand.org>
next in thread | raw e-mail | index | archive | help
I don't see a port for libpng, so I downloaded libpng-1.2.3.tar.gz from libpng.org. I moved it to /usr/local, then copied the makefile.freebsd to makefile. I then ran make test, and it passed. I then ran /usr/local/libpng-1.2.3/pngtest -m *.png and it passes that test also. I also ran pngtest pngnow.jpg, but that file does not exist, so I ran pngtest pngbar.jpg, and it fails, though the file does exist. Here's the errors: chip# ./pngtest pngbar.jpg Testing libpng version 1.2.3 with zlib version 1.1.3 libpng version 1.2.3 - May 21, 2002 Copyright (c) 1998-2002 Glenn Randers-Pehrson Copyright (c) 1996-1997 Andreas Dilger Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. library (10203): libpng version 1.2.3 - May 21, 2002 (header) pngtest (10203): libpng version 1.2.3 - May 21, 2002 (header) sizeof(png_struct)=588, sizeof(png_info)=288 libpng error: Not a PNG file Testing pngbar.jpg:pngbar.jpg -> pngout.png: libpng read error Testing pngbar.jpg: FAIL libpng error: Not a PNG file Testing pngbar.jpg:pngbar.jpg -> pngout.png: libpng read error Testing pngbar.jpg: FAIL libpng error: Not a PNG file Testing pngbar.jpg:pngbar.jpg -> pngout.png: libpng read error FAIL Current memory allocation: 0 bytes Maximum memory allocation: 63092 bytes Total memory allocation: 189276 bytes Number of allocations: 42 libpng FAILS test Here is the errors when I run make install - chip# make install cd /usr/local/libpng-1.2.3 && install -C -o root -g wheel -m 444 png.h /usr/local/include/libpng cd /usr/local/libpng-1.2.3 && install -C -o root -g wheel -m 444 pngconf.h /usr/local/include/libpng install -c -o root -g wheel -m 444 libpng.a /usr/local/lib install -c -s -o root -g wheel -m 444 libpng.so.5 /usr/local/lib install: libpng.so.5: No such file or directory *** Error code 71 Stop in /usr/local/libpng-1.2.3. According to the INSTALL file there should be a file pngnow.jpg, but it does not exist, so I can't run that test properly, so I substitued pngbar.jpg (as above), and it fails. I am using FreeBSD-4.6-RC. If anyone has gotten this to work, maybe you could help me? -- Chip W www.wiegand.org chip@wiegand.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1022806931.177.22.camel>