[wxPython-users] Building for PPC64
Rickey, Kyle W
Kyle.Rickey at bakerhughes.com
Thu Feb 28 06:27:59 PST 2008
Robin, I installed python 2.4 and got past my error, but now a new one
occurs:
.....
src/helpers.cpp:3168: error: 'Py_DECREF' was not declared in this scope
src/helpers.cpp:3169: error: 'PyErr_Clear' was not declared in this
scope
src/helpers.cpp:3171: error: 'PyErr_Print' was not declared in this
scope
error: command 'gcc' failed with exit status 1
make: *** [build-gtk-py2.4-stamp] Error 1
kyle at Xenon:~/wxpython-src/wxwidgets2.8-2.8.7.1$
.....
Not sure what to do now. Also, attached is a full output from my
terminal in case that helps.
To all: I apologize for sending my previous email with a 1MB attachment.
I meant to send it to my other email address. Sorry for any
inconvenience!
-Kyle Rickey
-----Original Message-----
From: Rickey, Kyle W
Sent: Wednesday, February 27, 2008 10:49 AM
To: wxPython-users at lists.wxwidgets.org
Subject: RE: [wxPython-users] Building for PPC64
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
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_log.zip.zip
Type: application/x-zip-compressed
Size: 52938 bytes
Desc: build_log.zip.zip
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20080228/8ad22cca/build_log.zip.bin
More information about the wxpython-users
mailing list