[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: libz problem when configuring a separate kde application
From: Erik Sigra <sigra () home ! se>
Date: 2002-02-14 14:39:36
[Download RAW message or body]
I tried to configure a separate kde application, but configure ends with:
checking for libz... configure: error: not found. Check your installation and
look into config.log
This is the test program:
#include<zlib.h>
int
main ()
{
return (zlibVersion() == ZLIB_VERSION);
;
return 0;
}
The command line is:
gcc -o conftest -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -g -O2
-I/usr/X11R6-4.2.0/include conftest.c -L/usr/X11R6-4.2.0/lib -lz
I tried to compile the test program with the same command line except that I
removed "-L/usr/X11R6-4.2.0/lib ". Then it worked. But how do I teach
configure to do that?
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic