manuel-serrano / bigloo

a practical Scheme compiler
http://www-sop.inria.fr/indes/fp/Bigloo
Other
135 stars 19 forks source link

bigloo4.3e.tar.gz on Ubuntu 18.10: Please port gnulib fseterr.c to your platform! #23

Closed ak-1 closed 4 years ago

ak-1 commented 5 years ago

I tried to install the source release bigloo4.3e on Ubuntu 18.10 but got an error:

fseterr.c: In function ‘fseterr’:
fseterr.c:87:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib."
svenha commented 5 years ago

Could you attach the full output of your configure run? (Make sure you read INSTALL.md and REAME.md, first.)

ak-1 commented 5 years ago

configure.txt

svenha commented 5 years ago

I can reproduce your error (after removing package libunistring-dev) on my system. Bigloo distributes a libunistring version which is incompatible with glibc on Ubuntu 18.10 (just do a web search with your error message, but I would not dive into the details because preferring packages is often the best advice). The solution is easy: install package libunistring-dev and repeat a clean installation of bigloo.

ak-1 commented 5 years ago

Yes, it works now. Thank you!

lassik commented 5 years ago

I also had the same problem and the same solution worked.

The version of libunistring/gnulib distributed in the bigloo source package is probably quite old since it doesn't support Debian/x86_64.

manuel-serrano commented 4 years ago

Version 4.3f (the current verions) uses the latest libunistring version (0.9.10). This should solve the problem. At least, it works fine on all debian machines I have tried (both testing and stable). Sorry about that.