[Gambas-user] Error compiling on Fedora

Gianluigi bagonergi at gmail.com
Sun Sep 30 14:37:58 CEST 2018


Il giorno sab 29 set 2018 alle ore 23:26 Tobias Boege <taboege at gmail.com>
ha scritto:

> On Sat, 29 Sep 2018, Gianluigi wrote:
> > By compiling Gambas Master on Fedora after successfully configuring the
> > libraries (|| ALL COMPONENTS WILL BE COMPILED) on make/configure I get
> > error, attach the final part of the log file.
> > Any suggestions?
> >
> > [...]
> >
> > Making all in gb.openssl
> > make[2]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl"
> > make  all-recursive
> > make[3]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl"
> > Making all in src
> > make[4]: ingresso nella directory "/home/gian/gambasdevel/gb.openssl/src"
> >   CC       gb_openssl_la-main.lo
> > In file included from ../../main/gbx/gbx_component.h:31,
> >                  from ../../main/gbx/gbx_class.h:31,
> >                  from ../../main/gbx/gbx_value.h:30,
> >                  from ../../main/gbx/gbx_string.h:27,
> >                  from ../../main/gbx/gbx_variant.h:28,
> >                  from ../../main/gbx/gbx_compare.h:29,
> >                  from main.c:27:
> > ../../main/gbx/gbx_library.h:34:12: fatal error: ltdl.h: No such file or
> directory
> >    #include <ltdl.h>
> >             ^~~~~~~~
> > compilation terminated.
> > make[4]: *** [Makefile:489: gb_openssl_la-main.lo] Error 1
> > make[4]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl/src"
> > make[3]: *** [Makefile:435: all-recursive] Error 1
> > make[3]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl"
> > make[2]: *** [Makefile:367: all] Error 2
> > make[2]: uscita dalla directory "/home/gian/gambasdevel/gb.openssl"
> > make[1]: *** [Makefile:436: all-recursive] Error 1
> > make[1]: uscita dalla directory "/home/gian/gambasdevel"
> > make: *** [Makefile:377: all] Error 2
>
> That's a strange error to happen at this late stage, but main.c
> in gb.openssl does include some unusual gambas headers.
>
> Do you have installed whatever provides ltdl.h on Fedora? I looked
> a bit and it's probably called libtool-ltdl-devel, but information
> on the web outdates now and then... It compiles fine over here, on
> an (almost) freshly updated Arch Linux.
>
> Regards,
> Tobi
>

@Tony,
thanks for the answer, but libtool was already installed.

@Tobias,
yes, libtool-ltdl-devel was missing, thank you.
Now I can install Gambas3 (working) but it doesn't compile gbh3.
I tried to install am-utils but without success, which library still do I
miss?

I enclose the final part of the log file

TIA

Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180930/2647923c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install.log
Type: text/x-log
Size: 873 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180930/2647923c/attachment-0001.bin>


More information about the User mailing list