Re: Can't figure out how to build from source on Windows

Srayan Jana via Chicken-users <[email protected]>
Newsgroups gmane.lisp.scheme.chicken
Message-ID <PH8PR14MB6996940A8903928EE26205ADE0F2A@PH8PR14MB6996.namprd14.prod.outlook.com>
Got this now:

C:/git-repos/chicken-core $  make boot-chicken
"make" PLATFORM=mingw PREFIX=/nowhere CONFIG= CHICKEN=C:/git-repos/chicken-core/boot/chicken-6.0.0pre1/../snapshot/share/chicken PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS="-Os" BUILDING_CHICKEN_BOOT=1 confclean
make[1]: Entering directory 'C:/git-repos/chicken-core'
rm -f chicken-config.h chicken-defaults.h chicken-install.rc chicken-uninstall.rc
touch config.make
make[1]: Leaving directory 'C:/git-repos/chicken-core'
"make" PLATFORM=mingw PREFIX=/nowhere CONFIG= CHICKEN=C:/git-repos/chicken-core/boot/chicken-6.0.0pre1/../snapshot/share/chicken PROGRAM_SUFFIX=-boot-stage1 STATICBUILD=1 C_COMPILER_OPTIMIZATION_OPTIONS="-Os" BUILDING_CHICKEN_BOOT=1 chicken-boot-stage1.exe
make[1]: Entering directory 'C:/git-repos/chicken-core'
C:/git-repos/chicken-core/boot/chicken-6.0.0pre1/../snapshot/share/chicken  library.scm -optimize-level 2 -include-path . -include-path ./ -inline -ignore-repository -feature chicken-bootstrap -no-warnings  -explicit-use -no-trace -output-file library.c \
-no-module-registration \
-emit-import-library chicken.bitwise \
-emit-import-library chicken.bytevector \
-emit-import-library chicken.fixnum \
-emit-import-library chicken.flonum \
-emit-import-library chicken.gc \
-emit-import-library chicken.keyword \
-emit-import-library chicken.platform \
-emit-import-library chicken.plist \
-emit-import-library chicken.io \
-emit-import-library chicken.process-context
process_begin: CreateProcess(NULL, C:/git-repos/chicken-core/boot/chicken-6.0.0pre1/../snapshot/share/chicken library.scm -optimize-level 2 -include-path . -include-path ./ -inline -ignore-repository -feature chicken-bootstrap -no-warnings -explicit-use -no-trace -output-file library.c -no-module-registration -emit-import-library chicken.bitwise -emit-import-library chicken.bytevector -emit-import-library chicken.fixnum -emit-import-library chicken.flonum -emit-import-library chicken.gc -emit-import-library chicken.keyword -emit-import-library chicken.platform -emit-import-library chicken.plist -emit-import-library chicken.io -emit-import-library chicken.process-context, ...) failed.
make (e=5): Access is denied.
make[1]: *** [rules.make:810: library.c] Error 5
make[1]: Leaving directory 'C:/git-repos/chicken-core'
make: *** [rules.make:1041: boot-chicken] Error 2
C:/git-repos/chicken-core $ sudo make boot-chicken
Sudo is disabled on this machine. To enable it, go to the Developer Settings page in the Settings app
sh: C:/Windows/system32/sudo.exe: Access is denied. Error 0x80070005
C:/git-repos/chicken-core $

________________________________

Srayan Jana
Computer Game Science
University of California, Irvine

________________________________
From: Felix Winkelmann <[email protected]>
Sent: Tuesday, October 21, 2025 2:48 PM
To: Srayan Jana <[email protected]>; chicken-users <[email protected]>
Subject: Re: Can't figure out how to build from source on Windows

On Tue Oct 21, 2025 at 11:40 PM CEST, Felix Winkelmann via Chicken-users wrote:
>
> Ok, so building the bootstrap chicken succeeded, but then fails (again) in configure.
>
> What is the output of "uname" on your system?

Sorry, I'm on the wrong tack there. Apparently the bootstrap script
doesn't work too well on Windows...

Just run

  ./configure --chicken C:/git-repos/chicken-core/boot/chicken-6.0.0pre1/../snapshot/share/chicken \
    --prefix C:<where-it-should-go>

manually, and then

  make boot-chicken

This will produce a chicken-boot (hopefully) that you can then use to
build the final version, like this:

  ./configure --chicken ./chicken-boot --prefix ...
  make
  make install

If that should work out, I will provide a dev snaphot that you can build
directly from. But it would still be interesting to see if the steps
given above work.


cheers,
felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.