Menu

v3.4 can't install on Linux

Help
2008-09-08
2013-04-26
  • Bernard Devlin

    Bernard Devlin - 2008-09-08

    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

     
    • Bernard Devlin

      Bernard Devlin - 2008-09-17

      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.

       
    • Bernard Devlin

      Bernard Devlin - 2008-09-17

      Unfortunately I seem to be getting sporadic problems launching CB under Wine, so it doesn't look like that will be the solution.

      Bernard

       
    • Marc Kerbiquet

      Marc Kerbiquet - 2008-09-18

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.