$ make target
all | Build the targets |
---|---|
installbin | Install the binary interpreter as
exec_prefix/bin/python.exppy . |
installshared | Install the shared library into the distribution. |
clean | Remove the files created by the build process. |
distclean | Remove the files created by configure (and the build process). |
test | Perform tests on the just built module. |
Using GNU make is preferred, but not required.
There is currently a bug building shared modules with Python 1.4. ExpectPy will need to be statically linked.
Use the --with-setup option and create a Setup.local file.
$ ./configure { --without-pcre | --with-tcl } --with-setup
options
$ make Setup.local
$ cat Setup.local >> builddir/Python-1.4/Modules/Setup.local
$ cd builddir/Python-1.4; make
$ ./configure {--without-pcre | --with-tcl}
options
$ make
--with-setup
and build the
Setup.local file.
$ ./configure --with-setup
options
$ make Setup.local
$ cat Setup.local >> builddir/Python-1.5.1/Modules/Setup.local
$ cd builddir/Python-1.5.1; make
Append the Setup.local file to the end of Python's Module/Setup.local
file and recompile Python.
$ ./configure --with-setup
options
$ make
This builds the interpreter in a subdirectory ("pycnf" by
default) and is then placed in the current directory.
$ ./configure
options
$ make
configure
from that directory.
$ tar xf ExpectPy.tar # creates a directory ExpectPy
$ mkdir ExpectPy-sun5
$ cd ExpectPy-sun5
$ ../ExpectPy/configure options
$ make
On some systems, ExpectPy may have difficulties building against
the dynamic (shared) libraries from Expect or Tcl.
In those situations, it may make ExpectPy more stable to use the
configure --forcea
option, to force building against static libraries (.a).