I am packaging Regina Rexx interpreter for Haiku and am running into problems with installing one of the packages.
Regina Rexx has the capabilities to run external functions provided by other packages such as Rexx/CURL. The external functions are packaged in a shared object and need to be installed into a single location so the Regina Rexx interpreter can find them.
I am using /boot/system/non-packaged/lib to install the external functions as this is the only location that appears to be writeable by more than one hpkg package.
However when I install libregina3-3.9.6-1-x86_64.hpkg the files and directories in non-packaged are not created. See the results of
package list libregina3-3.9.6-1-x86_64.hpkg
package-attributes:
name: libregina3
summary: The Regina Rexx interpreter. Shared library.
description: Regina is an implementation of a Rexx interpreter, compliant with
the ANSI Standard for Rexx (1996).
vendor: Mark Hessling
packager: Mark Hessling <mark@rexx.org>
architecture: x86_64
version: 3.9.6-2
copyright: 1992-1993 Anders Christensen
copyright: 1993-2022 Mark Hessling
license: GNU LGPL v2
URL: link removed
source URL: link removed
provides: libregina3 = 3.9.6
lib 0 2024-05-26 10:20:51 drwxr-xr-x
libregina.so.3 0 2024-05-26 10:20:51 lrwxrwxrwx -> libregina.so.3.9
libregina.so.3.9 1868448 2024-05-26 10:20:51 -rw-r--r--
non-packaged 0 2024-05-26 10:20:51 drwxr-xr-x
lib 0 2024-05-26 10:20:51 drwxr-xr-x
regina-rexx 0 2024-05-26 10:20:51 drwxr-xr-x
addons 0 2024-05-26 10:20:51 drwxr-xr-x
libregutil.so 294832 2024-05-26 10:20:51 -rw-r--r--
.PackageInfo 712 2024-05-26 10:20:52 -rw-r--r--
Looking in /boot/system/non-packaged/lib I see that Python 3.10 has a directory structure. The contents of the Python 3.10 hpkg are:
package list python3.10-3.10.13-3-x86_64.hpkg
package-attributes:
name: python3.10
summary: An interpreted, interactive, object-oriented programming language
description: Python is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs.
...
non-packaged 0 2024-02-14 03:22:30 drwxr-xr-x
lib 0 2024-02-14 03:22:30 drwxr-xr-x
python3.10 0 2024-02-14 03:22:30 drwxr-xr-x
site-packages 0 2024-02-14 03:18:47 drwxr-xr-x
README.txt 119 2024-02-14 03:18:47 -rw-r--r--
.PackageInfo 1914 2024-02-14 03:22:37 -rw-r--r--
ls /boot/system/non-packaged/lib
perl5 pkgconfig python2.7 python3.10
The non-packaged structures in the hpkg files look the same. How is it that the Python hpkg file works and libregina3 hpkg doesn’t?
Thanks for any assistance, Mark