Code Monkey home page Code Monkey logo

Comments (6)

katef avatar katef commented on August 25, 2024

Hiya,

How do you reproduce the error, please?

from kgt.

perlawk avatar perlawk commented on August 25, 2024

Just download a fresh kgt-master.zip from github. Install the essential mk in share directory.
make or bmake in kgt-master.
some error:
ld -r -o build/lib/bnf.o build/src/bnf/lexer.o build/src/bnf/parser.o build/src/bnf/output.o
ld: cannot open output file build/lib/bnf.o: No such file or directory

Because the makefile not create a build/lib directory, the bnf.o cannot be created.

from kgt.

katef avatar katef commented on August 25, 2024

Can you reproduce this error when you check out the source by git recursively?

git clone --recursive https://github.com/katef/kgt

from kgt.

perlawk avatar perlawk commented on August 25, 2024

when using git clone --recursive https://github.com/katef/kgt,
the error will disappear, so, some of the makefile in somewhere patched the hole.
I think it is not a very serious bug. Only when someone just download the zip file without using the git, like browser only, will be compiled any more. The bug did not exist at my last download version. the old version makefile has this :

# TODO: centralise
#DIR += ${BUILD}/bin
DIR += ${BUILD}/lib

new makefile at the root no more,
I think some makefile make the directory build/lib for the bnf.o to save.
Sorry to make so much trouble.

from kgt.

katef avatar katef commented on August 25, 2024

You're not making trouble! Thank you for the bug reports :)

I think I should document that downloading a .zip from github isn't suitable, because these repositories use submodules. I hadn't thought of people doing that at all, and I appreciate the feedback.

from kgt.

katef avatar katef commented on August 25, 2024

I'm going to call this git's bug: dear-github/dear-github#214

from kgt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.