On Fri, 17 Jan 2003, Greg Julius wrote:

> When I first compiled, it couldn't find png.h so I went and found
> that.  Then it said it needed zlib so I went and found that.  Installed
> zlib with no apparent errors.  Then installed libpng with no apparent
> errors.  Recompiled again.  Still couldn't find png.h.

You need the development version of the rpm, I think.

> Q1:  I thought the make install was supposet to move the stuff in.  Is my
> thinking broke here?

No.  But the source code from XFree86 may have a different opinion of
where to move things (and which things to move in!) than Red Hat -- or
SuSE, or Debian, or ...

> Moved png.h to /usr/local/include (and then several others as iterations
> found them) and now when I compile I get the above errors.  I tried moving
> the libpng.so to /usr/lib/  (actually a symbolic link).  Still no go.

The problem isn't that it can't find libpng.so -- the problem is that it
can't find deflate and friends (from zlib, I think) that libpng.so depends
on.

> I've got a zillion zlibs on this system.  I have my source at
> /usr/src/zlib-1.1.4 and symbolic link to same as /usr/src/zlib.

It is not looking for the source to zlib, only for the lib so it can
satisfy the dependencies that libpng has.

> Q2 & 3: There is no zlib.so anywhere and I have the deflate.o (and all the
> rest) where the source is.  Where should I put them?  I see there is a
> deflate.c in the XFree86 cvs tree - shouldn't it be building and using that?

Can you find an RPM with zlib?  Preferably a devel version?

> Thanks again for all of your patience and assistance.

It's okay as long as you 1) make progress, 2) ask good questions where we
don't have to guess too much 3) make an effort to look up the obvious
before you post and 4) mostly follow instructions :)

As long as somebody does that I don't mind helping him/her :)  -- it's
actually fun then!

-Peter


_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to