Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A standalone compilation issue #487

Open
noncom opened this issue Sep 20, 2024 · 2 comments
Open

A standalone compilation issue #487

noncom opened this issue Sep 20, 2024 · 2 comments

Comments

@noncom
Copy link

noncom commented Sep 20, 2024

Hello!

I tried to compile Fennel standalone, and on the latest commit 222e14c447977c23af6dc39a11e94f95b7bfa62c I'm getting:

D:\programming>make fennel.exe
FENNEL_PATH=src/?.fnl lua bootstrap/aot.lua src/launcher.fnl --require-as-include >> fennel
Compile error in 'macrodebug' src/fennel\binary.fnl:208: src/fennel/macros.fnl:338: attempt to call a boolean value (global 'view')
make: *** [Makefile:52: fennel] Error 1

I tried debugging this for a bit, but the error is super obscure, at least for me, so no luck.

I switched to the Release 1.5.1 commit ae60a38029a570b8d37fe3d7cc6b2476646e10f5, and that one compiled successfuly.

It would be great if the latest commit compilation would also work :)

@noncom
Copy link
Author

noncom commented Sep 20, 2024

Hmm, I tried again now, on a fresh clone, but with the makefile modified for my environment, and it worked.
I'm not sure why.. the only thing I was modifying before was sligtly tuning the makefile.
I don't think that should have caused an error like that a few times in a row.

But now with a fully working makefile it just built Fennel 1.5.2-dev without problems, and it works.
This is strange, but probably there's no issue then.
I'll keep experimenting.

@technomancy
Copy link
Collaborator

I wonder if you had some failed compilation artifacts left around somehow. I expect make clean would have solved the problem; did you give that a try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants