Giter VIP home page Giter VIP logo

Comments (4)

dubek avatar dubek commented on May 25, 2024

Hi @rohan-mehta-1024 , try adding -lreadline as another argument to your cc line.

from mal.

rohan-mehta-1024 avatar rohan-mehta-1024 commented on May 25, 2024

Hello @dubek, unfortunately this returns the same error message. Also, that cc line is what is run internally by the "text^quux^step0_repl" command - is there any way for me to get it to work by just running this command with some other argument? The thing I find confusing is when I just run make in the implementation directory, it compiles fine, but it's not able to compile when I try to run the tests.

from mal.

rohan-mehta-1024 avatar rohan-mehta-1024 commented on May 25, 2024

Actually, now if I compile it first by running make in the implementation directory and then trying to run make "text^quux^step0_repl" at the top level, I get this error:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C impls/c step0_repl
make[1]: `step0_repl' is up to date.
(call STEP_TEST_FILES,c,step0): impls/tests/step0_repl.mal

Testing test^c^step0; step file: impls/c/step0_repl, test file: tests/step0_repl.mal
Running: env STEP=step0_repl MAL_IMPL=js ../../runtest.py --deferrable --optional ../tests/step0_repl.mal -- ../c/run
Traceback (most recent call last):
File "../../runtest.py", line 230, in
r = Runner(args.mal_cmd, no_pty=args.no_pty, line_break="\r\n" if args.crlf else "\n")
File "../../runtest.py", line 105, in init
env=env)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
make: *** [test^c^step0] Error 1

Any ideas?

from mal.

rohan-mehta-1024 avatar rohan-mehta-1024 commented on May 25, 2024

I have since fixed the issue, thanks! (I had to add executable permissions to my run script?)

from mal.

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.