<div dir="ltr">I am still working on it.<div><br></div><div>sudo ./installdeps.sh never came back. The last info I got is:<br><div><br></div><div>test config.qtwebengine_buildtools.libraries.webengine-libxml2 succeeded<br>Checking for minizip... <br>Trying source 0 (type pkgConfig) of library webengine-minizip ...<br>+ /usr/bin/pkg-config --exists --silence-errors minizip<br>pkg-config did not find package.<br> => source produced no result.<br>test config.qtwebengine_buildtools.libraries.webengine-minizip FAILED<br>Checking for system ninja... <br>Found ninja from path: /usr/sbin/ninja<br>+ /usr/sbin/ninja --version<br></div></div><div><br></div><div>and the ninja-command never came back...</div><div><br></div><div>- TK</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 10, 2020 at 10:01 AM Tonio Kroeger <<a href="mailto:tonio.kroeger1903@gmail.com">tonio.kroeger1903@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">> For the second step I had no idea what paths to configure for what config file. Anyway, from your mail I concluded I can do without the steps 2 and 3.<div><br></div><div>I found the paths. It started running now. Sorry for producing unnecessary traffic. (For my next steps I assume /usr/lib/qt5/ is my "qt-path" and not something unter /opt)</div><div><br></div><div>-TK</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 10, 2020 at 9:27 AM Tonio Kroeger <<a href="mailto:tonio.kroeger1903@gmail.com" target="_blank">tonio.kroeger1903@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>thanks a lot! I</div><div><br></div><div><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px">From the git-md-readme: to setup computer you need to:</p><ul style="box-sizing:border-box;padding-left:2em;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px"><li style="box-sizing:border-box">run as root the "preparehost" script for your operating system.</li><li style="box-sizing:border-box;margin-top:0.25em">configure paths to use in config file.</li><li style="box-sizing:border-box;margin-top:0.25em">run the installdeps script and take a coffee.</li></ul></div><div>I ran sudo ./preparehost-raspberryos.sh and it worked fine.</div><div>For the second step I had no idea what paths to configure for what config file. Anyway, from your mail I concluded I can do without the steps 2 and 3.</div><div><br></div><div>Unfortunately when compiling digikam I get</div><div><br></div><div>./bootstrap.linux <br>qtpaths: could not exec '/usr/lib/qt5/bin/qtpaths': No such file or directory<br>FAILED COMMAND: QT_INSTALL_PREFIX=`qtpaths --install-prefix`<br></div><div><br></div><div>This somehow reminds me of the "configure path" above. So I am missing something here. I tried hard but I have no clue. Seems to be some general configuration in the sense of "where is qt". It is probably absolutely obvious for you folks but for me who never came in touch with qt I do not even know where to search for a solution...</div><div><br></div><div>Thanks</div><div><br></div><div>TK</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 7, 2020 at 10:24 AM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On the PI there is nothing special to customize in the configuration,<br>
you need only to install package with apt-get, typically this list :<br>
<br>
<a href="https://github.com/cgilles/digikam-install-deps/blob/master/preparehost-raspberryos.sh" rel="noreferrer" target="_blank">https://github.com/cgilles/digikam-install-deps/blob/master/preparehost-raspberryos.sh</a><br>
<br>
>From this list you don't need to remove something (see the bottom of<br>
this file). The script is used to also recompile the mast version of<br>
Qt, but you can use the PI based OS packages as well.<br>
<br>
digiKam use a lots of memory and CPU computations. My PI is the last<br>
version with 8Gb and 4 cores. I recommend using this model. You can<br>
use a 4Gb version if your collection is not too big....<br>
<br>
To host collection use an external SSD of course, connected on USB3<br>
port. It work like a charm.<br>
<br>
Best<br>
<br>
Gilles Caulier<br>
<br>
<br>
Le lun. 7 sept. 2020 à 03:22, Tonio Kroeger<br>
<<a href="mailto:tonio.kroeger1903@gmail.com" target="_blank">tonio.kroeger1903@gmail.com</a>> a écrit :<br>
><br>
> Hi Gilles,<br>
><br>
> that is great news! Can you give a hint/link to what are the prerequisites on the raspi? I really struggled with it. Installed a lot of stuff I had no idea what it was. In the end my (headless) raspi did not boot anymore...<br>
><br>
> Would be absolutely great to have digikam on the raspi!<br>
><br>
> Thanks<br>
><br>
> TK<br>
><br>
> On Sun, Jun 7, 2020 at 11:27 AM Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> I bought the last PI version 4 B, with 4 core ARM 64 bits and 8Gb of RAM.<br>
>><br>
>> compared to older PI 3 mono core 1 Gb, this version rock really and<br>
>> fully suitable with Plasma desktop.<br>
>><br>
>> Compared to version 3, version 4 compiles the whole digiKam from<br>
>> scratch in less than one hour. Under version 3, it's more than 10<br>
>> hours....<br>
>><br>
>> Expected for the Opengl API, all compile fine. I will investigate why<br>
>> libgl API do not export right functions, even if all include files are<br>
>> installed...<br>
>><br>
>> I also made a small patch to compile Exiv2 under ARM. I PR my patch<br>
>> but, as usual, it's always complicated with Robin to propose changes<br>
>> in the Exiv2 project even if the patch is very small.. I think the<br>
>> problem is a human one...<br>
>><br>
>> <a href="https://github.com/Exiv2/exiv2/pull/1231" rel="noreferrer" target="_blank">https://github.com/Exiv2/exiv2/pull/1231</a><br>
>><br>
>> digiKam under ARM report alignment of data warnings, especially with<br>
>> DImg API, like this :<br>
>><br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp: In member<br>
>> function ‘Digikam::DImg Digikam::DImg::smoothScaleClipped(int, int,<br>
>> int, int, int, int) const’:<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:231:81:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘ullong*’ {aka<br>
>> ‘long long unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGBA16(scaleinfo,<br>
>> reinterpret_cast<ullong*>(buffer.bits()),<br>
>><br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:237:80:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘ullong*’ {aka<br>
>> ‘long long unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGB16(scaleinfo,<br>
>> reinterpret_cast<ullong*>(buffer.bits()),<br>
>><br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:246:77:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka<br>
>> ‘unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGBA(scaleinfo, reinterpret_cast<uint*>(buffer.bits()),<br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:252:76:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka<br>
>> ‘unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGB(scaleinfo, reinterpret_cast<uint*>(buffer.bits()),<br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp: In member<br>
>> function ‘Digikam::DImg Digikam::DImg::smoothScaleSection(int, int,<br>
>> int, int, int, int) const’:<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:338:81:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘ullong*’ {aka<br>
>> ‘long long unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGBA16(scaleinfo,<br>
>> reinterpret_cast<ullong*>(buffer.bits()),<br>
>><br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:346:80:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘ullong*’ {aka<br>
>> ‘long long unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> dimgScaleAARGB16(scaleinfo,<br>
>> reinterpret_cast<ullong*>(buffer.bits()),<br>
>><br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:358:66:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka<br>
>> ‘unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> reinterpret_cast<uint*>(buffer.bits()),<br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:367:65:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka<br>
>> ‘unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> reinterpret_cast<uint*>(buffer.bits()),<br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp: In function<br>
>> ‘Digikam::DImgScale::DImgScaleInfo*<br>
>> Digikam::DImgScale::dimgCalcScaleInfo(const Digikam::DImg&, int, int,<br>
>> int, int, bool)’:<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:521:80:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘ullong*’ {aka<br>
>> ‘long long unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> isi->ypoints16 =<br>
>> dimgCalcYPoints16(reinterpret_cast<ullong*>(img.bits()), img.width(),<br>
>> img.height(), sch);<br>
>><br>
>> ^<br>
>> /home/gilles/Documents/7.x/core/libs/dimg/dimg_scale.cpp:526:76:<br>
>> warning: cast from ‘uchar*’ {aka ‘unsigned char*’} to ‘uint*’ {aka<br>
>> ‘unsigned int*’} increases required alignment of target type<br>
>> [-Wcast-align]<br>
>> isi->ypoints =<br>
>> dimgCalcYPoints(reinterpret_cast<uint*>(img.bits()), img.width(),<br>
>> img.height(), sch);<br>
>><br>
>> Voilà, work in progress<br>
>><br>
>> Gilles caulier<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>