Installing wxPython 3.0 in Linux2.6 with python 2.7

'Cause it ain't on your system. :slight_smile: See the message I just posted on how
to find it.

Rich

···

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

As I have commented the line in ./configure or used disable-mediactrl...why
the hell its giving me error "configure: error: GStreamer not available "

Question is : if mediactrl is disable why its looking for GStreamer ??

anyways I did find / -name gstreamer

its says permission denied

and at last

find: WARNING: Hard link count is wrong for /opt/gnu: this may be a bug in your filesystem driver. Automatically turning on find’s -noleaf option. Earlier results may have failed to include directories that should have been searched.

/opt/WR/WindRiverLinux-4.1/wrlinux-4/layers/wrll-userspace/media/dist/gstreamer

···

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

As I have commented the line in ./configure or used disable-mediactrl…why

the hell its giving me error "configure: error: GStreamer not available "

'Cause it ain’t on your system. :slight_smile: See the message I just posted on how

to find it.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Question is : if mediactrl is disable why its looking for GStreamer ??

Hemadri,

   I've no idea.

anyways I did find / -name gstreamer
its says permission denied

   Did you run it with root privileges?

and at last
find: WARNING: Hard link count is wrong for /opt/gnu: this may be a bug in
your filesystem driver. Automatically turning on find's -noleaf option.
Earlier results may have failed to include directories that should have
been searched.
/opt/WR/WindRiverLinux-4.1/wrlinux-4/layers/wrll-userspace/media/dist/gstreamer

   Ah, embedded system development. That's an area about which I know
nothing. My suggestion, though, is to find gstreamer source (if there is no
Wind River-specific build for it) and install that first.

HTH,

Rich

···

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

find(ing)on / it is normal to get permission denied if you aren't root or using sudo.

Hi
I don’t have root privileges…I will ask my administrator to do that for me…

Yes I tried to install GStreamer from the I have download gstreamer http://www.linuxfromscratch.org/blfs/view/6.2.0/multimedia/gstreamer.html

and tried to install it

Its get installed in \usr\lib\gstreamer-0.10

I am not whether it went successful or not but when I type gst-launch it says

→ gst-launch

(process:26535): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was

    called, but the GLib threading system has not been initialised

    yet, something that must happen before any other GLib function

    is called. The application needs to be fixed so that it calls

       if (!g_thread_supported ()) g_thread_init(NULL);

    as very first thing in its main() function. Please file a bug

    against this application.

ERROR: pipeline could not be constructed: empty pipeline not allowed.

···

On Sun, Aug 10, 2014 at 6:44 PM, Nathan McCorkle nmz787@gmail.com wrote:

find(ing)on / it is normal to get permission denied if you aren’t root or using sudo.

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hi Hemadri,

Did you try using anaconda and using conda to install WxPython?

There are some issues, you can see my recent post, yet this works good enough.

And as far as I understand, you may not need rot privileges for this as long as you do this from you account.

The procedure should be:

  1. Install Anaconda - you can do this in your home directory - just follow the instructions

  2. If you are using CentOS Linux type the following:

conda install wxpython

if you are using Ubuntu you will need a specialized build that you can get if you type the following:

conda install wxpython -c asmeurer

It is not perfect and may not work on all distributions, yet if this does work it will save you so much time and you will not need to build wxpython

I hope you find this helpful

Jacob

···

On Sunday, August 10, 2014 5:57:51 PM UTC-5, Hemadri Saxena wrote:

Hi
I don’t have root privileges…I will ask my administrator to do that for me…

Yes I tried to install GStreamer from the I have download gstreamer http://www.linuxfromscratch.org/blfs/view/6.2.0/multimedia/gstreamer.html

and tried to install it

Its get installed in \usr\lib\gstreamer-0.10

I am not whether it went successful or not but when I type gst-launch it says

→ gst-launch

(process:26535): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was

    called, but the GLib threading system has not been initialised
    yet, something that must happen before any other GLib function
    is called. The application needs to be fixed so that it calls
       if (!g_thread_supported ()) g_thread_init(NULL);
    as very first thing in its main() function. Please file a bug
    against this application.

ERROR: pipeline could not be constructed: empty pipeline not allowed.

On Sun, Aug 10, 2014 at 6:44 PM, Nathan McCorkle nmz...@gmail.com wrote:

find(ing)on / it is normal to get permission denied if you aren’t root or using sudo.

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hey

I can’t change my python version it’s has dependency and a part of a framework.

···

Sent from Sony mobile

On 11 Aug 2014 05:03, “Jacob Barhak” jacob.barhak@gmail.com wrote:

Hi Hemadri,

Did you try using anaconda and using conda to install WxPython?

There are some issues, you can see my recent post, yet this works good enough.

And as far as I understand, you may not need rot privileges for this as long as you do this from you account.

The procedure should be:

  1. Install Anaconda - you can do this in your home directory - just follow the instructions
  1. If you are using CentOS Linux type the following:

conda install wxpython

if you are using Ubuntu you will need a specialized build that you can get if you type the following:

conda install wxpython -c asmeurer

It is not perfect and may not work on all distributions, yet if this does work it will save you so much time and you will not need to build wxpython

I hope you find this helpful

Jacob

On Sunday, August 10, 2014 5:57:51 PM UTC-5, Hemadri Saxena wrote:

Hi
I don’t have root privileges…I will ask my administrator to do that for me…

Yes I tried to install GStreamer from the I have download gstreamer http://www.linuxfromscratch.org/blfs/view/6.2.0/multimedia/gstreamer.html

and tried to install it

Its get installed in \usr\lib\gstreamer-0.10

I am not whether it went successful or not but when I type gst-launch it says

→ gst-launch

(process:26535): GStreamer-WARNING **: The GStreamer function gst_init_get_option_group() was

    called, but the GLib threading system has not been initialised
    yet, something that must happen before any other GLib function
    is called. The application needs to be fixed so that it calls
       if (!g_thread_supported ()) g_thread_init(NULL);
    as very first thing in its main() function. Please file a bug
    against this application.

ERROR: pipeline could not be constructed: empty pipeline not allowed.

On Sun, Aug 10, 2014 at 6:44 PM, Nathan McCorkle nmz...@gmail.com wrote:

find(ing)on / it is normal to get permission denied if you aren’t root or using sudo.

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-user...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Hey Rich,

how can I tell configure the path of gstreamer.

···

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

I manged to find rpm and insatlled it…
Installation went fine…but still when i do import wx its says no module

···

On Mon, Aug 11, 2014 at 7:39 AM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

Hey Rich,

how can I tell configure the path of gstreamer.

---------- Forwarded message ----------
From: Hemadri Saxena hemadri.saxena@gmail.com

Date: Mon, Aug 11, 2014 at 7:32 AM
Subject: Re: [wxPython-users] Installing wxPython 3.0 in Linux2.6 with python 2.7
To: rshepard@app-ecosys.com

Hey Rich,

how can I tell configure the path of gstreamer.


Thanks and Regards
Hemadri Saxena
9086087510


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

omg its really sucks now…

Now I switched to wxPython 2.8 and followed the following page for installation:

http://wxpython.org/BUILD-2.8.html

./configure give no error

make

make install work fine and I am able to install wxWidgets…

Now I run

cd wxPython
python2.7 setup.py build_ext --inplace --debug

Its gives new sets of error
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: error: wx/wx.h: No such file or directory
include/wx/wxPython/wxPython_int.h:21:25: error: wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: error: wx/caret.h: No such file or directory
include/wx/wxPython/wxPython_int.h:23:25: error: wx/choicebk.h: No such file or directory
include/wx/wxPython/wxPython_int.h:24:24: error: wx/clipbrd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:25:25: error: wx/colordlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:26:23: error: wx/config.h: No such file or directory
include/wx/wxPython/wxPython_int.h:27:23: error: wx/cshelp.h: No such file or directory
include/wx/wxPython/wxPython_int.h:28:25: error: wx/dcmirror.h: No such file or directory
include/wx/wxPython/wxPython_int.h:29:21: error: wx/dcps.h: No such file or directory
include/wx/wxPython/wxPython_int.h:30:24: error: wx/dirctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:31:23: error: wx/dirdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:32:23: error: wx/numdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:33:20: error: wx/dnd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:34:24: error: wx/docview.h: No such file or directory
include/wx/wxPython/wxPython_int.h:35:24: error: wx/encconv.h: No such file or directory
include/wx/wxPython/wxPython_int.h:36:25: error: wx/fdrepdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:37:25: error: wx/fileconf.h: No such file or directory
include/wx/wxPython/wxPython_int.h:38:24: error: wx/filesys.h: No such file or directory
include/wx/wxPython/wxPython_int.h:39:24: error: wx/fontdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:40:24: error: wx/fs_inet.h: No such file or directory
include/wx/wxPython/wxPython_int.h:41:23: error: wx/fs_mem.h: No such file or directory
include/wx/wxPython/wxPython_int.h:42:23: error: wx/fs_zip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:43:24: error: wx/gbsizer.h: No such file or directory
include/wx/wxPython/wxPython_int.h:44:25: error: wx/geometry.h: No such file or directory
include/wx/wxPython/wxPython_int.h:45:25: error: wx/htmllbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:46:22: error: wx/image.h: No such file or directory
include/wx/wxPython/wxPython_int.h:47:25: error: wx/imaglist.h: No such file or directory
include/wx/wxPython/wxPython_int.h:48:21: error: wx/intl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:49:23: error: wx/laywin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:50:25: error: wx/listbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:51:25: error: wx/minifram.h: No such file or directory
include/wx/wxPython/wxPython_int.h:52:25: error: wx/notebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:53:22: error: wx/print.h: No such file or directory
include/wx/wxPython/wxPython_int.h:54:25: error: wx/printdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:55:24: error: wx/process.h: No such file or directory
include/wx/wxPython/wxPython_int.h:56:24: error: wx/progdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:57:24: error: wx/sashwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:58:25: error: wx/spinbutt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:59:25: error: wx/spinctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:60:23: error: wx/splash.h: No such file or directory
include/wx/wxPython/wxPython_int.h:61:25: error: wx/splitter.h: No such file or directory
include/wx/wxPython/wxPython_int.h:62:25: error: wx/statline.h: No such file or directory
include/wx/wxPython/wxPython_int.h:63:23: error: wx/stream.h: No such file or directory
include/wx/wxPython/wxPython_int.h:64:23: error: wx/sysopt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:65:24: error: wx/taskbar.h: No such file or directory
include/wx/wxPython/wxPython_int.h:66:23: error: wx/tglbtn.h: No such file or directory
include/wx/wxPython/wxPython_int.h:67:23: error: wx/tipwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:68:25: error: wx/toolbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:69:24: error: wx/tooltip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:70:25: error: wx/treebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:71:22: error: wx/vlbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:72:24: error: wx/vscroll.h: No such file or directory
include/wx/wxPython/wxPython_int.h:73:24: error: wx/dateevt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:74:25: error: wx/datectrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:75:22: error: wx/power.h: No such file or directory
include/wx/wxPython/wxPython_int.h:76:26: error: wx/hyperlink.h: No such file or directory
include/wx/wxPython/wxPython_int.h:77:27: error: wx/pickerbase.h: No such file or directory
include/wx/wxPython/wxPython_int.h:78:26: error: wx/clrpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:79:27: error: wx/filepicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:80:31: error: wx/fontpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:81:25: error: wx/collpane.h: No such file or directory
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:83:33: error: wx/generic/datectrl.h: No such file or directory
src/helpers.cpp:53:25: error: wx/mimetype.h: No such file or directory
include/wx/wxPython/wxPython_int.h:99: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:101: error: expected `)' before ‘evtType’
include/wx/wxPython/wxPython_int.h:104: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:104: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:104: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:105: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:112: error: ‘wxPoint2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:113: error: ‘wxRect2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:136: error: variable or field ‘wxPyEventThunker’ declared void
include/wx/wxPython/wxPython_int.h:136: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: expected primary-expression before ‘,’ token
include/wx/wxPython/wxPython_int.h:136: error: ‘wxEvent’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: ‘event’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:139: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:139: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:141: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:142: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:144: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:144: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:145: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:145: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:148: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:148: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:149: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:151: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:152: error: ‘wxSizer’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:152: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:155: error: ‘wxWindow’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:155: error: ‘win’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:236: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:242: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:244: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:245: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:246: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:247: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:249: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:250: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:251: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:252: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:253: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:254: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:255: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:258: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:258: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:269: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:269: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:270: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:270: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:271: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:271: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:290: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:291: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:292: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:297: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:326: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:327: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:328: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:333: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:333: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:333: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:334: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:337: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:338: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:339: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:344: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:344: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:344: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:345: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:375: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:375: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:376: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:376: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:377: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:377: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:378: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:378: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:387: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:387: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: expected identifier before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:388: error: ‘wxString’ declared as function returning a function
include/wx/wxPython/wxPython_int.h:389: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:389: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:395: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
include/wx/wxPython/wxPython_int.h:395: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:396: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
include/wx/wxPython/wxPython_int.h:396: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:397: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:397: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:398: error: ISO C++ forbids declaration of ‘wxAcceleratorEntry’ with no type
include/wx/wxPython/wxPython_int.h:398: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:400: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:401: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:402: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:403: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:404: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:405: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:408: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:408: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:417: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:418: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:422: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:422: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:423: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:423: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:438: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:438: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:439: error: ISO C++ forbids declaration of ‘wxPoint2D’ with no type
include/wx/wxPython/wxPython_int.h:439: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:440: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:458: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:477: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:519: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:530: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:531: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:532: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:539: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:539: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxOutputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:543: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:544: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:519: warning: ‘class wxPyImageHandler’ has virtual functions but non-virtual destructor
include/wx/wxPython/wxPython_int.h:626: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:627: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:629: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:654: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:657: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:657: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:658: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:658: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:666: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:672: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:672: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/pyistream.h:27: error: ISO C++ forbids declaration of ‘wxInputStream’ with no type
include/wx/wxPython/pyistream.h:27: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:30: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:63: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::Peek()’:
include/wx/wxPython/pyistream.h:56: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::GetC()’:
include/wx/wxPython/pyistream.h:57: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyInputStream::LastRead()’:
include/wx/wxPython/pyistream.h:58: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::CanRead()’:
include/wx/wxPython/pyistream.h:59: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Eof()’:
include/wx/wxPython/pyistream.h:60: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Ungetch(char)’:
include/wx/wxPython/pyistream.h:61: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::SeekI(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:64: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::TellI()’:
include/wx/wxPython/pyistream.h:65: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:72: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:75: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:89: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:90: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:72: warning: ‘class wxPyCBInputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/pyistream.h:105: error: ISO C++ forbids declaration of ‘wxOutputStream’ with no type
include/wx/wxPython/pyistream.h:105: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:108: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:134: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h:134: error: ‘wxFromStart’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘void wxPyOutputStream::PutC(char)’:
include/wx/wxPython/pyistream.h:132: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyOutputStream::LastWrite()’:
include/wx/wxPython/pyistream.h:133: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::SeekO(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:135: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::TellO()’:
include/wx/wxPython/pyistream.h:136: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:143: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:146: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:160: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:161: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:143: warning: ‘class wxPyCBOutputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/twoitem.h:19: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/twoitem.h:19: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/twoitem.h: In function ‘bool wxPyTwoIntItem_helper(PyObject*, T**, int)’:
include/wx/wxPython/twoitem.h:24: error: ‘name’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: ‘wxString’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: expected `;' before ‘msg’
include/wx/wxPython/twoitem.h:46: error: ‘msg’ was not declared in this scope
include/wx/wxPython/twoitem.h:46: error: there are no arguments to ‘wxT’ that depend on a template parameter, so a declaration of ‘wxT’ must be available
include/wx/wxPython/twoitem.h:46: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/wx/wxPython/twoitem.h:46: error: ‘name’ was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:182: error: ‘wxApp’ has not been declared
src/helpers.cpp:182: error: expected constructor, destructor, or type conversion before ‘;’ token
src/helpers.cpp:185: error: definition of implicitly-declared ‘wxPyApp::wxPyApp()’
src/helpers.cpp: In destructor ‘wxPyApp::~wxPyApp()’:
src/helpers.cpp:195: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘int wxPyApp::MainLoop()’:
src/helpers.cpp:208: error: ‘DeletePendingObjects’ was not declared in this scope
src/helpers.cpp:209: error: ‘wxTopLevelWindows’ was not declared in this scope
src/helpers.cpp:211: error: ‘m_exitOnFrameDelete’ was not declared in this scope
src/helpers.cpp:211: error: ‘Later’ was not declared in this scope
src/helpers.cpp:212: error: ‘Yes’ was not declared in this scope
src/helpers.cpp:215: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual bool wxPyApp::OnInitGui()’:
src/helpers.cpp:224: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual int wxPyApp::OnExit()’:
src/helpers.cpp:239: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual void wxPyApp::ExitMainLoop()’:
src/helpers.cpp:266: error: ‘wxApp’ has not been declared
src/helpers.cpp: At global scope:
src/helpers.cpp:270: error: ‘int wxPyApp::FilterEvent’ is not a static member of ‘class wxPyApp’
src/helpers.cpp:270: error: ‘wxEvent’ was not declared in this scope
src/helpers.cpp:270: error: ‘event’ was not declared in this scope
src/helpers.cpp:270: error: expected ‘,’ or ‘;’ before ‘{’ token
src/helpers.cpp:92: warning: ‘wxPyDefaultEncoding’ defined but not used
src/helpers.cpp:94: warning: ‘wxPython_dict’ defined but not used
src/helpers.cpp:95: warning: ‘wxPyAssertionError’ defined but not used
src/helpers.cpp:96: warning: ‘wxPyNoAppError’ defined but not used
error: command 'gcc' failed with exit status 1
[svt-qfa3-lx.mh.lucent.com](http://svt-qfa3-lx.mh.lucent.com)!hemadris:Linux2.6.18-164.el5xen/home/hemadris/wxPython-src-2.8.12.1/wxPython

···

On Mon, Aug 11, 2014 at 3:12 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

I manged to find rpm and insatlled it…
Installation went fine…but still when i do import wx its says no module


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 7:39 AM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

Hey Rich,

how can I tell configure the path of gstreamer.

---------- Forwarded message ----------
From: Hemadri Saxena hemadri.saxena@gmail.com

Date: Mon, Aug 11, 2014 at 7:32 AM
Subject: Re: [wxPython-users] Installing wxPython 3.0 in Linux2.6 with python 2.7
To: rshepard@app-ecosys.com

Hey Rich,

how can I tell configure the path of gstreamer.


Thanks and Regards
Hemadri Saxena
9086087510


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hi Hemadri,

WxPython does have differences between versions and platforms, some are unavoidable issues, yet some can be fixed. moving versions and platforms around is painful. I suggest that you define your end goal so people can help you better.

For example, do you need your system to work on multiple platforms and WxPython versions?

Do you have to build WxPython? Or you just need one version that works in certain configuration?

Declaring your end goal will be helpful.

         Jacob
···

On Mon, Aug 11, 2014 at 6:10 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

omg its really sucks now…

Now I switched to wxPython 2.8 and followed the following page for installation:

http://wxpython.org/BUILD-2.8.html

./configure give no error

make

make install work fine and I am able to install wxWidgets…

Now I run

cd wxPython
python2.7 setup.py build_ext --inplace --debug


Its gives new sets of error
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: error: wx/wx.h: No such file or directory
include/wx/wxPython/wxPython_int.h:21:25: error: wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: error: wx/caret.h: No such file or directory
include/wx/wxPython/wxPython_int.h:23:25: error: wx/choicebk.h: No such file or directory
include/wx/wxPython/wxPython_int.h:24:24: error: wx/clipbrd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:25:25: error: wx/colordlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:26:23: error: wx/config.h: No such file or directory
include/wx/wxPython/wxPython_int.h:27:23: error: wx/cshelp.h: No such file or directory
include/wx/wxPython/wxPython_int.h:28:25: error: wx/dcmirror.h: No such file or directory
include/wx/wxPython/wxPython_int.h:29:21: error: wx/dcps.h: No such file or directory
include/wx/wxPython/wxPython_int.h:30:24: error: wx/dirctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:31:23: error: wx/dirdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:32:23: error: wx/numdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:33:20: error: wx/dnd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:34:24: error: wx/docview.h: No such file or directory
include/wx/wxPython/wxPython_int.h:35:24: error: wx/encconv.h: No such file or directory
include/wx/wxPython/wxPython_int.h:36:25: error: wx/fdrepdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:37:25: error: wx/fileconf.h: No such file or directory
include/wx/wxPython/wxPython_int.h:38:24: error: wx/filesys.h: No such file or directory
include/wx/wxPython/wxPython_int.h:39:24: error: wx/fontdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:40:24: error: wx/fs_inet.h: No such file or directory
include/wx/wxPython/wxPython_int.h:41:23: error: wx/fs_mem.h: No such file or directory
include/wx/wxPython/wxPython_int.h:42:23: error: wx/fs_zip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:43:24: error: wx/gbsizer.h: No such file or directory
include/wx/wxPython/wxPython_int.h:44:25: error: wx/geometry.h: No such file or directory
include/wx/wxPython/wxPython_int.h:45:25: error: wx/htmllbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:46:22: error: wx/image.h: No such file or directory
include/wx/wxPython/wxPython_int.h:47:25: error: wx/imaglist.h: No such file or directory
include/wx/wxPython/wxPython_int.h:48:21: error: wx/intl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:49:23: error: wx/laywin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:50:25: error: wx/listbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:51:25: error: wx/minifram.h: No such file or directory
include/wx/wxPython/wxPython_int.h:52:25: error: wx/notebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:53:22: error: wx/print.h: No such file or directory
include/wx/wxPython/wxPython_int.h:54:25: error: wx/printdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:55:24: error: wx/process.h: No such file or directory
include/wx/wxPython/wxPython_int.h:56:24: error: wx/progdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:57:24: error: wx/sashwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:58:25: error: wx/spinbutt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:59:25: error: wx/spinctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:60:23: error: wx/splash.h: No such file or directory
include/wx/wxPython/wxPython_int.h:61:25: error: wx/splitter.h: No such file or directory
include/wx/wxPython/wxPython_int.h:62:25: error: wx/statline.h: No such file or directory
include/wx/wxPython/wxPython_int.h:63:23: error: wx/stream.h: No such file or directory
include/wx/wxPython/wxPython_int.h:64:23: error: wx/sysopt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:65:24: error: wx/taskbar.h: No such file or directory
include/wx/wxPython/wxPython_int.h:66:23: error: wx/tglbtn.h: No such file or directory
include/wx/wxPython/wxPython_int.h:67:23: error: wx/tipwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:68:25: error: wx/toolbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:69:24: error: wx/tooltip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:70:25: error: wx/treebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:71:22: error: wx/vlbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:72:24: error: wx/vscroll.h: No such file or directory
include/wx/wxPython/wxPython_int.h:73:24: error: wx/dateevt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:74:25: error: wx/datectrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:75:22: error: wx/power.h: No such file or directory
include/wx/wxPython/wxPython_int.h:76:26: error: wx/hyperlink.h: No such file or directory
include/wx/wxPython/wxPython_int.h:77:27: error: wx/pickerbase.h: No such file or directory
include/wx/wxPython/wxPython_int.h:78:26: error: wx/clrpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:79:27: error: wx/filepicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:80:31: error: wx/fontpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:81:25: error: wx/collpane.h: No such file or directory
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:83:33: error: wx/generic/datectrl.h: No such file or directory
src/helpers.cpp:53:25: error: wx/mimetype.h: No such file or directory
include/wx/wxPython/wxPython_int.h:99: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:101: error: expected `)' before ‘evtType’
include/wx/wxPython/wxPython_int.h:104: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:104: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:104: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:105: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:112: error: ‘wxPoint2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:113: error: ‘wxRect2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:136: error: variable or field ‘wxPyEventThunker’ declared void
include/wx/wxPython/wxPython_int.h:136: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: expected primary-expression before ‘,’ token
include/wx/wxPython/wxPython_int.h:136: error: ‘wxEvent’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: ‘event’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:139: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:139: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:141: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:142: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:144: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:144: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:145: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:145: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:148: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:148: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:149: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:151: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:152: error: ‘wxSizer’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:152: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:155: error: ‘wxWindow’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:155: error: ‘win’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:236: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:242: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:244: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:245: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:246: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:247: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:249: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:250: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:251: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:252: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:253: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:254: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:255: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:258: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:258: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:269: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:269: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:270: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:270: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:271: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:271: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:290: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:291: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:292: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:297: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:326: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:327: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:328: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:333: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:333: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:333: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:334: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:337: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:338: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:339: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:344: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:344: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:344: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:345: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:375: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:375: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:376: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:376: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:377: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:377: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:378: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:378: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:387: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:387: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: expected identifier before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:388: error: ‘wxString’ declared as function returning a function
include/wx/wxPython/wxPython_int.h:389: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:389: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:395: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
include/wx/wxPython/wxPython_int.h:395: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:396: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
include/wx/wxPython/wxPython_int.h:396: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:397: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:397: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:398: error: ISO C++ forbids declaration of ‘wxAcceleratorEntry’ with no type
include/wx/wxPython/wxPython_int.h:398: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:400: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:401: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:402: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:403: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:404: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:405: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:408: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:408: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:417: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:418: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:422: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:422: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:423: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:423: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:438: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:438: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:439: error: ISO C++ forbids declaration of ‘wxPoint2D’ with no type
include/wx/wxPython/wxPython_int.h:439: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:440: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:458: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:477: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:519: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:530: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:531: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:532: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:539: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:539: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxOutputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:543: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:544: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:519: warning: ‘class wxPyImageHandler’ has virtual functions but non-virtual destructor
include/wx/wxPython/wxPython_int.h:626: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:627: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:629: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:654: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:657: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:657: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:658: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:658: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:666: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:672: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:672: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/pyistream.h:27: error: ISO C++ forbids declaration of ‘wxInputStream’ with no type
include/wx/wxPython/pyistream.h:27: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:30: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:63: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::Peek()’:
include/wx/wxPython/pyistream.h:56: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::GetC()’:
include/wx/wxPython/pyistream.h:57: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyInputStream::LastRead()’:
include/wx/wxPython/pyistream.h:58: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::CanRead()’:
include/wx/wxPython/pyistream.h:59: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Eof()’:
include/wx/wxPython/pyistream.h:60: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Ungetch(char)’:
include/wx/wxPython/pyistream.h:61: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::SeekI(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:64: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::TellI()’:
include/wx/wxPython/pyistream.h:65: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:72: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:75: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:89: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:90: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:72: warning: ‘class wxPyCBInputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/pyistream.h:105: error: ISO C++ forbids declaration of ‘wxOutputStream’ with no type
include/wx/wxPython/pyistream.h:105: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:108: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:134: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h:134: error: ‘wxFromStart’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘void wxPyOutputStream::PutC(char)’:
include/wx/wxPython/pyistream.h:132: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyOutputStream::LastWrite()’:
include/wx/wxPython/pyistream.h:133: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::SeekO(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:135: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::TellO()’:
include/wx/wxPython/pyistream.h:136: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:143: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:146: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:160: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:161: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:143: warning: ‘class wxPyCBOutputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/twoitem.h:19: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/twoitem.h:19: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/twoitem.h: In function ‘bool wxPyTwoIntItem_helper(PyObject*, T**, int)’:
include/wx/wxPython/twoitem.h:24: error: ‘name’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: ‘wxString’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: expected `;' before ‘msg’
include/wx/wxPython/twoitem.h:46: error: ‘msg’ was not declared in this scope
include/wx/wxPython/twoitem.h:46: error: there are no arguments to ‘wxT’ that depend on a template parameter, so a declaration of ‘wxT’ must be available
include/wx/wxPython/twoitem.h:46: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/wx/wxPython/twoitem.h:46: error: ‘name’ was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:182: error: ‘wxApp’ has not been declared
src/helpers.cpp:182: error: expected constructor, destructor, or type conversion before ‘;’ token
src/helpers.cpp:185: error: definition of implicitly-declared ‘wxPyApp::wxPyApp()’
src/helpers.cpp: In destructor ‘wxPyApp::~wxPyApp()’:
src/helpers.cpp:195: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘int wxPyApp::MainLoop()’:
src/helpers.cpp:208: error: ‘DeletePendingObjects’ was not declared in this scope
src/helpers.cpp:209: error: ‘wxTopLevelWindows’ was not declared in this scope
src/helpers.cpp:211: error: ‘m_exitOnFrameDelete’ was not declared in this scope
src/helpers.cpp:211: error: ‘Later’ was not declared in this scope
src/helpers.cpp:212: error: ‘Yes’ was not declared in this scope
src/helpers.cpp:215: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual bool wxPyApp::OnInitGui()’:
src/helpers.cpp:224: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual int wxPyApp::OnExit()’:
src/helpers.cpp:239: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual void wxPyApp::ExitMainLoop()’:
src/helpers.cpp:266: error: ‘wxApp’ has not been declared
src/helpers.cpp: At global scope:
src/helpers.cpp:270: error: ‘int wxPyApp::FilterEvent’ is not a static member of ‘class wxPyApp’
src/helpers.cpp:270: error: ‘wxEvent’ was not declared in this scope
src/helpers.cpp:270: error: ‘event’ was not declared in this scope
src/helpers.cpp:270: error: expected ‘,’ or ‘;’ before ‘{’ token
src/helpers.cpp:92: warning: ‘wxPyDefaultEncoding’ defined but not used
src/helpers.cpp:94: warning: ‘wxPython_dict’ defined but not used
src/helpers.cpp:95: warning: ‘wxPyAssertionError’ defined but not used
src/helpers.cpp:96: warning: ‘wxPyNoAppError’ defined but not used
error: command 'gcc' failed with exit status 1
[svt-qfa3-lx.mh.lucent.com](http://svt-qfa3-lx.mh.lucent.com)!hemadris:Linux2.6.18-164.el5xen/home/hemadris/wxPython-src-2.8.12.1/wxPython

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/LcAJrKiqnxM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

On Mon, Aug 11, 2014 at 3:12 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

I manged to find rpm and insatlled it…
Installation went fine…but still when i do import wx its says no module


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 7:39 AM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

Hey Rich,

how can I tell configure the path of gstreamer.

---------- Forwarded message ----------
From: Hemadri Saxena hemadri.saxena@gmail.com

Date: Mon, Aug 11, 2014 at 7:32 AM
Subject: Re: [wxPython-users] Installing wxPython 3.0 in Linux2.6 with python 2.7
To: rshepard@app-ecosys.com

Hey Rich,

how can I tell configure the path of gstreamer.


Thanks and Regards
Hemadri Saxena
9086087510


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hi Jacob,

I need wxPython working on Linux…I have tried almost everything…but it simply do not come at all on Linux.

Please help me with whatever release(2.8 or 3.0) python(2.7 or 2.4)…or with any method…I want to see this wxPython working on Linux.

Let me sum up

  1. with wxPython 3.0 and Python 2.7

–It give it GStreamer issue (I tried all the diable-media ctrl .commenting etc and even installing GStreamer which went well as gst-launch is working as expected but still when I insatll wxPython 3.0 its shows GStreamer missing)

  1. so I shifted on the lower version wxPython 2.8

–In this wxWidge works fine ./configure , make and make install went well but when I do python setup.py install this give a whole lots error for missing files.

  1. then finally I serched some rpm file for my OS and I manged to install it…anyhow it get installed but when do import wx

import wx

Traceback (most recent call last):

File “”, line 1, in ?

File “/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/init.py”, line 45, in ?

from wx._core import *

File “/usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py”, line 4, in ?

import core

ImportError: libwx_baseu_xml-2.8.so.0: cannot open shared object file: No such file or directory

Thanks and Regards

Hemadri

···

On Mon, Aug 11, 2014 at 7:29 PM, Jacob Barhak jacob.barhak@gmail.com wrote:

Hi Hemadri,

WxPython does have differences between versions and platforms, some are unavoidable issues, yet some can be fixed. moving versions and platforms around is painful. I suggest that you define your end goal so people can help you better.

For example, do you need your system to work on multiple platforms and WxPython versions?

Do you have to build WxPython? Or you just need one version that works in certain configuration?

Declaring your end goal will be helpful.

         Jacob

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 6:10 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

omg its really sucks now…

Now I switched to wxPython 2.8 and followed the following page for installation:

http://wxpython.org/BUILD-2.8.html

./configure give no error

make

make install work fine and I am able to install wxWidgets…

Now I run

cd wxPython
python2.7 setup.py build_ext --inplace --debug


Its gives new sets of error
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: error: wx/wx.h: No such file or directory
include/wx/wxPython/wxPython_int.h:21:25: error: wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: error: wx/caret.h: No such file or directory
include/wx/wxPython/wxPython_int.h:23:25: error: wx/choicebk.h: No such file or directory
include/wx/wxPython/wxPython_int.h:24:24: error: wx/clipbrd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:25:25: error: wx/colordlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:26:23: error: wx/config.h: No such file or directory
include/wx/wxPython/wxPython_int.h:27:23: error: wx/cshelp.h: No such file or directory
include/wx/wxPython/wxPython_int.h:28:25: error: wx/dcmirror.h: No such file or directory
include/wx/wxPython/wxPython_int.h:29:21: error: wx/dcps.h: No such file or directory
include/wx/wxPython/wxPython_int.h:30:24: error: wx/dirctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:31:23: error: wx/dirdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:32:23: error: wx/numdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:33:20: error: wx/dnd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:34:24: error: wx/docview.h: No such file or directory
include/wx/wxPython/wxPython_int.h:35:24: error: wx/encconv.h: No such file or directory
include/wx/wxPython/wxPython_int.h:36:25: error: wx/fdrepdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:37:25: error: wx/fileconf.h: No such file or directory
include/wx/wxPython/wxPython_int.h:38:24: error: wx/filesys.h: No such file or directory
include/wx/wxPython/wxPython_int.h:39:24: error: wx/fontdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:40:24: error: wx/fs_inet.h: No such file or directory
include/wx/wxPython/wxPython_int.h:41:23: error: wx/fs_mem.h: No such file or directory
include/wx/wxPython/wxPython_int.h:42:23: error: wx/fs_zip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:43:24: error: wx/gbsizer.h: No such file or directory
include/wx/wxPython/wxPython_int.h:44:25: error: wx/geometry.h: No such file or directory
include/wx/wxPython/wxPython_int.h:45:25: error: wx/htmllbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:46:22: error: wx/image.h: No such file or directory
include/wx/wxPython/wxPython_int.h:47:25: error: wx/imaglist.h: No such file or directory
include/wx/wxPython/wxPython_int.h:48:21: error: wx/intl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:49:23: error: wx/laywin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:50:25: error: wx/listbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:51:25: error: wx/minifram.h: No such file or directory
include/wx/wxPython/wxPython_int.h:52:25: error: wx/notebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:53:22: error: wx/print.h: No such file or directory
include/wx/wxPython/wxPython_int.h:54:25: error: wx/printdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:55:24: error: wx/process.h: No such file or directory
include/wx/wxPython/wxPython_int.h:56:24: error: wx/progdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:57:24: error: wx/sashwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:58:25: error: wx/spinbutt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:59:25: error: wx/spinctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:60:23: error: wx/splash.h: No such file or directory
include/wx/wxPython/wxPython_int.h:61:25: error: wx/splitter.h: No such file or directory
include/wx/wxPython/wxPython_int.h:62:25: error: wx/statline.h: No such file or directory
include/wx/wxPython/wxPython_int.h:63:23: error: wx/stream.h: No such file or directory
include/wx/wxPython/wxPython_int.h:64:23: error: wx/sysopt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:65:24: error: wx/taskbar.h: No such file or directory
include/wx/wxPython/wxPython_int.h:66:23: error: wx/tglbtn.h: No such file or directory
include/wx/wxPython/wxPython_int.h:67:23: error: wx/tipwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:68:25: error: wx/toolbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:69:24: error: wx/tooltip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:70:25: error: wx/treebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:71:22: error: wx/vlbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:72:24: error: wx/vscroll.h: No such file or directory
include/wx/wxPython/wxPython_int.h:73:24: error: wx/dateevt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:74:25: error: wx/datectrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:75:22: error: wx/power.h: No such file or directory
include/wx/wxPython/wxPython_int.h:76:26: error: wx/hyperlink.h: No such file or directory
include/wx/wxPython/wxPython_int.h:77:27: error: wx/pickerbase.h: No such file or directory
include/wx/wxPython/wxPython_int.h:78:26: error: wx/clrpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:79:27: error: wx/filepicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:80:31: error: wx/fontpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:81:25: error: wx/collpane.h: No such file or directory
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:83:33: error: wx/generic/datectrl.h: No such file or directory
src/helpers.cpp:53:25: error: wx/mimetype.h: No such file or directory
include/wx/wxPython/wxPython_int.h:99: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:101: error: expected `)' before ‘evtType’
include/wx/wxPython/wxPython_int.h:104: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:104: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:104: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:105: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:112: error: ‘wxPoint2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:113: error: ‘wxRect2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:136: error: variable or field ‘wxPyEventThunker’ declared void
include/wx/wxPython/wxPython_int.h:136: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: expected primary-expression before ‘,’ token
include/wx/wxPython/wxPython_int.h:136: error: ‘wxEvent’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: ‘event’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:139: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:139: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:141: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:142: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:144: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:144: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:145: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:145: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:148: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:148: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:149: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:151: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:152: error: ‘wxSizer’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:152: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:155: error: ‘wxWindow’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:155: error: ‘win’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:236: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:242: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:244: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:245: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:246: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:247: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:249: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:250: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:251: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:252: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:253: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:254: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:255: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:258: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:258: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:269: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:269: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:270: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:270: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:271: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:271: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:290: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:291: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:292: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:297: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:326: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:327: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:328: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:333: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:333: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:333: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:334: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:337: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:338: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:339: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:344: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:344: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:344: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:345: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:375: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:375: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:376: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:376: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:377: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:377: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:378: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:378: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:387: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:387: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: expected identifier before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:388: error: ‘wxString’ declared as function returning a function
include/wx/wxPython/wxPython_int.h:389: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:389: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:395: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
include/wx/wxPython/wxPython_int.h:395: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:396: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
include/wx/wxPython/wxPython_int.h:396: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:397: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:397: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:398: error: ISO C++ forbids declaration of ‘wxAcceleratorEntry’ with no type
include/wx/wxPython/wxPython_int.h:398: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:400: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:401: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:402: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:403: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:404: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:405: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:408: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:408: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:417: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:418: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:422: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:422: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:423: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:423: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:438: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:438: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:439: error: ISO C++ forbids declaration of ‘wxPoint2D’ with no type
include/wx/wxPython/wxPython_int.h:439: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:440: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:458: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:477: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:519: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:530: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:531: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:532: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:539: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:539: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxOutputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:543: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:544: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:519: warning: ‘class wxPyImageHandler’ has virtual functions but non-virtual destructor
include/wx/wxPython/wxPython_int.h:626: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:627: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:629: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:654: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:657: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:657: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:658: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:658: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:666: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:672: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:672: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/pyistream.h:27: error: ISO C++ forbids declaration of ‘wxInputStream’ with no type
include/wx/wxPython/pyistream.h:27: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:30: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:63: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::Peek()’:
include/wx/wxPython/pyistream.h:56: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::GetC()’:
include/wx/wxPython/pyistream.h:57: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyInputStream::LastRead()’:
include/wx/wxPython/pyistream.h:58: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::CanRead()’:
include/wx/wxPython/pyistream.h:59: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Eof()’:
include/wx/wxPython/pyistream.h:60: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Ungetch(char)’:
include/wx/wxPython/pyistream.h:61: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::SeekI(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:64: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::TellI()’:
include/wx/wxPython/pyistream.h:65: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:72: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:75: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:89: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:90: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:72: warning: ‘class wxPyCBInputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/pyistream.h:105: error: ISO C++ forbids declaration of ‘wxOutputStream’ with no type
include/wx/wxPython/pyistream.h:105: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:108: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:134: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h:134: error: ‘wxFromStart’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘void wxPyOutputStream::PutC(char)’:
include/wx/wxPython/pyistream.h:132: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyOutputStream::LastWrite()’:
include/wx/wxPython/pyistream.h:133: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::SeekO(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:135: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::TellO()’:
include/wx/wxPython/pyistream.h:136: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:143: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:146: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:160: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:161: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:143: warning: ‘class wxPyCBOutputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/twoitem.h:19: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/twoitem.h:19: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/twoitem.h: In function ‘bool wxPyTwoIntItem_helper(PyObject*, T**, int)’:
include/wx/wxPython/twoitem.h:24: error: ‘name’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: ‘wxString’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: expected `;' before ‘msg’
include/wx/wxPython/twoitem.h:46: error: ‘msg’ was not declared in this scope
include/wx/wxPython/twoitem.h:46: error: there are no arguments to ‘wxT’ that depend on a template parameter, so a declaration of ‘wxT’ must be available
include/wx/wxPython/twoitem.h:46: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/wx/wxPython/twoitem.h:46: error: ‘name’ was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:182: error: ‘wxApp’ has not been declared
src/helpers.cpp:182: error: expected constructor, destructor, or type conversion before ‘;’ token
src/helpers.cpp:185: error: definition of implicitly-declared ‘wxPyApp::wxPyApp()’
src/helpers.cpp: In destructor ‘wxPyApp::~wxPyApp()’:
src/helpers.cpp:195: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘int wxPyApp::MainLoop()’:
src/helpers.cpp:208: error: ‘DeletePendingObjects’ was not declared in this scope
src/helpers.cpp:209: error: ‘wxTopLevelWindows’ was not declared in this scope
src/helpers.cpp:211: error: ‘m_exitOnFrameDelete’ was not declared in this scope
src/helpers.cpp:211: error: ‘Later’ was not declared in this scope
src/helpers.cpp:212: error: ‘Yes’ was not declared in this scope
src/helpers.cpp:215: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual bool wxPyApp::OnInitGui()’:
src/helpers.cpp:224: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual int wxPyApp::OnExit()’:
src/helpers.cpp:239: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual void wxPyApp::ExitMainLoop()’:
src/helpers.cpp:266: error: ‘wxApp’ has not been declared
src/helpers.cpp: At global scope:
src/helpers.cpp:270: error: ‘int wxPyApp::FilterEvent’ is not a static member of ‘class wxPyApp’
src/helpers.cpp:270: error: ‘wxEvent’ was not declared in this scope
src/helpers.cpp:270: error: ‘event’ was not declared in this scope
src/helpers.cpp:270: error: expected ‘,’ or ‘;’ before ‘{’ token
src/helpers.cpp:92: warning: ‘wxPyDefaultEncoding’ defined but not used
src/helpers.cpp:94: warning: ‘wxPython_dict’ defined but not used
src/helpers.cpp:95: warning: ‘wxPyAssertionError’ defined but not used
src/helpers.cpp:96: warning: ‘wxPyNoAppError’ defined but not used
error: command 'gcc' failed with exit status 1
[svt-qfa3-lx.mh.lucent.com](http://svt-qfa3-lx.mh.lucent.com)!hemadris:Linux2.6.18-164.el5xen/home/hemadris/wxPython-src-2.8.12.1/wxPython

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/LcAJrKiqnxM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

On Mon, Aug 11, 2014 at 3:12 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

I manged to find rpm and insatlled it…
Installation went fine…but still when i do import wx its says no module


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 7:39 AM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

Hey Rich,

how can I tell configure the path of gstreamer.

---------- Forwarded message ----------
From: Hemadri Saxena hemadri.saxena@gmail.com

Date: Mon, Aug 11, 2014 at 7:32 AM
Subject: Re: [wxPython-users] Installing wxPython 3.0 in Linux2.6 with python 2.7
To: rshepard@app-ecosys.com

Hey Rich,

how can I tell configure the path of gstreamer.


Thanks and Regards
Hemadri Saxena
9086087510


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hi Hemadri,

You are in a similar situation to mine. I was also having issues with WxPython on Linux for a while.

In the past WxPython 2.8 was working on Ubuntu 12.04. You may be able to install it from a package manager such as synaptic. Just look for WxPython. Yet a couple of years ago I started having issues - I think it was an upgrade, yet I do not remember by now.

Anyway, I currently have WxPython working on 2 Linux systems: Ubuntu 14.04LTS and CentOS7. In both cases I used anaconda to install it:

On Ubuntu I used the conda command I sent you before to install WxPython. On CentOS the command is simpler:

conda install wxpython

There are, however, compatibility issues as you can see from my latest posts to this list. I tried building like you for quite a while and it seems only a handful of people can do those builds successfully since those require knowledge of the WxPython libraries and the Linux distribution libraries and those change from distribution to distribution.

In my eyes, it seems that there are too many platform versions for the current WxPython development team to support.Therefore there is no stable solution for all Linux systems. I may be wrong in this assessment, yet I spent many hours in the last few months trying to do what you are trying to do and also encountered many issues such as the gstreamer issue you report.

If you have flexibility is selecting a Linux distribution I suggest you select one of the two I mentioned and use anaconda for your python distribution and use conda install.

You mentioned you have constraints such as which python distribution to use. If you cannot lift this constraint I know no simple solution - although using anaconda I was able to build a WxPython version where the demo ran on the native python on ubuntu Linux I think - it was a few weeks ago so I don’t recall all details.

I hope you are flexible enough to use one of the simple solutions I provided.

Jacob

···

On Mon, Aug 11, 2014 at 7:29 PM, Jacob Barhak jacob.barhak@gmail.com wrote:

Hi Hemadri,

WxPython does have differences between versions and platforms, some are unavoidable issues, yet some can be fixed. moving versions and platforms around is painful. I suggest that you define your end goal so people can help you better.

For example, do you need your system to work on multiple platforms and WxPython versions?

Do you have to build WxPython? Or you just need one version that works in certain configuration?

Declaring your end goal will be helpful.

         Jacob

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 6:10 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

omg its really sucks now…

Now I switched to wxPython 2.8 and followed the following page for installation:

http://wxpython.org/BUILD-2.8.html

./configure give no error

make

make install work fine and I am able to install wxWidgets…

Now I run

cd wxPython
python2.7 setup.py build_ext --inplace --debug


Its gives new sets of error
In file included from src/helpers.cpp:16:
include/wx/wxPython/wxPython_int.h:19:19: error: wx/wx.h: No such file or directory
include/wx/wxPython/wxPython_int.h:21:25: error: wx/busyinfo.h: No such file or directory
include/wx/wxPython/wxPython_int.h:22:22: error: wx/caret.h: No such file or directory
include/wx/wxPython/wxPython_int.h:23:25: error: wx/choicebk.h: No such file or directory
include/wx/wxPython/wxPython_int.h:24:24: error: wx/clipbrd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:25:25: error: wx/colordlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:26:23: error: wx/config.h: No such file or directory
include/wx/wxPython/wxPython_int.h:27:23: error: wx/cshelp.h: No such file or directory
include/wx/wxPython/wxPython_int.h:28:25: error: wx/dcmirror.h: No such file or directory
include/wx/wxPython/wxPython_int.h:29:21: error: wx/dcps.h: No such file or directory
include/wx/wxPython/wxPython_int.h:30:24: error: wx/dirctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:31:23: error: wx/dirdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:32:23: error: wx/numdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:33:20: error: wx/dnd.h: No such file or directory
include/wx/wxPython/wxPython_int.h:34:24: error: wx/docview.h: No such file or directory
include/wx/wxPython/wxPython_int.h:35:24: error: wx/encconv.h: No such file or directory
include/wx/wxPython/wxPython_int.h:36:25: error: wx/fdrepdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:37:25: error: wx/fileconf.h: No such file or directory
include/wx/wxPython/wxPython_int.h:38:24: error: wx/filesys.h: No such file or directory
include/wx/wxPython/wxPython_int.h:39:24: error: wx/fontdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:40:24: error: wx/fs_inet.h: No such file or directory
include/wx/wxPython/wxPython_int.h:41:23: error: wx/fs_mem.h: No such file or directory
include/wx/wxPython/wxPython_int.h:42:23: error: wx/fs_zip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:43:24: error: wx/gbsizer.h: No such file or directory
include/wx/wxPython/wxPython_int.h:44:25: error: wx/geometry.h: No such file or directory
include/wx/wxPython/wxPython_int.h:45:25: error: wx/htmllbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:46:22: error: wx/image.h: No such file or directory
include/wx/wxPython/wxPython_int.h:47:25: error: wx/imaglist.h: No such file or directory
include/wx/wxPython/wxPython_int.h:48:21: error: wx/intl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:49:23: error: wx/laywin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:50:25: error: wx/listbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:51:25: error: wx/minifram.h: No such file or directory
include/wx/wxPython/wxPython_int.h:52:25: error: wx/notebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:53:22: error: wx/print.h: No such file or directory
include/wx/wxPython/wxPython_int.h:54:25: error: wx/printdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:55:24: error: wx/process.h: No such file or directory
include/wx/wxPython/wxPython_int.h:56:24: error: wx/progdlg.h: No such file or directory
include/wx/wxPython/wxPython_int.h:57:24: error: wx/sashwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:58:25: error: wx/spinbutt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:59:25: error: wx/spinctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:60:23: error: wx/splash.h: No such file or directory
include/wx/wxPython/wxPython_int.h:61:25: error: wx/splitter.h: No such file or directory
include/wx/wxPython/wxPython_int.h:62:25: error: wx/statline.h: No such file or directory
include/wx/wxPython/wxPython_int.h:63:23: error: wx/stream.h: No such file or directory
include/wx/wxPython/wxPython_int.h:64:23: error: wx/sysopt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:65:24: error: wx/taskbar.h: No such file or directory
include/wx/wxPython/wxPython_int.h:66:23: error: wx/tglbtn.h: No such file or directory
include/wx/wxPython/wxPython_int.h:67:23: error: wx/tipwin.h: No such file or directory
include/wx/wxPython/wxPython_int.h:68:25: error: wx/toolbook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:69:24: error: wx/tooltip.h: No such file or directory
include/wx/wxPython/wxPython_int.h:70:25: error: wx/treebook.h: No such file or directory
include/wx/wxPython/wxPython_int.h:71:22: error: wx/vlbox.h: No such file or directory
include/wx/wxPython/wxPython_int.h:72:24: error: wx/vscroll.h: No such file or directory
include/wx/wxPython/wxPython_int.h:73:24: error: wx/dateevt.h: No such file or directory
include/wx/wxPython/wxPython_int.h:74:25: error: wx/datectrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:75:22: error: wx/power.h: No such file or directory
include/wx/wxPython/wxPython_int.h:76:26: error: wx/hyperlink.h: No such file or directory
include/wx/wxPython/wxPython_int.h:77:27: error: wx/pickerbase.h: No such file or directory
include/wx/wxPython/wxPython_int.h:78:26: error: wx/clrpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:79:27: error: wx/filepicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:80:31: error: wx/fontpicker.h: No such file or directory
include/wx/wxPython/wxPython_int.h:81:25: error: wx/collpane.h: No such file or directory
include/wx/wxPython/wxPython_int.h:82:25: error: wx/srchctrl.h: No such file or directory
include/wx/wxPython/wxPython_int.h:83:33: error: wx/generic/datectrl.h: No such file or directory
src/helpers.cpp:53:25: error: wx/mimetype.h: No such file or directory
include/wx/wxPython/wxPython_int.h:99: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:101: error: expected `)' before ‘evtType’
include/wx/wxPython/wxPython_int.h:104: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:104: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:104: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:105: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:112: error: ‘wxPoint2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:113: error: ‘wxRect2DDouble’ does not name a type
include/wx/wxPython/wxPython_int.h:136: error: variable or field ‘wxPyEventThunker’ declared void
include/wx/wxPython/wxPython_int.h:136: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: expected primary-expression before ‘,’ token
include/wx/wxPython/wxPython_int.h:136: error: ‘wxEvent’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: ‘event’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:136: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:139: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:139: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:141: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:142: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:144: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:144: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:145: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:145: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:148: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:148: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:149: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:151: error: ‘wxObject’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:151: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:152: error: ‘wxSizer’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: ‘source’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:152: error: expected primary-expression before ‘bool’
include/wx/wxPython/wxPython_int.h:152: error: initializer expression list treated as compound expression
include/wx/wxPython/wxPython_int.h:155: error: ‘wxWindow’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:155: error: ‘win’ was not declared in this scope
include/wx/wxPython/wxPython_int.h:236: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:242: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:243: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:244: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:245: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:246: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:247: error: expected constructor, destructor, or type conversion before ‘*’ token
include/wx/wxPython/wxPython_int.h:249: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:250: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:251: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:252: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:253: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:254: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:255: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:258: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:258: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:269: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:269: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:270: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:270: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:271: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:271: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:290: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:291: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:292: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:297: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:326: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:327: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:328: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:333: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:333: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:333: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:334: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:337: error: expected class-name before ‘,’ token
include/wx/wxPython/wxPython_int.h:338: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:339: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:344: error: ISO C++ forbids declaration of ‘wxEvent’ with no type
include/wx/wxPython/wxPython_int.h:344: error: ‘wxEvent’ declared as a ‘virtual’ field
include/wx/wxPython/wxPython_int.h:344: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:345: error: expected `;' before ‘}’ token
include/wx/wxPython/wxPython_int.h:375: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:375: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:376: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:376: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:377: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:377: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:378: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:378: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:387: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:387: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: expected identifier before ‘*’ token
include/wx/wxPython/wxPython_int.h:388: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:388: error: ‘wxString’ declared as function returning a function
include/wx/wxPython/wxPython_int.h:389: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:389: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:395: error: ISO C++ forbids declaration of ‘wxPoint’ with no type
include/wx/wxPython/wxPython_int.h:395: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:396: error: ISO C++ forbids declaration of ‘wxBitmap’ with no type
include/wx/wxPython/wxPython_int.h:396: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:397: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:397: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:398: error: ISO C++ forbids declaration of ‘wxAcceleratorEntry’ with no type
include/wx/wxPython/wxPython_int.h:398: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:400: error: ‘wxSize’ has not been declared
include/wx/wxPython/wxPython_int.h:401: error: ‘wxPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:402: error: ‘wxRealPoint’ has not been declared
include/wx/wxPython/wxPython_int.h:403: error: ‘wxRect’ has not been declared
include/wx/wxPython/wxPython_int.h:404: error: ‘wxColour’ has not been declared
include/wx/wxPython/wxPython_int.h:405: error: ‘wxPoint2D’ has not been declared
include/wx/wxPython/wxPython_int.h:408: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:408: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/wxPython_int.h:417: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:418: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:422: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:422: error: ISO C++ forbids declaration of ‘wxArrayString’ with no type
include/wx/wxPython/wxPython_int.h:423: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:423: error: ISO C++ forbids declaration of ‘wxArrayInt’ with no type
include/wx/wxPython/wxPython_int.h:438: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:438: error: ISO C++ forbids declaration of ‘wxArrayDouble’ with no type
include/wx/wxPython/wxPython_int.h:439: error: ISO C++ forbids declaration of ‘wxPoint2D’ with no type
include/wx/wxPython/wxPython_int.h:439: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/wxPython_int.h:440: error: ‘wxRect2D’ has not been declared
include/wx/wxPython/wxPython_int.h:458: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:477: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:519: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:530: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:531: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:532: error: expected ‘;’ before ‘(’ token
include/wx/wxPython/wxPython_int.h:539: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:539: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxImage’ has not been declared
include/wx/wxPython/wxPython_int.h:541: error: ‘wxOutputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:543: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:544: error: ‘wxInputStream’ has not been declared
include/wx/wxPython/wxPython_int.h:519: warning: ‘class wxPyImageHandler’ has virtual functions but non-virtual destructor
include/wx/wxPython/wxPython_int.h:626: error: expected class-name before ‘{’ token
include/wx/wxPython/wxPython_int.h:627: error: ISO C++ forbids declaration of ‘DECLARE_ABSTRACT_CLASS’ with no type
include/wx/wxPython/wxPython_int.h:629: error: expected ‘;’ before ‘public’
include/wx/wxPython/wxPython_int.h:654: error: ‘wxEvent’ has not been declared
include/wx/wxPython/wxPython_int.h:657: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:657: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:658: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:658: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/wxPython_int.h:666: error: ‘wxString’ does not name a type
include/wx/wxPython/wxPython_int.h:672: error: expected ‘,’ or ‘...’ before ‘&’ token
include/wx/wxPython/wxPython_int.h:672: error: ISO C++ forbids declaration of ‘wxString’ with no type
include/wx/wxPython/pyistream.h:27: error: ISO C++ forbids declaration of ‘wxInputStream’ with no type
include/wx/wxPython/pyistream.h:27: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:30: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:63: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::Peek()’:
include/wx/wxPython/pyistream.h:56: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘char wxPyInputStream::GetC()’:
include/wx/wxPython/pyistream.h:57: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyInputStream::LastRead()’:
include/wx/wxPython/pyistream.h:58: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::CanRead()’:
include/wx/wxPython/pyistream.h:59: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Eof()’:
include/wx/wxPython/pyistream.h:60: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘bool wxPyInputStream::Ungetch(char)’:
include/wx/wxPython/pyistream.h:61: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::SeekI(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:64: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyInputStream::TellI()’:
include/wx/wxPython/pyistream.h:65: error: ‘m_wxis’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:72: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:75: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:89: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:90: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:72: warning: ‘class wxPyCBInputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/pyistream.h:105: error: ISO C++ forbids declaration of ‘wxOutputStream’ with no type
include/wx/wxPython/pyistream.h:105: error: expected ‘;’ before ‘*’ token
include/wx/wxPython/pyistream.h:108: error: expected `)' before ‘*’ token
include/wx/wxPython/pyistream.h:134: error: ‘wxSeekMode’ has not been declared
include/wx/wxPython/pyistream.h:134: error: ‘wxFromStart’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘void wxPyOutputStream::PutC(char)’:
include/wx/wxPython/pyistream.h:132: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘size_t wxPyOutputStream::LastWrite()’:
include/wx/wxPython/pyistream.h:133: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::SeekO(long unsigned int, int)’:
include/wx/wxPython/pyistream.h:135: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: In member function ‘long unsigned int wxPyOutputStream::TellO()’:
include/wx/wxPython/pyistream.h:136: error: ‘m_wxos’ was not declared in this scope
include/wx/wxPython/pyistream.h: At global scope:
include/wx/wxPython/pyistream.h:143: error: expected class-name before ‘{’ token
include/wx/wxPython/pyistream.h:146: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:160: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:161: error: ‘wxFileOffset’ does not name a type
include/wx/wxPython/pyistream.h:143: warning: ‘class wxPyCBOutputStream’ has virtual functions but non-virtual destructor
include/wx/wxPython/twoitem.h:19: error: expected ‘,’ or ‘...’ before ‘*’ token
include/wx/wxPython/twoitem.h:19: error: ISO C++ forbids declaration of ‘wxChar’ with no type
include/wx/wxPython/twoitem.h: In function ‘bool wxPyTwoIntItem_helper(PyObject*, T**, int)’:
include/wx/wxPython/twoitem.h:24: error: ‘name’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: ‘wxString’ was not declared in this scope
include/wx/wxPython/twoitem.h:45: error: expected `;' before ‘msg’
include/wx/wxPython/twoitem.h:46: error: ‘msg’ was not declared in this scope
include/wx/wxPython/twoitem.h:46: error: there are no arguments to ‘wxT’ that depend on a template parameter, so a declaration of ‘wxT’ must be available
include/wx/wxPython/twoitem.h:46: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
include/wx/wxPython/twoitem.h:46: error: ‘name’ was not declared in this scope
src/helpers.cpp: At global scope:
src/helpers.cpp:182: error: ‘wxApp’ has not been declared
src/helpers.cpp:182: error: expected constructor, destructor, or type conversion before ‘;’ token
src/helpers.cpp:185: error: definition of implicitly-declared ‘wxPyApp::wxPyApp()’
src/helpers.cpp: In destructor ‘wxPyApp::~wxPyApp()’:
src/helpers.cpp:195: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘int wxPyApp::MainLoop()’:
src/helpers.cpp:208: error: ‘DeletePendingObjects’ was not declared in this scope
src/helpers.cpp:209: error: ‘wxTopLevelWindows’ was not declared in this scope
src/helpers.cpp:211: error: ‘m_exitOnFrameDelete’ was not declared in this scope
src/helpers.cpp:211: error: ‘Later’ was not declared in this scope
src/helpers.cpp:212: error: ‘Yes’ was not declared in this scope
src/helpers.cpp:215: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual bool wxPyApp::OnInitGui()’:
src/helpers.cpp:224: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual int wxPyApp::OnExit()’:
src/helpers.cpp:239: error: ‘wxApp’ has not been declared
src/helpers.cpp: In member function ‘virtual void wxPyApp::ExitMainLoop()’:
src/helpers.cpp:266: error: ‘wxApp’ has not been declared
src/helpers.cpp: At global scope:
src/helpers.cpp:270: error: ‘int wxPyApp::FilterEvent’ is not a static member of ‘class wxPyApp’
src/helpers.cpp:270: error: ‘wxEvent’ was not declared in this scope
src/helpers.cpp:270: error: ‘event’ was not declared in this scope
src/helpers.cpp:270: error: expected ‘,’ or ‘;’ before ‘{’ token
src/helpers.cpp:92: warning: ‘wxPyDefaultEncoding’ defined but not used
src/helpers.cpp:94: warning: ‘wxPython_dict’ defined but not used
src/helpers.cpp:95: warning: ‘wxPyAssertionError’ defined but not used
src/helpers.cpp:96: warning: ‘wxPyNoAppError’ defined but not used
error: command 'gcc' failed with exit status 1
[svt-qfa3-lx.mh.lucent.com](http://svt-qfa3-lx.mh.lucent.com)!hemadris:Linux2.6.18-164.el5xen/home/hemadris/wxPython-src-2.8.12.1/wxPython

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/LcAJrKiqnxM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

On Mon, Aug 11, 2014 at 3:12 PM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

I manged to find rpm and insatlled it…
Installation went fine…but still when i do import wx its says no module


Thanks and Regards
Hemadri Saxena
9086087510

On Mon, Aug 11, 2014 at 7:39 AM, Hemadri Saxena hemadri.saxena@gmail.com wrote:

Hey Rich,

how can I tell configure the path of gstreamer.

---------- Forwarded message ----------
From: Hemadri Saxena hemadri.saxena@gmail.com

Date: Mon, Aug 11, 2014 at 7:32 AM
Subject: Re: [wxPython-users] Installing wxPython 3.0 in Linux2.6 with python 2.7
To: rshepard@app-ecosys.com

Hey Rich,

how can I tell configure the path of gstreamer.


Thanks and Regards
Hemadri Saxena
9086087510


Thanks and Regards
Hemadri Saxena
9086087510

On Sun, Aug 10, 2014 at 5:54 PM, Rich Shepard rshepard@appl-ecosys.com wrote:

On Sun, 10 Aug 2014, Hemadri Saxena wrote:

I have added # to line --enable-mediactrl and run python2.7

build-wxpython.py --build_dir=…/bld

Thank that’s fixed.

checking for GST… configure: WARNING: GStreamer 0.10 not available,

falling back to 0.8

checking for GST… configure: WARNING: GStreamer 0.8/0.10 not available.

configure: error: GStreamer not available

This is the next (last?) error. If you have gstreamer installed, you need

to tell configure where it is. What is the result if you run 'locate

gstreamer’? Or, if your system is not on overnight when the file database

is0updated, as root (or ‘sudo’ if that’s how your system is set) run this

command:

    find / -name gstreamer

and let us know the result.

On my system, gstreamer-0.10.36 is installed. Note that the name is all

lowercase.

Rich

You received this message because you are subscribed to the Google Groups “wxPython-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Thanks and Regards
Hemadri Saxena
9086087510

Hi,

···

On 8/11/2014 21:12, Hemadri Saxena wrote:

I manged to find rpm and insatlled it..
Installation went fine...but still when i do import wx its says no module

Are you sure you are using the Python version to which the wxPython package was installed?

Werner

Hi,

Hi Jacob,

I need wxPython working on Linux...I have tried almost everything..but it simply do not come at all on Linux.

Please help me with whatever release(2.8 or 3.0) python(2.7 or 2.4)...or with any method....I want to see this wxPython working on Linux.

I use wxPython for years but just about only on Windows, recently I wanted to check out some things with wxPython Phoenix and wanted to also do that on Linux.

I posted the following install instructions on the wxPython dev list and if you are willing to use wxPython Phoenix (which is still in development and not all widgets have been ported) you might want to give this a try.

One of the improvements of wxPython Phoenix is that it uses 'wheels' which are installed with pip and for me (no Linux guru:-( ) that worked relatively easily.

So, first I thought that I could just do 'pip install' but realized that a bit more was needed.

So, after a bit of googling I found that the following page gave me some useful hints.
http://wiki.wxpython.org/CheckInstall

I did the following install on a new install of Linux Mint 17 (Cinnamon), which is based on Ubuntu 14.04 - Trusty Thar).

Install prerequisites for Python 2.7:

- basic development things:
sudo apt-get install dpkg-dev build-essential python2.7-dev

- some image libraries
sudo apt-get install libjpeg-dev libtiff-dev

- GTK 2
sudo apt-get install libgtk2.0-dev

- Media stuff
sudo apt-get install libsdl1.2-dev libgstreamer-plugins-base0.10-dev

- wxPython Phoenix latest snapshot:
pip install --pre -f Index of /Phoenix/snapshot-builds wxPython_Phoenix

- verify installation, which should give something along these lines:
python2
>>> import wx
>>> wx.VERSION_STRING
'3.0.2.dev76974'

As mentioned before Phoenix is in development and by no means finished, so don't use if you that is a problem for you, but maybe the above will help you getting wxPython classic installed.

Werner

···

On 8/12/2014 1:39, Hemadri Saxena wrote:

First, I apologize for the lengthy post. Second, this is a guide I had written and have been unable to post on the wxPython wiki. This guide is geared for Ubuntu 14.04 but can be adapted for any Linux Distro and in theory any version of wxPython.

Here it is:

···

Greetings, and thank you for reading this guide. It is currently a rough

draft and could use some improvements, but will get wxPython built and

installed on Ubuntu 12.04 and 14.04 computers. Keep in mind that these

are the only versions I have tested this guide with, so it may or may

not work with other Ubuntu version or Linux distros. Again this is a

rough draft and could benefit from someone more experienced with building

wxPython from source reviewing / editing it, but I hope it helps the

wxPython community.

IMPORTANT DISCLAIMER

If you follow this guide I am not responsible for anything that happens to

your computer. This includes but is not limited to:

Damages to hardware / Software / OS

Accidental tears in the spacetime continuum

Nuclear missle launch

Throughout this guide we will spend a good amount of time using the terminal.

Install, Install, Install:

** Required:

sudo apt-get install build-essential

sudo apt-get install python2.7-dev

sudo apt-get install python2.7-libtiff

sudo apt-get install libgstreamer0.10-dev

sudo apt-get install libgstreamer1.0-dev

** Some of these may not have been required:

sudo apt-get install libqtgstreamer-dev

sudo apt-get install libgstreamermm-0.10-dev

sudo apt-get install libghc-gstreamer-dev

sudo apt-get install libwebkitgtk-dev

sudo apt-get install libgtkhtml3.14-cil-dev

sudo apt-get install libgtkhtml3.14-dev

sudo apt-get install libgtkimageview-dev

sudo apt-get install libwxgtk-media2.8-dev

sudo apt-get install libwxgtk-media2.8-dbg

sudo apt-get install libwxgtk2.8-dev

sudo apt-get install libwxgtk2.8-dbg

sudo apt-get install libgtkgl2.0-dev

sudo apt-get install libgtk2.0-dev

** This was optional, but I noticed the build script mentioning it and I

** figured, “Why not?”:

sudo apt-get install libnotify-cil-dev

** Time to get wxPython built and installed!

** Lets go to the /opt folder,this way we are less likely to move/mod/delete the

** wxPython files after we’re done:

cd /opt

** Create the directory we will be working in:

sudo mkdir /opt/wxPython

** Take ownership, this is very important and makes things easier for us:

sudo chown /opt/wxPython

** Lets go into the folder we created:

cd /opt/wxPython

** Download the source into our current working directory:

wget http://downloads.sourceforge.net/project/wxpython/wxPython/2.9.5.0/wxPython-src-2.9.5.0.tar.bz2

** Now we need to unpack the source

tar xjf wxPython-src-2.9.5.0.tar.bz2

** Which should create a new directory of wxPython-src-2.9.5.0 in our current

** working directory.

** Lets head straight to the build scripts directory now:

cd wxPython-src-2.9.5.0/wxPython

** Run the build script:

sudo python2.7 build-wxpython.py --build=…/bld --force_config

** You may / may not notice the script telling you certain variables may

** need modified / added. Such as:

To run the wxPython demo you may need to:

  • set your PYTHONPATH variable to /opt/wxPython/wxPython-src-2.9.5.0/wxPython
  • set your LD_LIBRARY_PATH to /opt/wxPython/wxPython-src-2.9.5.0/bld/lib

** This is fairly painless to do, lets go back to your home directory:

cd ~/ (or cd /home/)

** Here I used nano, but you can use any editor you are comfortable with:

nano .bashrc

** See if this file already has lines that start with:

** NOTE: You need to use : to separate the directories

PYTHONPATH=

LD_LIBRARY_PATH=

** If they exist then append the directories to them, if not scroll to the bottom

** and add:

PYTHONPATH=/opt/wxPython/wxPython-src-2.9.5.0/wxPython

LD_LIBRARY_PATH=/opt/wxPython/wxPython-src-2.9.5.0/bld/lib

** From here we have a few options available that will reload the environment

** variables and allow us to try loading the wxPython demo.

** First option:

source .bashrc

** Using ‘source .bashrc’ should not only refresh the environment variables

** but also verify that the directories added are valid. If it reports any

** errors with the directories please verify that they were added correctly.

** If the issue(s) persist try option #2, rebooting the pc:

** To do this from the terminal:

sudo shutdown -r now

input password

wait…

** Minor explaination of the previous command, ‘shutdown’ is a command in

** Linux that will do as it says and turn your pc off. The option ‘-r’ tells

** the computer to restart instead of turning off completely. The last

** option, ‘now’ informs the computer to do so immediately, otherwise you

** would need to specify a time frame for the process to occur. Refer to

** ‘man shutdown’ or ‘shutdown --help’ for more details.

** We can now try to run the wxPython demo! So in a terminal you can either

** navigate to the folder:

/opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo

** and run:

python demo.py (or ‘python2.7 demo.py’)

** Or you can run it from your current directory with:

python /opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo/demo.py

** or:

python2.7 /opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo/demo.py

** If everything ran successfully the demo will load allowing you to

** view the various widget demos and source code.

** If you do not see the demo or happen to see errors produced I would

** recommend checking out the wxPython-users group on Google Groups.

** Located at: Redirecting to Google Groups

** Or doing a quick Google search of the error(s).

That is all for now, wish you the best of luck!

-Mike Stover

Thanks Mike,

Yet note that this is WxPython 2.9.5.0. I think you need a patch for this version installation.

However, such procedures are also dependent on Linux distribution. Here is a very similar example of a build that breaks:

https://groups.google.com/forum/m/#!topic/wx-users/75mT1NpbbBo

If you are just trying to install WxPython on Linux, the best solution I found that works on Ubuntu 12.04, Ubuntu 14.04, Fedora 21 is:

conda install wxpython

You will need anaconda for this. If you need to actually build, unless you know the details it will take lots of time and effort.

I hope wxpython build will be standardized on all Linux distributions in the near future.

Jacob

···

Sent from my iPhone

On Aug 22, 2014, at 7:22 AM, Mike Stover hakugin.gin@gmail.com wrote:

First, I apologize for the lengthy post. Second, this is a guide I had written and have been unable to post on the wxPython wiki. This guide is geared for Ubuntu 14.04 but can be adapted for any Linux Distro and in theory any version of wxPython.

Here it is:

Greetings, and thank you for reading this guide. It is currently a rough

draft and could use some improvements, but will get wxPython built and

installed on Ubuntu 12.04 and 14.04 computers. Keep in mind that these

are the only versions I have tested this guide with, so it may or may

not work with other Ubuntu version or Linux distros. Again this is a

rough draft and could benefit from someone more experienced with building

wxPython from source reviewing / editing it, but I hope it helps the

wxPython community.

IMPORTANT DISCLAIMER

If you follow this guide I am not responsible for anything that happens to

your computer. This includes but is not limited to:

Damages to hardware / Software / OS

Accidental tears in the spacetime continuum

Nuclear missle launch

Throughout this guide we will spend a good amount of time using the terminal.

Install, Install, Install:

** Required:

sudo apt-get install build-essential

sudo apt-get install python2.7-dev

sudo apt-get install python2.7-libtiff

sudo apt-get install libgstreamer0.10-dev

sudo apt-get install libgstreamer1.0-dev

** Some of these may not have been required:

sudo apt-get install libqtgstreamer-dev

sudo apt-get install libgstreamermm-0.10-dev

sudo apt-get install libghc-gstreamer-dev

sudo apt-get install libwebkitgtk-dev

sudo apt-get install libgtkhtml3.14-cil-dev

sudo apt-get install libgtkhtml3.14-dev

sudo apt-get install libgtkimageview-dev

sudo apt-get install libwxgtk-media2.8-dev

sudo apt-get install libwxgtk-media2.8-dbg

sudo apt-get install libwxgtk2.8-dev

sudo apt-get install libwxgtk2.8-dbg

sudo apt-get install libgtkgl2.0-dev

sudo apt-get install libgtk2.0-dev

** This was optional, but I noticed the build script mentioning it and I

** figured, “Why not?”:

sudo apt-get install libnotify-cil-dev

** Time to get wxPython built and installed!

** Lets go to the /opt folder,this way we are less likely to move/mod/delete the

** wxPython files after we’re done:

cd /opt

** Create the directory we will be working in:

sudo mkdir /opt/wxPython

** Take ownership, this is very important and makes things easier for us:

sudo chown /opt/wxPython

** Lets go into the folder we created:

cd /opt/wxPython

** Download the source into our current working directory:

wget http://downloads.sourceforge.net/project/wxpython/wxPython/2.9.5.0/wxPython-src-2.9.5.0.tar.bz2

** Now we need to unpack the source

tar xjf wxPython-src-2.9.5.0.tar.bz2

** Which should create a new directory of wxPython-src-2.9.5.0 in our current

** working directory.

** Lets head straight to the build scripts directory now:

cd wxPython-src-2.9.5.0/wxPython

** Run the build script:

sudo python2.7 build-wxpython.py --build=…/bld --force_config

** You may / may not notice the script telling you certain variables may

** need modified / added. Such as:

To run the wxPython demo you may need to:

  • set your PYTHONPATH variable to /opt/wxPython/wxPython-src-2.9.5.0/wxPython
  • set your LD_LIBRARY_PATH to /opt/wxPython/wxPython-src-2.9.5.0/bld/lib

** This is fairly painless to do, lets go back to your home directory:

cd ~/ (or cd /home/)

** Here I used nano, but you can use any editor you are comfortable with:

nano .bashrc

** See if this file already has lines that start with:

** NOTE: You need to use : to separate the directories

PYTHONPATH=

LD_LIBRARY_PATH=

** If they exist then append the directories to them, if not scroll to the bottom

** and add:

PYTHONPATH=/opt/wxPython/wxPython-src-2.9.5.0/wxPython

LD_LIBRARY_PATH=/opt/wxPython/wxPython-src-2.9.5.0/bld/lib

** From here we have a few options available that will reload the environment

** variables and allow us to try loading the wxPython demo.

** First option:

source .bashrc

** Using ‘source .bashrc’ should not only refresh the environment variables

** but also verify that the directories added are valid. If it reports any

** errors with the directories please verify that they were added correctly.

** If the issue(s) persist try option #2, rebooting the pc:

** To do this from the terminal:

sudo shutdown -r now

input password

wait…

** Minor explaination of the previous command, ‘shutdown’ is a command in

** Linux that will do as it says and turn your pc off. The option ‘-r’ tells

** the computer to restart instead of turning off completely. The last

** option, ‘now’ informs the computer to do so immediately, otherwise you

** would need to specify a time frame for the process to occur. Refer to

** ‘man shutdown’ or ‘shutdown --help’ for more details.

** We can now try to run the wxPython demo! So in a terminal you can either

** navigate to the folder:

/opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo

** and run:

python demo.py (or ‘python2.7 demo.py’)

** Or you can run it from your current directory with:

python /opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo/demo.py

** or:

python2.7 /opt/wxPython/wxPython-src-2.9.5.0/wxPython/demo/demo.py

** If everything ran successfully the demo will load allowing you to

** view the various widget demos and source code.

** If you do not see the demo or happen to see errors produced I would

** recommend checking out the wxPython-users group on Google Groups.

** Located at: https://groups.google.com/forum/#!forum/wxpython-users

** Or doing a quick Google search of the error(s).

That is all for now, wish you the best of luck!

-Mike Stover

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/LcAJrKiqnxM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

To build from scratch first read the file, in the source
distribution, called “” in there it states:
That file tells you:
Note that you will probably need to change the 2.9.0.1 to something
like 3.0.0 and python2.6 to either python2.7 or just python. Since
the prerequisites are dependant on your specific OS the simplest
method is to try building and if/when it fails look for the error message to see what was missing and install it. Minimum
prerequisites will include glib & gtk+ libraries, (make sure you
get the -dev installs to have all the headers), and either OpenGL or
Mesa3D, (also -dev) plus pyOpenGL.
Hope that helps - it worked for me.
Gadget/Steve

···

On 23/08/14 19:57, Work wrote:

Thanks Mike,

    Yet note that this is WxPython 2.9.5.0. I think you need a

patch for this version installation.

    However, such procedures are also dependent on Linux

distribution. Here is a very similar example of a build that
breaks:

https://groups.google.com/forum/m/#!topic/wx-users/75mT1NpbbBo

    If you are just trying to install WxPython on Linux, the best

solution I found that works on Ubuntu 12.04, Ubuntu 14.04,
Fedora 21 is:

conda install wxpython

    You will need anaconda for this. If you need to actually

build, unless you know the details it will take lots of time and
effort.

    I hope wxpython build will be standardized on all Linux

distributions in the near future.

Jacob

README.1st.txt
`` For more details about building and installing wxWidgets and wxPython`` ``please see this file::
`` wxPython/docs/BUILD.txt
Building of both wxWidgets and wxPython is now handled by the wxPython/build-wxpython.py script in the source tree. It takes care of all the nasty and confusing details that used to be documented in this file. Pretty much all you need to worry about now is ** having the** ** build tools and dependent libraries installed on your system** and specifying where to install the results, if other than the standard location. : : `` To build wxPython, simply run the build script something like this::`` `` `` cd wxPython-src-2.9.0.1/wxPython`` `` python2.6 build-wxpython.py --build_dir=../bld
first

Thanks Steve,

Yet you should be more specific with what worked. And there is a limit to how specific you can be - the list of dependencies may be too long. The minor changes you mention, may cause things not to work. Linux systems and versions are different. If something worked for you, this means your system had a unique set of libraries and versions that made it work. Unless you provide a copy of a VM with that system that people can reuse and reproduce, it may not work for someone else.

Nevertheless thanks for sharing, when I needed to build, I was looking for recopies like you provided to follow. Such text helped me understand what issues I have and resolve many of them. So even though it is probably not perfect, it is good to have such reference.

Jacob

···

On Sun, Aug 24, 2014 at 1:30 AM, Steve Barnes gadgetsteve@live.co.uk wrote:

On 23/08/14 19:57, Work wrote:

Thanks Mike,

    Yet note that this is WxPython 2.9.5.0. I think you need a

patch for this version installation.

    However, such procedures are also dependent on Linux

distribution. Here is a very similar example of a build that
breaks:

https://groups.google.com/forum/m/#!topic/wx-users/75mT1NpbbBo

    If you are just trying to install WxPython on Linux, the best

solution I found that works on Ubuntu 12.04, Ubuntu 14.04,
Fedora 21 is:

conda install wxpython

    You will need anaconda for this. If you need to actually

build, unless you know the details it will take lots of time and
effort.

    I hope wxpython build will be standardized on all Linux

distributions in the near future.

Jacob

To build from scratch first read the file, in the source

distribution, called “README.1st.txt” in there it states:
`` For more details about building and installing wxWidgets and wxPython`` ``please see this file::
`` wxPython/docs/BUILD.txt

That file tells you:
`
  Building of both wxWidgets and wxPython is now handled by the
  wxPython/build-wxpython.py script in the source tree.  It takes

care
of all the nasty and confusing details that used to be documented
in
this file. Pretty much all you need to worry about now is ** having
the** ** build tools and dependent libraries installed on your
system** and
specifying where to install the results, if other than the
standard
location.
:
:
To build wxPython, simply run the build script something like this::
cd wxPython-src-2.9.0.1/wxPython python2.6 build-wxpython.py --build_dir=…/bld`

Note that you will probably need to change the 2.9.0.1 to something

like 3.0.0 and python2.6 to either python2.7 or just python. Since
the prerequisites are dependant on your specific OS the simplest
method is to try building and if/when it fails look for the first
error message to see what was missing and install it. Minimum
prerequisites will include glib & gtk+ libraries, (make sure you
get the -dev installs to have all the headers), and either OpenGL or
Mesa3D, (also -dev) plus pyOpenGL.

Hope that helps - it worked for me.



Gadget/Steve

You received this message because you are subscribed to a topic in the Google Groups “wxPython-users” group.

To unsubscribe from this topic, visit https://groups.google.com/d/topic/wxpython-users/LcAJrKiqnxM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to wxpython-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jacob,
What worked for me was an iterative process:

···

On 24/08/14 07:50, Jacob Barhak wrote:

Thanks Steve,

      Yet you should be more specific with what worked. And there

is a limit to how specific you can be - the list of
dependencies may be too long. The minor changes you mention,
may cause things not to work. Linux systems and versions are
different. If something worked for you, this means your system
had a unique set of libraries and versions that made it work.
Unless you provide a copy of a VM with that system that people
can reuse and reproduce, it may not work for someone else.

      Nevertheless thanks for sharing, when I needed to build, I

was looking for recopies like you provided to follow. Such
text helped me understand what issues I have and resolve many
of them. So even though it is probably not perfect, it is good
to have such reference.

Jacob

  1. try to build
  2. when it breaks look to find what is missing
  3. install what was missing
  4. goto 1 until it don’t break.
    As you say every version of every distro of Linux is unique to
    start with then every user has a different history of what they
    have installed so an exhaustive list of the exact dependencies
    would be prohibitively long, complex and difficult to maintain
    (unless we took the MS approach of “You WILL have the
    exact tools we specify and use them the way we tell you and
    upgrade on the day we say…”

Steve