I am having a bit of problem building python modules. First, Python builds just fine for target platform, but when it comes to build python modules, the host python get picked up in the build process which is typically version 2.6 so the site-packages get installed under python2.6 on the rootfs as opposed to the desired python2.4. The solution that should work is to install python2.4 as part of the host packages in /opt/ltib/. That way building python modules (and python for the target itself) should see 2.4. This should also avoid bootstrapping a host python to build the target platform, thus simplifying it just a bit.
So far I have been unable to even just build the host python, which I would have thought to be the easiest step. The error I am getting is <snip build process> running build running build_ext building '_curses_panel' extension gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/opt/ltib/usr/src/rpm/BUILD/Python-2.4.4/./Include -I/opt/ltib/usr/include -I/usr/local/include -I/opt/ltib/usr/src/rpm/BUILD/Python-2.4.4/Include -I/opt/ltib/usr/src/rpm/BUILD/Python-2.4.4 -c /opt/ltib/usr/src/rpm/BUILD/Python-2.4.4/Modules/_curses_panel.c -o build/temp.linux-i686-2.4/_curses_panel.o /opt/ltib/usr/src/rpm/BUILD/Python-2.4.4/Modules/_curses_panel.c:17:19: error: panel.h: No such file or directory I think panel.h is part of the ncurses library, which is already installed as required by ltib. Doesn't seem to see it. I have never added a new package to the hostcf, the steps: Add a new host spec file. Add that entry to config/plaform/pkg_map. run ./ltib --hostcf -p python This triggers the correct build but is not completing as shown above. Am I missing something for host packages? _______________________________________________ LTIB home page: http://ltib.org Ltib mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/ltib
