When building from source with a very clean Git repository (make cs-in-place PKGS="racket-lib"), I am sometimes getting the following error:
config.status: creating rktio_config.h
cd racket/src/build/cs/c/ChezScheme/pb/zlib && ./configure
Checking for shared library support...
Building shared library libz.so.1.2.12 with gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
cd racket/src/build/cs/c/ChezScheme/pb/zlib && static
/bin/sh: 1: static: not found
zlib make failed
in build-one
in loop
in build-base
in in-place
in build-one
in loop
child Zuo process failed
in build-racket
in build-one
in loop
make: *** [Makefile:5: all] Error 1
After doing some build steps by hand, so the repository is somewhat less clean, the build somehow starts working again—but I haven't yet figured out exactly what needs to be present for the build to work.
I would have guessed the problem would have been somewhere like this:
|
(shell/wait configure-command |
|
(hash 'dir zlib-dir |
|
'env (add-to-env |
|
(hash-ref config 'zlibConfigureEnv "") |
|
(config-to-env)) |
|
'desc "libz configure"))]) |
|
(shell/wait (hash-ref config 'MAKE "make") |
|
"static" |
|
(hash 'dir zlib-dir |
|
'desc "zlib make"))]))] |
but that code seems to correctly run
make static, rather than just
static.
When building from source with a very clean Git repository (
make cs-in-place PKGS="racket-lib"), I am sometimes getting the following error:After doing some build steps by hand, so the repository is somewhat less clean, the build somehow starts working again—but I haven't yet figured out exactly what needs to be present for the build to work.
I would have guessed the problem would have been somewhere like this:
racket/racket/src/ChezScheme/c/build.zuo
Lines 303 to 312 in 439a12e
but that code seems to correctly run
make static, rather than juststatic.