{"action":"created","issue":{"url":"https://api.github.com/repos/steinwurf/kodo-python/issues/33","labels_url":"https://api.github.com/repos/steinwurf/kodo-python/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/steinwurf/kodo-python/issues/33/comments","events_url":"https://api.github.com/repos/steinwurf/kodo-python/issues/33/events","html_url":"https://github.com/steinwurf/kodo-python/issues/33","id":59838633,"number":33,"title":"Cross compiling for R-Pi - Configure Error","user":{"login":"sreekrishnapandi","id":8693566,"avatar_url":"https://avatars.githubusercontent.com/u/8693566?v=3","gravatar_id":"","url":"https://api.github.com/users/sreekrishnapandi","html_url":"https://github.com/sreekrishnapandi","followers_url":"https://api.github.com/users/sreekrishnapandi/followers","following_url":"https://api.github.com/users/sreekrishnapandi/following{/other_user}","gists_url":"https://api.github.com/users/sreekrishnapandi/gists{/gist_id}","starred_url":"https://api.github.com/users/sreekrishnapandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreekrishnapandi/subscriptions","organizations_url":"https://api.github.com/users/sreekrishnapandi/orgs","repos_url":"https://api.github.com/users/sreekrishnapandi/repos","events_url":"https://api.github.com/users/sreekrishnapandi/events{/privacy}","received_events_url":"https://api.github.com/users/sreekrishnapandi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-04T18:20:53Z","updated_at":"2015-07-01T11:04:32Z","closed_at":"2015-04-20T17:24:21Z","body":"I am trying to cross compile KODO - Python for Raspberry Pi using the toolchain from \"buildbots\" website. But during the 'waf configure' I get the following error:\r\n```\r\nkrish@ubuntu:~/Desktop/PYTHON-KODO-2015-03-03/kodo-python$ python waf configure --bundle=ALL --bundle-path=\"../deps\" --options=cxx_mkspec=cxx_raspberry_gxx47_arm\r\nSetting top to                           : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python \r\nSetting out to                           : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/build/cxx_raspberry_gxx47_arm \r\nChecking for program 'git'               : ['/usr/bin/git'] \r\nResolve dependency sak                   : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/sak-1bdcea/14.0.1 \r\nResolve dependency kodo                  : Username for 'https://github.com': sreekrishnapandi\r\nPassword for 'https://sreekrishnapandi@github.com': \r\n/home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/kodo-879b21/22.1.0 \r\nResolve dependency platform              : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/platform-bccd32/1.3.0 \r\nResolve dependency fifi                  : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/fifi-8960fd/17.1.0 \r\nResolve dependency recycle               : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/recycle-b2469b/1.1.1 \r\nResolve dependency cpuid                 : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/cpuid-4d8071/3.3.1 \r\nResolve dependency waf-tools             : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/waf-tools-51dff5/2.40.1 \r\nResolve dependency boost                 : /home/krish/Desktop/PYTHON-KODO-2015-03-03/deps/boost-abe3de/1.8.1 \r\nUsing the mkspec:                        : cxx_raspberry_gxx47_arm \r\nChecking for program 'raspberry-gxx47-arm-g++' : ['/home/krish/Desktop/raspberry-gxx47-arm/bin/raspberry-gxx47-arm-g++'] \r\nChecking for program 'raspberry-gxx47-arm-gcc' : ['/home/krish/Desktop/raspberry-gxx47-arm/bin/raspberry-gxx47-arm-gcc'] \r\nChecking for program 'raspberry-gxx47-arm-ar'  : ['/home/krish/Desktop/raspberry-gxx47-arm/bin/raspberry-gxx47-arm-ar'] \r\nChecking for program 'python'                  : ['/usr/bin/python'] \r\nChecking for python version                    : 2.7.6 \r\nChecking for library python2.7 in LIBDIR       : not found \r\nChecking for library python2.7 in python_LIBPL : not found \r\nChecking for library python2.7 in $prefix/libs : not found \r\nChecking for library python2.7m in LIBDIR      : not found \r\nChecking for library python2.7m in python_LIBPL : not found \r\nChecking for library python2.7m in $prefix/libs : not found \r\nChecking for library python27 in LIBDIR         : not found \r\nChecking for library python27 in python_LIBPL   : not found \r\nChecking for library python27 in $prefix/libs   : not found \r\npython-config                                   : ['/usr/bin/python-config'] \r\nChecking for header Python.h                    : :-( \r\nAsking python-config for pyembed --cflags flags : yes \r\nAsking python-config for pyembed --libs flags   : yes \r\nAsking python-config for pyembed --ldflags flags : yes \r\nGetting pyembed flags from python-config         : Could not build a python embedded interpreter \r\nChecking for library pthread                     : yes \r\nChecking for library rt                          : yes \r\nChecking for cxxflags: -mfpu=neon                : yes \r\nPython was not configured properly\r\n(complete log in /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/build/cxx_raspberry_gxx47_arm/config.log)\r\n\r\n```\r\n\r\nHowever, A normal Build (not cross compiling) works properly. \r\n```\r\npython waf configure\r\nSetting top to                           : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python \r\nSetting out to                           : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/build/linux \r\nChecking for program 'git'               : ['/usr/bin/git'] \r\nResolve dependency sak                   : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/sak-1bdcea/14.0.1 \r\nResolve dependency kodo                  : Username for 'https://github.com': sreekrishnapandi\r\nPassword for 'https://sreekrishnapandi@github.com': \r\n/home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/kodo-879b21/22.1.0 \r\nResolve dependency platform              : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/platform-bccd32/1.3.0 \r\nResolve dependency fifi                  : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/fifi-8960fd/17.1.0 \r\nResolve dependency recycle               : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/recycle-b2469b/1.1.1 \r\nResolve dependency cpuid                 : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/cpuid-4d8071/3.3.1 \r\nResolve dependency waf-tools             : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/waf-tools-51dff5/2.40.1 \r\nResolve dependency boost                 : /home/krish/Desktop/PYTHON-KODO-2015-03-03/kodo-python/bundle_dependencies/boost-abe3de/1.8.1 \r\nUsing the mkspec:                        : cxx_default \r\nChecking for 'g++' (C++ compiler)        : /usr/bin/g++ \r\nChecking for program 'python'            : ['/usr/bin/python'] \r\nChecking for python version              : 2.7.6 \r\nChecking for library python2.7 in LIBDIR : yes \r\npython-config                            : ['/usr/bin/python-config'] \r\nChecking for header Python.h             : yes \r\nChecking for library pthread             : yes \r\nChecking for library rt                  : yes \r\nChecking for cxxflags: -mssse3           : yes \r\nChecking for cxxflags: -msse4.2          : yes \r\nChecking for cxxflags: -mavx2            : yes \r\n'configure' finished successfully (2m19.795s)\r\n```\r\n\r\nAlso Cross compiling KODO (NOT KODO-Python) works fine. \r\n\r\nI have also faced very similar problems with WAF few months before while trying to compile Kodo-Python in OSX (for python 3.4). But it worked fine with python 2.7. "},"comment":{"url":"https://api.github.com/repos/steinwurf/kodo-python/issues/comments/117608632","html_url":"https://github.com/steinwurf/kodo-python/issues/33#issuecomment-117608632","issue_url":"https://api.github.com/repos/steinwurf/kodo-python/issues/33","id":117608632,"user":{"login":"sreekrishnapandi","id":8693566,"avatar_url":"https://avatars.githubusercontent.com/u/8693566?v=3","gravatar_id":"","url":"https://api.github.com/users/sreekrishnapandi","html_url":"https://github.com/sreekrishnapandi","followers_url":"https://api.github.com/users/sreekrishnapandi/followers","following_url":"https://api.github.com/users/sreekrishnapandi/following{/other_user}","gists_url":"https://api.github.com/users/sreekrishnapandi/gists{/gist_id}","starred_url":"https://api.github.com/users/sreekrishnapandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreekrishnapandi/subscriptions","organizations_url":"https://api.github.com/users/sreekrishnapandi/orgs","repos_url":"https://api.github.com/users/sreekrishnapandi/repos","events_url":"https://api.github.com/users/sreekrishnapandi/events{/privacy}","received_events_url":"https://api.github.com/users/sreekrishnapandi/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T11:04:32Z","updated_at":"2015-07-01T11:04:32Z","body":"Hi,\nI saw that post yesterday. I had tried this method few months ago (kodo-python v 21 if i remember correctly) but in vain. It got stuck in step [104/107] for a few hours and finally crashed.\nHowever, I repeated the same process yesterday (following the guide), and began ‘build’ at 18:15. It has been 18 hours and is seems to be stuck in the step :: [109/114] (full_vector_stacks.cpp).\nCan you think of any reason why?\n\n-Krishna\nOn 01 Jul 2015, at 12:57, Jeppe Pihl <notifications@github.com> wrote:\n\n> Hi @sreekrishnapandi I don't know if it's still relevant, but we've managed to compile kodo-python for the raspberry pi (both 1 and 2). Here's a guide explaining how:\n> https://github.com/steinwurf/kodo-python/blob/master/RASPBERRY_GUIDE.rst\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n\n"}}