Closed TinCanTech closed 1 year ago
Hi,
On Thu, May 27, 2021 at 10:02:10AM -0700, TinCanTech wrote:
I presume this is related to the new manual parts.
You need to have "rst2man" installed. On Gentoo this is part of the "docutils" package.
@samuli: can you please include that in your "how to set up a NSIS building machine" documentation?
I commented out three references to
openvpn.8.html
inopenvpn.nsi
and successfully built the complete installer.
No, you built an incomplete installer :-)
gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany @.***
You need to have "rst2man" installed. On Gentoo this is part of the "docutils" package.
Indeed, I did not have docutils-common
as it is called by ubuntu
Would it be better for this script to check for prerequisites before starting ? Otherwise, it is a fair time to wait for a failure. (20mins for --build-depcache
and 5mins more for --use-depcache
).
In this use case, I did not have quite a few of the requirements installed, so it took me ages to complete. Even after reading the requirements here: https://community.openvpn.net/openvpn/wiki/SettingUpGenericBuildsystem
I can edit that page.
No, you built an incomplete installer :-)
Story of my life ;-)
I leave this open so someone who feels like hacking on openvpn-build can find it.
TO DO: check prerequisites early, so it doesn't fail after wasting 5..20 minutes of build time.
This feature is a side-effect of how openvpn-build was originally designed: the packaging phase was tightly integrated with the build phase. It is possible to run the packaging phase separate - I believe our Trac wiki has some of my notes about it - but it is clumsy. Basically you need to figure out all the variables that get passed down from the build to the NSIS command-line. Checking for file presence in advance would be fairly easy, though, at least in the actual build scripts.
We have decided to remove the nsis/mingw buildsystem since it is not maintained anymore. Only the msi/msvc buildsystem will remain, unless someone steps up to maintain the other parts. This issue will be closed when the removal actually happens.
NSIS installer is not supported anymore. Closing issues.
I presume this is related to the new manual parts.
Log:
I commented out three references to
openvpn.8.html
inopenvpn.nsi
and successfully built the complete installer.