New message about this to ensure the subject is meaningful.
Building SimplyGNUstep on a stock SuSE 8.2 (installed as minimal system
plus basic development):
Source download ok, with some URLs being offline.
Solved by downloading the tarballs from mirrors by hand.
Static compilation: errors found:
bin-utils: compiles but fails when copying strip in .build.sh
(It seems that the install script ignores the DESTDIR=
and installs into the host system)
Solution: ran all .build.sh commands by hand, and
replaced --prefix=/usr with --prefix=<SGTEP_TOPLEVEL>/usr
which may break things later.
/usr/bin/install does not honor DESTDIR, at least
in this distro.
core-utils: configures but fails in .build.sh at make
(Missing trailing backslash in --man-path)
findutils: fails after patch, configure rejects "--datadir" option
Solution: Removed --datadir, since it is set at install.
Seemed to work. Things got installed into WorkingTree
grep: compiles, but fails again when installing into host system:
"make: Entering directory
/bin/sh ../mkinstalldirs /usr//bin
/usr/bin/install -c grep /usr//bin/grep"
despite the DISTDIR env variable being set in the script.
Looks like a type, since it gets installed correctly if it
is changed to DESTDIR.
After that, it fails when symlinking fgrep and egrep.
The symlink is being done against the /usr/bin/grep.
Solution? (Horrible hack, I know): Delete the host links
to allow Makefile to succeed, and the recreate symlinks
into WorkingTree. Puaj.
To be continued...