-
Notifications
You must be signed in to change notification settings - Fork 39
Description
I encountered a problem while trying to install scsh on NetBSD and OpenBSD. On OpenBSD, after a successful ./configure and make i did make install and received the following error message:
./build/build-image.sh . "/usr/local/lib/scsh-0.7/" '/usr/local/lib/scsh-0.7/scsh.image'
'/usr/local/bin/scheme48 -h 0' './rx/interfaces.scm ./rx/packages.scm ./scheme/scsh-interfaces.scm
./scheme/scsh-package.scm ./scheme/lib/ccp-pack.scm ./scheme/lib/char-package.scm'
error: File not found [shared_object_dlopen]
#{byte-vector 47 117 115 114 47 108 ---}
*** Error 1 in /usr/local/src/scsh (Makefile:175 'install-scsh-image')
I then tried copying all .so files from ./c in scsh to $PREFIX/lib/scsh-0.7 and ran make install again. The installation apparently succeeded, but scsh failed to launch.
Analogous procedure on NetBSD resulted in a completely successful installation and a running scsh. I don't have sufficient knowledge of make and autoconf to suggest what part might be failing, but I guess there must be some quirk that prevents the copying under NetBSD.
On OpenBSD it seems more serious. I tried running the scsh image manually by issuing scheme48 -i scsh.image but got the following:
Maximum heap size 4000000 is too small, using 5433344 cells instead.
VM exception `wrong-type-argument' with no handler in place
opcode is: stored-object-ref
stack template id's: <- <- <- 6625 <- 3309 <-
I also tried increasing the heap size - scheme48 -i scsh.image -h 10000000 with the following output:
VM exception `wrong-type-argument' with no handler in place
opcode is: stored-object-ref
stack template id's: <- <- <- 6625 <- 3309 <-
If you need any more info, please let me know. Hope you'll be able to find some reasonable solution, as scsh is a really great piece of software and OpenBSD ports system only provides version 0.6.7.
Scheme48 - version: 1.9.2
Scsh - version: 0.7 - head commit: a51bd4a
NetBSD - version: 6.1_STABLE (amd64)
OpenBSD - version: 5.5 GENERIC.MP (amd64)