Hi, everyone,
I have just compiled wxMozilla under wxPython2.5.2.8 and win32.
As there was not much documents ATM I would like to share my experiences, and please feel free to ask me about it.
My steps are:
1. Download win32.zip from
http://prdownloads.sourceforge.net/wxmozilla/wxMozilla-0.5.3-win32.zip?download
win32 installer from
http://prdownloads.sourceforge.net/wxmozilla/wxMozilla-0.5.3-Py2.3.exe?download
and download wx25 source from
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wxmozilla login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/wxmozilla co wxMozilla
I based on the source from cvs.
2. First put the source from CVS under MOZILLA_DIR, and then
extract mozilla folder from wxMozilla-0.5.3-win32.zip to MOZILLA_DIR.
Create folder MOZILLA_DIR/mozilla/dist, and put MOZILLA_DIR/mozilla/include and
MOZILLA_DIR/mozilla/lib into it. That is the mozilla source code.
3. Compile it.
Now go to MOZILLA_DIR\wxPython\contrib\mozilla25, and run
setup.py install WX_CONFIG=WX_DIR
WX_DIR is the wx installation, probably like %PYTHONPATH%\Lib\site-packages\wx
Use MSVC6 to compile it. I won't elaborate my silly problems and solutions here
4. Install.
Now _mozilla.pyd and mozilla has been copied to your wx installation.
Run wxMozilla-0.5.3-Py2.3.exe and install wxMozilla. This will bring dlls and registry.
Con.
Maybe this is not a very succinct way. Surely things will be much easier after the formal support for py25 released.
Best regards.
ZhangYue张岳
zhangyue99@tsinghua.org.cn
2004-09-03