source install question: WXAgg's accelerator requires the wxPython headers.

I am getting a message during a source install that WXAgg's
accelerator requires the wxPython headers. What do I need to do to
get them for Ubuntu? I think I have all wx packages installed? Do I
need to download the source tarball from wxPython.org? If so, where
should I put the headers?

Ryan

Dear Ryan, I think you want libwxgtk2.6-dev

Ryan Krauss wrote:

···

I am getting a message during a source install that WXAgg's
accelerator requires the wxPython headers. What do I need to do to
get them for Ubuntu? I think I have all wx packages installed? Do I
need to download the source tarball from wxPython.org? If so, where
should I put the headers?

Ryan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Thanks Andrew. I have that one already installed and it seems that
either it isn't enough or it doesn't put the headers where the install
script is looking for them. Should I be searching to see if a certain
file is on my path?

···

On 3/16/07, Andrew Straw <strawman@...106...> wrote:

Dear Ryan, I think you want libwxgtk2.6-dev

Ryan Krauss wrote:
> I am getting a message during a source install that WXAgg's
> accelerator requires the wxPython headers. What do I need to do to
> get them for Ubuntu? I think I have all wx packages installed? Do I
> need to download the source tarball from wxPython.org? If so, where
> should I put the headers?
>
> Ryan
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

Unfortunately, the wxPython Debian package and its Ubuntu cousin do not include the wxPython headers. This is an issue that I looked into a while ago, but was unable to get resolved.

That being said, you have three options for moving forward:

1. Just ignore the message. Unless you're doing animation you probably won't be hurting for speed.

2. Grab the wxPython headers from source and install them in `/usr/include/wx/wxPython'. I believe that John Hunter has been doing this for some time now, so he might be able to help you if there are any caveats that I've forgotten.

3. Upgrade to wxPython 2.8 and the svn version of matplotlib. I've written a version of the accelerator in pure Python that moves at a pretty good clip but requires functionality that is only present in wxPython 2.8.

Ken

···

On Mar 16, 2007, at 10:57 AM, Andrew Straw wrote:

Dear Ryan, I think you want libwxgtk2.6-dev

Thanks Ken. I think I did this before a year or so ago, I was just
thinking there was an easier way.

I guess I am a little stuck. I am hesitant to upgrade to wxPython 2.8
because wxGlade isn't compatible with it yet. I just went to
wxPython.org and their sourceforge page doesn't have 2.6 source
anymore. Unless someone has the wxpython 2.6 source tarball lying
around, I guess I will ignore the message and wait until I am ready to
upgrade to 2.8.

Ryan

···

On 3/16/07, Ken McIvor <mcivor@...612...> wrote:

On Mar 16, 2007, at 10:57 AM, Andrew Straw wrote:
>
> Dear Ryan, I think you want libwxgtk2.6-dev

Unfortunately, the wxPython Debian package and its Ubuntu cousin do
not include the wxPython headers. This is an issue that I looked
into a while ago, but was unable to get resolved.

That being said, you have three options for moving forward:

1. Just ignore the message. Unless you're doing animation you
probably won't be hurting for speed.

2. Grab the wxPython headers from source and install them in `/usr/
include/wx/wxPython'. I believe that John Hunter has been doing this
for some time now, so he might be able to help you if there are any
caveats that I've forgotten.

3. Upgrade to wxPython 2.8 and the svn version of matplotlib. I've
written a version of the accelerator in pure Python that moves at a
pretty good clip but requires functionality that is only present in
wxPython 2.8.

Ken

If you're got APT's "sources.list" setup correctly, you should be able to just "apt-get source libwxgtk2.6-dev".

Ken

···

On Mar 16, 2007, at 1:01 PM, Ryan Krauss wrote:

Unless someone has the wxpython 2.6 source tarball lying
around, I guess I will ignore the message and wait until I am ready to
upgrade to 2.8.

Ryan,

I found the 2.6 sources:

  http://wxpython.sourceforge.net/download-2.6.3.3.php

Ken

Thanks for the help Ken. I think I got it. The source install of
libwkgtk2.6 doesn't seem to be enough (I still get the message about
accelerator needing the headers).

I have downloaded the 2.6 source tarball (thanks for finding it). I
copied *.h from the wxPython-src-2.6.3.3/wxPython/include/wx/wxPython
directory of the tarball to /usr/include/wx/wxPython. The message
went away. I think that was all I needed to do.

Ryan

···

On 3/16/07, Ken McIvor <mcivor@...612...> wrote:

Ryan,

I found the 2.6 sources:

        http://wxpython.sourceforge.net/download-2.6.3.3.php

Ken