Can't build wxPython 2.8.9.2 in Ubuntu 8.10 x86_64

Hi,
I’m trying to install wxPython 2.8.9.2 in Ubuntu 8.10 x86_64 but after I follow
the steps in BUILD.txt when I run

python2.5 setup.py build_ext --inplace --debug

it give me this error:
src/helpers.cpp:863: error: ‘source’ was not declared in this scope
src/helpers.cpp:863: error: expected primary-expression before ‘bool’

src/helpers.cpp:863: error: expected primary-expression before ‘bool’
src/helpers.cpp:92: warning: ‘wxPyDefaultEncoding’ defined but not used

error: command 'gcc' failed with exit status 1

I try several times but I can't see th problem (I have gcc otherwise it didn't build wxWidgets)

Thank you advance for your help

 

is not more easy get it from wxPython Repos for Ubuntu?

···

2009/3/12 Jorge starglider101@gmail.com

Hi,
I’m trying to install wxPython 2.8.9.2 in Ubuntu 8.10 x86_64 but after I follow
the steps in BUILD.txt when I run


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
Lima - Peru

The problem is that in the repos is only 2.8.8.0
unless ther is a wya of getting a recent version.

Thank you.

···

On Thu, Mar 12, 2009 at 10:38 PM, Mario Lacunza mlacunza@gmail.com wrote:

2009/3/12 Jorge starglider101@gmail.com

Hi,
I’m trying to install wxPython 2.8.9.2 in Ubuntu 8.10 x86_64 but after I follow
the steps in BUILD.txt when I run

is not more easy get it from wxPython Repos for Ubuntu?


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
Lima - Peru


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Jorge,
To build wxpython for linux , you also must build wxwidgets. have you carefully read the build instructions at http://www.wxpython.org/BUILD.html ? Those are good instructions to follow.

You probably want to make yourself a script to run the build, something like the following in the root directory of the source:
···
./configure --with-gtk --with-gnomeprint \
    --enable-optimize \
    --enable-debug_flag \
    --enable-unicode \
    --with-opengl \
    --enable-geometry \
    --enable-graphics_ctx \
    --enable-sound \
    --with-sdl \
    --enable-mediactrl \
    --enable-display
make
make -C contrib/src/gizmos
make -C contrib/src/stc
make install
make -C contrib/src/gizmos install
make -C contrib/src/stc install
cd wxPython
python setup.py build_ext --inplace --debug
sudo python setup.py install

-Mike

On Thu, Mar 12, 2009 at 3:54 PM, Jorge starglider101@gmail.com wrote:

The problem is that in the repos is only 2.8.8.0
unless ther is a wya of getting a recent version.

Thank you.

On Thu, Mar 12, 2009 at 10:38 PM, Mario Lacunza mlacunza@gmail.com wrote:

2009/3/12 Jorge starglider101@gmail.com

Hi,
I’m trying to install wxPython 2.8.9.2 in Ubuntu 8.10 x86_64 but after I follow
the steps in BUILD.txt when I run

is not more easy get it from wxPython Repos for Ubuntu?


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
Lima - Peru


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

No, I use this lines in my sources.list

wxWidgets/wxPython repository at apt.wxwidgets.org

deb http://apt.wxwidgets.org/ intrepid-wx main
deb-src http://apt.wxwidgets.org/ intrepid-wx main

and I have the 2.8.9.2 version in my Ubuntu 8.10 64bits

···

2009/3/12 Jorge starglider101@gmail.com

The problem is that in the repos is only 2.8.8.0
unless ther is a wya of getting a recent version.

Thank you.


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
http://www.lacunza.info

Lima - Peru

Hi Mike,
the same problem.
I will try Mario’s approach.

Thank you.

···

On Thu, Mar 12, 2009 at 11:00 PM, Mike Haimes mike@getdropbox.com wrote:

Jorge,
To build wxpython for linux , you also must build wxwidgets. have you carefully read the build instructions at http://www.wxpython.org/BUILD.html ? Those are good instructions to follow.

You probably want to make yourself a script to run the build, something like the following in the root directory of the source:
./configure --with-gtk --with-gnomeprint \
    --enable-optimize \


    --enable-debug_flag \
    --enable-unicode \
    --with-opengl \
    --enable-geometry \
    --enable-graphics_ctx \
    --enable-sound \
    --with-sdl \
    --enable-mediactrl \


    --enable-display
make
make -C contrib/src/gizmos
make -C contrib/src/stc
make install
make -C contrib/src/gizmos install
make -C contrib/src/stc install
cd wxPython


python setup.py build_ext --inplace --debug
sudo python setup.py install

-Mike

On Thu, Mar 12, 2009 at 3:54 PM, Jorge starglider101@gmail.com wrote:

The problem is that in the repos is only 2.8.8.0
unless ther is a wya of getting a recent version.

Thank you.

On Thu, Mar 12, 2009 at 10:38 PM, Mario Lacunza mlacunza@gmail.com wrote:

2009/3/12 Jorge starglider101@gmail.com

Hi,
I’m trying to install wxPython 2.8.9.2 in Ubuntu 8.10 x86_64 but after I follow
the steps in BUILD.txt when I run

is not more easy get it from wxPython Repos for Ubuntu?


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
Lima - Peru


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

That’s it Mario,
now I have 2.8.9.2

Muchas Gracias.

Thanks to all of you.

Cheers

···

On Thu, Mar 12, 2009 at 11:03 PM, Mario Lacunza mlacunza@gmail.com wrote:

2009/3/12 Jorge starglider101@gmail.com

The problem is that in the repos is only 2.8.8.0

unless ther is a wya of getting a recent version.

Thank you.

No, I use this lines in my sources.list

wxWidgets/wxPython repository at apt.wxwidgets.org

deb http://apt.wxwidgets.org/ intrepid-wx main

deb-src http://apt.wxwidgets.org/ intrepid-wx main

and I have the 2.8.9.2 version in my Ubuntu 8.10 64bits


Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com

http://www.lacunza.info

Lima - Peru


wxpython-users mailing list

wxpython-users@lists.wxwidgets.org

http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Mario Lacunza wrote:

2009/3/12 Jorge <starglider101@gmail.com <mailto:starglider101@gmail.com>>

    The problem is that in the repos is only 2.8.8.0
    unless ther is a wya of getting a recent version.

    Thank you.

No, I use this lines in my sources.list

# wxWidgets/wxPython repository at apt.wxwidgets.org <http://apt.wxwidgets.org>
deb http://apt.wxwidgets.org/ intrepid-wx main
deb-src http://apt.wxwidgets.org/ intrepid-wx main

and I have the 2.8.9.2 version in my Ubuntu 8.10 64bits

--
Saludos / Best regards

Mario Lacunza
Software Architect - Webmaster

Email: mlacunza [AT] gmail [DOT] com
http://www.lacunza.info
Lima - Peru

Just an FYI. This stuff is on the Downloads page in the debian/ubuntu section on www.wxpython.org, which links to this wiki entry:

http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

I've used this multiple times to install on Ubuntu...

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org