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

Encountered issue building for F25 Workstation #22

Open
gabbydgab opened this issue Dec 24, 2016 · 4 comments
Open

Encountered issue building for F25 Workstation #22

gabbydgab opened this issue Dec 24, 2016 · 4 comments

Comments

@gabbydgab
Copy link

I'm trying to install it in Fedora release 25 (Twenty Five) Workstation

after a long process of running it, I encountered the following:

Reconfiguring libdispatch
+ mkdir -p /home/gabbydgab/tmp/swiftbuild/build/buildbot_linux/libdispatch-linux-x86_64
+ pushd /home/gabbydgab/tmp/swiftbuild/swift-corelibs-libdispatch
~/tmp/swiftbuild/swift-corelibs-libdispatch ~/tmp/swiftbuild/swift
+ autoreconf -fvi
/home/gabbydgab/tmp/swiftbuild/swift/utils/build-script-impl: line 282: autoreconf: command not found
utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
~/Downloads/fedora-swift

How can I fix this issue?

Thanks

@rbukovansky
Copy link
Contributor

rbukovansky commented Dec 24, 2016

yum -y install autoconf or dnf -y install autoconf should be enough

@gabbydgab
Copy link
Author

Hi @rbukovansky,

I've installed autoconf and rebuild then I encounter the following error.

Reconfiguring libdispatch
+ mkdir -p /home/gabbydgab/tmp/swiftbuild/build/buildbot_linux/libdispatch-linux-x86_64
+ pushd /home/gabbydgab/tmp/swiftbuild/swift-corelibs-libdispatch
~/tmp/swiftbuild/swift-corelibs-libdispatch ~/tmp/swiftbuild/swift
+ autoreconf -fvi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --output=aclocal.m4t
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
~/Downloads/fedora-swift

Sorry I don't know how to debug it properly because I'm not familiar with the domain but I want to learn to install it in my machine.

Thanks for your time.

@gabbydgab
Copy link
Author

I've installed automake as additional dependency then rebuild.

I don't know how to debug this error:

autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:58: installing 'config/compile'
configure.ac:14: installing 'config/config.guess'
configure.ac:14: installing 'config/config.sub'
configure.ac:260: installing 'config/install-sh'
configure.ac:260: installing 'config/missing'
src/Makefile.am:9: error: Libtool library used but 'LIBTOOL' is undefined
src/Makefile.am:9:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/Makefile.am:9:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/Makefile.am:9:   If 'LT_INIT' is in 'configure.ac', make sure
src/Makefile.am:9:   its definition is in aclocal's search path.
tests/Makefile.am:7: error: Libtool library used but 'LIBTOOL' is undefined
tests/Makefile.am:7:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
tests/Makefile.am:7:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
tests/Makefile.am:7:   If 'LT_INIT' is in 'configure.ac', make sure
tests/Makefile.am:7:   its definition is in aclocal's search path.
parallel-tests: installing 'config/test-driver'
autoreconf: automake failed with exit status: 1
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
~/Downloads/fedora-swift

@leeksoup
Copy link

You need to install libtool package as well. I had the same problems and I'm wondering whether you will run into the same with libkqueue as I did after fixing this above.

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