In the end I managed to follow the AppVeyor script, and build with VS2013.

It might be good to have some hints about this in the documentation. For
example, it's not clear to me that building under msys is actually
supported. I'd be happy to write something, but it would be good if it were
based on knowledge of what is supposed to work, rather than merely what
worked for me!

On Sat, 9 Nov 2019 at 17:57, Reuben Thomas <r...@sc3d.org> wrote:

> I tried building from a racket-minimal tarball instead of git checkout,
> and got exactly the same error.
>
> On Fri, 8 Nov 2019 at 21:38, Reuben Thomas <r...@sc3d.org> wrote:
>
>> I'm trying to build racket on mingw64, and get this error that I don't
>> understand:
>>
>> make[8]: Entering directory
>> '/home/rrt/repo/racket/racket/src/build/racket/gc2'
>> env XFORM_PRECOMP=yes ../racketcgc -G /home/rrt/repo/racket/build/config
>> -O "info@compiler/cm error" -l- setup --boot
>> /home/rrt/repo/racket/racket/src/build/../racket/gc2/../../setup-go.rkt
>> ../../compiled --tag ++out
>> /home/rrt/repo/racket/racket/src/build/../racket/gc2/xform-mod.rkt
>> --depends --cpp "gcc -E -I./..
>> *-I/home/rrt/repo/racket/racket/src/build/../racket/gc2/../include*
>> -I/home/rrt/repo/racket/racket/src/build/../racket/gc2/../../rktio
>> -I../../rktio -g -O2  -IC:/msys64/mingw64/lib/libffi-3.2.1/include
>>  -DUSE_SENORA_GC   -fno-omit-frame-pointer "  --keep-lines -o ++out
>> xsrc/precomp.h
>> /home/rrt/repo/racket/racket/src/build/../racket/gc2/precomp.c
>> In file included from
>> C:/msys64/home/rrt/repo/racket/racket/src/build/../racket/gc2/precomp.c:2:
>> C:/msys64/home/rrt/repo/racket/racket/src/racket/src/schpriv.h:10:10:
>> fatal error: scheme.h: No such file or directory
>>    10 | #include "scheme.h"
>>       |          ^~~~~~~~~~
>> compilation terminated.
>> xform: cpp failed
>> make[8]: *** [Makefile:205: xsrc/precomp.h] Error 1
>>
>> The key thing here is that the file that can't be found, scheme.h, is
>> indeed in a directory for which there is a -I flag, which I've highlighted
>> in bold above, so I don't understand why it's not found.
>>
>> I can't find any specific instructions in the docs or mailing list
>> archives that seem to pertain to this, so I assume I'm doing something
>> wrong, but I'm unsure what: I just git cloned racket and ran "make".
>>
>> --
>> https://rrt.sc3d.org
>>
>
>
> --
> https://rrt.sc3d.org
>


-- 
https://rrt.sc3d.org

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAOnWdog8MbZYuSMoVoKceRj7z6rFihYYpFJ0Pmqn48uqn_Ea8g%40mail.gmail.com.

Reply via email to