On 02/07/2023 16:29, Jean-Luc wrote:
Le 01/07/2023 à 08:19, Pascal Obry a écrit :
We're proud to announce the new corrective release of darktable, 4.4.1!

The github release is here: 
[https://github.com/darktable-org/darktable/releases/tag/release-4.4.1](https://github.com/darktable-org/darktable/releases/tag/release-4.4.1).

As always, please don't use the autogenerated tarball provided by
github, but only our tar.xz file. The checksums are:

.../...

Hello,

A few days after 4.4 release announce, I tried to compile from sources, following the steps I used for 4.2 - and that was still up-to-date at this time. I ended up with abort due to many missing dependancies and gcc-12+ mandatory. After some time spent to satisfy most of the dependancies, I still could not override the gcc problem. I finally thought I had solved it, after some more browsing, but the only result was a fatal system crash and I had to reinstall from scratch. I am now in the previous state of dt 4.2.1 running, but not willing to try again the compiling adventure without being sure I will not run into the same issue again. Have the compiling instructions been updated, so I will be able to reach the end of the process ? I am currently running Ubuntu 22.04-2, and the steps for getting dt from sources are those :

    
#################################################################################
    START
    
################################################################################################
    # Pré-requis : installation des dépendances
    ###########################################
    sed -e '/^#\sdeb-src /s/^# *//;t;d' "/etc/apt/sources.list" \
      | sudo tee /etc/apt/sources.list.d/darktable-sources-tmp.list >
    /dev/null \
      && (
        sudo apt update
        sudo apt build-dep darktable
      )
    sudo rm /etc/apt/sources.list.d/darktable-sources-tmp.list

    # Prérequis : Dépendances
    #########################
    sudo apt install gcc g++ cmake intltool xsltproc libgtk-3-dev
    libxml2-utils libxml2-dev liblensfun-dev librsvg2-dev
    libsqlite3-dev libcurl4-gnutls-dev libjpeg-dev libtiff5-dev
    liblcms2-dev libjson-glib-dev libexiv2-dev libpugixml-dev

    # Paquets divers
    ################
    sudo apt install exiv2 libexiv2-27 libexiv2-dev libgmic1 libheif1
    libraw20 checkinstall

    # Clônage du dépôt GIT
    ######################
    git clone --recurse-submodules --depth 1
    https://github.com/darktable-org/darktable.git
    cd darktable
    git fetch --tags
    git checkout tags/release-4.4.0

    # Récupération des sous-modules
    ###############################
    git submodule update --init

    # Build manuel
    #################
    mkdir build/
    cd build/
    cmake -DCMAKE_INSTALL_PREFIX=/usr/ ..
    make
    sudo checkinstall --pkgname=darktable
    --pakdir=/home/jean-luc/.config/debian --nodoc
    --exclude=/home/jean-luc/CloneGitHUB/
    
###################################################################################
    END
    
###############################################################################################

Rgrds,

J.-Luc

Jean-Luc,
You helped me to compile 4.2.1 some months ago; I hope this helps you now: My attempts to compile 4.4.0 immediately after it was announced failed with a compiler version error (see discussion in Pixls.us under "Don't understand failure to compile dt 4.4.0 from source"). That was fixed by installing g++-12 using Synaptic and running two additional commands before the build: "export CC=gcc-12" and "export CXX=g++-12".  I then used the same process as described in the readme ( see https://github.com/darktable-org/darktable#readme) without problem, under Mint 21.1, using the 'easy method' to compile.
____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to