Hi there,
after a reinstall of my Linux system to new Ubuntu 20.04, one of my next stpüs was to regain the capability to build darktable from git (currently the branch darktable-3.0.x). After fiddling around some time with trying to build … figure out whats missing… get into Synaptic… search for missing items… install … retry… I am now able to successfully build darktable … YES …
okay, LLVM is not found … but that is not bothering me to much, that also was the case in my old Linux environment
I get :
CMake Warning at CMakeLists.txt:273 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “8”.The following configuration files were considered but not accepted:
/usr/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0 /lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0
What is an issue is the fact, that I am not able to build the manual!
Initial build.sh run shows:
Missing xml2po. No localized usermanuals are build
Missing xml2po
Can NOT update usermanual translations
No idea where to get this xml2po from. can not find it for Ubuntu 20.04 via Synaptic.
Trying then to actually build the manual fails like this …
make darktable-usermanual
[ 3%] Checking validity of the usermanual darktable.xml
[ 3%] Built target validate_usermanual_xml
[ 3%] Generating the profiled docbook xml file
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl
warning: failed to load external entity “http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl”
compilation error: file xsl/darktable_profile.xsl line 3 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/profiling/profile.xsl
make[3]: *** [doc/usermanual/CMakeFiles/darktable_single_xml.dir/build.make:397: doc/usermanual/darktable_profile.xml] Fehler 5
make[2]: *** [CMakeFiles/Makefile2:6539: doc/usermanual/CMakeFiles/darktable_single_xml.dir/all] Fehler 2
make[1]: *** [CMakeFiles/Makefile2:6601: doc/usermanual/CMakeFiles/darktable-usermanual.dir/rule] Fehler 2
make: *** [Makefile:2721: darktable-usermanual] Fehler 2
I am sorry to say, that I have no idea what is going on here and what I miss…
As I actually can access the links and view the XSLTs directly, I am quite puzzled …
→ SOLVED:
“install the docbook xsl stylesheets package for your distro.” thx, darix !
Any hint really would be welcome.
Besides that darktable itself compiles and runs like a charm … really really great stuff !!
Thank you so much for any hints to those issues …
Cheers, Martin