Subject: Re: Can't build kdelibs
To: Hubert Feyrer <>
From: Paul Hoffman <>
List: tech-pkg
Date: 01/04/2001 18:13:57
At 1:20 AM +0100 1/5/01, Hubert Feyrer wrote:
>On Thu, 4 Jan 2001, Paul Hoffman wrote:
>>  making kdelibs dies with:
>>  . . .
>>  checking for jpeglib... configure: error:
>>  You need jpeglib6a. Please install the kdesupport package.
>>  If you have already installed kdesupport, you may have an
>>  old libjpeg somewhere.
>Please send config.log

The relevant lines (which is the end of the log) are:

configure:5736: checking for jpeglib
configure:5772: cc -o conftest -O2 -I/usr/local/include 
-I/usr/local/include   -
Wl,-R/usr/X11R6/qt1/lib  -L/usr/X11R6/qt1/lib -Wl,-R/usr/X11R6/lib 
lib -Wl,-R/usr/local/lib -L/usr/local/lib -Wl,-R/usr/X11R6/qt1/lib 
/qt1/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/local/lib 
/lib conftest.c -L/usr/X11R6/lib -L/usr/X11R6/qt1/lib 
-Wl,-R/usr/local/lib -L/us
r/local/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib  -ljpeg -lm 1>&5
/usr/bin/ld: cannot open -ljpeg: No such file or directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 5751 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
struct jpeg_decompress_struct;
typedef struct jpeg_decompress_struct * j_decompress_ptr;
typedef int size_t;
#ifdef __cplusplus
extern "C" {
     void jpeg_CreateDecompress(j_decompress_ptr cinfo,
                                     int version, size_t structsize);
#ifdef __cplusplus
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */

int main() {
jpeg_CreateDecompress(0L, 0, 0);
; return 0; }