[Digikam-devel] [digikam] [Bug 326959] Digikam crash while scanning pictures for thumnails maintenance
e.longuemare at laposte.net
e.longuemare at laposte.net
Fri Nov 1 08:03:42 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=326959
--- Comment #13 from e.longuemare at laposte.net ---
- Do you compile digiKam with this cmake option
:"-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on" ?
Yes and it does
HEre it's compiled like this. This includes all last code from git/master - Can
you clean up whole digiKam compilation and make a new cmake config (use
bootstrap.linux script) and recompile all. You can remore "build" sub-dir to
clean-up. After that try again to reproduce the problem...
I use to cmake config with bootstrap.local (to have a working digikam 3.5.0
stable and beta version for test).
As I'm trying to use eclipse, I've made my "own" cmake script :
#!/bin/sh
# Copyright (c) 2008-2012, Gilles Caulier, <caulier dot gilles at gmail dot
com>
# Copyright (c) 2012, Benjamin Girault <benjamin dot girault at gmail dot
com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# See README.LOCAL for more information
########################## CONFIG ######################
# Set to 1 if you want to clean that directory (this script will delete and
recreate it)
CLEANROOT=1
# Set the ccache path for faster compile cycles
CCACHE_PATH=/usr/lib/ccache/bin
# Replace path/to/your/root/directory with the directory where you want your
local digikam
DIGIKAM_INSTALL_PREFIX=$HOME/kdedev-install-digikamsoftwarecompilation #Hacked
for eclipse build (out-off-source build) - choose install directory
BUILD_PREFIX=$HOME/digikamgit2 ##ADD FOR ECLIPSE BUILD (out-off-source build) -
choose subfolder for source and build
###################### END CONFIG ######################
QT_INSTALL_PREFIX=`qmake -query "QT_INSTALL_PREFIX"`
QT_BIN=$QT_INSTALL_PREFIX/bin
export PATH=$QT_BIN:$PATH
export MAKEFILES_TYPE='Eclipse CDT4 - Unix Makefiles' #Hacked for eclipse build
export ECLIPSE_VERSION='4.3' #Hacked for eclipse build - choose eclipse version
number
export DIGIKAM_SOURCE='dkgitdigikamsoftwarecompilation' #Hacked for eclipse
build - choose source folder to build
export BUILD_ECLIPSE='builddigikamsoftwarecompilation'
export PATH=$CCACHE_PATH:$DIGIKAM_INSTALL_PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$DIGIKAM_INSTALL_PREFIX/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$DIGIKAM_INSTALL_PREFIX/lib/pkgconfig:/usr/lib/pkgconfig
#export VERBOSE=1
#export CC=gcc4.4
#export CXX=g++4.4
# Manage local install dir
if [ $CLEANROOT == 1 ]
then
rm -Rf $DIGIKAM_INSTALL_PREFIX
fi
mkdir -p $DIGIKAM_INSTALL_PREFIX
# Manage build sub-dir
cd $BUILD_PREFIX
if [ ! -d "$BUILD_ECLIPSE" ]
then
mkdir $BUILD_ECLIPSE
fi
cd $BUILD_ECLIPSE
cmake -G "$MAKEFILES_TYPE" . \
-DCMAKE_BUILD_TYPE=debugfull \
-DCMAKE_INSTALL_PREFIX=$DIGIKAM_INSTALL_PREFIX/ \
-DCMAKE_CXX_FLAGS="-pedantic -Werror=return-type" \
-DCMAKE_C_FLAGS="-pedantic -Werror=return-type" \
-DKDE4_BUILD_TESTS=on \
-DDIGIKAMSC_USE_PRIVATE_KDEGRAPHICS=on \
-DDIGIKAMSC_COMPILE_DOC=on \
-DDIGIKAMSC_CHECKOUT_PO=off \
-DENABLE_PRESENTATIONMODE=off\
-DENABLE_LCMS2=on \
-DENABLE_NEPOMUKSUPPORT=ON \
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=ON \
-D_ECLIPSE_VERSION=$ECLIPSE_VERSION \
-Wno-dev \
../$DIGIKAM_SOURCE
and launch digikam with that script :
#!/bin/bash
#./digikam_env.sh
/home/eric/digikamgit2/builddigikamsoftwarecompilation/core/digikam/digikam
export
DIGIKAMCORE=$HOME/digikamgit2/builddigikamsoftwarecompilation/core/digikam/digikam
export
DIGIKAMLIB=$HOME/digikamgit2/builddigikamsoftwarecompilation/core/digikam/lib
export DIGIKAMINSTALL=$HOME/kdedev-install-digikamsoftwarecompilation
export KDEDIR=$DIGIKAMCORE
export KDEDIRS="$DIGIKAMCORE:$DIGIKAMLIB:$DIGIKAMINSTALL"
export KDEHOME="$HOME/.kde-dev-SC"
export LD_LIBRARY_PATH="$DIGIKAMLIB:$DIGIKAMINSTALL/lib:$LD_LIBRARY_PATH"
export LDPATH="$DIGIKAMLIB:$LD_LIBRARY_PATH"
# update KDE's system configuration cache
kbuildsycoca4
# start app
$@
for gdb I only add :
gdb $@ to the end.
First I try to reproduce then rebuild and compile with bootstrap.linux
Thank you,
Eric
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list