Rebol 3.19.0 released and how to get it on HaikuDepot

Hello guys,

the title says it all - Oldes continues to do his fantastic job and released Rebol 3.19.0. If you know what Rebol is, you’re probably as excited as me and if you don’t know, it’s a language invented by Carl Sassenrath, author of AmigaOS kernel.
There are Haiku binaries available (x86 and amd64) and that brings me to a question - if I want to add Rebol to HaikuDepot, is there any guide how to do it?
It’s of course possible to download binary or build it manually but it would be nice to have it directly available.
I’ll happily maintain it, I just need some instructions how to start :slight_smile:

Thanks!

2 Likes

Hmm, that’s a blast from the past. Thanks for the heads-up.

The Haikuports wiki should cover all the details

In particular you can start with the “A Gentle Introduction to Haikuporter” articles, that should get you started.

1 Like

You need siskin to build it (link is mentioned in the source), local check failed at the end (another clang issue :confused: ) though

Linking binary:

 [SISKIN] EVAL: /bin/clang -o /Opslag/wip/Rebol3-3.19.0/build/rebol3-bulk-haiku-x86 @make/tmp/clang-x86/rebol3-bulk-haiku-x86/objects.txt -O2 -fPIC -m32    -DREBOL_OPTIONS_FILE=\"gen-config.h\" -DENDIAN_LITTLE -DREB_EXE -DTEST_EXTENSIONS -DTO_HAIKU -DUNICODE -DUSE_OLD_PIPE -liconv -lnetwork  -L/Opslag/wip/Rebol3-3.19.0/build/  
ld.lld: error: cannot open crtbeginS.o: No such file or directory
ld.lld: error: cannot open crtendS.o: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Hi… you don’t need the Siskin Build tool. It is just a compiled Rebol version with an embedded script I use to build various projects.

Pre-processed script is included in releases, for example here:
https://github.com/Siskin-framework/Builder/releases/download/0.18.5/build.r3.gz

If it helps… to provide binaries for Haiku I use cross-compilation in this Docker: Rebol-Docker/haiku at master · Oldes/Rebol-Docker · GitHub

I’m not sure, but the above linker error could be possibly fixed using this:

pkgman install devel:libroot devel:libstdc++
1 Like

Btw… if you need to build a boostrap Rebol version, it is possible to use this branch: GitHub - Siskin-framework/Rebol at bootstrap

I used that source to build Rebol on platforms/architectures where Rebol was not available yet. It has pre-generated files and also includes some make files (which are supposed to be modified if needed). Such a bootstrap binary should be used just to build a proper one!

If you need some help from me, just let me know.
Thanks.

Thanks for reporting back, I followed the steps explained here: Rebol3/make/README.md at master · Oldes/Rebol3 · GitHub

Didn’t invest further, but I think maybe it’s missing some linker in the source for Haiku in this case? (I have all required devel packages installed on my system (or should have :slight_smile: ).

But when I was making first Haiku build, I was able to compile Rebol directly on Haiku.

Please don’t post AI spam here.

1 Like