From: Andreas Oberritter <o...@opendreambox.org>

With python enabled, gdb refuses to start without core
python modules:

| Could not find platform independent libraries <prefix>
| Could not find platform dependent libraries <exec_prefix>
| Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
| ImportError: No module named site

It also complains if python-codecs is missing.

Signed-off-by: Andreas Oberritter <o...@opendreambox.org>
Signed-off-by: Andre McCurdy <armccu...@gmail.com>
---
 meta/recipes-devtools/gdb/gdb_7.8.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb_7.8.1.bb 
b/meta/recipes-devtools/gdb/gdb_7.8.1.bb
index 1abc9d8..cd52e27 100644
--- a/meta/recipes-devtools/gdb/gdb_7.8.1.bb
+++ b/meta/recipes-devtools/gdb/gdb_7.8.1.bb
@@ -4,7 +4,7 @@ require gdb-${PV}.inc
 inherit python-dir
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[python] = 
"--with-python=${WORKDIR}/python,--without-python,python"
+PACKAGECONFIG[python] = 
"--with-python=${WORKDIR}/python,--without-python,python,python python-codecs"
 PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
 
 do_configure_prepend() {
-- 
1.9.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to