>>> Unpacking source...
>>> Unpacking tclpython-4.1.tar.bz2 to /var/tmp/portage/dev-tcltk/tclpython-4.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-tcltk/tclpython-4.1/work/tclpython-4.1 ...
Usage: /usr/local/bin/python-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help]
tclpython.c:24:20: error: Python.h: No such file or directory
tclpython.c:26:23: error: cStringIO.h: No such file or directory
tclpython.c: In function ‘pythonInterpreter’:
tclpython.c:70: error: ‘PyObject’ undeclared (first use in this function)
tclpython.c:70: error: (Each undeclared identifier is reported only once
tclpython.c:70: error: for each function it appears in.)
tclpython.c:70: error: ‘output’ undeclared (first use in this function)
tclpython.c:71: error: ‘message’ undeclared (first use in this function)
tclpython.c:72: error: ‘result’ undeclared (first use in this function)
tclpython.c:73: error: ‘globals’ undeclared (first use in this function)
tclpython.c:88: warning: implicit declaration of function ‘strcmp’
tclpython.c:95: warning: implicit declaration of function ‘atoi’
tclpython.c:96: warning: cast to pointer from integer of different size
tclpython.c:106: warning: cast to pointer from integer of different size
tclpython.c:112: warning: implicit declaration of function ‘PyRun_String’
tclpython.c:112: error: ‘Py_eval_input’ undeclared (first use in this function)
tclpython.c:112: error: ‘Py_file_input’ undeclared (first use in this function)
tclpython.c:114: error: ‘PycStringIO’ undeclared (first use in this function)
tclpython.c:115: warning: implicit declaration of function ‘PySys_SetObject’
tclpython.c:116: warning: implicit declaration of function ‘PyErr_Print’
tclpython.c:118: warning: implicit declaration of function ‘PyString_AsString’
tclpython.c:118: warning: assignment makes pointer from integer without a cast
tclpython.c:119: warning: implicit declaration of function ‘PyString_Size’
tclpython.c:124: warning: implicit declaration of function ‘Py_DECREF’
tclpython.c:127: warning: implicit declaration of function ‘PyObject_Str’
tclpython.c:127: warning: assignment makes pointer from integer without a cast
tclpython.c: At top level:
tclpython.c:176: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
tclpython.c:191: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tclMethods’
tclpython.c: In function ‘newInterpreter’:
tclpython.c:204: error: ‘PyObject’ undeclared (first use in this function)
tclpython.c:204: error: ‘tcl’ undeclared (first use in this function)
tclpython.c:216: warning: implicit declaration of function ‘Py_Initialize’
tclpython.c:217: error: ‘PycString_IMPORT’ undeclared (first use in this function)
tclpython.c:219: warning: cast to pointer from integer of different size
tclpython.c:242: warning: cast to pointer from integer of different size
tclpython.c:242: warning: implicit declaration of function ‘PyModule_GetDict’
tclpython.c:242: warning: implicit declaration of function ‘PyImport_AddModule’
tclpython.c:242: warning: cast to pointer from integer of different size
tclpython.c:253: warning: implicit declaration of function ‘Py_InitModule’
tclpython.c:253: error: ‘tclMethods’ undeclared (first use in this function)
tclpython.c:254: warning: implicit declaration of function ‘Py_INCREF’
tclpython.c:255: warning: implicit declaration of function ‘PyModule_AddObject’
tclpython.c: In function ‘deleteInterpreters’:
tclpython.c:275: warning: cast to pointer from integer of different size
tclpython.c:290: warning: cast to pointer from integer of different size
tclpython.c:297: warning: implicit declaration of function ‘Py_Finalize’
tclpython.c: In function ‘Tclpython_Init’:
tclpython.c:368: error: ‘Py_NoSiteFlag’ undeclared (first use in this function)
tclpython.c: In function ‘pythonInterpreter’:
tclpython.c:138: warning: control reaches end of non-void function
[31;01m*[0m
[31;01m*[0m ERROR: dev-tcltk/tclpython-4.1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 1654: Called dyn_compile
[31;01m*[0m ebuild.sh, line 990: Called qa_call 'src_compile'
[31;01m*[0m ebuild.sh, line 44: Called src_compile
[31;01m*[0m tclpython-4.1.ebuild, line 21: Called die
[31;01m*[0m
[31;01m*[0m (no error message)
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-tcltk/tclpython-4.1/temp/build.log'.
[31;01m*[0m