Good Morning Greg:

After you have the png development system installed, you can
follow the source build instructions from: src/product/README.building.source

http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob_plain;f=src/product/README.building.source;hb=HEAD

Note item #7 in the "known problems" list for this PNG issue.

--Hiram

----- Original Message -----
From: "Adam Huffman" <[email protected]>
To: "Greg McInnes" <[email protected]>
Cc: [email protected]
Sent: Wednesday, March 23, 2011 9:15:39 AM
Subject: Re: [Genome] blat linux

On Wed, Mar 23, 2011 at 2:15 AM, Greg McInnes <[email protected]> wrote:
> Hello,
>
> I have been trying to install blat on my linux server.  I set the $MACHTYPE
> to x86_64.  cd kent/src/lib make, and get this error:
>
> [root@BatLC1 lib]# make
> gcc -O -g  -Wall -Werror -Wformat -Wimplicit -Wreturn-type -Wuninitialized
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DMACHTYPE_x86_64
> -DCOLOR32   -Wall -Werror -Wformat -Wimplicit -Wreturn-type -Wuninitialized
> -I../inc -I../../inc -I../../../inc -I../../../../inc -I../../../../../inc
> -o pngwrite.o -c pngwrite.c
> pngwrite.c:7:87: error: png.h: No such file or directory
> make: *** [pngwrite.o] Error 1
>
>
> Any help is appreciated.
>

Gregory,

You need the libpng headers.  On Fedora/Centos etc. systems, you'll need:

libpng-devel

or

libpng-dev

on Debian/Ubuntu-type systems.


Adam

_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to