Closed laodzu closed 3 years ago
On Fedora, the file you are missing /usr/share/aclocal/introspection.m4
is provided by the package gobject-introspection-devel
Excellent, thanks. On Debian bullseye that's just "gobject-introspection".
One step closer but not still there:
dzu@krikkit:/opt/src/git/guile-gi (master)$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ar... ar
checking the archiver (ar) interface... ar
./configure: line 4271: syntax error near unexpected token 3.0' ./configure: line 4271:
GUILE_PKG(3.0 2.2)'
dzu@krikkit:/opt/src/git/guile-gi (master)$
I have guile compiled and installed from git master.
Sorry for those stupid questions...
Do you have the file /usr/share/aclocal/guile.m4
installed?
It may be that you are missing the Debian analog for guile-3.0-dev
or guile-devel
I do have it in /usr/local/share/aclocal from my local install from git:
dzu@krikkit:/opt/src/git/guile-gi (master)$ ls -l /usr/local/share/aclocal/guile.m4 -rw-r--r-- 1 root root 15726 9. Nov 22:34 /usr/local/share/aclocal/guile.m4 dzu@krikkit:/opt/src/git/guile-gi (master)$
The lines in configure starting with line 4270 are:
from guile.m4
GUILE_PKG(3.0 2.2) GUILE_PROGS GUILE_FLAGS GUILE_SITE_DIR
So it seems guile.m4 got picked up.
Urgh. I am not able to prevent that comment sign being picked up by the markdown renderer....
Likely, you have failed to include /usr/local/share/aclocal
in your ACLOCAL_PATH
.
Try running as ACLOCAL_PATH=/usr/local/share/aclocal ./bootstrap
If that works, you'll probably have other environment variables you'll need to make sure are correct: LD_LIBRARY_PATH
and so on
Ok, thanks. Another step. Finally I had to install "libgirepository1.0-dev" which seems to be somehow equivalent to "gobject-introspection-devel" (
Maybe it is not so common anymore to build packages from source outside package management and install it into /usr/local?
Anyway, thanks for solving my problems!
Trying to do a fresh build I cannot get past step 0:
dzu@krikkit:/opt/src/git/guile-gi (master)$ ./bootstrap
What am I doing wrong?
Thanks in advance! Detlev