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

Installation problem on NetBSD and OpenBSD #30

Open
wsgac opened this issue Jan 6, 2015 · 3 comments
Open

Installation problem on NetBSD and OpenBSD #30

wsgac opened this issue Jan 6, 2015 · 3 comments

Comments

@wsgac
Copy link

wsgac commented Jan 6, 2015

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)

@roderyc
Copy link
Member

roderyc commented Jan 8, 2015

@wsgac thanks for the report! I'll fire up a vm and investigate this when I have the time.

@wsgac
Copy link
Author

wsgac commented Jan 8, 2015

Thanks @roderyc . Good luck!

@karahobny
Copy link

wrangling with the same problem on openbsd-x86_64. I reckon there hasn't been any development on this frontier, or if some kind soul would know a way around.

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

3 participants