That means it's running yacc without arguments and so it tells you how to use it. At least it looks like it...
Last edited:
Clydog said:Thanks for all your help. I've installed yacc (or, rather, byacc), so that bit's fixed, but now I get a different error when I run make:
yacc --verbose --defines --output-file=ck_parser.c --name-prefix=ck_yy ck_parser.y
usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
make: *** [ck_parser.c] Error 1
Aaargh! What am I doing wrong?
http://par.perl.org/tombom said:The only tool I've seen that can compile Perl was ActiveState's thing.
Thank you! I had never noticed noticed that.Havard said:
ElCorruptoLoco said:That byacc thing seems to have a different format for its parameters. If mandrake doesn't have the original yacc you can always do what tombom said and use bison:
Maybe it will actually work then. Yaaay
- Install bison (again from the cds or the repository)
- Add "YACC = bison -y" (without ") to the top of your Makefile
- run make
![]()
universalis said:Can i donwload this program for windows? and is it working proper, can i use it more than once on the same savegame?
Maybe the wrong bison version? I have no idea.Clydog said:bison's installed and working, and this time I get a slightly more specific error:
bison -y --verbose --defines --output-file=ck_parser.c --name-prefix=ck_yy ck_parser.y
ck_parser.y:400.12: parse error, unexpected ":", expecting ";" or "|"
ck_parser.y:402.4-403.24: $2 of `traits' has no declared type
make: *** [ck_parser.c] Error 1
I've tried make with the -k flag, but it can't get through the errors...
ElCorruptoLoco said:It works for me. And I can use it as often as I like on my savegames.
You can get the windows version from klas_a's site
http://www.lysator.liu.se/~klas/CK/
universalis said:it said cygwin1.ddl missing so i put it i the same folder as ck-clean and the error message doesnt appear anymore. but now when trying to open the program it just shuts down imeadietly. what should i do to fix this?
universalis said:In file ck_reader.c, in function read-savegame:
CKlib: Couldn´t open the savegame file.
Is the program only for v 1.03b (as i can se after writing "ck-clean -v" or can i use it for 1.04a? Im using the windows version.
ElCorruptoLoco said:You have to use the command line or dosbox or whatever it is called in windows. Copy the savegame to your ck-clean directory and when you are in the ck-clean folder, type:
ck-clean <oldsavegame.eug> -o <newsavegame.eug>
universalis said:It WORKS!Thank YOU very much!
This tool is really amazing! Just in some seconds and my savegame file became almost half as big as it was from the beginning.
![]()
Thanks ElCorruptoLoco!![]()
You have to download both cygwin and ck-clean.ASAD said:I have a question ,how to install cygwin.Which components should be downloaded.I think all of them are unneccesary,Am I wrong?
Help.