Re: Problems building Bigloo from GitHub

[email protected] Tue, 29 Jun 2021 18:15:09 +0200
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
Hi Blake,

> Greetings,
> 
> I am attempting to build Bigloo from GitHub.
> 
> I am on: LinuxMint 19.3
> GCC version 7.5.0
> 
> I did:
>     ./configure
>     make
> 
> I have two issues:
> 
> 1.  Build failure with:
> 
> [...]
> make[3]: Entering directory '/home/blake/Backup/bigloo.git/runtime'
> rm -f /home/blake/Backup/bigloo.git/lib/bigloo/4.4c/bigloo.heap
> /home/blake/Backup/bigloo.git/bin/bigloo  -srfi enable-resolv -srfi
> enable-unistring -srfi enable-pcre2 -srfi enable-gmp  -unsafe -q -mkheap
> -mklib -s -no-hello  -L /home/blake/Backup/bigloo.git/lib/bigloo/4.4c
> Llib/make_lib.scm -heap bigloo.heap
> /home/blake/Backup/bigloo.git/bin/bigloo: error while loading shared
> libraries: libpcre2-8.so.0: cannot open shared object file: No such file or
> directory
> [...]
> 
> 2.  I get many messages that look like this:
> 
> /usr/local/bin/bigloo.sh -w -unsafeh  -q -afile .afile -fsharing
> -fno-reflection -cc gcc -lib-dir
> /home/blake/Backup/bigloo.git/lib/bigloo/4.4c -unsafev
> -gno-error-localization -no-hello -Wall -O2 +rm -g         -c
> SawJvm/names.scm -o SawJvm/names.o
> *** WARNING: Cross compilation for different Bigloos is risky.
> 
> Why is it using /usr/local/bin/bigloo rather than the one I am building?
The Bigloo version available on github is not bootstrapped. It only
provides the Bigloo Scheme sources. In order to compile them you need
a Bigloo compiler. This is why you see another Bigloo showing up. However
apparently there is something wrong because it is not using the proper
Bigloo compiler that it should have compiled and stashed somewhere. I will
try my best to fix that problem tomorrow morning and I will come back to
you as soon as possible.

Sorry for the inconvenience.

-- 
Manuel
signature.asc (application/pgp-signature, 487 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEELgdDMTtUx/Mxl41xMMxQ5DtOwukFAmDbR9QACgkQMMxQ5DtO
wumtPwf/ci/PryeeOWIlxO7FJYVcnR4k/Vxrebr/MZKW+pQ/FQdqq07o4sCal76q
TY4qtO8Hgli+TXUNsrj8exsHlHp1LSNjcPs+/WS11aT2j2Dk/IUvl4EIQM/J22wq
TN3tRoz+sHsiKhLyNEO2TxhJDib3BB0WE+l0G08EgsKG4btzMBnJNaSe6n6F8UHk
woaOA4f5Jciw1H6bjsbWz3w1Zt0etD+CgGtE0JoXGGT7L8cxKSbOrNU/BagOVlmN
SwK80dc5SQB3MdLNLils4UjgP58UFhihKNoIBS7xIMYPgFFfm+7xmP7wUzOF6DA3
So900S0mUHVTaMdU1fjouNy2E2EW9Q==
=ZS8e
-----END PGP SIGNATURE-----