On 9 January 2012 11:46, Gilles Caulier <span dir="ltr"><<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
ok,<br>
<br>
next component used by libkgeomap is khtml. It's html parser used by<br>
konqueror web browser to display googlemaps.<br>
<br>
Konqueror work fine on your computer ?<br>
<br>
Other test about libkgeomap : trhis library come with a test program<br>
name calibrator. It's not installed on your computer, it's only<br>
compiled in libkgeomap build directory :<br>
<br>
[gilles@localhost calibrator (master)]$ pwd<br>
/mnt/data/Devel/GIT/2.x/build/extra/libkgeomap/calibrator<br>
[gilles@localhost calibrator (master)]$ ls -al<br>
total 452<br>
drwxr-xr-x 3 gilles gilles 416 janv. 9 09:35 ./<br>
drwxr-xr-x 9 gilles gilles 448 janv. 9 09:35 ../<br>
-rw-r--r-- 1 gilles gilles 4505 janv. 3 09:23 calibrator.moc<br>
drwxr-xr-x 4 gilles gilles 232 janv. 9 09:35 CMakeFiles/<br>
-rw-r--r-- 1 gilles gilles 1178 sept. 28 13:07 cmake_install.cmake<br>
-rw-r--r-- 1 gilles gilles 321 sept. 28 13:07 CTestTestfile.cmake<br>
-rwxr-xr-x 1 gilles gilles 420136 janv. 3 09:23 libkgeomap_calibrator*<br>
-rw-r--r-- 1 gilles gilles 338 janv. 3 09:23<br>
libkgeomap_calibrator_automoc.cpp<br>
-rw-r--r-- 1 gilles gilles 1642 sept. 28 13:07<br>
libkgeomap_calibrator_automoc.cpp.files<br>
-rwxr-xr-- 1 gilles gilles 268 janv. 3 09:23 libkgeomap_calibrator.shell*<br>
-rw-r--r-- 1 gilles gilles 10271 sept. 28 13:07 Makefile<br>
[gilles@localhost calibrator (master)]$<br>
<br>
libkgeomap_calibrator.shell work fine for you ?<br>
<br>
Gilles Caulier<br>
<br></blockquote><div><br><br>Thanks - <br><br>1) Konquerer works fine and I can display Googlemaps<br><br>2) Re libkgeomap_calibrator:<br><br>On the Mac, in my build directory, this appears as a Mac application, ie a directory with the .app suffix:<br>
<br><span style="font-family:courier new,monospace">$ pwd</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator</span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">$ ls -l</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">total 72</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">drwxr-xr-x 6 pns staff 204 8 Jan 13:38 CMakeFiles</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 339 8 Jan 13:38 CTestTestfile.cmake</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 10529 8 Jan 13:38 Makefile</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 4505 8 Jan 13:42 calibrator.moc</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 1019 8 Jan 13:38 cmake_install.cmake</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">drwxr-xr-x 3 pns staff 102 8 Jan 13:38 libkgeomap_calibrator.app</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 290 8 Jan 13:42 libkgeomap_calibrator_automoc.cpp</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-rw-r--r-- 1 pns staff 1536 8 Jan 13:38 libkgeomap_calibrator_automoc.cpp.files</span><br>
<br><br>I can run libkgeomap_calibrator.app from the Mac Finder - although I'm not quite sure just what the application is supposed to do, it does start the GUI and can display either Google or marble maps.<br><br>You mentioned libkgeomap_calibrator.shell - <br>
All the KDE programs installed under MacPorts appear in the Mac style, ie with in a directory with the .app suffix - a bit further down are the actual executable and the .shell file:<br><br><span style="font-family:courier new,monospace">$ pwd</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator/libkgeomap_calibrator.app/Contents/MacOS</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">$ ls -l</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">total 280</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-rwxr-xr-x 1 pns staff 139088 8 Jan 13:42 libkgeomap_calibrator</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rwxr-xr-- 1 pns staff 321 8 Jan 13:42 libkgeomap_calibrator.shell</span><br><br>For all the KDE programs I tried, I can open a shell in the program's directory and normally I can run the program with no problems if I use the executable directly, but get an error if I run the .shell version. Thus for Konqueror - <br>
<br><span style="font-family:courier new,monospace">$ pwd</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">/Applications/MacPorts/KDE4/konqueror.app/Contents/MacOS</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">$ ls -l</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">total 88</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">-rwxr-xr-x 1 root admin 37480 8 Oct 02:10 konqueror</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">-rwxr-xr-- 1 root admin 481 8 Oct 02:10 konqueror.shell</span><br><br><br>I can type ./konqueror and get the browser running, but ./konqueror.shell gives an error (in this case the path in the shell script is wrong). <br>
<br>This behaviour seems 'normal' for all the KDE applications I tried, and the applications themselves all work when run using the Mac Finder, but I mention it in case it is significant for this problem.<br><br>In the case of libkgeomap_calibrator, if I run ./libkgeomap_calibrator then that works fine, if I run .//libkgeomap_calibrator.shell then I get the following error:<br>
<br>$<span style="font-family:courier new,monospace"> ./libkgeomap_calibrator.shell</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">dyld: Library not loaded: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Referenced from: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace"> Reason: Incompatible library version: vecLib requires version 1.0.0 or later, but libLAPACK.dylib provides version 0.0.0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">./libkgeomap_calibrator.shell: line 4: 10835 Trace/BPT trap DYLD_LIBRARY_PATH=/Users/pns/git-files/digikam-2.5/build/lib/./:/opt/local/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH} "/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator/libkgeomap_calibrator.app/Contents/MacOS/libkgeomap_calibrator" "$@"</span><br>
<br><br>
As I say I'm not sure if this is relevant, since all similar attempts to run any KDE application using the .shell version also fail, but I guess that if there were incompatible libs being picked up somewhere that could be the cause. <br>
<br>Thanks again <br>Phil<br><br><br>
<br></div></div>