Hi.<br>I've previously used Digikam on MacOS (10.6.8), built using MacPorts for both Digikam and all the dependencies. <br>The MacPorts Digikam version hasn't been updated for some time (still on 2.1.1_1) and I spotted the instructions for installing using git: <br>
<br><a href="https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX">https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX</a><br>
<br>I was hoping to install the current stable 2.5.0 version of Digikam.<br><br>Before starting the process in the instructions above, I made sure that all the MacPorts already installed were up to date, and that I could install and run the current MacPorts version of DIgikam (2.1.1_1). The only exception was that I activated boost-1.47 rather than 1.48 as I'd read that there had been some recent issues and although I'd read that these had been fixed I wasn't quite sure what Digikam build I would be picking up. <br>
<br>Once I'd proved that everything worked with the updated MacPorts dependencies, I uninstalled digikam by doing 'port uninstall digikam'.<br><br>I then followed the instructions in the link above, and everything seemed to work and I had no obvious errors during the build or install. <br>
<br>I started the process above by using the suggested command 'git clone git://<a href="http://anongit.kde.org/digikam-software-compilation">anongit.kde.org/digikam-software-compilation</a>' , copying to a new directory I'd made.<br>
<br>After the install, I ran the launchctl DBUS commands and rebooted the Mac (this had been necessary before when using the MacPorts version). <br><br>Here, I have to confess my ignorance; I've not used 'git' before, and I was actually expecting the above 'git clone' command to fetch me the latest 'production' version, however when I start Digikam (from a terminal) the splash screen shows 2.6.0 not 2.5 so I guess I'm getting the development version. <br>
<br>I can't really tell much more than that since I never get the main window appearing as Digikam crashes. I will reproduce the terminal output below. <br><br>I also tried 'Showfoto' - and that starts up and runs with no problems. The splash screen for that also says 2.6.0, and the 'About' box gives the version as
<style type="text/css">
p, li { white-space: pre-wrap; }</style><a href="http://commits.kde.org/digikam/6715b8ee6e5ee44bef186a1f0e39bf46a50f5681"><span style="text-decoration:underline;color:#0057ae"> 6715b8ee6e5ee44bef186a1f0e39bf46a50f5681</span></a> with build date today and 'target: debugfull'. <br>
<br>The fact that Showfoto runs OK suggests that probably this is an issue with Digikam + MacPorts, although as mentioned I've not used 'git' before so anything is possible .....<br><br>I would be grateful to get some information - <br>
<br>1) Looking at the console log shown below, is there an obvious cause - (the 'too many open files' error seems similar to <a href="https://bugs.kde.org/show_bug.cgi?id=289330">https://bugs.kde.org/show_bug.cgi?id=289330</a> but in my instance DIgikam never starts correctly at all)<br>
<br>2) I don't really wish to be 'bleeding edge', what should I have done to clone and build Digikam 2.5.0 not the development version<br><br>3) How can I clean things up from this build, and either get to the stable 2.5.0 version - or at the very least update to the latest development version - a bit of reading suggests that 'git pull' may do this?<br>
<br>Ideally I would prefer to be able to install the latest released version of Digikam just by using MacPorts as I have other software installed using that package manager - however unfortunately Digikam rarely gets updated on MacPorts so getting a working version with git too would be good. <br>
<br>Thanks in advance for any pointers - I appreciate I'm rather ignorant of 'git' and how it works at the moment. <br>Phil<br><br>The log from running 'Digikam' follows - <br>========<br><br><span style="font-family:courier new,monospace">$ /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam &</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">[1] 680</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">$ digikam(680)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Creating shell of a lock! </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Unable to setup shared cache lock, although it worked when created. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Unable to unmap shared memory segment 0x11e600000 </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::AlbumWatch::connectToKDirWatch: KDirWatch method = "FAM"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::AlbumManager::setDatabase: DatabaseParameters: [ Type "QSQLITE", Name "/Users/pns/Pictures/digikam4.db" (Thumbnails Name "/Users/pns/Pictures/thumbnails-digikam.db"); ]</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work.</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig: Loading SQL code from config file "/opt/local/share/apps/digikam/database/dbconfig.xml"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::DatabaseConfigElementLoader::readConfig: false "1" 1 1</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::SchemaUpdater::update: SchemaUpdater update</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::SchemaUpdater::startUpdates: Have a database structure version 6</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::SchemaUpdater::makeUpdates: makeUpdates 6 to 6</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::AlbumRootLocation::AlbumRootLocation: Creating new Location "/" uuid "volumeid:?path=%2FUsers%2Fpns%2FPictures"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::CollectionManager::updateLocations: location for "/Users/pns/Pictures" is available true</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::LoadingCache::setCacheSize: Allowing a cache size of 60 MB</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThumbnailSchemaUpdater::startUpdates: Have a thumbnail database structure version "2"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThumbnailLoadThread::initializeThumbnailDatabase: Thumbnail db ready for use</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::AlbumManager::checkNepomukService: Nepomuk server is not reachable. Cannot start Digikam Nepomuk Service</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::CollectionScanner::completeScan: Complete scan (file scanning deferred) took: 361 msecs.</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::IccSettings::IccSettingsPriv::scanDirectories: ()</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Creating shell of a lock! </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Unable to setup shared cache lock, although it worked when created. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KSharedDataCache: Unable to unmap shared memory segment 0x1223fb000 </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/KGEOMAP KGeoMap::KGeoMapWidget::setBackend: "setting backend marble"</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "The name org.kde.kded was not provided by any .service files" </span><br style="font-family:courier new,monospace">
<br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KGEOMAP KGeoMap::KGeoMapWidget::setBackend: "setting backend marble"</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::AlbumFilterModel::setSearchTextSettings: new search text settings: "" : hasResult = false , validRows = 0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::ThemeManager::slotChangePalette: ""</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset: ----</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/KGEOMAP KGeoMap::ItemMarkerTiler::slotSourceModelReset: ----</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">QFileSystemWatcher: failed to add paths: /Users/pns/Pictures/PictureProject/0029/DSC_2659.JPG</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">QFileSystemWatcher: failed to add paths: /Users/pns/Pictures/PictureProject/0029/DSC_2660.JPG</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">QFileSystemWatcher: failed to add paths: /Users/pns/Pictures/PictureProject/0029/DSC_2661.JPG</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QKqueueFileSystemWatcherEngine::addPaths: open: Too many open files</span><br><br>(lots of similar lines for other image folders under my ID have been deleted)<br><br><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::SearchTabHeader::selectedSearchChanged: changing to SAlbum 0x0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::SearchTabHeader::selectedSearchChanged: changing to SAlbum 0x122da1230</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected: Selected new album 0x0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected: Not a haar search, returning</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">digikam(680)/digikam (core) Digikam::FuzzySearchView::slotAlbumSelected: Selected new album 0x122db72c0</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open files</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">QKqueueFileSystemWatcherEngine: error during kevent wait: Bad file descriptor</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">KCrash: Application 'digikam' crashing...</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">KCrash: Attempting to start /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi from kdeinit</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">Warning: Path of socketfile exceeds UNIX_PATH_MAX.</span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">KCrash: Attempting to start /opt/local/lib/kde4/libexec/drkonqi.app/Contents/MacOS/drkonqi directly</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">drkonqi(683)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">drkonqi(683)/KSharedDataCache: Creating shell of a lock! </span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">drkonqi(683)/KSharedDataCache: Unable to setup shared cache lock, although it worked when created. </span><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">drkonqi(683)/KSharedDataCache: Unable to unmap shared memory segment 0x118d2d000 </span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<span style="font-family:courier new,monospace">[1]+ Abort trap /Applications/MacPorts/KDE4/digikam.app/Contents/MacOS/digikam</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace">
<br>