Hi Bruce, Looking at the snippet of log here it would seem that there are issues with the Rawspeed module. This 'sub-module' needs to be initialized after updating from GIT but before running the build.sh script.
This is documented somewhere but I can't put my finger on it at present. These are the commands that I use to update from Git and build dt. cd /home/xxxx/darktable git pull git submodule init git submodule update ./build.sh cd build make darktable-usermanual make darktable-lua-api cd .. sudo cmake --build "/home/xxxx/darktable/build" --target install -- -j4 Not sure if this will move you forward or not ..... R. On 03/09/2019 08:23, Bruce Williams wrote:
Seems like everything WAS going ok, until this point.... ------------------------------------------------------------------------------------------ [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/button.c.o [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/drawingarea.c.o [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/expander.c.o [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/gradientslider.c.o /home/darktable/darktable/src/common/imageio_rawspeed.cc: In function ‘dt_imageio_retval_t dt_imageio_open_rawspeed(dt_image_t*, const char*, dt_mipmap_buffer_t*)’: /home/darktable/darktable/src/common/imageio_rawspeed.cc:185:10: error: ‘uint32’ was not declared in this scope for (uint32 i=0; i<(sizeof(legacy_aliases)/sizeof(legacy_aliases[1])); i++) ^~~~~~ /home/darktable/darktable/src/common/imageio_rawspeed.cc:185:10: note: suggested alternative: ‘guint32’ for (uint32 i=0; i<(sizeof(legacy_aliases)/sizeof(legacy_aliases[1])); i++) ^~~~~~ guint32 /home/darktable/darktable/src/common/imageio_rawspeed.cc:185:22: error: ‘i’ was not declared in this scope for (uint32 i=0; i<(sizeof(legacy_aliases)/sizeof(legacy_aliases[1])); i++) ^ [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/icon.c.o [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/paint.c.o [ 29%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/resetlabel.c.o [ 30%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/sidepanel.c.o [ 30%] Building C object src/CMakeFiles/lib_darktable.dir/dtgtk/togglebutton.c.o src/CMakeFiles/lib_darktable.dir/build.make:964: recipe for target 'src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o' failed make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/imageio_rawspeed.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:1504: recipe for target 'src/CMakeFiles/lib_darktable.dir/all' failed make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2 ------------------------------------------------------------------------------------------ Anyone able to point me in the right direction here, please? Cheers, Bruce Williams ------------------------------ Mobile: +61 41 250 6349 audio2u.com <http://audio2u.com> brucewilliamsphotography.com <http://brucewilliamsphotography.com> shuttersincpodcast.com <http://shuttersincpodcast.com> sinelanguagepodcast.com <http://sinelanguagepodcast.com> e-mail <mailto:[email protected]> | Twitter <http://twitter.com/@audio2u> | LinkedIn <http://au.linkedin.com/pub/bruce-williams/1/318/489> | Facebook <http://www.facebook.com/audio2u> | Soundcloud <http://www.soundcloud.com/audio2u> | Quora <https://www.quora.com/profile/Bruce-Williams-5> ------------------------------ ---------- Forwarded message --------- From: *HaJo Schatz* <[email protected] <mailto:[email protected]>> Date: Tue, Sep 3, 2019 at 5:15 PM Subject: Re: Fwd: [darktable-user] Need help with compiling from git To: darktable-user <[email protected] <mailto:[email protected]>> If you need some package (such as libjpeg) to compile a source (such as darktable), then you need to install the respective "developer" version of libjpeg. I.e. the headers of the library which darktable requires. A quick search on [1] (not sure if your system uses Debian though) reveals that for libjpeg the correct package would be libjpeg-devel. So "apt install libjpeg-devel" shoud do the trick. I'm no longer fluent in apt, but something like "apt search libjpeg" or "apt find jpeg" should also give you an idea. "man apt" will help there... [1] https://packages.debian.org/search?suite=default§ion=all&arch=any&searchon=names&keywords=libjpeg -- PGP key: http://tinyurl.com/2016PGPKEY On Fri, Aug 30, 2019 at 3:55 PM Bruce Williams <[email protected] <mailto:[email protected]>> wrote: Hi again, So, the list of required software mentions.... libsqlite3, libjpeg, libpng, libpugixml, rawspeed (supplied), gtk+-3, cairo, lcms2, exiv2, tiff, curl, gphoto2, dbus-glib, fop, openexr, libsoup2.4 I tried opening a terminal and issuing commands like $ sudo apt-get install <name> ...where <name> is any of the aforementioned prerequisites. Most of them failed with a message that said "unable to locate the package". What did I do wrong? Cheers, Bruce Williams ------------------------------ Mobile: +61 41 250 6349 audio2u.com <http://audio2u.com> brucewilliamsphotography.com <http://brucewilliamsphotography.com> shuttersincpodcast.com <http://shuttersincpodcast.com> sinelanguagepodcast.com <http://sinelanguagepodcast.com> e-mail <mailto:[email protected]> | Twitter <http://twitter.com/@audio2u> | LinkedIn <http://au.linkedin.com/pub/bruce-williams/1/318/489> | Facebook <http://www.facebook.com/audio2u> | Soundcloud <http://www.soundcloud.com/audio2u> | Quora <https://www.quora.com/profile/Bruce-Williams-5> ------------------------------ ---------- Forwarded message --------- From: *David Vincent-Jones* <[email protected] <mailto:[email protected]>> Date: Fri, Aug 30, 2019 at 1:40 AM Subject: Re: Fwd: [darktable-user] Need help with compiling from git To: Bruce Williams <[email protected] <mailto:[email protected]>> It would be nice to have for a reference a definitive set of instructions for this complete operation David On 8/28/19 10:59 PM, Bruce Williams wrote:Aahhhh! I was looking for that list of dependencies! Further down the page in the section on "Git version", there's a line which says "You can find a list of them here." ...but it doesn't contain a link. Thanks for the heads up! I shall try again. Cheers, Bruce Williams ------------------------------ Mobile: +61 41 250 6349 audio2u.com <http://audio2u.com> brucewilliamsphotography.com <http://brucewilliamsphotography.com> shuttersincpodcast.com <http://shuttersincpodcast.com> sinelanguagepodcast.com <http://sinelanguagepodcast.com> e-mail <mailto:[email protected]> | Twitter <http://twitter.com/@audio2u> | LinkedIn <http://au.linkedin.com/pub/bruce-williams/1/318/489> | Facebook <http://www.facebook.com/audio2u> | Soundcloud <http://www.soundcloud.com/audio2u> | Quora <https://www.quora.com/profile/Bruce-Williams-5> ------------------------------ ---------- Forwarded message --------- From: *August Schwerdfeger* <[email protected] <mailto:[email protected]>> Date: Thu, Aug 29, 2019 at 3:57 PM Subject: Re: [darktable-user] Need help with compiling from git To: <[email protected] <mailto:[email protected]>> According to this error log, LLVM not being found is just a warning -- what is actually tripping the build up is the absence of the XML parsing program, 'xmllint'. Have you tried installing all the packages in the list of dependencies on Darktable's install page (https://www.darktable.org/install/#source)? That should have tracked in the XML parser. -- August Schwerdfeger [email protected] <mailto:[email protected]> On 8/29/19 12:26 AM, Bruce Williams wrote:Hi all, Yes, I'm finally taking the plunge and trying to get my head around git and all that comes with that. :) I've created a new user profile on my linux box just so I don't screw up my main user profile. Anyway... got as far as $ ./build.sh A bunch of text flew past, which all seemed to be going ok until.... -------------------------------------------------------- -- Found desktop-file-validate -- Could NOT find LLVM (missing: LLVM_DIR) -- Could NOT find LLVM (missing: LLVM_DIR) -- Could NOT find LLVM (missing: LLVM_DIR) -- Could NOT find LLVM (missing: LLVM_DIR) -- Could NOT find LLVM (missing: LLVM_DIR) -- Could NOT find LLVM (missing: LLVM_DIR) CMake Warning at CMakeLists.txt:311 (message): Could not find LLVM 3.9+ CMake Warning at CMakeLists.txt:312 (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 -- Missing xsltproc -- Missing saxon-xslt -- No xslt interpreter found -- Missing xmllint CMake Error at CMakeLists.txt:361 (message): Some external programs couldn't be found -- Configuring incomplete, errors occurred! See also "/home/darktable/darktable/build/CMakeFiles/CMakeOutput.log". See also "/home/darktable/darktable/build/CMakeFiles/CMakeError.log". -------------------------------------------------------- Anyone able to help me out here, please? I searched the software manager for LLVM, and found "Clang", but not sure if I need to install that or not. Any advice would be gladly received! Cheers, Bruce Williams ------------------------------ Mobile: +61 41 250 6349 audio2u.com <http://audio2u.com> brucewilliamsphotography.com <http://brucewilliamsphotography.com> shuttersincpodcast.com <http://shuttersincpodcast.com> sinelanguagepodcast.com <http://sinelanguagepodcast.com> e-mail <mailto:[email protected]> | Twitter <http://twitter.com/@audio2u> | LinkedIn <http://au.linkedin.com/pub/bruce-williams/1/318/489> | Facebook <http://www.facebook.com/audio2u> | Soundcloud <http://www.soundcloud.com/audio2u> | Quora <https://www.quora.com/profile/Bruce-Williams-5> ------------------------------ ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected] <mailto:[email protected]>____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected] <mailto:darktable-user%[email protected]> ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected] <mailto:[email protected]>____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected] <mailto:darktable-user%[email protected]> ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected] <mailto:darktable-user%[email protected]> ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
-- http://lukecarville.jalbum.net https://facebook.com/rlc.hobday ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
