Hi, not that experienced at compiling code, but the README says to type make, make install. I've installed gcc and make from my distro's repositories, however when I type 'make' this is the output:
I ended up installing WINE and running cb under that. FYI, it seems to be working OK, but if you get the chance to look at the Linux makefile, I'd be grateful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, not that experienced at compiling code, but the README says to type make, make install. I've installed gcc and make from my distro's repositories, however when I type 'make' this is the output:
gcc -O2 -fomit-frame-pointer -c -o zc.o zc.c
gcc -O2 -fomit-frame-pointer -c -o io.o io.c
gcc -s -o zc zc.o io.o
Which doesn't look to me like it is compiling much. When I type 'sudo make install' this is the result:
make: *** No rule to make target `install'. Stop.
When I look at the contents of Makefile this is all it says:
all: zc
zc: zc.o io.o
$(CC) -s -o zc zc.o io.o
zc.o: zc$(MODE).c
$(CC) $(CFLAGS) -c -o $@ $<
io.o: io.c
$(CC) $(CFLAGS) -c -o $@ $<
clean:
rm *.o zc
I'm assuming there should be something in there for the 'install' portion to work on.
Bernard
I ended up installing WINE and running cb under that. FYI, it seems to be working OK, but if you get the chance to look at the Linux makefile, I'd be grateful.
Unfortunately I seem to be getting sporadic problems launching CB under Wine, so it doesn't look like that will be the solution.
Bernard
Hi Bernard,
it seems you run the 'make' and 'make install' commands from the zinc/ subdirectory which is just a sub-project used to build cb.
Try to run 'make' from the main directory of the sources, it should work better.