<div>Harish,</div>
<div> </div>
<div>Weclome to pygtk group of geeks. </div>
<div> </div>
<div>If configure is trying to run python and pkgconfig, why can't you provide ARM version of these libraries?</div>
<div> </div>
<div>Just checking!!! Secondly you are running configure script to generate appropriate Makefile to run Make to cross compile pygtk package for arm. I think may be you might already have Makefile generating for other cross compiling libraries, try to use that Makefile and make changes to it to cross compile pygtk?</div>
<div> </div>
<div>Let me know if you need generic Makefile.</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Feb 11, 2009 at 10:00 PM, Harish Vishwanath <span dir="ltr"><<a href="mailto:harish.shastry@gmail.com">harish.shastry@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hello All,<br><br>I am trying to cross-compile PyGTK 2.4.1 to ARM 9 processor. I have all the required dependencies already compiled for ARM 9 (Python, GTK, Cairo, Pango, PangoCairo pkgconfig etc.,). I have the following setup : <br>
<br>Host : Suse Enterprise Linux 10, Intel X86<br>Target : ARM 9<br><br>I have LxNETES-3.2 installed on the Host, and using the arm-linux-gcc that comes along with it to do the compilation. I have pointed the CFLAGS, ATK_CFLAGS, ATK_LIBS etc., to appropriate locations on my host, and passing the following flags to configure : <br>
<br>./configure --host=arm-linux --target=arm-linux --prefix=/exports/nfsroot-9750acc/opt/arm/python252/lib/python2.5/site-packages/<br><br>But, configure tries to run Python, and PkgConfig. Hence, I cant provide the ARM version of these libraries to 'configure' , and instead have provided the Host compatible Python/PkgConfig. But however, configure failed in trying to detect 'codegen' and I had to comment it to proceed further. Configure was successful, but make is failing now.<br>
<br>Though I am trying to cross-compile :<br>configure:3097: checking whether we are cross compiling<br>configure:3099: result: yes<br><br>it is still trying to execute PKG Config and Python. Is there a way to prevent this from happening?<br>
<br>What is best way to compile PyGTK for ARM processor? I greatly appreciate any help.<br><br>Regards,<br><font color="#888888">Harish<br></font><br>_______________________________________________<br>pygtk mailing list <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
<a href="http://www.daa.com.au/mailman/listinfo/pygtk" target="_blank">http://www.daa.com.au/mailman/listinfo/pygtk</a><br>Read the PyGTK FAQ: <a href="http://faq.pygtk.org/" target="_blank">http://faq.pygtk.org/</a><br></blockquote>
</div><br>