[swift-build-dev] build-toolchain fail with error on Ubuntu-15.10
Dmitri Gribenko
gribozavr at gmail.com
Sun Mar 13 18:19:50 CDT 2016
On Sun, Mar 13, 2016 at 10:08 AM, bhargav gurlanka via swift-build-dev
<swift-build-dev at swift.org> wrote:
> I'm trying to build toolchain using `build-toolchain` command, but the
> script is failing with error:
>
>
> CMake Error at
> /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138
> (message):
> Could NOT find BSD (missing: BSD_INCLUDE_DIR BSD_LIBRARY)
> Call Stack (most recent call first):
> /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374
> (_FPHSA_FAILURE_MESSAGE)
> cmake/modules/FindBSD.cmake:18 (find_package_handle_standard_args)
> stdlib/CMakeLists.txt:23 (find_package)
I think you might be missing libbsd. Please run:
sudo apt-get install libbsd-dev
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the swift-build-dev
mailing list