Mario Domgörgen <firstname.lastname@example.org> writes:
> Hej group!
> I try to compile scx in order to use orion but i ran into some problems:
> | drache@fangorn:scx-0.1$ ./configure --prefix=/usr/local/stow/scx-0.1
> | --with-x --with-scsh-includes=/usr/include/
> | --with-scsh-libraries=/usr/lib/scsh/
> | [...]
> | drache@fangorn:scx-0.1$ make
> | ( \
> | echo ",batch on"; \
> | echo ",config ,load scheme/xlib/xlib-interfaces.scm
> | scheme/xlib/xlib-packages.scm scheme/libs/libs-interfaces.scm
> | scheme/libs/libs-packages.scm"; \
> | echo ",load-package xlib"; \
> | if [ "" = "yes" ]; then \
> | echo ",load-package xft"; \
> | echo ",load-package xrender"; \
> | fi; \
> | echo "(dump-scsh \"scx.image\")"; \
> | ) | ./scxvm +lp /usr/lib/scsh/modules/ -ll sunterlib.scm
> | Can't open heap image file
> | No such file or directory
> | Image file "/usr/local/lib/scsh/scsh.image" is unusable.
> | make: *** [scx.image] Fehler 1
> The strange part is the "Image file "/usr/local/lib/scsh/scsh.image" is
> unusable.". Naturally there is no such file as it lays in
> /use/lib/scsh, therefor i added the --with-scsh-libraries flag ... Any
> idea how that can happen and how i can solve it?
Did you say try to "make clean" after invoking the configure skript?
Otherwise I have no idea as I can build scx without any problem with a
non-standard scsh path and the switches you use.
I guess you can easily work around this problem if you replace
SCSHIMAGE by the path to your scsh.image in c/main.c. I would
recommend this temporary hack as scx 0.2 will use dynamic loading and
does not depend on building its own scshvm anyway.