On Sep 22, 2013 2:21 PM, "Miguel Angel" <[email protected]> wrote: > > I reverted this (.cmake part) http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/revision/4333
Actually your change looked appropriate. Sometime recently ubuntu started executing programs out of the cwd, without the ./ prefix. This is not typical, or historical, so I like your addition of ./ prefix. When troubleshooting a externalprojectadd function, especially on a new platform, it is best to step back away from cmake and simply run all the commands that you see cmake doing manually. I do this from /tmp where the untarred tree is placed temporarily. This takes cmake out of the picture. Then go to the package build help for your platform and build it with a configure and make command line entry. Repeat and refine as necessary. Once you have the steps documented to compile and install to arbitrary staging area, bring those back into cmake. A big else () path may be needed for osx. So you can call externalprojectadd() with totally different style. > > 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 <[email protected]> >> >> 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 > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

