ooRexx from the ooRexx-4.2.0-source.tar.gz file fails to compile on Mac OS X 10.6.8 (Intel 32bit)for the following reason:
make[2]: No rule to make target rexxapi/server/platform/unix/mac/APIService.cpp', needed by
rxapi-APIService.o'. Stop.
make[1]: [all-recursive] Error 1
make: *** [all] Error 2
No such file: rexxapi/server/platform/unix/mac/APIService.cpp
No such directory rexxapi/server/platform/unix/mac
Anonymous
Hello Bruce,
Have a look at item 1263 a bit further down the list.
So Mac users will not be able to run the latest stable version, but instead would be forced to wait for if and when 5.0.0. will be released? That would be a sad conclusion.
The reporter of bug 1263 already hints at a potential solution. Have you/anyone tried it and ran a few tests yet?
Many thanks in advance for looking intom this!
Dear Alexander,
Version 5.0.0 IS a stable version for all that I know, I am using version 5.0.0 on a Mac since well over half a year, and it is very stable. I have had it running programs for weeks in a row without any crashes so I suggest you give it a go and just try it out, I´ll promise it is well worth the time spent!
The quickest way for Mac users to getooRexx is to use the installer prepared for Bsf4ooRexx, you will get a bridge to Java at no cost but the ooRexx installation can be used as is also without this extra sugar. The nice thing with the Bsf installer is that it comes with an uninstaller as well so you can try it out and remove it if you are not happy with the click of a button, very neat.
https://sourceforge.net/projects/bsf4oorexx/files/beta/20171022/ https://sourceforge.net/projects/bsf4oorexx/files/beta/20171022/
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oorexx@jonases.se
Related
Bugs:
#1319Hello Per,
many thanks for your swift response! It seems your suggestion is the fastest and most convenient way of getting started on a Mac.
My use case was however, that I wanted to make a Homebrew formula for ooRexx. Homebrew so far only provides a Regina package, but not ooRexx, so I thought I'd slap one up.
To make a Homebrew formula, I would need a URL for source tarball. I haven't been able to find one though?
Hence I turned to 4.2.0, which is the latest stable according to the downloads page. When building it, I ran into this issue. Appranetly it stands unfixed since 2014, so it might well be that I am out of luck...?
Hi Alexander,
that is one excellent idea, and I am sure a lot of people will be very thankful if they can ‘brew install oorexx’ - I would be one of them.
We are only a few steps away from releasing ooRexx 5.0.0. I will make sure you have a source tarball to test with as soon as possible. How easy is it to update your formula with a later version? For the macOS version there are some tiny details to be arranged, like the location (will that always be ~/homebrew/ ? We must be sure to take out any hardcoded dependencies on other locations, like for example the pid file.
You do know about the daemon process rxapi? Can you make a brew service rxapi start/stop/reload/status out of that?
I’ll try to have something available pronto so you can work on 5.0.0 - please don’t invest in 4.2.0 for the mac.
best regards,
René
Related
Bugs:
#1319Hello Réné,
Great. It seems you've just volunteered as an alpha tester for the HB formula? ;-))
That's not different from any other open source project. Homebrew is on github, so we'll have to get some maintainer's attention, and ask them to merge the pull request that updates the formula.
Not sure what you're referring to here? Usually, homebrew lives in
/usr/local
. No traces of it in the home dir.I haven't done stuiff that starts a service yet, but I'm quite sure there will be some prior art for this in hombrew formulae, from which I can inspire myself (read: shamelessly copy stuff).
Cool! yes, please do keep me posted on any (pre-) releases I could use.
Yes, I will happily keep testing it.
There is SIP; my homebrew runs from my homedir. Do not remember since when.
best regards,
René.
https://en.wikipedia.org/wiki/SIP ???
I wouldn't foresee any difficulties with that. Wherever you decided to install it, should be refernced from the relevant environmnet variables (
PATH
,LD_LIBRARY_PATH
, and similar), or else your setup wouldn't have been overly usable in the first place. I would thus think that its safe to assume that when you do abrew install oorexx
, you already have a working homebrew in place. So we shouldn't have to worry about executables and stuff that comes with them (shared libs, global config files, asf.).https://en.wikipedia.org/wiki/System_Integrity_Protection https://en.wikipedia.org/wiki/System_Integrity_Protection
I am a strong proponent of including BSF4ooRexx in every mac install.
Will try to have a source tarball today (but I am in a timezone where it is 10 AM now, so that might be tomorrow for you).
best regards,
René.
Related
Bugs:
#1319Hello Alexander,
Making a version for Homebrew is indeed an excellent idea, I’ll help if I can, I can certainly be your guinea pig :-). I am a vivid Homebrewer myself and already have some 13 items installed that way.
Homebrew itself lives in
/usr/local/Homebrew
And it stores all installations in
/usr/local/Cellar/<item>
It then make symbolic links (symlinks) to
/usr/local/bin
Where the system will find it back.
I have started to make a generic installer for Mac some time ago and I am almost there, I can build a running system from daily builds, but I got stuck when I came to the symlinks. I started to make them manually (there are some 20 of them needed) with the intention to write a script to define them so that it would be possible also to uninstall the stuff. But then I got carried away on another project :-(
There is one other reason why you might still want to go with the Bsf installation: There is no GUI for Mac in ooRexx, at least not yet. ooDialog is only available on Windows to my knowledge. With Bsf you have a sleek JAVA GUI at your finger tips. I use a Java XML parser (two actually) over this bridge and it is only a ~ away.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oorexx@jonases.se
Related
Bugs:
#1319As a follower of the "one thing well" mantra, I think I would prefer to first make a formula install oorexx only. For any GUI wrapper, a separate homebrew formula could be made, which lists oorexx as a mandatory prerequisite. That way, when installing - hypothetical example -
bsf-oorexx
, the script would check whether oorexx is installed, and install it first if missing.And it is P.O. by the way, Per is just the half of my name :-)
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oorexx@jonases.se
Related
Bugs:
#1319Oops, sorry!
Hello Per Olov, and Réné,
So I'm waiting for you guys to announce the availability of the 5.0.0 source tarball, sO I can get started on the homebrew formula. If you post the announcement here, I can pick it up.
Homebrew is maintained on github. It would thus be most convenient for me to handle the development of the formula there, too. Do you have github accounts, too?
Dear Alexander and René,
This (oorexx:bugs) might be the wrong place to discuss an installer for ooRexx so if an administrator wants to move it to the oorexx-users list I have no objections.
I can not provide you with the essentials for making a formula but I guess René can, I just want to point out that BSF4ooRexx and ooRexx with it are both installed as „Frameworks“, concepts devised by Apple I guess for things like interpreters and the like. They both reside on a Mac in
/Library/Frameworks/BSF4ooRexx.framework
/Library/Frameworks/ooRexx.framework
And symlink to
/usr/local/bin
/usr/local/lib
and I think it might be difficult to combine that with a Homebrew concept of storing everything in the „Cellar“. Maybe a standalone ooRexx version is a good start. An advantage with the BSF4ooRexx installer is that is contains also the possibility to uninstall everything (and I mean EVERYTHING), this is lacking in the (obsolete) 4.1.2 ooRexx installer for Mac.
Good luck in brewing a formula, I will happily try it out once you have something to test!
PS and it is still P.O., only my mother call me Per Olov :-)
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oorexx@jonases.se
Related
Bugs:
#1319Hi P.O.,
the discussion started out with a bug … I am sure nobody minds the installer discussion too much. Let’s move it after this one. (cross-posted for the move).
Alexander - there is a source tarball at https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/ now. It is called oorexx-source-11346.tar.gz . 11346 is the svn revision number. This version has dependencies for pid file and is not fully relocatable on install.
Let us know how your progress is - I’ll test everything.
best regards,
René.
Related
Bugs:
#1319Hi René,
In the
CmakeLists.txt
, you should update the subversion bit from:to instead do this:
i.e. only perform Subversion operations if
svn
is installed, and the source code is a working copy (i.e. has a.svn
subdir).Next thing I'll look at is the install prefix.
Again, in the
CMakeLists.txt
, you should replace this:and instead do this:
This will allow you to say
cmake -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/oorexx/5.0.0
Btw, it seems that the shared libs are installed in
bin
. I would have expectedlib
?Ok, fooled myself. Corrected
CMakeLists.txt
attached.Hi Alexander,
maybe you could also find and take care of [bugs:#1421] for MacOSX. In this case also the major version 5 would be needed in addition
Background: if there are Rexx libraries that were linked with earlier versions of ooRexx these library versions are needed.
Not having any knowledge about CMake (and being distracted to all sort of corners where I have to invest a lot of time and effort, currently e.g. into Java 9, where the new module system poses quite some challenges for BSF4ooRexx) I have not been able to tackle this myself.
It seems that you are or have become proficient in CMake so if you can, please be so kind and help address this issue.
TIA,
---rony
Related
Bugs:
#1421Ok, things are looking good so far. IT seems that setting
CMAKE_INSTALL_PREFIX
on the command line aloows theoorexx
install to be relocated.What I would now need to start work on the homebrew formula, is a source tarball with the attchached
CMakeLists.txt
. Rene? P.O.?Dear Alexander,
I cannot help you with this, I hope René can.
Hälsningar/Regards/Grüsse,
P.O. Jonsson
oorexx@jonases.se
Related
Bugs:
#1319the tarball is there at https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/oorexx-source-11346.tar.gz https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/oorexx-source-11346.tar.gz
I’ll set up a job that puts every revision there at checkin.
best regards,
René.
Related
Bugs:
#1319Cool! How do we get the
CMakeLists.txt
I posted here into the tarball? It is needed to be able to modifyCMAKE_INSTALL_PREFIX
from the command line, so the homebrew scripts can install and runoorexx
from/usr/local/Cellar...
.Best is to attach it to a ticket so that Erich can check it in for you. If you keep up the good work, you can be promoted to committer status and be able to push your changes yourself.
best regards,
René.
Related
Bugs:
#1319