Hi.

Long time ago, I tried to compile digikam-0.9.2. It failed, so I sticked
with 0.9.0, but I want to try again.
The problem is in jasper. Digikam believes that it isn't installed, but it
is. I've tried both 1.700 and 1.900 with the same result. Looking at
config.log (in digikam), I have this:

configure:36876: checking for jas_init in -ljasper
configure:36911: gcc -o conftest -std=iso9899:1990 -W -Wall
-Wchar-subscripts -W
shadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500
-D_BSD_SOURCE -O2  -O3 -march=athlon-tbird -pipe -ffast-math
-fomit-frame-pointe
r -fPIC -Wformat-security -Wmissing-format-attribute  -DQT_THREAD_SUPPORT
-D_RE
ENTRANT      conftest.c -ljasper -ljasper  >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libjasper.a(jas_stream.o): In
func
tion `jas_stream_tmpfile':
jas_stream.c:(.text+0x1cae): warning: the use of `tmpnam' is dangerous,
better u
se `mkstemp'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libjasper.a(jpg_dec.o): In
functio
n `jpg_decode':
jpg_dec.c:(.text+0xe3): undefined reference to `jpeg_std_error'
jpg_dec.c:(.text+0x107): undefined reference to `jpeg_CreateDecompress'
jpg_dec.c:(.text+0x117): undefined reference to `jpeg_stdio_src'
jpg_dec.c:(.text+0x12b): undefined reference to `jpeg_read_header'
jpg_dec.c:(.text+0x137): undefined reference to `jpeg_start_decompress'
jpg_dec.c:(.text+0x318): undefined reference to `jpeg_read_scanlines'
jpg_dec.c:(.text+0x35c): undefined reference to `jpeg_finish_decompress'
jpg_dec.c:(.text+0x368): undefined reference to `jpeg_destroy_decompress'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libjasper.a(jpg_enc.o): In
functio
n `jpg_encode':
jpg_enc.c:(.text+0x3cd): undefined reference to `jpeg_std_error'
jpg_enc.c:(.text+0x3f1): undefined reference to `jpeg_CreateCompress'
jpg_enc.c:(.text+0x405): undefined reference to `jpeg_stdio_dest'
jpg_enc.c:(.text+0x452): undefined reference to `jpeg_set_defaults'
jpg_enc.c:(.text+0x4b6): undefined reference to `jpeg_set_quality'
jpg_enc.c:(.text+0x4c2): undefined reference to `jpeg_default_colorspace'
jpg_enc.c:(.text+0x4d6): undefined reference to `jpeg_start_compress'
jpg_enc.c:(.text+0x592): undefined reference to `jpeg_write_scanlines'
jpg_enc.c:(.text+0x5c0): undefined reference to `jpeg_finish_compress'
jpg_enc.c:(.text+0x5c8): undefined reference to `jpeg_destroy_compress'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libjasper.a(jas_cm.o): In
function
 `jas_cmshapmatlut_set':
jas_cm.c:(.text+0xb5e): undefined reference to `pow'
collect2: ld returned 1 exit status

And then configure believes that jasper isn't there. But it is, and compiled
with no error.
You can see that I have some cflags too, but I've tried disabling them and
it still doesn't work. Has anybody been able to compile digikam-0.9.2?

Thanks
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to