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

List:       kde-devel
Subject:    Re: New: KDE1.90 does not find zlib.h (older CVS snapshots did)
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       2000-05-15 9:32:36
[Download RAW message or body]

Hi,


The problem shopuld be fixed now in CVS.


Ciao,
Michael


Am Mon, 15 Mai 2000 schrieb Oliver Tonet:
> 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.

--
koch@kde.org, m_koch@bigfoot.de
http://heaven.riednet.wh.tu-darmstadt.de/~mkoch

To me vi is Zen.  To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
                                 -- reddy@lion.austin.ibm.com


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

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