POV-Ray : Newsgroups : povray.unix : Misleading error message building 3.7 in Debian Server Time: 27 Jun 2019 04:34:11 GMT
  Misleading error message building 3.7 in Debian (Message 1 to 1 of 1)  
From: hgonzalez
Subject: Misleading error message building 3.7 in Debian
Date: 15 Dec 2013 03:00:01
Message: <web.52ad1af6c7e9a98f82daf5ab0@news.povray.org>
I grabbed the source from GIT, installed the required packages and run
../configure ...
and I got the error message:  "no suitable ZLIB version" , after the "checking
for library containing zlibVersion" line:

.....
checking if more special flags are required for pthreads
checking for boostlib >= 1.37
checking whether the Boost::Thread library is available
checking for exit in -lboost_thread-mt
checking whether the boost thread library is usable
checking for sin in -lmkl
checking for sin in -lm
checking for clock_gettime in -lrt
checking whether to use the ZLIB library
checking for library containing zlibVersion


I was puzzled, because I had zlib1g-dev installed, and I lost some time (I even
tried to reinstall the package) before realizing, peeking inside the config.log,
that the error message was wrong.
What happened was that the C program used by that particular test (library
containing zlibVersion) failed because an unrelated error: it could not link the
-lboost_system (I guess that should have been tested somewhere before)

After running "apt-get install libboost-all-dev" it all went ok.

I think this is a bug in the configure script.


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.