NucleaPeon / qt5-sle

Qt 5 Snow Leopard Edition based on Qt 5.3.2
Other
1 stars 2 forks source link

Building on Linux with g++ fails #3

Open NucleaPeon opened 1 year ago

NucleaPeon commented 1 year ago
cd qtbase/ && ( test -e Makefile || /home/kubuntu/Development/qt5-sle/qtbase/bin/qmake /home/kubuntu/Development/qt5-sle/qtbase/qtbase.pro -o Makefile ) && gmake -f Makefile 
gmake[1]: Entering directory '/home/kubuntu/Development/qt5-sle/qtbase'
/home/kubuntu/Development/qt5-sle/qtbase/bin/qmake -o Makefile qtbase.pro
/home/kubuntu/Development/qt5-sle/qtbase/mkspecs/features/qt_build_config.prf:39: Cannot write cache file /home/kubuntu/Development/qt5-sle/qtbase/.qmake.cache: Permission denied.
/home/kubuntu/Development/qt5-sle/qtbase/mkspecs/features/qt_build_config.prf:44: Cannot write cache file /home/kubuntu/Development/qt5-sle/qtbase/.qmake.cache: Permission denied.
/home/kubuntu/Development/qt5-sle/qtbase/mkspecs/features/qt_parts.prf:13: Cannot write cache file /home/kubuntu/Development/qt5-sle/qtbase/.qmake.cache: Permission denied.
Project WARNING: Unknown build part(s): tools examples
Failure to open file: /home/kubuntu/Development/qt5-sle/qtbase/Makefile
Unable to generate makefile for: qtbase.pro
gmake[1]: *** [Makefile:166: Makefile] Error 5
gmake[1]: Leaving directory '/home/kubuntu/Development/qt5-sle/qtbase'
gmake: *** [Makefile:64: module-qtbase-make_first] Error 2

And I got a different error when configuring on ppc64, the configure phase gave an error but also gave the impression of success. Could be many issues.

I think what should happen is we move to cmake to build qt 5.3.2 SLE based on what exists for later qt5 versions but compatible with 3.0.2 which I have on snow leopard right now (or at least min 3.0.0 version)

I may have to create a wiki on this project for documenting all variables and where they are located and the process of the build system as I'm not too familiar with configure (autotools?).

NucleaPeon commented 1 year ago

Also see https://forum.qt.io/topic/121528/compilation-of-qt5-3-1-on-ubuntu-20-04-1 for someone with a similar issue compiling 5.3.1 on ubuntu 20.04.

My machine is Mint recently upgraded to 22.04