[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#897: tried something
From: Lars Knoll <knoll () mpi-hd ! mpg ! de>
Date: 1999-04-12 13:49:00
[Download RAW message or body]
Hi Stefan,
thanks, that works now (configure finds X11 and Qt as it should...). Could you
please also apply it to the 1.1 Branch?
Perhaps I am too stupid, but now it doesn't find libjpeg6b... The only place I
have it is in /home/kde/kde/lib... :-(
checking for KDE paths... defaults
checking for main in -lcompat... (cached) no
checking for libjpeg6b... no
checking for libjpeg... no
configure: error:
You need jpeglib6b. Please install the kdesupport package.
If you have already installed kdesupport you may have an
old libjpeg somewhere.
lars@dis:/opt/src/kde/HEAD/kdelibs > tail -n 50 config.log
configure:5788: checking for KDE paths
configure:6012: checking for main in -lcompat
configure:6074: checking for libjpeg6b
configure:6103: g++ -o conftest -O2 -Wall -s conftest.C -L/home/kde/kde/lib \
-L/home/qt/qt/lib -L/usr/X11/lib -ljpeg6b -lm 1>&5 configure:6086: abstract \
declarator used as declaration
configure: failed program was:
#line 6082 "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" {
#endif
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
int version, size_t structsize);
#ifdef __cplusplus
}
#endif
/* 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; }
configure:6125: checking for libjpeg
configure:6154: g++ -o conftest -O2 -Wall -s conftest.C -L/home/kde/kde/lib \
-L/home/qt/qt/lib -L/usr/X11/lib -ljpeg -lm 1>&5 configure:6137: abstract declarator \
used as declaration
configure: failed program was:
#line 6133 "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" {
#endif
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
int version, size_t structsize);
#ifdef __cplusplus
}
#endif
/* 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; }
lars@dis:/opt/src/kde/HEAD/kdelibs >
Hmmm... Looking at config.log, this seems to be a compiler problem...
so here I have:
lars@dis:/home/lars > g++ -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
Cheers,
Lars
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic