Quoting Liviu Andronic <landronim...@gmail.com>:

On Wed, Sep 14, 2011 at 4:29 PM, Wolfgang Engelmann
<engelm...@uni-tuebingen.de> 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

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

You're missing most *-dev packages for Qt. Try to run
'apt-get build-dep lyx'

Thanks, Liviu,
but:

and then ./configure && make.

Please report if it worked.

root@wolfgang:/home/wolfgang/Downloads/lyx-2.0.1# apt-get build-dep lyx
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
E: Datei /var/lib/apt/lists/security.debian.org_dists_squeeze_updates_contrib_source_Sources konnte nicht geöffnet werden - open (2: Datei oder Verzeichnis nicht gefunden)


Is something wrong with my /etc/apt/sources.list?
->

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free

Wolfgang

Reply via email to