[swift-dev] Autoconf needed for builds?

Alex Blewitt alblue at apple.com
Wed Nov 16 04:26:04 CST 2016


Thanks, created https://bugs.swift.org/browse/SR-3222 <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 at 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 <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 at swift.org <mailto:swift-dev at 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 <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 at swift.org <mailto:swift-dev at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-dev <https://lists.swift.org/mailman/listinfo/swift-dev>
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20161116/e7ae892d/attachment.html>


More information about the swift-dev mailing list