ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Build host python


From: Stuart Hughes
Subject: Re: [Ltib] Build host python
Date: Sun, 12 Feb 2012 17:02:38 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0

Hi Mike,

The host packages will ultimately use /usr/{include,lib} unless the
package is deliberately changed to look in /opt/ltib (IIRC).  So try
adding the libncurses-dev package to your host install, that may fix it.

Regards, Stuart

On 10/02/12 02:03, Mike Goins wrote:
> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]