Error saat build Darktable

Saya menginstall versi Development dari Darktable via github, untuk update pun dilakukan via github, biasanya saya hanya menggunakan command :
$ git pull
$ ./build.sh
$ sudo cmake.. … ..
Dan proses instalasi Darktable versi terbaru dari github berlangsung normal.


Nah kali ini saya mengalami masalah saat menjalankan perintah ./build.sh, terhenti dengan pesan

Building directory: /home/teras/darktable/build
Installation prefix: /opt/darktable
Build type: RelWithDebInfo
Build generator: Unix Makefiles
Build tasks: 4

— Found OpenMP_C: -fopenmp (Required is at least version “4.5”)
— Found OpenMP_CXX: -fopenmp (Required is at least version “4.5”)
— Found OpenMP: TRUE (Required is at least version “4.5”)
— Is the target platform supported: 1
— Found little endian system. Good.
— Building SSE2-optimized codepaths: ON
— Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
— Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs – Success
— Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
— Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs – Success
— Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
— Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member – Success
— Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
— Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member – Success
— Looking for external programs
— Found perl
— Found intltool-merge
— Found desktop-file-validate
— Found LLVM 9.0.0
— Found clang compiler – /usr/bin/clang-9
— Found clang opencl-c.h header in /usr/lib/llvm-9/lib/clang/9.0.0/include
— Will be able to test-compile OpenCL programs. Nice.
— Found jsonschema
— Found xsltproc
— Found xmllint
— Found exiftool
— All external programs found
— Found msgfmt to convert .po file. Translation enabled
CMake Error at src/external/CMakeLists.txt:2 (add_subdirectory):
The source directory

/home/teras/darktable/src/external/libxcf

does not contain a CMakeLists.txt file.

— Checking for -march=native support
— Checking for -march=native support – works
— Checking for -std=c++14 support
— Checking for -std=c++14 support – works
— Looking for OpenMP
— Found OpenMP_C: -fopenmp (Required is at least version “4.0”)
— Found OpenMP_CXX: -fopenmp (Required is at least version “4.0”)
— Found OpenMP: TRUE (Required is at least version “4.0”)
— Looking for OpenMP – found (system)
— Looking for pugixml
— Found Pugixml 1.9
— Looking for pugixml – found (system)
— Looking for JPEG
— Looking for JPEG – found
— Looking for ZLIB
— Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version “1.2.11”, minimum required is “1.2.11”)
— Looking for ZLIB – found (system)
— The following features have been enabled:

* OpenMP-based threading, used for parallelization of the library
* XML reading, used for loading of data/cameras.xml
* Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
* ZLIB decoding, used for DNG Deflate compression decoding

— The following OPTIONAL packages have been found:

* LLVM (required version >= 9)
* Gettext
* XMLLINT, command line XML tool,
Used for validation of data/cameras.xml

— The following RECOMMENDED packages have been found:

* JPEG, free library for handling the JPEG image data format, implements a JPEG codec
Used for decoding DNG Lossy JPEG compression
* ZLIB (required version >= 1.2.11), software library used for data compression
Used for decoding DNG Deflate compression

— The following REQUIRED packages have been found:

* Threads
* OpenMP (required version >= 4.0), Open Multi-Processing,
Used for parallelization of the library
* Pugixml (required version >= 1.8), Light-weight, simple and fast XML parser,
Used for loading of data/cameras.xml

— Checking for -std=c++14 support
— Checking for -std=c++14 support – works
— Found Glib 2.62.1
— Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found suitable version “2.9.4”, minimum required is “2.6”)
— Checking for one of the modules ‘libsoup-2.2;libsoup2’
— Could NOT find libavif (missing: libavif_DIR)
— Found Sqlite3 3.29.0
— Sqlite3 version 3.24 or newer
— Found GIO
— Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version “2.9.4”)
— Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version “7.65.3”)
— Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.11”)
— Found JsonGlib
— Found OpenJPEG
— Found GraphicsMagick
— Found GMIC but version < 270. Compressed lut will not be available
— Does the compiler support __builtin_cpu_supports(): 1
— Checking for -march=native support
— Lua support: Enabled
— Found Pugixml 1.9
— Map mode: enabled
— Print mode: enabled
— Game: the good knight
— Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found suitable version "7.65.3", minimum required is "7.56")
— Found recent CURL version to build piwigo.
— building darktable-cmstest with colord support. nice.

— Configuring incomplete, errors occurred!
See also "/home/teras/darktable/build/CMakeFiles/CMakeOutput.log".
See also "/home/teras/darktable/build/CMakeFiles/CMakeError.log".

Ternyata solusinya cukup dengan perintah :
$ git submodule init
$ git submodule update

setelah menjalankan perintah :
$ git pull

Selanjutnya jalankan perintah :
$ ./build.sh

seperti biasa dan perintah sudo cmake dst dst…

Semoga bermanfaat

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout /  Ubah )

Foto Google

You are commenting using your Google account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )

Connecting to %s