Windows build Environment cannot be installed anymore - need a hand
Posted: Sat Apr 01, 2023 11:11 am
Hi list,
I wanna revisit/update an older patch of mine and need to reinstall the windows build system (cf. https://wiki.mudlet.org/w/Compiling_Mudlet) with current versions (but this is still windows 10).
Alas, several of the packages in setup-windows-sdk.ps1 are no longer available and thus the whole setup breaks down. I realize the preferred Qt 5.14.2 is no longer available, the closest one is 5.15.2. This one, however, comes bundled with mingw8.10 only, you can select and install mingw7.30 in addition, but it will still include mingw8.10.
Also, I didn't manage to make Qt install QtCreator in qt-silent-install.qs . You can install QtCreator b4 or after running setup-windows-sdk.ps1 but it might break the build process. Building mudlet manuall with QtCreator complains about missing lua.
I could get this down to the point where it seems it cannot dowload yajl. Might be this is an issue at yajl site, the URL https://github.com/lloyd/yajl/tarball/2.1.0 goes nowhere/has a bug, is there an alternative? Also, repeat, it would be great if I could make qt-silent-install.qs install QtCreator but I don't know Qt, so I did not manage to find out what the component name is.
I need some help from s.o. understanding he logic of the setup script and build system to fix it. (Note: I had some direct conversation with Vadim and Stephen about it, but I think this issue might be better suited for the forum.)
Thanks people, Michael (aka Freshman).
--- End of src/verbose_output.log
ingw32-make[1]: Leaving directory 'C:/src/hunspell/hunspell-1.6.2'
/usr/bin/install: cannot stat `./de.gmo': No such file or directory
/usr/bin/install: cannot stat `./es.gmo': No such file or directory
/usr/bin/install: cannot stat `./hu.gmo': No such file or directory
/usr/bin/install: cannot stat `./it.gmo': No such file or directory
/usr/bin/install: cannot stat `./tg.gmo': No such file or directory
==== hunspell compiled and installed ====
==== compiling and installing yajl ====
---- Downloading ----
Using C:\Qt\5.15.2\mingw81_32 as QT base directory.
Using C:\Qt\Tools\mingw810_32 as MinGW base directory.
Using C:\Qt\Tools\mingw810_32\lib\lua\5.1\?.dll; as LuaRocks path.
-----------------------
What I already changed (sorry for the somewhat malformed diff, Cut&Paste did not work well):
CI\appveyor.functions.ps1:
@ -22,7 +22,7 @@ function SetQtBaseDir([string] $logFile) {
}
catch
{
- $Env:QT_BASE_DIR = "C:\Qt\5.13.2\mingw73_32"
+ $Env:QT_BASE_DIR = "C:\Qt\5.15.2\mingw81_32"
}
}
Write-Output "Using $Env:QT_BASE_DIR as QT base directory." | Tee-Object -File "$logFile" -Append
@ -215,7 +215,7 @@ function InstallBoost() {
}
function InstallQt() {
- DownloadFile "http://download.qt.io/official_releases ... online.exe" "qt-installer.exe"
+ DownloadFile "http://download.qt.io/official_releases ... online.exe" "qt-installer.exe"
Step "Installing"
exec ".\qt-installer.exe" @("--script=`"$(split-path -parent $script:MyInvocation.MyCommand.Path)\qt-silent-install.qs`"")
}
@ -229,7 +229,7 @@ function InstallPython() {
}
function InstallOpenssl() {
- DownloadFile "http://wiki.overbyte.eu/arch/openssl-1.1.1d-win32.zip" "openssl-win32.zip"
+ DownloadFile "http://wiki.overbyte.eu/arch/openssl-1.1.1n-win32.zip" "openssl-win32.zip"
ExtractZip "openssl-win32.zip" "openssl"
Step "installing"
exec "XCOPY" @("/S", "/I", "/Q", "openssl", "$Env:MINGW_BASE_DIR\bin")
CI\qt-silent-install.qs:
@ -27,8 +27,8 @@ Controller.prototype.ComponentSelectionPageCallback = function() {
var widget = gui.currentPageWidget();
widget.deselectAll();
- widget.selectComponent("qt.qt5.5132.win32_mingw73");
- widget.selectComponent("qt.tools.win32_mingw730");
+ widget.selectComponent("qt.qt5.5152.win32_mingw81");
+ widget.selectComponent("qt.tools.win32_mingw810");
gui.clickButton(buttons.NextButton);
}
I wanna revisit/update an older patch of mine and need to reinstall the windows build system (cf. https://wiki.mudlet.org/w/Compiling_Mudlet) with current versions (but this is still windows 10).
Alas, several of the packages in setup-windows-sdk.ps1 are no longer available and thus the whole setup breaks down. I realize the preferred Qt 5.14.2 is no longer available, the closest one is 5.15.2. This one, however, comes bundled with mingw8.10 only, you can select and install mingw7.30 in addition, but it will still include mingw8.10.
Also, I didn't manage to make Qt install QtCreator in qt-silent-install.qs . You can install QtCreator b4 or after running setup-windows-sdk.ps1 but it might break the build process. Building mudlet manuall with QtCreator complains about missing lua.
I could get this down to the point where it seems it cannot dowload yajl. Might be this is an issue at yajl site, the URL https://github.com/lloyd/yajl/tarball/2.1.0 goes nowhere/has a bug, is there an alternative? Also, repeat, it would be great if I could make qt-silent-install.qs install QtCreator but I don't know Qt, so I did not manage to find out what the component name is.
I need some help from s.o. understanding he logic of the setup script and build system to fix it. (Note: I had some direct conversation with Vadim and Stephen about it, but I think this issue might be better suited for the forum.)
Thanks people, Michael (aka Freshman).
--- End of src/verbose_output.log
ingw32-make[1]: Leaving directory 'C:/src/hunspell/hunspell-1.6.2'
/usr/bin/install: cannot stat `./de.gmo': No such file or directory
/usr/bin/install: cannot stat `./es.gmo': No such file or directory
/usr/bin/install: cannot stat `./hu.gmo': No such file or directory
/usr/bin/install: cannot stat `./it.gmo': No such file or directory
/usr/bin/install: cannot stat `./tg.gmo': No such file or directory
==== hunspell compiled and installed ====
==== compiling and installing yajl ====
---- Downloading ----
Using C:\Qt\5.15.2\mingw81_32 as QT base directory.
Using C:\Qt\Tools\mingw810_32 as MinGW base directory.
Using C:\Qt\Tools\mingw810_32\lib\lua\5.1\?.dll; as LuaRocks path.
-----------------------
What I already changed (sorry for the somewhat malformed diff, Cut&Paste did not work well):
CI\appveyor.functions.ps1:
@ -22,7 +22,7 @@ function SetQtBaseDir([string] $logFile) {
}
catch
{
- $Env:QT_BASE_DIR = "C:\Qt\5.13.2\mingw73_32"
+ $Env:QT_BASE_DIR = "C:\Qt\5.15.2\mingw81_32"
}
}
Write-Output "Using $Env:QT_BASE_DIR as QT base directory." | Tee-Object -File "$logFile" -Append
@ -215,7 +215,7 @@ function InstallBoost() {
}
function InstallQt() {
- DownloadFile "http://download.qt.io/official_releases ... online.exe" "qt-installer.exe"
+ DownloadFile "http://download.qt.io/official_releases ... online.exe" "qt-installer.exe"
Step "Installing"
exec ".\qt-installer.exe" @("--script=`"$(split-path -parent $script:MyInvocation.MyCommand.Path)\qt-silent-install.qs`"")
}
@ -229,7 +229,7 @@ function InstallPython() {
}
function InstallOpenssl() {
- DownloadFile "http://wiki.overbyte.eu/arch/openssl-1.1.1d-win32.zip" "openssl-win32.zip"
+ DownloadFile "http://wiki.overbyte.eu/arch/openssl-1.1.1n-win32.zip" "openssl-win32.zip"
ExtractZip "openssl-win32.zip" "openssl"
Step "installing"
exec "XCOPY" @("/S", "/I", "/Q", "openssl", "$Env:MINGW_BASE_DIR\bin")
CI\qt-silent-install.qs:
@ -27,8 +27,8 @@ Controller.prototype.ComponentSelectionPageCallback = function() {
var widget = gui.currentPageWidget();
widget.deselectAll();
- widget.selectComponent("qt.qt5.5132.win32_mingw73");
- widget.selectComponent("qt.tools.win32_mingw730");
+ widget.selectComponent("qt.qt5.5152.win32_mingw81");
+ widget.selectComponent("qt.tools.win32_mingw810");
gui.clickButton(buttons.NextButton);
}