Hi,
I've just pulled commit d33a07dde6a0c0c155e93a60847ffbc1ac256ede.
This required me to install `libpugixml` which unfortunately is not
part of archlinux' official repos (but I've voted for it's addition).
Using `pugixml` [1] from archlinux's AUR package repository the build
still fails with
sk@tauhou:~/prg/darktable$ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'upstream/master'.
sk@tauhou:~/prg/darktable$ git pull
Already up-to-date.
sk@tauhou:~/prg/darktable$ git clean -f
sk@tauhou:~/prg/darktable$ git log -n1 | head -n1
commit b15b157f087b21aef04b5c8600bdc2a5677bf75d
sk@tauhou:~/prg/darktable$ ./build.sh --prefix /tmp/dt/ -j6
...
[ 54%] Building C object
src/CMakeFiles/lib_darktable.dir/common/cups_print.c.o
[ 55%] Building C object
src/CMakeFiles/lib_darktable.dir/common/printprof.c.o
Linking C shared library libdarktable.so
/usr/bin/ld:
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libpugixml.a(pugixml.cpp.o):
relocation R_X86_64_32S against `.rodata' can not be used when making a shared
object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libpugixml.a:
error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/CMakeFiles/lib_darktable.dir/build.make:3425: recipe for target
'src/libdarktable.so' failed
make[2]: *** [src/libdarktable.so] Error 1
CMakeFiles/Makefile2:1142: recipe for target
'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
>From the error message I figured i'd need a shared library. Luckily
there's `pugixml-shared` [2] in the AUR as well. So I installed that
one, which gives me another error:
sk@tauhou:~/prg/darktable$ git status
On branch master
Your branch is up-to-date with 'upstream/master'.
nothing to commit, working directory clean
sk@tauhou:~/prg/darktable$ git log -n1 | head -n1
commit b15b157f087b21aef04b5c8600bdc2a5677bf75d
sk@tauhou:~/prg/darktable$ ./build.sh --prefix /tmp/dt/ -j6
warning: ignoring unknown option -j6
Darktable build script
Building directory: ./build
Installation prefix: /tmp/dt/
Build type: Release
Make program: make
Make tasks: 6
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found Gettext
-- Found msgfmt to convert language file. Translation enabled
-- Found Glib
-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.9.2",
minimum required is "2.6")
-- checking for one of the modules 'libsoup-2.2;libsoup2'
-- Found GIO
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2")
-- Found JsonGlib
-- Internationalization: Enabled
-- checking for module 'gnome-keyring-1'
-- package 'gnome-keyring-1' not found
-- Could NOT find GNOMEKEYRING (missing: GNOMEKEYRING_LIBRARY
GNOMEKEYRING_INCLUDE_DIR)
-- Found GraphicsMagick
-- Checking for -march=native support
-- Lua support: Enabled
CMake Error at cmake/modules/FindPugixml.cmake:23 (file):
file failed to open for reading (No such file or directory):
/usr/local/include/pugixml.hpp
Call Stack (most recent call first):
src/CMakeLists.txt:521 (find_package)
CMake Error at cmake/modules/FindPugixml.cmake:28 (message):
pugixml version check failed. Version . was found, at least version 1.2
is required
Call Stack (most recent call first):
src/CMakeLists.txt:521 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/sk/prg/darktable/build/CMakeFiles/CMakeOutput.log".
Sorry, I'm lost...
Any clues would be welcome.
Regards
Stefan
____________________
[1] https://aur.archlinux.org/packages/pu/pugixml/
[2] https://aur.archlinux.org/packages/pugixml-shared/
--
http://stefan-klinger.de o/X
/\/
\
------------------------------------------------------------------------------
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users