[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    New: KDE1.90 does not find zlib.h (older CVS snapshots did)
From:       Oliver Tonet <Oliver.Tonet () sophia ! inria ! fr>
Date:       2000-05-15 8:43:24
[Download RAW message or body]

Hi all,
There's now over a month that I am compiling/running the CVS
sources of KDE 2.0-pre. All went fine until about May 10.
With the more recent distributions and with kde-1.90 I get
problems with zlib.

I compiled and installed QT 2.1. When I try to configure
kde-qt-addon 1.90 and/or kdesupport 1.90, the configure string I
used up to now:

  configure --prefix=$HOME/usr/local/kde2 --with-qt-dir=$QTDIR \
  --with-qt-libraries=$QTDIR/lib --with-qt-includes=$QTDIR/include \
  --with-install-root=$HOME --with-extra-libs=/usr/local/zlib/lib \
  --with-extra-includes=/usr/local/zlib/include \
  --with-extra-includes=$HOME/include \
  --with-extra-libs=$HOME/lib/linux  

failes:

  [...]
  checking for libz... configure: error: not found. Check your
  installation and look into config.log   

Config.log reports:

  configure:3186: gcc -o conftest -O2    conftest.c  -lz  1>&5
  configure:3179: zlib.h: No such file or directory
  configure: failed program was:
  #line 3177 "configure"
  #include "confdefs.h"
 
  #include<zlib.h>
 
  int main() {
  return (zlibVersion() == ZLIB_VERSION);
  ; return 0; }                              

But zlib.h is still there, in /usr/local/zlib/include

In fact I tried to compile manually the test program:

  #include<zlib.h>
  int main() {
  return (zlibVersion() == ZLIB_VERSION);
  ; return 0; }                                                                       \


with

  gcc -O2 test.c -lz -I/usr/local/zlib/include -L/usr/local/zlib/lib

it works.

What's wrong?
Any suggestion is welcome.

Oly

PS: I'm running RH6.1 on i686 and have no sysadm rights on this
machine.
__________________________________________________________________
   ,-~~-.___.            
  / |  -,    \    Stat rosa pristina nomine, nomina nuda tenemus.
 (  )         0    
  \_/-, ,----'        Oliver Tonet
     ====         //  Epidaure, INRIA Sophia Antipolis
    /  \-'~;   /~~(O) 2004 Route des Lucioles, B.P. 93
   /  __/~|  /      | 06902 Sophia Antiplis Cedex, France
 =(  _____|(________| Tel +33 (0)4-9238-7153 ; Fax (0)4-9238-7669


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic