Thanks for the info see my other mail re Linux

Hälsningar/Regards/Grüsse,
P.O. Jonsson
[email protected]



> Am 06.02.2020 um 22:30 schrieb Erich Steinböck <[email protected]>:
> 
> Hi P.O.
> 
> Question 1: Is it normal that cpack installs the successful build or not?
> No, cpack just creates the rpm.  
> 
> Question 2: is it necessary to uninstall before installing a never version or 
> is this taken care of in the installer for Linux? (pre and post scripts)
> Should not be necessary.
> 
> Question 3: I would like to automate this completely, any ideas on how to do 
> this? I can script the removal of the package but the to-be-installed package 
> have a new name every time.
> Just use ooRexx-5.0.0-*.x86_64.rpm
> 
> Would you be willing to attach your CentOS 8 machine (or VM) to our Jenkins 
> build server for automated builds?
> 
> On Mon, Dec 9, 2019 at 10:30 PM P.O. Jonsson <[email protected] 
> <mailto:[email protected]>> wrote:
> Dear Developers, 
> 
> I am building ooRexx on CentOS Linux 8, this works well and all tests pass at 
> the moment (11963), In essence I perform this steps to build:
> 
> cd ~/workspace/oorexx-centos8-build/oorexxSVN
> svn update
> pkill rxapi
> rm -dfr ~/workspace/oorexx-centos8-build/oorexxbuild/*
> cd ~/workspace/oorexx-centos8-build/oorexxbuild
> cmake -DBUILD_RPM=1 -DOS_DIST=centos8 -DCMAKE_BUILD_TYPE=RELEASE ../oorexxSVN
> make clean
> make
> cpack ./
> 
> This creates a rpm package but Cpack does not install the created package on 
> CentOS Linux 8. On other platforms (macOS/Darwin) running cpack also 
> installed the actual build. Here my last step in the build process.
> 
> [100%] Linking C shared library ../lib/liborxclassic1.so
> [100%] Built target orxclassic1
> CPack: Create package using RPM
> CPack: Install projects
> CPack: - Run preinstall target for: ooRexx
> CPack: - Install project: ooRexx
> xdg-desktop-menu: file '/usr/share/applications/rexxtry.desktop' does not 
> exist
> CPack: Create package
> CPackRPM: Will use USER specified spec file: 
> /home/osboxes/workspace/oorexx-centos8-build/oorexxSVN/platform/unix/oorexx.spec
> CPack: - package: 
> /home/osboxes/workspace/oorexx-centos8-build/oorexxbuild/ooRexx-5.0.0-11963.x86_64.rpm
>  generated.
> 
> The command to install the new rpm is
> sudo dnf install ooRexx-5.0.0-11963.x86_64.rpm
> 
> But the command to uninstall the existing version is
> sudo dnf remove ooRexx.x86_64
> 
> Question 1: Is it normal that cpack installs the successful build or not?
> 
> Question 2: is it necessary to uninstall before installing a never version or 
> is this taken care of in the installer for Linux? (pre and post scripts)
> 
> Question 3: I would like to automate this completely, any ideas on how to do 
> this? I can script the removal of the package but the to-be-installed package 
> have a new name every time.
> 
> All help is most welcome
> 
> Hälsningar/Regards/Grüsse,
> P.O. Jonsson
> [email protected] <mailto:[email protected]>
> 
> 
> 
> 
> _______________________________________________
> Oorexx-devel mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel 
> <https://lists.sourceforge.net/lists/listinfo/oorexx-devel>
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to