[wxPython-users] Building for PPC64

Rickey, Kyle W Kyle.Rickey at bakerhughes.com
Wed Feb 27 08:49:09 PST 2008


Thanks Robin, I'll give that a try this evening when I get home.

-Kyle Rickey

-----Original Message-----
From: Robin Dunn [mailto:robin at alldunn.com] 
Sent: Wednesday, February 27, 2008 10:43 AM
To: wxPython-users at lists.wxwidgets.org
Subject: Re: [wxPython-users] Building for PPC64

Rickey, Kyle W wrote:
> I'm trying to build wxPython for Ubuntu 7.10 (Gutsy) on a PPC64
architecture. I've been following
> directions from http://wiki.wxpython.org/BuildingDebianPackages
> However running:
> 
>     apt-get source -d wxwidgets2.8
> 
> complains about not being able to find the files for PPC64.
> So I downloaded the source from:
> http://apt.wxwidgets.org/dists/gutsy-wx/main/source/
> 
> and have a directory that looks like this:
>     wxwidgets2.8_2.8.7.1-0.diff.gz
>     wxwidgets2.8_2.8.7.1-0.dsc
>     wxwidgets2.8_2.8.7.1.orig.tar.gz
>     
> Then I run the commands:
> 
>     dpkg-source -x wxwidgets2.8_2.8.7.1-0.dsc
>     cd wxwidgets2.8-2.8.7.1
>     fakeroot debian/rules binary
> 
> After compiling for a while, I get this error message:
> 
> dh_testdir
> touch docs/lgpl.txt
> cd wxPython &&                                                  \
>                 python2.4 ./setup.py  build
\
>
WX_CONFIG='/home/kyle/wxpython-src/wxwidgets2.8-2.8.7.1/objs_gtk_sh/wx-c
onfig --no_rpath'                               \
>                         WXPORT=gtk2                             \
>                         UNICODE=1
\
>                         BUILD_GLCANVAS=1
\
>                         FLAVOUR=
> /bin/sh: python2.4: not found
> make: *** [build-gtk-py2.4-stamp] Error 127
> 
> 
> What am I missing to make this compile for python 2.5.1? I don't have
python 2.4 installed at all.

You'll probably need to install 2.4.  The debian/rules file uses the 
output of `pyversions -vs` to know which version(s) of Python are 
supported by the distribution and therefore which versions to build for.

   Gutsy's Python debhelper and related packages are all geared for 
building extensions for both python's.

Once you've got the packages built however you will be able to remove 
Python 2.4 if you want to.  It should only be needed at build time.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org




More information about the wxpython-users mailing list