Hi, I use `--enable-racket=` because that I found that without it I can't build Racket CS: I ran ``` ./configure --enable-cs --enable-bc --enable-csdefault make make install``` After that only racketbc is built and installed, then I ran `make cs` to built CS explicitly, and error occurs: ...mkdir -p ChezSchemeif [ "./raw_racketcs" != "./raw_racketcs" ] ; \ then make scheme-via-rktboot BOOTFILE_RACKET="./raw_racketcs" ; \ else make scheme-via-pb ; fimake[4]: Entering directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'/bin/sh ./check_boot.sh ta6le "./../../ChezScheme" ChezSchemeif [ -f boot_pending ] ; then make pb-bootquick ; fimake[5]: Entering directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'make config-scheme MACH=pb CONFIG_SCHEME_MODE=--pbmake[6]: Entering directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'cd ChezScheme && ".././../../ChezScheme"/configure --pb --machine=ta6le --disable-x11 --disable-curses --disable-auto-flags --enable-warning-flags CC="gcc" CFLAGS="-g -O2 -Wall -DELF_FIND_BOOT_SECTION -pthread" LDFLAGS="-pthread" LIBS="-ldl -lm -lrt" AR="ar" ARFLAGS="rc" RANLIB="ranlib" WINDRES="windres"No suitable machine type found in "boot". Available machine types:
Since no directory in "boot" exists for pb, you can tryusing Racket v7.1 or later with racket rktboot/main.rkt --machine pbto create the boot files, and then try .././../../ChezScheme/configure again.Makefile:164: recipe for target 'config-scheme' failedmake[6]: *** [config-scheme] Error 1make[6]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'Makefile:147: recipe for target 'pb-bootquick' failedmake[5]: *** [pb-bootquick] Error 2make[5]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'Makefile:142: recipe for target 'scheme-via-pb' failedmake[4]: *** [scheme-via-pb] Error 2make[4]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'Makefile:126: recipe for target 'scheme' failedmake[3]: *** [scheme] Error 2make[3]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'Makefile:81: recipe for target 'cs' failedmake[2]: *** [cs] Error 2make[2]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/cs/c'Makefile:76: recipe for target 'racketcs' failedmake[1]: *** [racketcs] Error 2make[1]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src'Makefile:83: recipe for target 'cs' failedmake: *** [cs] Error 2 Greetings. Killian Zhuo (KDr2, https://kdr2.com) On Saturday, February 6, 2021, 08:00:54 AM GMT+8, Matthew Flatt <[email protected]> wrote: Maybe I missed some context, but why are you using `--enable-racket`? Normally, with a Git checkout, you'd just use `make cs` and/or `make bc` in the root directory. Using `--enable-racket` is mostly for cross compilation. At Fri, 5 Feb 2021 17:57:31 -0600, Shu-Hung You wrote: > The snapshot build here may help: https://snapshot.racket-lang.org/ > > The HEAD version could add new internal primitives from time to time. > > Shu-Hung > > On Fri, Feb 5, 2021 at 5:52 PM 'Killian Zhuo (KDr2)' via Racket Users > <[email protected]> wrote: > > > > Thank you, does that mean I need a v8.0.0.5 to compile a v8.0.0.5? > > > > I thought v7.9 is new enough... > > > > Greetings. > > > > Killian Zhuo (KDr2, https://kdr2.com) > > > > > > > > On Saturday, February 6, 2021, 07:47:41 AM GMT+8, Sam Tobin-Hochstadt > <[email protected]> wrote: > > > > > > This means that you're building with a previous version of Racket that is > > too > old (which might be quite recent but is nonetheless too old to use in place > of > bootstrapping). > > > > Sam > > > > On Fri, Feb 5, 2021, 6:44 PM 'Killian Zhuo (KDr2)' via Racket Users > <[email protected]> wrote: > > > > Here is my configure command: > > > > ./configure --enable-cs --enable-bc --enable-csdefault > --enable-racket=$HOME/programs/racket/bin/racket > > > > $HOME/programs/racket/bin/racket is a prebuilt Racket whose version is 7.9. > > > > Then I ran `make cs` and `make install-cs`, all worked well. > > > > Then `make bc` it also worked well, but when I ran `make install-bc`, some > errors occured: > > > > make[4]: Entering directory '/data/zhuoql/Work/hall/racket/racket/src/bc' > > if [ "" = "" ]; then \ > > echo "/data/zhuoql/Work/hall/racket/racket/lib"; \ > > fi > > /data/zhuoql/Work/hall/racket/racket/lib > > make[4]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/bc' > > make[3]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src' > > make[2]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src' > > cd bc && make install-setup-3m SELF_ROOT_CONFIG_FLAG="-Z" > PLT_SETUP_OPTIONS="" SETUP_MACHINE_FLAGS="" > > make[2]: Entering directory '/data/zhuoql/Work/hall/racket/racket/src/bc' > > /data/zhuoql/programs/racket/bin/racket -X > "/data/zhuoql/Work/hall/racket/racket/collects" -G > "/data/zhuoql/Work/hall/racket/racket/etc" -Z ../../../../build/config > --no-user-path -N "raco" -l- setup --no-user > > raco setup: bootstrapping from source... > > read-compiled-linklet: version mismatch expected: "7.9" found: "8.0.0.5" > > > in: > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/compiled/cm-minim > al_rkt.zo > > /data/zhuoql/Work/hall/racket/racket/collects/racket/fixnum.rkt:12:9: > provide: provided identifier is not defined or required > > at: fx+/wraparound > > in: (#%provide (expand (provide-trampoline fx->fl fl->fx fxabs fx+ fx- fx* > fx+/wraparound fx-/wraparound fx*/wraparound fxquotient fxremainder fxmodulo > fxand fxior fxxor fxnot fxrshift fxlshift fxlshift/wraparound fx>= fx> fx= > fx< > fx<= fxmin fxmax fixnum-fo... > > location...: > > /data/zhuoql/Work/hall/racket/racket/collects/racket/fixnum.rkt:12:9 > > context...: > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:61 > 0:0: compile-zo* > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:40 > 9:15 > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:37 > 4:0: maybe-compile-zo > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:20 > 8:0: compile-root > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:14 > 4:4: compilation-manager-load-handler > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:61 > 0:0: compile-zo* > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:40 > 9:15 > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:37 > 4:0: maybe-compile-zo > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:20 > 8:0: compile-root > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:14 > 4:4: compilation-manager-load-handler > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:61 > 0:0: compile-zo* > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:40 > 9:15 > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:37 > 4:0: maybe-compile-zo > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:20 > 8:0: compile-root > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:14 > 4:4: compilation-manager-load-handler > > > /data/zhuoql/Work/hall/racket/racket/collects/compiler/private/cm-minimal.rkt:61 > 0:0: compile-zo* > > ... > > Makefile:469: recipe for target 'install-setup-3m' failed > > make[2]: *** [install-setup-3m] Error 1 > > make[2]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src/bc' > > Makefile:179: recipe for target 'install-3m' failed > > make[1]: *** [install-3m] Error 2 > > make[1]: Leaving directory '/data/zhuoql/Work/hall/racket/racket/src' > > Makefile:114: recipe for target 'install-bc' failed > > make: *** [install-bc] Error 2 > > > > > > > > I worked on the head of the master branch, anyone knows how to fix this? > Thanks. > > > > Greetings. > > > > Killian Zhuo (KDr2, https://kdr2.com) > > > > -- > > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/252652007.2153435.1612568669639%4 > 0mail.yahoo.com. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/120349817.2158523.1612569152021%4 > 0mail.yahoo.com. > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email > to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/CAMTzy%2BbzwyqxPqoyWwsaYM0shbmWxk > 03D4M-nbP1xom8730Wqg%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20210205170048.2bc%40sirmail.smtps.cs.utah.edu. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/123405018.2182086.1612573434470%40mail.yahoo.com.

