dsimcha wrote:
Here's the error message I'm getting. I know basically nothing about make
except
that it's a build system and that it almost never works, so I can't even begin
to
debug this. Here's the error message I've been getting, on a freshly unpacked
2.047 directory on some ancient Linux distro that my sys admin insists on
using:
$ make -flinux.mak
make --no-print-directory -f OS=posix BUILD=release
make[1]: OS=posix: No such file or directory
make[1]: *** No rule to make target `OS=posix'. Stop.
make: *** [release] Error 2
The "OS=posix" sets the macro OS to the value posix, it does not set the target.
This has been a feature of make since at least the 1980's, earlier than Linux
even existed. So I'm astonished you're seeing this error.
And here's the error I get when I try on a different machine w/ a more modern
distro (this one is probably due to lack of 64 bit libs):
$ make -flinux.mak
make --no-print-directory -f linux.mak OS=posix BUILD=release
cc -c -m32 -O3 etc/c/zlib/adler32.c
-ogenerated/posix/release/etc/c/zlib/adler32.o
cc -c -m32 -O3 etc/c/zlib/compress.c
-ogenerated/posix/release/etc/c/zlib/compress.o
cc -c -m32 -O3 etc/c/zlib/crc32.c -ogenerated/posix/release/etc/c/zlib/crc32.o
In file included from /usr/include/features.h:378,
from /usr/include/string.h:26,
from etc/c/zlib/zutil.h:23,
from etc/c/zlib/crc32.c:29:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[1]: *** [generated/posix/release/etc/c/zlib/crc32.o] Error 1
make: *** [release] Error 2
This is most likely because you have not gotten the 32 bit dev system installed
on your 64 bit system (it usually is not installed by the default linux
install). Which one do you have?
BTW, using a script rather than make wouldn't have helped you with the second
issue.