Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./autogen.sh in ubuntu 14.04 #1

Open
wwwcase opened this issue Jul 2, 2019 · 3 comments
Open

./autogen.sh in ubuntu 14.04 #1

wwwcase opened this issue Jul 2, 2019 · 3 comments

Comments

@wwwcase
Copy link

wwwcase commented Jul 2, 2019

./autogen.sh aclocal: warning: couldn't open directory 'build-aux/m4': Нет такого файла или каталога libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, build-aux'.
libtoolize: copying file build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, build-aux/m4'.
libtoolize: copying file build-aux/m4/libtool.m4' libtoolize: copying file build-aux/m4/ltoptions.m4'
libtoolize: copying file build-aux/m4/ltsugar.m4' libtoolize: copying file build-aux/m4/ltversion.m4'
libtoolize: copying file build-aux/m4/lt~obsolete.m4' configure.ac:10: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/config.guess' configure.ac:5: installing 'build-aux/config.sub' configure.ac:9: installing 'build-aux/install-sh' configure.ac:9: installing 'build-aux/missing' Makefile.am:78: error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+=' Makefile.am:79: error: CFLAGS_FOR_BUILD must be set with '=' before using '+=' Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: automake failed with exit status: 1
I add to secp256k1/Makefile.am:

CPPFLAGS_FOR_BUILD =
CFLAGS_FOR_BUILD =

if USE_ECMULT_STATIC_PRECOMPUTATION
CPPFLAGS_FOR_BUILD +=-I$(top_srcdir)
CFLAGS_FOR_BUILD += -Wall -Wextra -Wno-unused-function

to solve it

@wwwcase
Copy link
Author

wwwcase commented Jul 2, 2019

no! it do not work(

@wwwcase
Copy link
Author

wwwcase commented Jul 2, 2019

gincoin-dev/gincoin-core#2

" The secp256k1 has been updated to the latest version and it builds correctly. "

@wwwcase
Copy link
Author

wwwcase commented Jul 2, 2019

Assumed:

  1. update secp256k1:
    git clone https://github.com/bitcoin-core/secp256k1.git
    cd secp256k1/
    git checkout 95e99f196fd08a8b2c236ab99d7e7fec8f6dc78f

replace secp256k1 catalog from git

  1. in catalog bitcoin:
    chmod +x ./autogen.sh
    chmod +x ./share/genbuild.sh
    chmod +x ./src/leveldb/build_detect_platform

all script nedded set exicutable bit

  1. build command:
    ./autogen.sh
    ./configure LDFLAGS="-L/home/mint/workspace/longcoin/db4/lib/" CPPFLAGS="-I/home/mint/workspace/longcoin/db4/include/" CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" --with-gui=qt5 --enable-tests=no --disable-shared --enable-module-ecdh --enable-experimental
    make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant