← Back to team overview

kicad-developers team mailing list archive

Re: Failed to build boost, any changes recently?

 

I reverted this (.cmake part)
http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/revision/4333

but yet same problems...   I'm head scratching ...

Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 636 52 25 69
skype: ajoajoajo


2013/9/22 Miguel Angel <miguelangel@xxxxxx>

> I needed to change the next lines to let the bootstrap configure boost:
>
> mba:kicad ajo$ bzr diff
> === modified file 'CMakeModules/download_boost.cmake'
> --- CMakeModules/download_boost.cmake 2013-09-21 19:20:31 +0000
> +++ CMakeModules/download_boost.cmake 2013-09-22 16:18:33 +0000
> @@ -116,10 +116,10 @@
>          UPDATE_COMMAND  ${CMAKE_COMMAND} -E remove_directory
> "${BOOST_ROOT}"
>
>          BINARY_DIR      "${PREFIX}/src/boost/"
> -        CONFIGURE_COMMAND ${bootstrap}
> +        CONFIGURE_COMMAND ./${bootstrap}
>                          --with-libraries=${libs_csv}
>
> -        BUILD_COMMAND   b2
> +        BUILD_COMMAND   ./b2
>                          variant=release
>                          threading=multi
>                          toolset=gcc
>
>
>
> (otherwise it failed looking for bootstrap.sh or b2),
>
> but then, it fails like this:
>
> ..patience...
> ...patience...
> ...found 22108 targets...
> ...updating 127 targets...
> gcc.compile.c++
> bin.v2/libs/date_time/build/gcc/release/threading-multi/gregorian/greg_month.o
> /bin/sh: line 1: -ftemplate-depth-128: command not found
>
>       -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC
>  -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -DNDEBUG
>  -I"." -c -o
> "bin.v2/libs/date_time/build/gcc/release/threading-multi/gregorian/greg_month.o"
> "libs/date_time/src/gregorian/greg_month.cpp"
>
> ...failed gcc.compile.c++
> bin.v2/libs/date_time/build/gcc/release/threading-multi/gregorian/greg_month.o...
> gcc.compile.c++
> bin.v2/libs/date_time/build/gcc/release/threading-multi/gregorian/greg_weekday.o
> /bin/sh: line 1: -ftemplate-depth-128: command not found
>
>       -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -fPIC
>  -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1 -DDATE_TIME_INLINE -DNDEBUG
>  -I"." -c -o
> "bin.v2/libs/date_time/build/gcc/release/threading-multi/gregorian/greg_weekday.o"
> "libs/date_time/src/gregorian/greg_weekday.cpp"
>
>
>
> Under investigation...
>
>
> Miguel Angel Ajo Pelayo
> http://www.nbee.es
> +34 636 52 25 69
> skype: ajoajoajo
>

Follow ups

References