From f51ae01d8037d94c774c4a6aa3f917943446e67c Mon Sep 17 00:00:00 2001
From: "markh%activestate.com"
Date: Thu, 5 Apr 2001 12:36:38 +0000
Subject: [PATCH] Slightly updated docs for the windows build process.
Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@91452 18797224-902f-48f8-a5cc-f745e15eee43
---
.../python/xpcom/doc/configure.html | 40 ++++++++-----------
mozilla/extensions/python/xpcom/readme.html | 2 +-
2 files changed, 18 insertions(+), 24 deletions(-)
diff --git a/mozilla/extensions/python/xpcom/doc/configure.html b/mozilla/extensions/python/xpcom/doc/configure.html
index b27e46ab04f..d56f3a5585f 100644
--- a/mozilla/extensions/python/xpcom/doc/configure.html
+++ b/mozilla/extensions/python/xpcom/doc/configure.html
@@ -19,6 +19,23 @@ built
Mozilla from source and your environment is currently set up for such a build -
see the Mozilla build documentation
for more information.
+Windows Instructions
+Windows builds now use the standard Mozilla build process. You can
+build them by performing the following steps
+
+ - Ensure your machine is setup to build Mozilla and XPCOM itself.
+ - Set PYTHON_SRC to point to your Python source root directory. This
+ can either be the root of a "binary" install (with headers and
+ libraries) or a Python source tree.
+ - Change to the mozilla/extensions/python/xpcom directory.
+ - Run nmake -f makefile.win. This should build the extensions
+ and install them into the {mozilla-dist-directory}/bin/Python
+ directory.
+ - Change to the xpcom/test directory, and run python regrtest.py (or python_d
+ regrtest.py for debug builds)
+
+Linux Instructions
+These instructions apply to Linux, and hopefully soon they will die!
This section covers:
-
@@ -66,29 +83,6 @@ happens, perform the following steps:
- As per the instructions at the top of the makefile, edit the MOZ_SRC,
INSTALLDIR and PYTHON_SRC definitions appropriately.
-Build Example: Building on Windows
-For this example, we will assume that the source-code for Mozilla is in C:\src\mozilla,
-the source-code for the PyXPCOM package is in c:\src\pyxpcom. Further, we assume
-that you have Python 2.0 installed in C:\Python20, and wish to install
-the built Python XPCOM package so it exists in C:\Python20\xpcom.
-To build the package in this environment, you would perform the following
-steps:
-
- - Unpack the PyXPCOM package source-code into the appropriate directory
- - Edit makefile.stupid.win with the following changes:
- MOZ_SRC=c:\src
- INSTALLDIR=C:\Python20
- PYTHON_SRC=C:\Python20
- - From the top-level Python xpcom source directory (i.e., the
- directory with makefile.stupid.win), execute the command:
- nmake -f makefile.stupid.win install
-
-NOTE: To build a Debug version of the Python XPCOM library, you can add DEBUG=1
-to the nmake command-line.
-If everything appears to work and you are brave, you may also like to execute
-make -f makefile.stupid.win test to execute the test script.
-Otherwise, continue to the following section where we confirm the installation
-step-by-step.
Build Example: Building on Linux
For this example, we will assume that the source-code for Mozilla is in ~/src/mozilla,
the source-code for the PyXPCOM package is in ~/src/pyxpcom. Further, we assume
diff --git a/mozilla/extensions/python/xpcom/readme.html b/mozilla/extensions/python/xpcom/readme.html
index af985f39f20..11b947b96fc 100644
--- a/mozilla/extensions/python/xpcom/readme.html
+++ b/mozilla/extensions/python/xpcom/readme.html
@@ -14,7 +14,7 @@
Python XPCOM Package
-Version 0.91 - January 2001
+Mozilla CVS Version - Last updated April 2001
This is the readme for the Python interface to XPCOM.
XPCOM is an acronym for "Cross Platform COM". It has
come out of the Mozilla project, which