Comments (5)
The make is running in the workarea's c directory, so ../nanopass
refers to the workarea's nanopass
directory, which the workarea
script used by configure
should make a symbolic link to the root nanopass
directory. It's difficult to believe this isn't getting set up right based on the output you're getting, but you can verify by doing ls a6le/nanopass/
and ls a6le/nanopass/nanopass
. I would say there could be a permissions issue, but that also seems unlikely since you aren't running any part of this as a different user. You might try git status --ignore
after running make distclean
to verify something isn't sitting around that shouldn't be. Or modify the s/Mf-base
to include in the sequence of Scheme expressions for the target nanopass.so
something that does a similar ls
and something that prints the value of library-directories
, e.g.:
'(system "ls ../nanopass/nanopass")'\
'(pretty-print (library-directories))'\
inserted before the call to compile-library
. You should see the expected listing of a6le/nanopass/nanopass
, and, for the library directories, you should see (("../nanopass" . "."))
. Sticking (import-notify #t)
in the sequence of expressions or adding --import-notify
to the flags passed to ${Scheme}
might also give you insight into the problem.
from chezscheme.
Some progress, I still had the following in my .bash_profile
from a long time ago:
export CHEZSCHEMELIBEXTS=.chezscheme.sls:.sls
but still no joy:
$ cat ~/var/tmp/build-chez-scheme.sh
#!/bin/bash
#
# Informal build script for Chez Scheme
export CHEZSCHEMELIBEXTS=.chezscheme.sls:.chezscheme.ss:.sls:.ss
export CHEZSCHEMELIBDIRS=
make clean
make distclean
git clean -xfd
./configure --installprefix=/opt/chez-scheme --installowner=root --installgroup=root
make
### end of file
$ ~/var/tmp/build-chez-scheme.sh
...
../bin/a6le/scheme -q cmacros.so priminfo.so primvars.so env.so setup.so --script script.all
compiling library.ss with output to library.a6le
compiling prims.ss with output to prims.a6le
compiling mathprims.ss with output to mathprims.a6le
compiling record.ss with output to record.a6le
compiling 5_1.ss with output to 5_1.a6le
compiling 5_2.ss with output to 5_2.a6le
compiling 5_3.ss with output to 5_3.a6le
compiling strnum.ss with output to strnum.a6le
compiling bytevector.ss with output to bytevector.a6le
compiling 5_4.ss with output to 5_4.a6le
compiling 5_6.ss with output to 5_6.a6le
compiling 5_7.ss with output to 5_7.a6le
compiling event.ss with output to event.a6le
compiling 4.ss with output to 4.a6le
compiling front.ss with output to front.a6le
compiling foreign.ss with output to foreign.a6le
compiling 6.ss with output to 6.a6le
compiling print.ss with output to print.a6le
compiling newhash.ss with output to newhash.a6le
compiling format.ss with output to format.a6le
compiling date.ss with output to date.a6le
compiling 7.ss with output to 7.a6le
Exception: library (nanopass) not found
make[4]: *** [bootall] Error 255
make[3]: *** [allx] Error 2
make[2]: *** [bootstrap] Error 2
make[1]: *** [build] Error 2
make: *** [build] Error 2
from chezscheme.
Try unsetting CHEZSCHEMELIBDIRS or setting it to ":"
, which causes the default list of library directories, i.e., ("."
), to be searched.
from chezscheme.
Try unsetting CHEZSCHEMELIBDIRS or setting it to ":", which causes the default list of library directories, i.e., ("."), to be searched.
Both worked. Thanks.
from chezscheme.
I had this problem too unset CHEZSCHEMELIBDIRS
fixed it.
from chezscheme.
Related Issues (20)
- c/build.zuo should call s/update-revision HOT 5
- Why do identifier properties and compile-time values require explicitly capturing a `lookup` procedure?
- "Out of memory" when using data constructors in FFI HOT 4
- (/ 0 4.0) is 0, not 0.0 as in R6RS
- CPU time very inaccurate on Windows 11
- The import forms miss to match the keywords `only`, `prefix`, `rename`, ... by binding
- linear slowdown with parallel execution? HOT 1
- Invalid foreign-procedure convention __collect_safe HOT 2
- When will be the next release? HOT 3
- Building is now very slow? HOT 6
- mat failures with macOS 14's iconv HOT 1
- Out of scope syntax-parameterize and local variables HOT 1
- Unable to build ChezSchem on WSL Archlinux HOT 1
- Small error in the CSUG HOT 1
- Release 10.0.0 .tar.gz does not contain the submodules HOT 3
- Should `make test` use jobserver parallelism? HOT 6
- Intermittent crash in `make test` HOT 2
- `makefiles/boot.zuo`'s `main` calls `cross-build-boot` incorrectly HOT 3
- Why is `main.o` installed? HOT 3
- Bug in fixnum arithmetic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chezscheme.