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

[macos] missing autoconf for libnfs build #6

Open
xhaggi opened this issue Sep 29, 2017 · 1 comment
Open

[macos] missing autoconf for libnfs build #6

xhaggi opened this issue Sep 29, 2017 · 1 comment

Comments

@xhaggi
Copy link
Contributor

xhaggi commented Sep 29, 2017

Got the following error, because autoconf does not exists on MacOS. To build Kodi's depends we build a temporary copy of autoconf. See https://github.com/xbmc/xbmc/blob/master/tools/depends/bootstrap I'm not very familiar with cmake and how we could fix it.

[ 60%] Performing build step for 'nfs'
[ 12%] Performing update step for 'nfs'
./bootstrap: line 2: autoreconf: command not found
make[5]: *** [nfs-prefix/src/nfs-stamp/nfs-update] Error 127
make[4]: *** [CMakeFiles/nfs.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [build/nfs/src/nfs-stamp/nfs-build] Error 2
make[1]: *** [CMakeFiles/nfs.dir/all] Error 2
make: *** [all] Error 2
@notspiff
Copy link
Owner

notspiff commented Sep 29, 2017

use https://cmake.org/cmake/help/v3.0/command/find_program.html to locate autoconf binary, then call using the returned value. i believe the depends path should be in the prefix paths, so we should be able to locate it that way.

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

2 participants