<html><head>

<style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] {  list-style-position: inside;}
body { font-family: Calibri; font-size: 11pt;   }--></style></head><body class="plain"><div>Thanks again Rene,</div><div><br /></div><div>I managed to solve the problem. The autogen command works now:</div><div><font color="#0b5394"><br /></font></div><div><font color="#0b5394"><b>test@test-virtual-machine:~/libreoffice$ ./autogen.sh --with-distro=LibreOfficeLinux --with-package-format=deb --enable-epm</b></font></div><div><font color="#0b5394">... </font></div><div><span><font color="#0b5394">Language Configuration unchanged - avoiding scp2 stamp update</font></span></div><div><font color="#0b5394">****************************************************************************<br /><br />To build, run:<br />/usr/bin/make<br /><br />To view some help, run:<br />/usr/bin/make help<br /><br />After the build has finished successfully, you can immediately run what you built using the command:<br />instdir/program/soffice<br /><br />If you want to run the smoketest, run:<br />/usr/bin/make check<br /><br />*************************************<br />* WARNING : XCB ICCCM not found, which is needed for Qt versions (< 5.12) on some WMs to correctly group dialogs (like QTBUG-46626)</font></div><div><br /></div><div>However, make fails this time:</div><div><br /></div><div><font color="#0b5394">[MOD] dictionaries<br />[PRL] CustomTarget/postprocess/images/images_breeze.zip<br />[PRL] CustomTarget/postprocess/images/images_breeze_dark.zip<br />[PRL] CustomTarget/postprocess/images/images_breeze_dark_svg.zip<br />[PRL] CustomTarget/postprocess/images/images_breeze_svg.zip<br />[PRL] CustomTarget/postprocess/images/images_colibre.zip<br />In file included from /usr/include/kio/kio_export.h:24:0,<br />                 from /usr/include/kio/global.h:22,<br />                 from /usr/include/kprotocolmanager.h:26,<br />                 from /home/test/libreoffice/shell/source/backends/kf5be/kf5access.cxx:31:<br />/usr/include/kpluginfactory.h:263:5: error: âQ_DECL_CONSTRUCTOR_DEPRECATEDâ does not name a type; did you mean âKDE_CONSTRUCTOR_DEPRECATEDâ?<br />     KDE_CONSTRUCTOR_DEPRECATED explicit KPluginFactory(const KAboutData *aboutData, QObject *parent = 0);<br />     ^<br />/usr/include/kpluginfactory.h:270:14: error: âQ_DECL_CONSTRUCTOR_DEPRECATEDâ does not name a type; did you mean âKDE_CONSTRUCTOR_DEPRECATEDâ?<br />     explicit KDE_CONSTRUCTOR_DEPRECATED KPluginFactory(QObject *parent);<br />              ^<br />In file included from /usr/include/kservice.h:30:0,<br />                 from /usr/include/kprotocolinfo.h:27,<br />                 from /usr/include/kprotocolmanager.h:27,<br />                 from /home/test/libreoffice/shell/source/backends/kf5be/kf5access.cxx:31:<br />/usr/include/KF5/KCoreAddons/kpluginfactory.h:330:26: error: redefinition of âclass KPluginFactoryâ<br /> class KCOREADDONS_EXPORT KPluginFactory : public QObject<br />                          ^~~~~~~~~~~~~~<br />In file included from /usr/include/klibloader.h:29:0,<br />                 from /usr/include/kservice.h:28,<br />                 from /usr/include/kprotocolinfo.h:27,<br />                 from /usr/include/kprotocolmanager.h:27,<br />                 from /home/test/libreoffice/shell/source/backends/kf5be/kf5access.cxx:31:<br />/usr/include/kpluginfactory.h:232:22: note: previous definition of âclass KPluginFactoryâ<br /> class KDECORE_EXPORT KPluginFactory : public QObject<br />                      ^~~~~~~~~~~~~~<br />In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:98:0,<br />                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,<br />                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qfont.h:43,<br />                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QFont:1,<br />                 from /home/test/libreoffice/shell/source/backends/kf5be/kf5access.cxx:24:<br />/usr/include/KF5/KCoreAddons/kpluginfactory.h:332:5: error: expected unqualified-id before end of line<br />     Q_OBJECT<br />     ^<br />/usr/include/KF5/KCoreAddons/kpluginfactory.h:332:5: error: expected declaration before end of line<br />/home/test/libreoffice/solenv/gbuild/LinkTarget.mk:298: recipe for target '/home/test/libreoffice/workdir/CxxObject/shell/source/backends/kf5be/kf5access.o' failed<br />make[1]: *** [/home/test/libreoffice/workdir/CxxObject/shell/source/backends/kf5be/kf5access.o] Error 1<br />make[1]: *** Waiting for unfinished jobs....<br />Note: Some input files use or override a deprecated API.<br />Note: Recompile with -Xlint:deprecation for details.<br />Note: /home/test/libreoffice/ridljar/com/sun/star/lib/util/WeakMap.java uses unchecked or unsafe operations.<br />Note: Recompile with -Xlint:unchecked for details.</font><br /></div><div><br /></div><div>I was able to compile and run LO on a different Ubuntu. Not sure why this one fails? </div><div><br /></div><div>Regards</div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: <a href="mailto:rene.engelhard@mailbox.org">rene.engelhard@mailbox.org</a></div>
<div>To: "Ismet Bahadir" <<a href="mailto:ismetbahadir@gmail.com">ismetbahadir@gmail.com</a>>; "Muhammet Kara" <<a href="mailto:muhammet.kara@collabora.com">muhammet.kara@collabora.com</a>></div>
<div>Cc: "libreoffice-dev" <<a href="mailto:libreoffice@lists.freedesktop.org">libreoffice@lists.freedesktop.org</a>></div>
<div>Sent: 15-Jun-20 10:49:10 AM</div>
<div>Subject: Re: Re[2]: Building LO from source</div><div><br /></div>
<div id="x4b7b65a704c4494"><blockquote type="cite" class="cite2">

<div class="plain_line">Am 15. Juni 2020 07:35:58 MESZ schrieb Ismet Bahadir <<a href="mailto:ismetbahadir@gmail.com">ismetbahadir@gmail.com</a>>:</div>
<blockquote type="cite" class="cite">
<div class="plain_line">Hi Rene,</div>
<div class="plain_line"> </div>
<div class="plain_line">Thanks for the reply. I deleted the Debian and CentOS virtual machine,</div>
<div class="plain_line">so I cannot re-check. My current system is:</div>
<div class="plain_line"> </div>
<div class="plain_line">1) test@test-virtual-machine:~/libreoffice$ cat /etc/os-release</div>
<div class="plain_line">NAME="Ubuntu"</div>
<div class="plain_line">VERSION="18.04.4 LTS (Bionic Beaver)"</div>
<div class="plain_line">ID=ubuntu</div>
<div class="plain_line">ID_LIKE=debian</div>
<div class="plain_line">PRETTY_NAME="Ubuntu 18.04.4 LTS"</div>
<div class="plain_line">VERSION_ID="18.04"</div>
<div class="plain_line">HOME_URL="<a href="https://www.ubuntu.com/">https://www.ubuntu.com/</a>"</div>
<div class="plain_line">SUPPORT_URL="<a href="https://help.ubuntu.com/">https://help.ubuntu.com/</a>"</div>
<div class="plain_line">BUG_REPORT_URL="<a href="https://bugs.launchpad.net/ubuntu/">https://bugs.launchpad.net/ubuntu/</a>"</div>
<div class="plain_line">PRIVACY_POLICY_URL="<a href="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy">https://www.ubuntu.com/legal/terms-and-policies/privacy-policy</a>"</div>
<div class="plain_line">VERSION_CODENAME=bionic</div>
<div class="plain_line">UBUNTU_CODENAME=bionic</div>
<div class="plain_line"> </div>
<div class="plain_line">I could install dependent packages:</div>
<div class="plain_line"> </div>
<div class="plain_line">2) test@test-virtual-machine:~/libreoffice$ sudo apt-get build-dep</div>
<div class="plain_line">libreoffice</div>
<div class="plain_line">Reading package lists... Done</div>
<div class="plain_line">Reading package lists... Done</div>
<div class="plain_line">Building dependency tree</div>
<div class="plain_line">Reading state information... Done</div>
<div class="plain_line">The following packages were automatically installed and are no longer</div>
<div class="plain_line">required:</div>
<div class="plain_line">   gir1.2-geocodeglib-1.0 libwayland-egl1-mesa ubuntu-web-launchers</div>
<div class="plain_line">Use 'sudo apt autoremove' to remove them.</div>
<div class="plain_line">0 upgraded, 0 newly installed, 0 to remove</div>
<div class="plain_line"> </div>
<div class="plain_line">3) Then, I had to install fakeroot and qt5-default (autogen failed)</div>
<div class="plain_line"> </div>
<div class="plain_line">4) But I'm facing this error now:</div>
<div class="plain_line"> </div>
<div class="plain_line">  configure: error: KF5 headers not found.  Please specify the root of</div>
<div class="plain_line">your KF5 installation by exporting KF5DIR before running "configure".</div>
<div class="plain_line"> </div>
<div class="plain_line">Any suggestions to fix this?</div>
<div class="plain_line"> </div>
<div class="plain_line">Regards</div>
<div class="plain_line"> </div>
<div class="plain_line">------ Original Message ------</div>
<div class="plain_line">From: "Rene Engelhard" <<a href="mailto:rene.engelhard@mailbox.org">rene.engelhard@mailbox.org</a>></div>
<div class="plain_line">To: "Ismet Bahadir" <<a href="mailto:ismetbahadir@gmail.com">ismetbahadir@gmail.com</a>>; "Muhammet Kara"</div>
<div class="plain_line"><<a href="mailto:muhammet.kara@collabora.com">muhammet.kara@collabora.com</a>></div>
<div class="plain_line">Cc: "libreoffice-dev" <<a href="mailto:libreoffice@lists.freedesktop.org">libreoffice@lists.freedesktop.org</a>></div>
<div class="plain_line">Sent: 14-Jun-20 5:28:47 PM</div>
<div class="plain_line">Subject: Re: Building LO from source</div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line">Hi,</div>
<div class="plain_line"> </div>
<div class="plain_line">Am 14.06.20 um 10:06 schrieb Ismet Bahadir:</div>
<blockquote type="cite" class="cite">
<div class="plain_line">   The "build-deb libreoffice" command also fails on my Debian-10</div>
<div class="plain_line">  virtual machine. It says "the system requires javahelper" but can't</div>
<div class="plain_line">  find and install javahelper</div>
<div class="plain_line"> </div>
</blockquote>
<div class="plain_line">If at all, "build-dep".</div>
<div class="plain_line"> </div>
<div class="plain_line">And:</div>
<div class="plain_line"> </div>
<div class="plain_line">javahelper | 0.72.9        | stable       | all</div>
<div class="plain_line"> </div>
<div class="plain_line">so it's available, of course. Whatever you do, you do it wrong:</div>
<div class="plain_line"> </div>
<div class="plain_line"># apt build-dep libreoffice</div>
<div class="plain_line">Reading package lists... Done</div>
<div class="plain_line">Reading package lists... Done</div>
<div class="plain_line">Building dependency tree... Done</div>
<div class="plain_line">[...]</div>
<div class="plain_line">0 upgraded, 1138 newly installed, 0 to remove and 0 not upgraded.</div>
<div class="plain_line">Need to get 868 MB of archives.</div>
<div class="plain_line">After this operation, 2987 MB of additional disk space will be used.</div>
<div class="plain_line">Do you want to continue? [Y/n]</div>
<div class="plain_line"> </div>
<div class="plain_line">#</div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line">  > Except from the (accidental?) double paste, I see repeating</div>
</blockquote>
</blockquote>
<div class="plain_line">params</div>
<blockquote type="cite" class="cite">
<blockquote type="cite" class="cite">
<div class="plain_line">  like '*--disable-gstreamer*' at 2 different places. And I would</div>
</blockquote>
</blockquote>
<div class="plain_line">make</div>
<blockquote type="cite" class="cite">
<blockquote type="cite" class="cite">
<div class="plain_line">  sure I really need all the '--without-*' and "--disable-*" params.</div>
<div class="plain_line">  Some might impact certain functionalities/features or extensions.</div>
<div class="plain_line"> </div>
<div class="plain_line">  TBH, I don't know what those parameters are and do.</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Sigh.</div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line">  Those double pastes were accidental, yes. Actually those</div>
<div class="plain_line">  parameters were taken from a web site (don't remember now). It was</div>
<div class="plain_line">  arguing to create an autogen.input file and put these lines in the</div>
<div class="plain_line">  file but there were no explanations.</div>
<div class="plain_line"> </div>
<div class="plain_line">  Is it best to install with all those parameters? What I need to do</div>
</blockquote>
</blockquote>
<div class="plain_line">is</div>
<blockquote type="cite" class="cite">
<blockquote type="cite" class="cite">
<div class="plain_line">  simple:</div>
</blockquote>
<div class="plain_line">[...]</div>
<blockquote type="cite" class="cite">
<div class="plain_line">  3) I want to be able to install an extension in Calc</div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">And if it's a Java extension, *of course* using --without-java (as you</div>
<div class="plain_line">did) makes no sense.</div>
<div class="plain_line"> </div>
<div class="plain_line">Regards,</div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
<div class="plain_line">Rene</div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
</blockquote>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Hi,</div>
<div class="plain_line"> </div>
<div class="plain_line">Obviously you want to install the kde 5 stuff.</div>
<div class="plain_line"> </div>
<div class="plain_line"> If You base on a old Ubuntu only shipping kde4 and thus not having the appropriate build-deps...</div>
<div class="plain_line"> </div>
<div class="plain_line">apt build-dep is not magic it takes the distro source package as a base and install *their* build-dependencies which in your case apparently did not include kde5.</div>
<div class="plain_line"> </div>
<div class="plain_line">(Or disable it.)</div>
<div class="plain_line"> </div>
<div class="plain_line">Sorry, that is simple basics.</div>
<div class="plain_line"> </div>
<div class="plain_line">Regards</div>
<div class="plain_line"> </div>
<div class="plain_line">Rene</div>
<div class="plain_line">--</div>
<div class="plain_line">Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.</div>
</blockquote></div>
</body></html>