From owner-freebsd-questions Thu May 30 19:34:59 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lerlaptop.lerctr.org (ppp30-52.ght.iadfw.net [207.136.52.116]) by hub.freebsd.org (Postfix) with ESMTP id 60EF537B405 for ; Thu, 30 May 2002 19:34:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop.lerctr.org (8.12.3/8.12.3) with ESMTP id g4V2YiM2004332; Thu, 30 May 2002 21:34:45 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: libpng - what's the secret to getting it installed? From: Larry Rosenman To: Chip Wiegand Cc: Questions FreeBSD In-Reply-To: <1022806931.177.22.camel@chip.wiegand.org> References: <1022806931.177.22.camel@chip.wiegand.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 30 May 2002 21:34:44 -0500 Message-Id: <1022812485.4248.0.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Err... whats wrong with /usr/ports/graphics/png On Thu, 2002-05-30 at 20:02, Chip Wiegand wrote: > 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 > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message