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