Hi Roman,
you were right. I have added the two missing packages. Now all packages are
installed (see below):
dpkg -l llvm-3.9-dev clang-3.9 libclang-common-3.9-dev xsltproc intltool
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler:
GROSS=schlecht)
||/ Name Version Architektur Beschreibung
+++-==============-============-============-=================================
ii clang-3.9 1:3.9~svn281 amd64 C, C++ and Objective-C
compiler (
ii intltool 0.51.0-2 all Utility scripts for
international
ii libclang-commo 1:3.9~svn281 amd64 clang library - Common
developmen
ii llvm-3.9-dev 1:3.9~svn281 amd64 Modular compiler and toolchain
te
ii xsltproc 1.1.28-2.1 amd64 XSLT 1.0 command line processor
*Complete output:*
./build.sh
Darktable build script
Building directory: /home/sami/Downloads/darktable-2.2.0~rc1/build
Installation prefix: /opt/darktable
Build type: RelWithDebInfo
Build generator: Unix Makefiles
Build tasks: 4
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test _MSSE2
-- Performing Test _MSSE2 - Success
-- Building SSE2-optimized codepaths: ON
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found little endian system. Good.
-- Performing Test IS_SUPPORTED_PLATFORM
-- Performing Test IS_SUPPORTED_PLATFORM - Success
-- Is the target platform supported: 1
-- multiarch triplet detected: x86_64-linux-gnu
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-fno-strict-aliasing
-- Performing Test C_COMPILER_UNDERSTANDS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_UNDERSTANDS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test C_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wshadow - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wold-style-declaration
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wold-style-declaration - Failed
-- 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 - Failed
-- Performing Test
CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test
CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
-- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768
-- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288
-- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
CMake Warning at CMakeLists.txt:324 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 3.9) with any of the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
CMake Warning at CMakeLists.txt:353 (message):
Could not find LLVM 3.9+
CMake Warning at CMakeLists.txt:354 (message):
Test-compilation of OpenCL programs can not be done.
-- Test-compilation of OpenCL programs is disabled.
-- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.7")
-- Found msgfmt to convert .po file. Translation enabled
-- Performing Test COMPILER_SUPPORTS_C99
-- Performing Test COMPILER_SUPPORTS_C99 - Success
-- Performing Test COMPILER_SUPPORTS_C11
-- Performing Test COMPILER_SUPPORTS_C11 - Success
-- Performing Test COMPILER_SUPPORTS_CXX11
-- Performing Test COMPILER_SUPPORTS_CXX11 - Success
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
CMake Error at cmake/modules/LibFindMacros.cmake:259 (message):
REQUIRED PACKAGE NOT FOUND
We could not find development headers for Glib. Do you have the necessary
dev package installed? This package is REQUIRED and you need to install it
or adjust CMake configuration in order to continue building darktable.
Relevant CMake configuration variables:
Glib_INCLUDE_DIR=<not found>
GlibConfig_INCLUDE_DIR=<not found>
Glib_LIBRARY=<not found>
You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
CMakeCache.txt to discard all values and force full re-detection if
necessary.
Call Stack (most recent call first):
cmake/modules/FindGlib.cmake:40 (libfind_process)
src/CMakeLists.txt:161 (find_package)
-- Configuring incomplete, errors occurred!
See also
"/home/sami/Downloads/darktable-2.2.0~rc1/build/CMakeFiles/CMakeOutput.log".
See also
"/home/sami/Downloads/darktable-2.2.0~rc1/build/CMakeFiles/CMakeError.log".
2016-11-23 18:53 GMT+01:00 Roman Lebedev <[email protected]>:
> On Wed, Nov 23, 2016 at 8:49 PM, Sascha Oleszczuk <[email protected]>
> wrote:
> > Sorry Roman,
> > below the complete output incl. and attached the logs.
> >
> > ./build.sh
> > Darktable build script
> >
> > Building directory: /home/sami/Downloads/darktable-2.2.0~rc1/build
> > Installation prefix: /opt/darktable
> > Build type: RelWithDebInfo
> > Build generator: Unix Makefiles
> > Build tasks: 4
> >
> >
> > -- Building SSE2-optimized codepaths: ON
> > -- Found little endian system. Good.
> > -- Is the target platform supported: 1
> > -- multiarch triplet detected: x86_64-linux-gnu
> > -- 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 - Failed
> > -- Performing Test
> > CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
> > -- Performing Test
> > CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
> > Success
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
> > Success
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 -
> Success
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288
> > -- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288
> > -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 -
> Success
> > -- Looking for external programs
> > -- Found perl
>
> > -- Missing intltool-merge
> ^ this is the problem, probably intltool package.
>
> > -- Found desktop-file-validate
>
> > CMake Warning at CMakeLists.txt:324 (find_package):
> > Could not find a package configuration file provided by "LLVM"
> (requested
> > version 3.9) with any of the following names:
> >
> > LLVMConfig.cmake
> > llvm-config.cmake
> >
> > Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
> > "LLVM_DIR" to a directory containing one of the above files. If "LLVM"
> > provides a separate development package or SDK, be sure it has been
> > installed.
> >
> >
> > CMake Warning at CMakeLists.txt:353 (message):
> > Could not find LLVM 3.9+
> >
> >
> > CMake Warning at CMakeLists.txt:354 (message):
> > Test-compilation of OpenCL programs can not be done.
> >
> >
> > -- Test-compilation of OpenCL programs is disabled.
> This is *optional*, it needs following packages: clang-3.9
> libclang-common-3.9-dev llvm-3.9-dev
>
> > -- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
>
> > -- Missing xsltproc
> > -- Missing saxon-xslt
> > -- No xslt interpreter found
> ^ this is the problem, probably xsltproc package.
>
> > -- Found xmllint
> > CMake Error at CMakeLists.txt:403 (message):
> > Some external programs couldn't be found
> >
> >
> > -- Configuring incomplete, errors occurred!
> > See also
> > "/home/sami/Downloads/darktable-2.2.0~rc1/build/
> CMakeFiles/CMakeOutput.log".
> > See also
> > "/home/sami/Downloads/darktable-2.2.0~rc1/build/
> CMakeFiles/CMakeError.log".
> >
> >
> > 2016-11-23 18:30 GMT+01:00 Roman Lebedev <[email protected]>:
> >>
> >> On Wed, Nov 23, 2016 at 8:01 PM, Sascha Oleszczuk <[email protected]
> >
> >> wrote:
> >> > Hi,
> >> >
> >> > I tried to build darktable-2.2.0~rc1 via build.sh on my ubuntu 16.04
> >> > machine, but it fails all the time, because of "Could not find LLVM
> >> > 3.9+".
> >> > I already installed LLVM 3.9 and Clang 3.9 see below:
> >> >
> >> > clang-3.9 --version
> >> > clang version 3.9.1-svn281634-1~exp1 (branches/release_39)
> >> > Target: x86_64-pc-linux-gnu
> >> > Thread model: posix
> >> > InstalledDir: /usr/bin
> >> >
> >> > Any idea what I am doing wrong?
> >> Please always post the full output, guessing based on the phrase that
> >> is stripped out of context is no fun.
> >>
> >> > Thx in advance
> >> Roman.
> >>
> >> >
> >> > ____________________________________________________________
> ________________
> >> > darktable user mailing list to unsubscribe send a mail to
> >> > [email protected]
> >
> >
>
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]