Hi Rony,

I had the same issue when I made the changes to the CMake processing to
build the RPM.  To get the configurability of update-alternatives I had
to use a user-supplied spec file rather than the CMake-generated one.
This appears to have caused CMake to not understand where the generated
RPM file is. 

I updated my CMake to CMake v3 and didn't get the error, however this
version of CMake ignored the name of the RPM file and used its own name.

I don't know CMake enough to determine how to fix the build issue.

Cheers, Mark

On 13/8/19 10:53 pm, Rony G. Flatscher wrote:
>
> Hi there,
>
> <https://sourceforge.net/p/oorexx/bugs/1645/> reports a problem when
> using CMake to create a rpm package for ooRexx on Linux (used to work)
> using the command "cpack ./" after successfully running "cmake
> -DBUILD_RPM=1 -DOS_DIST=fedora -DCMAKE_BUILD_TYPE=Release
> path-2-oorexx-trunk" followed by "make".
>
> The reason seems that the "make" step creates the so-files in
>
>    
> "../_CPack_Packages/Linux/RPM/ooRexx-5.0.0-11902.fedora.x86_64/usr/*lib*/..."
>
>
> whereas cpack tries to copy from
>
>    
> "../_CPack_Packages/Linux/RPM/ooRexx-5.0.0-11902.fedora.x86_64/usr/*lib64*/..."
>
>
> which does not exist causing error messages and the abortion of the
> rpm building step.
>
> Any ideas how to fix this?
>
> TIA,
>
> ---rony
>
>
>
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

-- 
------------------------------------------------------------------------
* Mark Hessling, m...@rexx.org http://www.rexx.org/
* Author of THE, a Free XEDIT/KEDIT editor and, Rexx/SQL, Rexx/CURL, etc.
* Maintainer of Regina Rexx interpreter
* Use Rexx? join the Rexx Language Association: http://www.rexxla.org/ 
------------------------------------------------------------------------

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to