Re: Building Clearsilver under LTIB

Brandon Long <[email protected]> Mon, 4 May 2009 12:41:57 -0700
Newsgroups gmane.text.clearsilver.general
Organization Fiction L Networks
Message-ID <20090504194157.GC13093@bl1>
On 05/04/09 rtwalsh26 uttered the following other thing:
> Hi,
> 
> I'm building Clearsilver under LTIB for use on a Freescale PowerPC
> platform.  A problem arises when the configure script wants to run
> Python (or Perl for that matter) to fetch the version and exec prefix.
> Running Python on my build platform doesn't help since the version and
> exec prefix might be different on the target platform.  What I'd like
> to do in the case of cross-compiling, is just tell the script the
> Python version and anything else it needs.  
> 
> Is there a flag or option I missed that can do this?

Hmm, currently the configure script probably doesn't work for cross
compiling, definitely for the non-C parts.  You can use --with-python to
point at another python binary, but it builds by using python's
setup.py, and I don't know if that supports cross compiling either.

If you don't need python, you can definitely compile without it
(--disable-python), otherwise, you might have to edit some Makefiles and
such after configure.

The exact version isn't necessary, what its doing is trying to find the
various include/libraries for python, which are often in a directory
that contains a version number.

Brandon
-- 
 "Atheism requires too much faith." -- Andrew C. Bulhak
                                             http://www.fiction.net/blong/