Git Product home page Git Product logo

Comments (5)

dybvig avatar dybvig commented on June 18, 2024

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.

marcomaggi avatar marcomaggi commented on June 18, 2024

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.

dybvig avatar dybvig commented on June 18, 2024

Try unsetting CHEZSCHEMELIBDIRS or setting it to ":", which causes the default list of library directories, i.e., ("."), to be searched.

from chezscheme.

marcomaggi avatar marcomaggi commented on June 18, 2024

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.

rain-1 avatar rain-1 commented on June 18, 2024

I had this problem too unset CHEZSCHEMELIBDIRS fixed it.

from chezscheme.

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.