FYI -
I met Cheyenne at Share. Nice guy and very knowledgeable.
Thanks,
W. David Ashley
IBM Systems and Technology Group Lab Services
Open Object Rexx Team
Mobile Phone: 512-289-7506
----- Forwarded by David Ashley/Austin/IBM on 08/24/2008 10:53 AM -----
Cheyenne Wills
<[EMAIL PROTECTED]
t> To
[EMAIL PROTECTED]
08/23/2008 06:26 cc
PM
Subject
Hello (Cheyenne from SHARE)
Hello.. just wanted to drop you a note concerning building oorexx under
gentoo.
There are three issues that cause grief, and one bug. Two of these are
a chicken/egg type of thing. The build fails because stuff is not yet
there.
So the three problems are all related to the building of the rexx.img
file and the rexx -i command.
The first problem is that rexx.cat is not yet installed and the opencat
failes. This can be fixed by setting NLSPATH to the current directory
during the build.
The second problem is that the dynamic runtime libraries are not yet
installed and rexx fails to find them. This can be fixed by setting
LD_LIBRARY_PATH to the current directory during the build.
The third problem is more related to how gentoo's ebuilds work. rexx
wants to create a file in the home directory of root (the file is
"..OOREXX3.2.0_root"). This causes a failure in the gentoo build
process because the build writes to a directory outside the "sandbox"
area. This can be "overridden" by setting RXHOME to the current
directory during the build.
So.. there is a one line change that needs to be made to the Makefile
(actually the Makefile.am file)
change
./rexx -i
to
NLSPATH="./%N" RXHOME="$PWD" LD_LIBRARY_PATH=./ ./rexx -i
The one bug is a syntax error in APIManagerShutdown.cpp
./rexxapi/unix/APIManagerShutdown.cpp:55: error: second argument of 'int
main(int, char***)' should be 'char **'
I browsed the CVS source on SourceForge and the syntax bug is there.
Attached is a patch to fix it.
Also attached is the gentoo ebuild that I used to build ooRexx 3.2.0
I will try this on linux running on zSeries and see if it works (it
should).
Cheyenne
(See attached file: fixsyntax.patch)(See attached file: 15orexx)(See
attached file: oorexx-3.2.0.ebuild)<<inline: pic08825.gif>>
<<inline: ecblank.gif>>
fixsyntax.patch
Description: Binary data
15orexx
Description: Binary data
oorexx-3.2.0.ebuild
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
