Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

The "bare build" instruction does not work #93

Closed
weinholt opened this issue Jan 10, 2017 · 2 comments
Closed

The "bare build" instruction does not work #93

weinholt opened this issue Jan 10, 2017 · 2 comments

Comments

@weinholt
Copy link

weinholt commented Jan 10, 2017

I am using Vicare Scheme 0.4d0pre5 on a Debian GNU/Linux 8.6 amd64 system.

The "bare build" instruction from README does not work. Looks like --disable-posix isn't working anymore.

$ ./configure --disable-posix --disable-glibc --disable-linux --without-pthread --without-libffi --without-libiconv
...
$ make
...
initialising bootstrap library collection: (vicare) (rnrs) (rnrs r5rs) (rnrs control) (rnrs eval) (rnrs mutable-pairs) (rnrs mutable-strings) (rnrs programs) (rnrs syntax-case) (rnrs files) (rnrs sorting) (rnrs base) (rnrs lists) (rnrs io simple) (rnrs bytevectors) (rnrs unicode) (rnrs exceptions) (rnrs arithmetic bitwise) (rnrs arithmetic fixnums) (rnrs arithmetic flonums) (rnrs hashtables) (rnrs io ports) (rnrs enums) (rnrs conditions) (rnrs records inspection) (rnrs records procedural) (rnrs records syntactic) (vicare system $pairs) (vicare system $lists) (vicare system $chars) (vicare system $strings) (vicare system $vectors) (vicare system $flonums) (vicare system $bignums) (vicare system $bytevectors) (vicare system $transcoders) (vicare system $fx) (vicare system $ratnums) (vicare system $compnums) (vicare system $booleans) (vicare system $symbols) (vicare system $keywords) (vicare system $structs) (vicare system $pointers) (vicare system $codes) (vicare system $tcbuckets) (vicare system $arg-list) (vicare system $stack) (vicare system $interrupts) (vicare system $io) (vicare system $foreign) (vicare system $numerics) (vicare system $hashtables) (vicare system $runtime) (psyntax system $all) (vicare libraries) (vicare language-extensions posix) (vicare expander tag-type-specs) (vicare expander tags) (vicare expander)
vicare: error: called POSIX specific function, ikrt_posix_setenv

Makefile:23590: recipe for target 'vicare.boot' failed
make[1]: *** [vicare.boot] Error 1
make[1]: Leaving directory '/tmp/vicare-scheme-0.4d0'
Makefile:6931: recipe for target 'all' failed
make: *** [all] Error 2
@marcomaggi
Copy link
Owner

Thanks for the report. Indeed some things have changed. I think I almost fixed bare building in the current master branch.

There is still the problem of libiconv: the expansion of the Autoconf macro (from the gettext package) I am using to detect iconv facilities cannot be cut out with a simple Automake conditional. I will look into this problem when I have a bit more time and will. Is this a problem for you?

(Just a reminder. If you are bare building only to make the configuration process shorter: the configure script supports caching results, which reduces future configurations time significantly.)

@weinholt
Copy link
Author

Hi! I really just wanted to report an issue I saw, I can work with a non-bare build. I was adding Vicare to the CI tests for my machine-code project. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants