:: Re: [Libbitcoin] libbitcoin compila…
Top Pagina
Delete this message
Reply to this message
Auteur: mlmikael
Datum:  
Aan: libbitcoin
Onderwerp: Re: [Libbitcoin] libbitcoin compilation, OS support


Noel,

On OBSD the problem is that "autoreconf -i" has eternal duration; it
does not consume all CPU but also it never completes.

On an old Debian, "autoreconf -i" produces:

$ autoreconf -i
configure.ac:7: warning: macro `AM_PROG_AR' not found in library
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
configure.ac:7: warning: macro `AM_PROG_AR' not found in library
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:7: error: possibly undefined macro: AM_PROG_AR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

And "autoreconf -if" produces:

$ autoreconf -if
configure.ac:7: warning: macro `AM_PROG_AR' not found in library
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
configure.ac:7: warning: macro `AM_PROG_AR' not found in library
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:11: warning: AC_COMPILE_IFELSE was called before
AC_GNU_SOURCE
../../lib/autoconf/specific.m4:331: AC_GNU_SOURCE is expanded from...
configure.ac:11: the top level
configure.ac:11: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:7: error: possibly undefined macro: AM_PROG_AR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

I'll try with Debian latest.

For this moment re OBSD and old debian, any thought?

I easily feel lost in build scripts, hope to see it running on OBSD and
at all shortly.

2013/11/25 Noel Maersk <veox@???>

> On Mon, Nov 25, 2013 at 03:36:02AM +0200, mlmikael wrote:
>> ...
>>
>> Debian behavior:
>>
>> $ libtoolize --force
>> ...
>
> You shouldn't have to run the tools manually, do `autoreconf -i`.
>
> Take a look at the sx install script (for Debian and Debian-based
> systems):
>
> https://github.com/spesmilo/sx/blob/master/install-sx.sh [1]
>
> It pulls all the dependencies needed to install sx - and if you're
> playing around with libbitcoin and obelisk, you might want to check out
> sx, too.
>
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin [2]




Links:
------
[1] https://github.com/spesmilo/sx/blob/master/install-sx.sh
[2] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin