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

Cannot build on OSX #9

Closed
idx3d opened this issue May 26, 2014 · 6 comments
Closed

Cannot build on OSX #9

idx3d opened this issue May 26, 2014 · 6 comments

Comments

@idx3d
Copy link

idx3d commented May 26, 2014

Can you please provide guide for build binary on OSX. Because autogen.sh missing dependency
./autogen.sh: line 8: aclocal: command not found

@idx3d
Copy link
Author

idx3d commented May 26, 2014

Okay. I install automake and autoconf by brew. But i got warnings and errors, while executing ./autogen.sh:

Makefile.am:12: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:18: warning: source file 'sha3/sph_keccak.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Makefile.am:18: warning: source file 'sha3/sph_hefty1.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_groestl.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_skein.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_bmw.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_jh.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_shavite.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_blake.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_luffa.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_cubehash.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_simd.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'sha3/sph_echo.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/oaes_lib.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/c_keccak.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/c_groestl.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/c_blake256.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/c_jh.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/c_skein.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/hash.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:18: warning: source file 'crypto/aesb.c' is in a subdirectory,
Makefile.am:18: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file 'crypto/aesb-x86-impl.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am: installing './depcomp'
configure.ac:115: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

And then got errors from ./configure:

./configure: line 5637: syntax error near unexpected token `,'
./configure: line 5637: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'

@pcdinh
Copy link

pcdinh commented May 26, 2014

sodo port install curl

@idx3d
Copy link
Author

idx3d commented May 26, 2014

@pcdinh Tnx. But I got error while make:

gcc -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson @LIBCURL_CPPFLAGS@   -O3 -march=native -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
clang: error: no such file or directory: '@LIBCURL_CPPFLAGS@'
make[2]: *** [minerd-cpu-miner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@idx3d idx3d closed this as completed Jan 21, 2015
@funboxfilms
Copy link

I'm using Windows

Jesse Harris
CEO Moviejump inc.
📱- 6043516575
✉️- Funboxfilms@me.com

On Jan 21, 2015, at 4:51 AM, Dennis Leukhin notifications@github.com wrote:

Closed #9.


Reply to this email directly or view it on GitHub.

@ghost
Copy link

ghost commented Sep 23, 2016

@Denys how did you get past that error when running make?

@idx3d
Copy link
Author

idx3d commented Feb 14, 2017

@adriaanjoubert sorry, but I cannot recall. I believe I just tried instructions, but maybe issue was with my env.

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

3 participants