Problems compiling OpenChronos-ng

302 views
Skip to first unread message

randall bryant

unread,
Dec 23, 2012, 5:55:06 AM12/23/12
to openc...@googlegroups.com
i'm having problems compiling from source. I keep getting this error when i "make config"

which: no python2 in (/usr/local/bin:/usr/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files (x86)/Calibre2:/cygdrive/c/Program Files (x86)/Java/jre6/bin:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files (x86)/Microsoft ASP.NET/ASP.NET Web Pages/v1.0:/cygdrive/c/Program Files (x86)/Windows Kits/8.0/Windows Performance Toolkit:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/usr/lib/lapack:/opt/msp430-gcc-4.4.5/bin)
grep: config.h: No such file or directory
/usr/bin/python tools/config.py
Traceback (most recent call last):
  File "tools/config.py", line 167, in <module>
    for key,field in modules.read_config():
  File "/home/User/openchronos-ng-code/tools/modules.py", line 71, in read_config
    % (cfgname, item['parent'])
KeyError: 'parent'
Makefile:89: recipe for target `config' failed
make: *** [config] Error 1

Angelo Arrifano

unread,
Dec 23, 2012, 6:45:26 AM12/23/12
to openc...@googlegroups.com
On Sun, Dec 23, 2012 at 11:55 AM, randall bryant <redw...@gmail.com> wrote:
> which: no python2

Check you have python installed and is in your PATH :)
--
Angelo Arrifano AKA MiKNiX
Doctorate at the I3S Laboratory / CNRS - France
Doctorate at the University of Beira Interior - Portugal
http://www.arrifano.com
PGP Pubkey 0x3D92BB0B

randall bryant

unread,
Dec 23, 2012, 4:03:37 PM12/23/12
to openc...@googlegroups.com
i checked and its installed but i can't figure out how to add it to the path i tried export PATH="${PATH}:${PYTHON}" but that didn't work.

Aljaž Srebrnič

unread,
Jan 10, 2013, 8:58:15 AM1/10/13
to openc...@googlegroups.com
On 23/dic/2012, at 22:03, randall bryant <redw...@gmail.com> wrote:

i checked and its installed but i can't figure out how to add it to the path i tried export PATH="${PATH}:${PYTHON}" but that didn't work.

Hmm… from your previous email it looks like you're on windows with cygwin, correct? I'm not familiar with this setup very well, but the general idea is that you should find out what is the directory where your python executable is (maybe by running `which python`, which gives you the location of the python executable?) and adding that to your path.


On Sunday, December 23, 2012 6:45:26 AM UTC-5, miknix wrote:
On Sun, Dec 23, 2012 at 11:55 AM, randall bryant <redw...@gmail.com> wrote:
> which: no python2

Check you have python installed and is in your PATH :)


--
Aljaž Srebrnič a.k.a g5pw
My public key:  http://bit.ly/g5pw_pubkey


Reply all
Reply to author
Forward
0 new messages