[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: CVS HEAD - kview broken ?
From: Pavel Troller <patrol () sinus ! cz>
Date: 2002-04-12 17:32:10
[Download RAW message or body]
Hi!
Thank You for Your reply!
> The KViewViewer KPart asks the ComponentFactory for a Widget implementing the
> KImageViewer::Canvas interface. This component is in
> kdegraphics/kview/kviewcanvas/. If this isn't properly installed the KPart
> can't load the canvas and therefor crashes later.
I can't find anything wrong on the above component:
root@arcus:/usr/src/kde3/kdegraphics/kview/kviewcanvas# make install
...crap skipped...
make[2]: Entering directory `/usr/src/kde3/kdegraphics/kview/kviewcanvas'
/bin/sh ../../admin/mkinstalldirs /opt/kde3/lib/kde3
/bin/sh ../../admin/mkinstalldirs /opt/kde3/share/services
/bin/sh ../../libtool --mode=install /usr/bin/ginstall -c -p libkviewcanvas.la \
/opt/kde3/lib/kde3/libkviewcanvas.la /usr/bin/ginstall -c -p -m 644 \
kviewcanvas.desktop /opt/kde3/share/services/kviewcanvas.desktop
/usr/bin/ginstall -c -p .libs/libkviewcanvas.so /opt/kde3/lib/kde3/libkviewcanvas.so
/usr/bin/ginstall -c -p .libs/libkviewcanvas.lai /opt/kde3/lib/kde3/libkviewcanvas.la
root@arcus:/usr/src/kde3/kdegraphics/kview/kviewcanvas# l \
/opt/kde3/lib/kde3/libkviewcanvas.*
-rwxr-xr-x 1 root root 1455 Apr 12 07:39 \
/opt/kde3/lib/kde3/libkviewcanvas.la
-rwxr-xr-x 1 root root 63460 Apr 12 07:39 \
/opt/kde3/lib/kde3/libkviewcanvas.so
... and finally I made a strace of kview and there is...
access("/home/patrol/.kde3/lib/kde3/libkviewcanvas.la", R_OK) = -1 ENOENT (No such \
file or directory) access("/opt/kde3/lib/kde3/libkviewcanvas.la", R_OK) = 0
SYS_195(0x80e1240, 0xbfffeaa0, 0x80d7468, 0xbfffec30, 0x80e1240) = 0
open("/opt/kde3/lib/kde3/libkviewcanvas.la", O_RDONLY) = 11
SYS_197(0xb, 0xbfffeae0, 0x41034c00, 0x4103864c, 0xb) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40dda000
read(11, "# libkviewcanvas.la - a libtool "..., 4096) = 1455
read(11, "", 4096) = 0
close(11) = 0
munmap(0x40dda000, 4096) = 0
open("/opt/kde3/lib/kde3/libkviewcanvas.so", O_RDONLY) = 11
read(11, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\222\0"..., 1024) = 1024
SYS_197(0xb, 0xbfffe478, 0x41034c00, 0x4103864c, 0xb) = 0
mmap(NULL, 66204, PROT_READ|PROT_EXEC, MAP_PRIVATE, 11, 0) = 0x41639000
mprotect(0x41648000, 4764, PROT_NONE) = 0
mmap(0x41648000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 11, 0xe000) = \
0x41648000 close(11) = 0
>
> Please check, that the kviewcanvas got installed correctly. I don't know what
> your exact problem could be, but let me know if you find something I need to
> fix :-)
I cannot tell You what to fix, but I can see it being installed, present on its
place and even loaded into the kview. I really don't know why it claims it
cannot use it.
A few bits about my system:
- Linux 2.4.18, glibc 2.2.5
- Compiled with gcc-3.0.4, objprelink and binutils-2.12.
With regards, Pavel Troller
> > 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