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

Library won't import #1

Open
SwitchAxe opened this issue Aug 23, 2021 · 1 comment
Open

Library won't import #1

SwitchAxe opened this issue Aug 23, 2021 · 1 comment

Comments

@SwitchAxe
Copy link

SwitchAxe commented Aug 23, 2021

Issue

library won't import, neither in the repl via (import (ncurses)) nor in scheme source (.ss, .scm) file with the same instruction.

Steps to reproduce

IDK, it just doesn't work on my machine, and both the scheme man-page and the README of this lib provide little to no insight on how to troubleshoot errors, i got no clue about what could possibly be going wrong.

How did i install it?

I installed it via the Makefile, and curiously enough, in the ~/usr/lib/csv9.5.4/ directory there was only one file (shouldn't there be many?), the one related to chez-ncurses.

Scheme version

the output of scheme --version is the following:
9.5.4

p.s. attached file shows the directory in which the library file is located, along with the man page which shows that the path for scheme libraries is indeed the one specified by the makefile.
Screenshot_2021-08-23-27_1366x768

Edit

i also tried modifying the makefile, so that it installed the file in /usr/lib/csv9.5.4/ta6le/, but to no avail.

Second edit

managed to install it via exporting CHEZSCHEMELIBDIRS as "~/lib/csv9.5.4"

@akce
Copy link
Owner

akce commented Sep 18, 2021

Sorry for this late reply @SwitchAxe. I don't use github much and assumed that i'd automatically be notified on new issues in projects i create. But that wasn't the case, at least not with default settings.

Anyway, i'm glad that you solved the issue.

The README now includes a bit on CHEZSCHEMELIBDIRS and i've added a some more detail in other sections and links.

I installed it via the Makefile, and curiously enough, in the ~/usr/lib/csv9.5.4/ directory there was only one file (shouldn't there be many?), the one related to chez-ncurses

These bindings are quite straightforward so there's no need to split things out to separate files, hence only one source file.

Depending on which install target you pick, the make script may also install compiled .so files and i've just added support for generating whole program optimisation files which are needed (or at least very useful) for compiling programs.

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