Installation on Ubuntu 18.04.1 with distro's Guile 2.2.3

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Installation on Ubuntu 18.04.1 with distro's Guile 2.2.3

Jeremy Korwin
Hey readers,

I am trying to install guile-reader on my computer but I am facing a
problem.

I use Ubuntu 18.04.1 and the distro's guile-2.2 installed with the
package manager apt-get (guile --version returns guile 2.2.3) .

I downloaded the guile-reader-0.6.2.tar.gz then when ./configure in the
folder I got (put the complete log, sorry if it is too much):

   $ ./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... /bin/mkdir -p
   checking for gawk... no
   checking for mawk... mawk
   checking whether make sets $(MAKE)... yes
   checking whether make supports nested variables... yes
   checking whether make supports nested variables... (cached) 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 for style of include used by make... GNU
   checking dependency style of gcc... gcc3
   checking for a sed that does not truncate output... /bin/sed
   checking for ar... ar
   checking the archiver (ar) interface... ar
   checking build system type... x86_64-unknown-linux-gnu
   checking host system type... x86_64-unknown-linux-gnu
   checking how to print strings... printf
   checking for a sed that does not truncate output... (cached)
   /bin/sed
   checking for grep that handles long lines and -e... /bin/grep
   checking for egrep... /bin/grep -E
   checking for fgrep... /bin/grep -F
   checking for ld used by gcc... /usr/bin/ld
   checking if the linker (/usr/bin/ld) is GNU ld... yes
   checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
   -B
   checking the name lister (/usr/bin/nm -B) interface... BSD nm
   checking whether ln -s works... yes
   checking the maximum length of command line arguments... 1572864
   checking how to convert x86_64-unknown-linux-gnu file names to
   x86_64-unknown-linux-gnu format... func_convert_file_noop
   checking how to convert x86_64-unknown-linux-gnu file names to
   toolchain format... func_convert_file_noop
   checking for /usr/bin/ld option to reload object files... -r
   checking for objdump... objdump
   checking how to recognize dependent libraries... pass_all
   checking for dlltool... no
   checking how to associate runtime and link libraries... printf %s\n
   checking for archiver @FILE support... @
   checking for strip... strip
   checking for ranlib... ranlib
   checking command to parse /usr/bin/nm -B output from gcc object...
   ok
   checking for sysroot... no
   checking for a working dd... /bin/dd
   checking how to truncate binary pipes... /bin/dd bs=4096 count=1
   checking for mt... mt
   checking if mt is a manifest tool... no
   checking how to run the C preprocessor... gcc -E
   checking for ANSI C header files... yes
   checking for sys/types.h... yes
   checking for sys/stat.h... yes
   checking for stdlib.h... yes
   checking for string.h... yes
   checking for memory.h... yes
   checking for strings.h... yes
   checking for inttypes.h... yes
   checking for stdint.h... yes
   checking for unistd.h... yes
   checking for dlfcn.h... yes
   checking for objdir... .libs
   checking if gcc supports -fno-rtti -fno-exceptions... no
   checking for gcc option to produce PIC... -fPIC -DPIC
   checking if gcc PIC flag -fPIC -DPIC works... yes
   checking if gcc static flag -static works... yes
   checking if gcc supports -c -o file.o... yes
   checking if gcc supports -c -o file.o... (cached) yes
   checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
   shared libraries... yes
   checking whether -lc should be explicitly linked in... no
   checking dynamic linker characteristics... GNU/Linux ld.so
   checking how to hardcode library paths into programs... immediate
   checking for shl_load... no
   checking for shl_load in -ldld... no
   checking for dlopen... no
   checking for dlopen in -ldl... yes
   checking whether a program can dlopen itself... yes
   checking whether a statically linked program can dlopen itself... no
   checking whether stripping libraries is possible... yes
   checking if libtool supports shared libraries... yes
   checking whether to build shared libraries... yes
   checking whether to build static libraries... no
   checking for ANSI C header files... (cached) yes
   checking for stdlib.h... (cached) yes
   checking for string.h... (cached) yes
   checking for strings.h... (cached) yes
   checking lightning.h usability... no
   checking lightning.h presence... no
   checking for lightning.h... no
   configure: WARNING: GNU lightning not found; GNU lightning
   enhancements not compiled.
   checking for an ANSI C-conforming const... yes
   checking for inline... inline
   checking for size_t... yes
   checking size of void *... 8
   checking for stdlib.h... (cached) yes
   checking for GNU libc compatible malloc... yes
   checking for stdlib.h... (cached) yes
   checking for GNU libc compatible realloc... yes
   checking for strncasecmp... yes
   checking for gperf... /usr/local/bin/gperf
   checking for pkg-config... /usr/bin/pkg-config
   checking pkg-config is at least version 0.9.0... yes
   configure: checking for guile 2.2
   configure: found guile 2.2
   checking for guile... /usr/bin/guile
   checking for Guile version >= 2.2... 2.2.3
   checking for guild... /usr/bin/guild
   checking for guile-config... /usr/bin/guile-config
   checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
   checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
   checking for shared library run path origin... done
   checking for GUILE... yes
   checking for guile-snarf... /usr/bin/guile-snarf
   checking for guild... (cached) /usr/bin/guild
   checking for Guile site directory... /usr/share/guile/site/2.2
   checking for scm_take_u8vector... no
   configure: error: You need Guile 1.8.x or higher.

I am totally lost with this kind of issue. Seem to recognize guile
2.2.3 but...

Thank you,
Jeko


_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation on Ubuntu 18.04.1 with distro's Guile 2.2.3

Catonano


Il giorno dom 27 gen 2019 alle ore 15:57 Jeremy Korwin <[hidden email]> ha scritto:
Hey readers,

I am trying to install guile-reader on my computer but I am facing a
problem.

I use Ubuntu 18.04.1 and the distro's guile-2.2 installed with the
package manager apt-get (guile --version returns guile 2.2.3) .

I downloaded the guile-reader-0.6.2.tar.gz then when ./configure in the
folder I got (put the complete log, sorry if it is too much):

   $ ./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... /bin/mkdir -p
   checking for gawk... no
   checking for mawk... mawk
   checking whether make sets $(MAKE)... yes
   checking whether make supports nested variables... yes
   checking whether make supports nested variables... (cached) 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 for style of include used by make... GNU
   checking dependency style of gcc... gcc3
   checking for a sed that does not truncate output... /bin/sed
   checking for ar... ar
   checking the archiver (ar) interface... ar
   checking build system type... x86_64-unknown-linux-gnu
   checking host system type... x86_64-unknown-linux-gnu
   checking how to print strings... printf
   checking for a sed that does not truncate output... (cached)
   /bin/sed
   checking for grep that handles long lines and -e... /bin/grep
   checking for egrep... /bin/grep -E
   checking for fgrep... /bin/grep -F
   checking for ld used by gcc... /usr/bin/ld
   checking if the linker (/usr/bin/ld) is GNU ld... yes
   checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
   -B
   checking the name lister (/usr/bin/nm -B) interface... BSD nm
   checking whether ln -s works... yes
   checking the maximum length of command line arguments... 1572864
   checking how to convert x86_64-unknown-linux-gnu file names to
   x86_64-unknown-linux-gnu format... func_convert_file_noop
   checking how to convert x86_64-unknown-linux-gnu file names to
   toolchain format... func_convert_file_noop
   checking for /usr/bin/ld option to reload object files... -r
   checking for objdump... objdump
   checking how to recognize dependent libraries... pass_all
   checking for dlltool... no
   checking how to associate runtime and link libraries... printf %s\n
   checking for archiver @FILE support... @
   checking for strip... strip
   checking for ranlib... ranlib
   checking command to parse /usr/bin/nm -B output from gcc object...
   ok
   checking for sysroot... no
   checking for a working dd... /bin/dd
   checking how to truncate binary pipes... /bin/dd bs=4096 count=1
   checking for mt... mt
   checking if mt is a manifest tool... no
   checking how to run the C preprocessor... gcc -E
   checking for ANSI C header files... yes
   checking for sys/types.h... yes
   checking for sys/stat.h... yes
   checking for stdlib.h... yes
   checking for string.h... yes
   checking for memory.h... yes
   checking for strings.h... yes
   checking for inttypes.h... yes
   checking for stdint.h... yes
   checking for unistd.h... yes
   checking for dlfcn.h... yes
   checking for objdir... .libs
   checking if gcc supports -fno-rtti -fno-exceptions... no
   checking for gcc option to produce PIC... -fPIC -DPIC
   checking if gcc PIC flag -fPIC -DPIC works... yes
   checking if gcc static flag -static works... yes
   checking if gcc supports -c -o file.o... yes
   checking if gcc supports -c -o file.o... (cached) yes
   checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
   shared libraries... yes
   checking whether -lc should be explicitly linked in... no
   checking dynamic linker characteristics... GNU/Linux ld.so
   checking how to hardcode library paths into programs... immediate
   checking for shl_load... no
   checking for shl_load in -ldld... no
   checking for dlopen... no
   checking for dlopen in -ldl... yes
   checking whether a program can dlopen itself... yes
   checking whether a statically linked program can dlopen itself... no
   checking whether stripping libraries is possible... yes
   checking if libtool supports shared libraries... yes
   checking whether to build shared libraries... yes
   checking whether to build static libraries... no
   checking for ANSI C header files... (cached) yes
   checking for stdlib.h... (cached) yes
   checking for string.h... (cached) yes
   checking for strings.h... (cached) yes
   checking lightning.h usability... no
   checking lightning.h presence... no
   checking for lightning.h... no
   configure: WARNING: GNU lightning not found; GNU lightning
   enhancements not compiled.
   checking for an ANSI C-conforming const... yes
   checking for inline... inline
   checking for size_t... yes
   checking size of void *... 8
   checking for stdlib.h... (cached) yes
   checking for GNU libc compatible malloc... yes
   checking for stdlib.h... (cached) yes
   checking for GNU libc compatible realloc... yes
   checking for strncasecmp... yes
   checking for gperf... /usr/local/bin/gperf
   checking for pkg-config... /usr/bin/pkg-config
   checking pkg-config is at least version 0.9.0... yes
   configure: checking for guile 2.2
   configure: found guile 2.2
   checking for guile... /usr/bin/guile
   checking for Guile version >= 2.2... 2.2.3
   checking for guild... /usr/bin/guild
   checking for guile-config... /usr/bin/guile-config
   checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
   checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
   checking for shared library run path origin... done
   checking for GUILE... yes
   checking for guile-snarf... /usr/bin/guile-snarf
   checking for guild... (cached) /usr/bin/guild
   checking for Guile site directory... /usr/share/guile/site/2.2
   checking for scm_take_u8vector... no
   configure: error: You need Guile 1.8.x or higher.

I am totally lost with this kind of issue. Seem to recognize guile
2.2.3 but...

Thank you,
Jeko

Hi Jeremy

i think you are running into the same issue that Florian Peltz run into, see here

I run into this too and Ludo patched the build system , see here

This last thread continues here

I managed to build guile-reader, finally, but not before running into some other glitch I can't remember now

Hope this helps !

_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel
Reply | Threaded
Open this post in threaded view
|

Re: Installation on Ubuntu 18.04.1 with distro's Guile 2.2.3

Jeremy Korwin
Le dimanche 27 janvier 2019 à 16:50 +0100, Catonano a écrit :

>
>
> Il giorno dom 27 gen 2019 alle ore 15:57 Jeremy Korwin <
> [hidden email]> ha scritto:
> > Hey readers,
> >
> > I am trying to install guile-reader on my computer but I am facing
> > a
> > problem.
> >
> > I use Ubuntu 18.04.1 and the distro's guile-2.2 installed with the
> > package manager apt-get (guile --version returns guile 2.2.3) .
> >
> > I downloaded the guile-reader-0.6.2.tar.gz then when ./configure in
> > the
> > folder I got (put the complete log, sorry if it is too much):
> >
> >    $ ./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... /bin/mkdir -p
> >    checking for gawk... no
> >    checking for mawk... mawk
> >    checking whether make sets $(MAKE)... yes
> >    checking whether make supports nested variables... yes
> >    checking whether make supports nested variables... (cached) 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 for style of include used by make... GNU
> >    checking dependency style of gcc... gcc3
> >    checking for a sed that does not truncate output... /bin/sed
> >    checking for ar... ar
> >    checking the archiver (ar) interface... ar
> >    checking build system type... x86_64-unknown-linux-gnu
> >    checking host system type... x86_64-unknown-linux-gnu
> >    checking how to print strings... printf
> >    checking for a sed that does not truncate output... (cached)
> >    /bin/sed
> >    checking for grep that handles long lines and -e... /bin/grep
> >    checking for egrep... /bin/grep -E
> >    checking for fgrep... /bin/grep -F
> >    checking for ld used by gcc... /usr/bin/ld
> >    checking if the linker (/usr/bin/ld) is GNU ld... yes
> >    checking for BSD- or MS-compatible name lister (nm)...
> > /usr/bin/nm
> >    -B
> >    checking the name lister (/usr/bin/nm -B) interface... BSD nm
> >    checking whether ln -s works... yes
> >    checking the maximum length of command line arguments... 1572864
> >    checking how to convert x86_64-unknown-linux-gnu file names to
> >    x86_64-unknown-linux-gnu format... func_convert_file_noop
> >    checking how to convert x86_64-unknown-linux-gnu file names to
> >    toolchain format... func_convert_file_noop
> >    checking for /usr/bin/ld option to reload object files... -r
> >    checking for objdump... objdump
> >    checking how to recognize dependent libraries... pass_all
> >    checking for dlltool... no
> >    checking how to associate runtime and link libraries... printf
> > %s\n
> >    checking for archiver @FILE support... @
> >    checking for strip... strip
> >    checking for ranlib... ranlib
> >    checking command to parse /usr/bin/nm -B output from gcc
> > object...
> >    ok
> >    checking for sysroot... no
> >    checking for a working dd... /bin/dd
> >    checking how to truncate binary pipes... /bin/dd bs=4096 count=1
> >    checking for mt... mt
> >    checking if mt is a manifest tool... no
> >    checking how to run the C preprocessor... gcc -E
> >    checking for ANSI C header files... yes
> >    checking for sys/types.h... yes
> >    checking for sys/stat.h... yes
> >    checking for stdlib.h... yes
> >    checking for string.h... yes
> >    checking for memory.h... yes
> >    checking for strings.h... yes
> >    checking for inttypes.h... yes
> >    checking for stdint.h... yes
> >    checking for unistd.h... yes
> >    checking for dlfcn.h... yes
> >    checking for objdir... .libs
> >    checking if gcc supports -fno-rtti -fno-exceptions... no
> >    checking for gcc option to produce PIC... -fPIC -DPIC
> >    checking if gcc PIC flag -fPIC -DPIC works... yes
> >    checking if gcc static flag -static works... yes
> >    checking if gcc supports -c -o file.o... yes
> >    checking if gcc supports -c -o file.o... (cached) yes
> >    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64)
> > supports
> >    shared libraries... yes
> >    checking whether -lc should be explicitly linked in... no
> >    checking dynamic linker characteristics... GNU/Linux ld.so
> >    checking how to hardcode library paths into programs...
> > immediate
> >    checking for shl_load... no
> >    checking for shl_load in -ldld... no
> >    checking for dlopen... no
> >    checking for dlopen in -ldl... yes
> >    checking whether a program can dlopen itself... yes
> >    checking whether a statically linked program can dlopen
> > itself... no
> >    checking whether stripping libraries is possible... yes
> >    checking if libtool supports shared libraries... yes
> >    checking whether to build shared libraries... yes
> >    checking whether to build static libraries... no
> >    checking for ANSI C header files... (cached) yes
> >    checking for stdlib.h... (cached) yes
> >    checking for string.h... (cached) yes
> >    checking for strings.h... (cached) yes
> >    checking lightning.h usability... no
> >    checking lightning.h presence... no
> >    checking for lightning.h... no
> >    configure: WARNING: GNU lightning not found; GNU lightning
> >    enhancements not compiled.
> >    checking for an ANSI C-conforming const... yes
> >    checking for inline... inline
> >    checking for size_t... yes
> >    checking size of void *... 8
> >    checking for stdlib.h... (cached) yes
> >    checking for GNU libc compatible malloc... yes
> >    checking for stdlib.h... (cached) yes
> >    checking for GNU libc compatible realloc... yes
> >    checking for strncasecmp... yes
> >    checking for gperf... /usr/local/bin/gperf
> >    checking for pkg-config... /usr/bin/pkg-config
> >    checking pkg-config is at least version 0.9.0... yes
> >    configure: checking for guile 2.2
> >    configure: found guile 2.2
> >    checking for guile... /usr/bin/guile
> >    checking for Guile version >= 2.2... 2.2.3
> >    checking for guild... /usr/bin/guild
> >    checking for guile-config... /usr/bin/guile-config
> >    checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
> >    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld...
> > yes
> >    checking for shared library run path origin... done
> >    checking for GUILE... yes
> >    checking for guile-snarf... /usr/bin/guile-snarf
> >    checking for guild... (cached) /usr/bin/guild
> >    checking for Guile site directory... /usr/share/guile/site/2.2
> >    checking for scm_take_u8vector... no
> >    configure: error: You need Guile 1.8.x or higher.
> >
> > I am totally lost with this kind of issue. Seem to recognize guile
> > 2.2.3 but...
> >
> > Thank you,
> > Jeko
>
> Hi Jeremy
>
> i think you are running into the same issue that Florian Peltz run
> into, see here
>
https://lists.nongnu.org/archive/html/guile-reader-devel/2017-11/msg00002.html
>
> I run into this too and Ludo patched the build system , see here
>
https://lists.nongnu.org/archive/html/guile-reader-devel/2018-11/msg00000.html
>
> This last thread continues here
>
https://lists.nongnu.org/archive/html/guile-reader-devel/2018-12/msg00000.html
>
> I managed to build guile-reader, finally, but not before running into
> some other glitch I can't remember now
>
> Hope this helps !

Hi!

Thank to you, I found the "autoreconf -vfi" command I was looking for
to generate the configure script for at least 2 years OMG haha (I am
the guy who cloned any repo to try some and then cry solely because he
can't configure the module hahaha ahem...).

So back to topic, I had to

   $ touch build-aux/config.rpath

Then I

   $ autoreconf -vfi

Then I

   $ ./configure --with-guilemoduledir=/usr/share/guile/site/2.2
   $ make
   $ sudo make install

And DONE!

Thank you so much Catonano.

Jeko


_______________________________________________
Guile-reader-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/guile-reader-devel