Quoting Richard Heck <rgh...@comcast.net>:

On 09/14/2011 10:29 AM, Wolfgang Engelmann wrote:
In trying to compile the new lyx2.0.1 I encounter the following errors:

(I am using Debian squeeze)

**** The following problems have been detected by configure.
**** Please check the messages below before running 'make'.
**** (see the section 'Problems' in the INSTALL file)

** Cannot find zlib.h. Please check that the zlib library
  is correctly installed on your system.
however, dpkg-dev is installed

Is zlib.h present?

yes, as zlib1g, and it says:
compression library - runtime
zlib is a library implementing the deflate compression method found
in gzip and PKZIP.  This package includes the shared library.

** Cannot find X window libraries and/or headers.
under what package do I find these?

Something like xorg-devel.

** moc 4 binary not found !

** uic 4 binary not found !

** qt 4 library not found !

libqt4 is installed

You need the devel packages, too.

Isn't there a way on Debian of doing something like:
    apt-get build-depends lyx
?? I seem to recall such a thing, but it's been a while....


Reply via email to