Skip to content

failed to install on Mac OS #46

@gomjellie

Description

@gomjellie

I tried to follow steps on README

input:

brew install bison flex gmp readline autoconf-archive
autoreconf -i

output:

Can't exec "aclocal": No such file or directory at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory

I googled how to resolve it and I found that I should install automake

input:

brew install automake
autoreconf -i
YACC="$(brew --prefix bison)/bin/bison -y" ./configure --enable-debug

and I found suspicious line at log of configure command

output:

...
checking ... yes
./configure: line 7593: LT_SYS_SYMBOL_USCORE: command not found 
checking ... yes
...

anyway I kept going on

input:

make

output:

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in x86_64
make[4]: Nothing to be done for `all'.
  CCLD     bic
Undefined symbols for architecture x86_64:
  "___do_call", referenced from:
      _do_call in libbic_x86_64.a(libbic_x86_64_a-function_call.o)
  "_entry_point_0", referenced from:
      _get_entry_point_for_fn in libbic_x86_64.a(libbic_x86_64_a-ptr_call.o)
      _next_entry_point in libbic_x86_64.a(libbic_x86_64_a-ptr_call.o)
  "_entry_point_1", referenced from:
      _get_entry_point_for_fn in libbic_x86_64.a(libbic_x86_64_a-ptr_call.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [bic] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions