GithubHelp home page GithubHelp logo

how to build about scmus HOT 3 CLOSED

jkalbhenn avatar jkalbhenn commented on August 26, 2024
how to build

from scmus.

Comments (3)

drewt avatar drewt commented on August 26, 2024

Yes, ./configure should be run before make eggs. It is a mistake in the documentation.

As for the configure error, it believe it is complaining about some bash syntax that I accidentally used in the script. Can you try pulling my latest commit and running ./configure again? Hopefully I have fixed it.

Also, a warning: you may run into a segfault on the master branch. I have worked around the issue on the "tui" branch, but I haven't been able to merge this back into master yet.

Edit: disregard the above, I went ahead and backported the workaround on master.

from scmus.

jkalbhenn avatar jkalbhenn commented on August 26, 2024

./configure now completes with a success exit code, only some error messages are printed

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for csc... yes
./configure: 2621: test: yes: unexpected operator
checking for getch in -lncurses... yes
checking for get_wch in -lncursesw... yes
checking for cbreak in -ltinfo... yes
./configure: 2781: ./configure: NCURSES_LIBS+= -ltinfo: not found
configure: creating ./config.status
config.status: creating Makefile

my /bin/sh is indeed dash.

make eggs initially fails with a permission error

installing record-variants:0.5.1 ...
changing current directory to /tmp/temp1d8b.3937/record-variants
  '/usr/bin/csi' -bnq -setup-mode -e "(require-library setup-api)" -e "(import setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\"record-variants\" \"0.5.1\"))" 'record-variants.setup'
  '/usr/bin/csc' -feature compiling-extension -setup-mode    -s -O2 -d0 record-variants.scm -j record-variants
  '/usr/bin/csc' -feature compiling-extension -setup-mode    -s -O2 -d0 record-variants.import.scm
  cp -r 'record-variants.so' '/usr/lib/chicken/8/record-variants.so'
cp: cannot create regular file '/usr/lib/chicken/8/record-variants.so': Permission denied

Error: shell command failed with nonzero exit status 256:

  cp -r 'record-variants.so' '/usr/lib/chicken/8/record-variants.so'


Error: shell command terminated with nonzero exit code
17920
"'/usr/bin/csi' -bnq -setup-mode -e \"(require-library setup-api)\" -e \"(import...
make: *** [Makefile:168: eggs] Error 1

it completes successfully with root rights. would of course be better if root rights were only needed for install.

make then works, the program starts and i can browse the library and add to the queue. will try it out.
thanks

from scmus.

drewt avatar drewt commented on August 26, 2024

Weird, I also have dash as /bin/sh but it's accepting bash syntax in the configure script for some reason :/

I believe it's possible to run make eggs without root privileges if you set the CHICKEN_REPOSITORY environment variable to somewhere that your user has write permissions (see the man page for chicken-install). I have not tried it myself.

from scmus.

Related Issues (2)

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.