Autoconf needed for builds?


(Alex Blewitt) #1

I just tried to build Swift on Ubuntu 10.04 and it failed with an error message 'autoreconf: command not found'. It seems this comes with the autoconf module.

According to https://github.com/apple/swift/#system-requirements the requirements for installing includes:

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev libcurl4-openssl-dev

This doesn't include autoconf, and as such, falls over here. Should the documentation be updated to require autoconf, or should the libdispatch code not require autoconf in the first place?

Alex

···

---

libdispatch: using gold linker
Reconfiguring libdispatch
+ mkdir -p /build/Ninja-ReleaseAssert/libdispatch-linux-x86_64
+ pushd //swift-corelibs-libdispatch
//swift-corelibs-libdispatch /
+ autoreconf -fvi
/swift/utils/build-script-impl: line 274: autoreconf: command not found
swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting


(Mishal Shah) #2

Hi Alex,

Libdispatch requires following:

sudo apt-get install autoconf libtool pkg-config clang systemtap-sdt-dev
libbsd-dev

For more detail:
https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL.md#building-and-installing-for-linux

Thanks,
Mishal Shah

Mishal Shah

···

On Tue, Nov 15, 2016 at 8:31 AM, Alex Blewitt via swift-dev < swift-dev@swift.org> wrote:

I just tried to build Swift on Ubuntu 10.04 and it failed with an error
message 'autoreconf: command not found'. It seems this comes with the
autoconf module.

According to https://github.com/apple/swift/#system-requirements the
requirements for installing includes:

sudo apt-get install git cmake ninja-build clang python uuid-dev
libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev
swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev
libcurl4-openssl-dev

This doesn't include autoconf, and as such, falls over here. Should the
documentation be updated to require autoconf, or should the libdispatch
code not require autoconf in the first place?

Alex

---

libdispatch: using gold linker
Reconfiguring libdispatch
+ mkdir -p /build/Ninja-ReleaseAssert/libdispatch-linux-x86_64
+ pushd //swift-corelibs-libdispatch
//swift-corelibs-libdispatch /
+ autoreconf -fvi
/swift/utils/build-script-impl: line 274: autoreconf: command not found
swift/utils/build-script: fatal error: command terminated with a non-zero
exit status 127, aborting

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Alex Blewitt) #3

Thanks, created https://bugs.swift.org/browse/SR-3222 to address the documentation since it's necessary to build dispatch if building foundation on Linux

Alex

···

On 15 Nov 2016, at 20:48, Mishal Shah <shahmishal@gmail.com> wrote:

Hi Alex,

Libdispatch requires following:

sudo apt-get install autoconf libtool pkg-config clang systemtap-sdt-dev libbsd-dev

For more detail:
https://github.com/apple/swift-corelibs-libdispatch/blob/master/INSTALL.md#building-and-installing-for-linux

Thanks,
Mishal Shah

Mishal Shah

On Tue, Nov 15, 2016 at 8:31 AM, Alex Blewitt via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:
I just tried to build Swift on Ubuntu 10.04 and it failed with an error message 'autoreconf: command not found'. It seems this comes with the autoconf module.

According to https://github.com/apple/swift/#system-requirements the requirements for installing includes:

sudo apt-get install git cmake ninja-build clang python uuid-dev libicu-dev icu-devtools libbsd-dev libedit-dev libxml2-dev libsqlite3-dev swig libpython-dev libncurses5-dev pkg-config libblocksruntime-dev libcurl4-openssl-dev

This doesn't include autoconf, and as such, falls over here. Should the documentation be updated to require autoconf, or should the libdispatch code not require autoconf in the first place?

Alex

---

libdispatch: using gold linker
Reconfiguring libdispatch
+ mkdir -p /build/Ninja-ReleaseAssert/libdispatch-linux-x86_64
+ pushd //swift-corelibs-libdispatch
//swift-corelibs-libdispatch /
+ autoreconf -fvi
/swift/utils/build-script-impl: line 274: autoreconf: command not found
swift/utils/build-script: fatal error: command terminated with a non-zero exit status 127, aborting

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev