I wanted to try some text editors other than E/EPM and vi clones. Fast Edit Lite seems to come in source only. It is on Hobbes at /pub/os2/apps/editors/fed0231s.zip although I actually got it somewhere else. There are no build instructions nor an explicit list of dependencies.
I lost the first error message but I overcame it by downloading /pub/os2/dev/unix/libregex-0_12.zip and adding its regex.h to my include directory.
Next error:
Build PCRE using EMX mode
..\source\bsearch.cpp
In file included from ../source/bsearch.cpp:14:
../include/_regex.h:2:28: xregex.h: No such file or directory
In file included from ../include/_search.h:12,
from ../source/bsearch.cpp:15:
../include/_regex.h:2:28: xregex.h: No such file or directory
In file included from ../source/bsearch.cpp:15:
../include/_search.h:77: parse error before `[' token
../include/_search.h:79: 'regex_t' is used as a type, but is not defined as a
type.
make: *** [bsearch.obj] Error 1
I overcame it with these two files
http://www.opensource.apple.com/source/gcc/gcc-5484/include/xregex.h?txthttps://opensource.apple.com/source/gcc/gcc-5666.3/include/xregex2.h?txtalthough they may not have been the ideal versions to use.
Next error:
..\source\parser.cpp
..\source\pipe.cpp
..\source\pmclip.cpp
..\source\profile.cpp
..\source\rx.cpp
..\source\search.cpp
..\source\sort.cpp
..\source\stddlg.cpp
..\source\vio.cpp
make: [common.lib] Error 1 (ignored)
common.lib
..\source\clip.cpp
clip.exe
ld: No such file or directory for libiberty.a
make: *** [clip.exe] Error 1
I had iberty* files, so I tried copying them to libiberty* filenames. Got past that error.
Next error:
Build PCRE using EMX mode
clip.exe
ld: No such file or directory for rexx.a
make: *** [clip.exe] Error 1
From the makefile it looks like this should have been built within fed's pcre package. There is no applicable r*.* in that directory. I also did a grep -i rexx on pcre/*.c and pcre/*.h but found nothing. The only thing I found that I could download was Regina REXX which provides a rexx.h. It doesn't seem like fed would have been made to require Regina when OS/2 already has REXX and fed wasn't made to be cross-platform. If they wanted to use Regina anyway, fine -- but they should have documented it.
How can I get past this rexx.a error?