:: Re: [Libbitcoin] libbitcoin compila…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Amir Taaki
日付:  
To: libbitcoin
題目: Re: [Libbitcoin] libbitcoin compilation, OS support
Hey,

I was looking over this last night, but sadly also I'm not too
experienced with build systems. The libbitcoin build system was made
with some help from friends, copy-paste from internet and some luck.

Old Debian won't work because you need the newer g++ 4.7 or higher which
properly implements the latest C++11 standard (released 2011).

Tomorrow I'll meet a friend and ask him to create me an OBSD VPS for
testing this build. What version of OBSD are you using? Can you run: g++
--version and tell me the result? Thanks.

On 25/11/13 14:03, mlmikael wrote:
> 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@???
> <mailto:veox@wemakethings.net>>
>
>     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

>
>     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@??? <mailto:Libbitcoin@lists.dyne.org>
>     https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin

>
>
>
>
> _______________________________________________
> Libbitcoin mailing list
> Libbitcoin@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/libbitcoin
>