From kfm-devel Wed Aug 29 16:43:09 2012 From: Sergey Borovkov Date: Wed, 29 Aug 2012 16:43:09 +0000 To: kfm-devel Subject: Re: KLook - quick preview extension for Dolphin Message-Id: X-MARC-Message: https://marc.info/?l=kfm-devel&m=134625860204345 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--047d7b6dcaf0ff904d04c86a404d" --047d7b6dcaf0ff904d04c86a404d Content-Type: text/plain; charset=UTF-8 I think you can fix build by linking with x11. I will fix patch tomorrow (not sure how I managed to mess it up). I would do it now but I just have phone with me ( On Aug 29, 2012 8:18 PM, "Frank Reininghaus" wrote: > 2012/8/28 Sergey Borovkov: > > Here are fixed versions. (btw - to make klook icon visible you need to > > enable it in dolphin general settings). > > Thanks. It seems that there are new files missing in the patch: > > CMake Error at > /home/kde-devel/kde/share/apps/cmake/modules/KDE4Macros.cmake:1041 > (add_library): > Cannot find source file: > > kitemviews/kitemlistklooktoggle.cpp > > Moreover, linking KLook fails here: > > Linking CXX executable klook > /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: > CMakeFiles/klook.dir/src/declarativeviewer.o: undefined reference to > symbol 'XInternAtom' > /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: > note: 'XInternAtom' is defined in DSO /usr/lib64/libX11.so.6 so try > adding it to the linker command line > /usr/lib64/libX11.so.6: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > make[2]: *** [klook] Error 1 > make[1]: *** [CMakeFiles/klook.dir/all] Error 2 > make: *** [all] Error 2 > --047d7b6dcaf0ff904d04c86a404d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I think you can fix build by linking with x11. I will fix patch tomorrow= (not sure how I managed to mess it up). I would do it now but I just have = phone with me (

On Aug 29, 2012 8:18 PM, "Frank Reininghaus= " <frank78ac@googlemail= .com> wrote:
2012/8/28 Sergey Borovkov:
> Here are fixed versions. (btw - to make klook icon visible you need to=
> enable it in dolphin general settings).

Thanks. It seems that there are new files missing in the patch:

CMake Error at /home/kde-devel/kde/share/apps/cmake/modules/KDE4Macros.cmak= e:1041
(add_library):
=C2=A0 Cannot find source file:

=C2=A0 =C2=A0 kitemviews/kitemlistklooktoggle.cpp

Moreover, linking KLook fails here:

Linking CXX executable klook
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:<= br> CMakeFiles/klook.dir/src/declarativeviewer.o: undefined reference to
symbol 'XInternAtom'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld:<= br> note: 'XInternAtom' is defined in DSO /usr/lib64/libX11.so.6 so try=
adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [klook] Error 1
make[1]: *** [CMakeFiles/klook.dir/all] Error 2
make: *** [all] Error 2
--047d7b6dcaf0ff904d04c86a404d--