Closed AlexProudfoot closed 1 year ago
Here are my package selections.
I built this a while ago on Cygwin 64 with no problems so I'm not sure what is going on.
According to git, make has managed to create the following files.
mdl_builtin_types.cpp mdl_builtins.cpp
I just tried a clean build on my laptop here at work and it worked:
$ make
perl find_builtins.pl mdl_builtins.h < macros.cpp > mdl_builtins.cpp
perl make_types.pl mdl_builtin_types.h < macros.hpp > mdl_builtin_types.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o macros.o macros.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdli.o mdli.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_builtins.o mdl_builtins.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_builtin_types.o mdl_builtin_types.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_read.o mdl_read.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_output.o mdl_output.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_binary_io.o mdl_binary_io.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_decl.o mdl_decl.cpp
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_assoc.o mdl_assoc.cpp
cc -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o mdl_strbuf.o mdl_strbuf.c
awk 'BEGIN { print "const char copying [] = " } /END OF TERMS AND CONDITIONS/ { nextfile } { gsub("\"", "\\\"", $0); print "\"" $0 "\\n\"" } END { print ";" }' < COPYING > copying.c
cc -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -c -o copying.o copying.c
g++ -g -DGC_DEBUG -O2 -Wall -Wno-switch -Wno-unused-but-set-variable -o mdli macros.o mdli.o mdl_builtins.o mdl_builtin_types.o mdl_read.o mdl_output.o mdl_binary_io.o mdl_decl.o mdl_assoc.o mdl_strbuf.o copying.o -lgc -lgccpp
I don't know what's going on, but it looks like the first Perl-script (find_builtins.pl
) fails to build mdl_builtins.h
. Do you have that file and/or is the script running and building it?
Hmmm. The file exists and was cloned from your repo.
Make doesn't seem to call it though.
If I manually enter the perl commands, make manages to complete the build.
I guess there has been a change to the acceptable form of makefiles.
I'm gonna update my CygWin to latest versions and see if I can see if I get the same problem.
I've updated all my ibraries (gcc-g++
, libgc-devel
, make
and perl
) to the same versions you have above. I have no problem compiling. Are you sure there is no changes to your Makefile
?
I literally just cloned, changed directory and typed make. I’ll try again from scratch.
Strange...
I got another Perl-version (I don't remember why, but your Perl seems fine anyway).
Edit: My bad, I have the same Perl too...
And this time it builds without incident. It must have been a file corruption on download. Sorry for wasting your time Henrik.
No problem. It's only fun to see that's someone uses it.
I'll close this.
I'm trying to continue my efforts on Zork for Inform 7 right now and I'm using the 1981 version here running on confusion_patched as my reference version of Zork. Hopefully, my health will allow me to at least get as far as an initial release of progress so far.
The make process fails like this.