Hello, all.
I am attempting to create a ooRexx 4.2.0 .deb install file for use on a
Ubuntu 16.04 s390x system running as a guest of z/VM on an IBM z
mainframe and I have run into a problem.
I have:
1) downloaded the ooRexx-4.2.0-source.tar.gz fiel and expanded it
2) built ooRexx:
a) ./configure
b) make
c) sudo make install
All works as it should
3) created the "control", "postrm", "prerm", "postinst" and "md5sums"
files based on the ones in the ooRexx-4.2.0-1.ubuntu1310.x86_64.deb
distribution.
4) created the .deb file:
sudo dpkg-deb --build ooRexx-4.2.0
with no errors reports.
5) copied the ooRexx-4.2.0.deb file to another Ubuntu 16.04 guest on z/VM
6) installed it:
> dave@vsoft-web:~$ sudo dpkg --install ooRexx-4.2.0.deb
> (Reading database ... 49342 files and directories currently installed.)
> Preparing to unpack ooRexx-4.2.0.deb ...
> /home/dave/ooRexx-4.2.0/bin/rxapi not installed
> Unpacking oorexx (4.2.0-9940) over (4.2.0-9940) ...
> Setting up oorexx (4.2.0-9940) ...
> ln: '/usr/lib/librexx.so' and '/usr/lib/librexx.so.4.0.6' are the same
> file
> ln: '/usr/lib/librexxapi.so' and '/usr/lib/librexxapi.so.4.0.6' are
> the same file
> ln: '/usr/lib/librxsock.so' and '/usr/lib/librxsock.so.4.0.6' are the
> same file
> ln: '/usr/lib/librxmath.so' and '/usr/lib/librxmath.so.4.0.6' are the
> same file
> ln: '/usr/lib/librxregexp.so' and '/usr/lib/librxregexp.so.4.0.6' are
> the same file
> ln: '/usr/lib/librexxutil.so' and '/usr/lib/librexxutil.so.4.0.6' are
> the same file
> ln: '/usr/lib/libhostemu.so' and '/usr/lib/libhostemu.so.4.0.6' are
> the same file
> ln: '/usr/lib/librxunixsys.so' and '/usr/lib/librxunixsys.so.4.0.6'
> are the same file
> /home/dave/ooRexx-4.2.0/bin/rxapi not installed
> dpkg: error processing package oorexx (--install):
> subprocess installed post-installation script returned error exit
> status 5
> Processing triggers for man-db (2.7.5-1) ...
> Errors were encountered while processing:
> oorexx
> dave@vsoft-web:~$
I'm not sure why the post-installation script is returning an error
status of 5 and rxapi not being installed. The installation scripts are
exactly the same as the ones used for the x86_64 architecture.
ooRexx seems to get installed, though:
> dave@vsoft-web:~$ rexx -v
> Open Object Rexx Version 4.2.0
> Build date: Dec 14 2016
> Addressing Mode: 64
>
> Copyright (c) IBM Corporation 1995, 2004.
> Copyright (c) RexxLA 2005-2013.
> All Rights Reserved.
> This program and the accompanying materials are made available under
> the terms of the Common Public License v1.0 which accompanies this
> distribution or at
> http://www.oorexx.org/license.html
> dave@vsoft-web:~$ rexx rexxtry.rex
> REXX-ooRexx_4.2.0(MT)_64-bit 6.04 14 Dec 2016
> rexxtry.rex lets you interactively try REXX statements.
> Each string is executed when you hit Enter.
> Enter 'call tell' for a description of the features.
> Go on - try a few... Enter 'exit' to end.
> say 'running ooRexx on s390x Ubuntu!'
> running ooRexx on s390x Ubuntu!
> ............................................... rexxtry.rex on LINUX
> exit
although the Debian package manger doesn't seem to think so.
Can someone point out what I have done incorrectly here?
Thanks and Happy Holidays, too.
DJ
--
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel