Updating the build docs for 3.0.0

The build documentation at:

http://www.wxpython.org/BUILD.html

could use a bit of a refresh. I realize that people are likely focussing all efforts on Phoenix, but I know it took me quite a while to get all these bits and bobs figured out.

The doc should include the set of dependencies needed, this seems to be:

apt-get install libgtk2.0-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev

though there are likely things such as build-essential required as well for a clean Ubuntu 12.04 build.

Also, tell the user how to install into a virtualenv. What I did, which doesn’t seem correct, but does seem to work is to active the venv, then:

python ./build-wxpython.py --install --prefix=/home/mcfletch/tmp/testinstall/

where the prefix is the full path to the venv, then:

export LD_LIBRARY_PATH=~/tmp/testinstall/lib:${LD_LIBRARY_PATH}

to use the resulting virtualenv-based installation. I’m sure there’s a better way to do that, but for now it lets me make RunSnakeRun 3.0.0 compatible and call it a day.

Thanks all,

Mike

Mike Fletcher wrote:

The build documentation at:

Phoenix/README.rst at master · wxWidgets/Phoenix · GitHub

could use a bit of a refresh. I realize that people are likely focussing
all efforts on Phoenix, but I know it took me quite a while to get all
these bits and bobs figured out.

The doc should include the set of dependencies needed, this seems to be:

apt-get install libgtk2.0-dev libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev

though there are likely things such as build-essential required as well
for a clean Ubuntu 12.04 build.

I've added a paragraph about prerequisites in general. If anybody would like to see more details or other info such as venv usage then that file is generated from wxPython/docs/BUILD.txt in the source so patches can be submitted with desired changes.

···

--
Robin Dunn
Software Craftsman