-
Notifications
You must be signed in to change notification settings - Fork 81
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
autoreconf fails on macOS Sierra #127
Comments
You might need to install libtool?
…On Mon, Oct 16, 2017 at 9:35 PM, gh0st42 ***@***.***> wrote:
Just tried to build serval-dna on a macOS Sierra machine.
$ autoreconf -f -i
src/libsodium/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
src/libsodium/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/libsodium/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/libsodium/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
src/libsodium/Makefile.am:1: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
libsodium is already installed using brew but this should not make a
difference at this stage since I don't even get to the "configure" step.
Prior to autobuilding libsodium this was not a problem on macOS.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#127>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAkD3ozRCgBzb8PWkqwHc6Jcr_e_17z9ks5sszhegaJpZM4P6cvy>
.
|
What version of autotools? Which commit of serval-dna? Please read INSTALL.md, it clearly says:
|
libtool is installed:
And regarding This is the most recent commit in master branch. |
If i revert back to a commit prior to the required libsodium subtree it all builds fine on the machine. The current version interestingly enough builds just fine on a real old mac with El Capitan installed. |
I don't have a Mac with Sierra handy to perform more testing. The clue is in the error message. The libsodium Makefile.am definitely contains an LT_INIT line, so it must be that LT_INIT is not in aclocal's search path. A missing brew package, perhaps? In Debian, the M4 autoconf macros come in their own package called |
If you install the libtool version from brew it works, apple command line developer tools version alone doesn't seem to work. |
Could you please post the output of |
Just tried to build serval-dna on a macOS Sierra machine.
libsodium is already installed using brew but this should not make a difference at this stage since I don't even get to the "configure" step. Prior to autobuilding libsodium this was not a problem on macOS.
The text was updated successfully, but these errors were encountered: