Bug 67030 - checking for libz... configure: error: not found --> this dependence exists and run. Others programs compile with this whithout a problems.
Summary: checking for libz... configure: error: not found --> this dependence exists a...
Status: RESOLVED INTENTIONAL
Alias: None
Product: unknown
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-02 07:05 UTC by Altair
Modified: 2007-12-18 11:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Altair 2003-11-02 07:05:27 UTC
Version:           koffice-1.2.94 (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.2.3 
OS:          Linux

checking for extra includes... added
checking for extra libs... added
checking for libz... configure: error: not found.
          Possibly configure picks up an outdated version
          installed by XFree86. Remove it from your system.

Params used:

./configure --prefix=/usr/local/Apps/KDE-3.1.4/ --with-extra-includes=/usr/local/Depen/zlib-1.1.4/include/ --with-extra-libs=/usr/local/Depen/zlib-1.1.4/lib
Comment 1 Stephan Kulow 2003-11-02 11:48:51 UTC
check your config.log
Comment 2 Altair 2003-11-03 20:08:32 UTC
I was download the snapshot of the day (3-11-2003) and I have the bug again.
Comment 3 Thiago Macieira 2003-11-04 03:10:46 UTC
The problem is not in our packages, it's in your system. Downloading again won't make it go away.
Comment 4 Altair 2003-11-04 06:49:08 UTC
If is in my system, why others programs compile whith zlib whithout a problems?.

Another question. The status is "RESOLVED", where I get a version whith the problem solved?
Comment 5 Thiago Macieira 2003-11-04 15:24:15 UTC
It's RESOLVED WONTFIX, meaning we won't try to fix this. I'd have closed it as RESOLVED INVALID, meaning it's not a bug.

Check your config.log as has been requested more than once already. You probably have more than one libz in your system and KDE is trying to link against the wrong one. Actually, isn't that what the configure script told you?

Have you checked that? If it was there, have you removed it? Have you made certain that you have one libz only?
Comment 6 Altair 2003-11-07 07:04:15 UTC
Subject: Re:  checking for libz... configure: error: not found --> this depend

Yes!, the error is in my system. The XFree86 4.3.0 was install a previous 
version of libz, what causes the error. I was updated this and, now, libz is 
detected without a problems :)

Another problem. Koffice 1.2.1 says need libart 2.3.8. libart 2.3.8 wants 
Qt>=3.2. But I not found what parameters I need for install Qt 3.2 for 
libart 2.3.8. I was tried with:

./configure -system-zlib -qt-gif -system-libpng -system-libjpeg 
-plugin-imgfmt-mng -thread -no-stl -no-xinerama -no-g++-exceptions

what are the parameters for Qt 3.0.3 (detected without problems), but not 
run. The configure script says:

checking for Qt... configure: error: Qt (>= Qt 3.2) (library qt-mt) not 
found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

and in the config.log, I found:

configure:25633: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -W -Wpoin
ter-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -Wchar-subscripts
-O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -I/usr/local/qt-x1
1-free-3.2.0//include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  
-D_REENTRANT  -L/usr/local/qt-x11-free-3.2.0/
/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  
-lXext -lX11 -lSM -lICE  -lpthread 1>&
5
/usr/local/qt-x11-free-3.2.0//lib/libqt-mt.so: undefined reference to 
`FT_Stream_GetShort'
/usr/local/qt-x11-free-3.2.0//lib/libqt-mt.so: undefined reference to 
`FT_Stream_ExitFrame'
/usr/local/qt-x11-free-3.2.0//lib/libqt-mt.so: undefined reference to 
`FT_Stream_GetLong'
/usr/local/qt-x11-free-3.2.0//lib/libqt-mt.so: undefined reference to 
`FT_Stream_Seek'
/usr/local/qt-x11-free-3.2.0//lib/libqt-mt.so: undefined reference to 
`FT_Stream_EnterFrame'
collect2: ld returned 1 exit status
configure:25636: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030200)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:25676: error: Qt (>= Qt 3.2) (library qt-mt) not found. Please 
check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

...and, yes, I was used -thread in the parameters. In the configure script 
of libart 2.3.8, I was used --with-qt-dir=/usr/local/Depen/qt-x11-free-3.2.0

I was download libart 2.3.8 using CVS, no other way for download others 
versions. Libart is in
http://svg.kde.org/download.html

Some idea?

_________________________________________________________________
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu 
ocio con MSN Entretenimiento. http://entretenimiento.msn.es/