Commit Graph

117 Commits

Author SHA1 Message Date
Martin v. Löwis 21645fc073 Don't try to use unsupported DB versions. 2002-11-19 08:30:08 +00:00
Martin v. Löwis 6aa4a1f29c Import PyBSDDB 3.4.0. Rename historical wrapper to bsddb185. 2002-11-19 08:09:52 +00:00
Martin v. Löwis cc40cede7a Look in db4 directories when checking for db4. 2002-11-09 19:53:04 +00:00
Andrew M. Kuchling 15628fe7bc Simply delete the fpectl module, instead of leaving it commented out;
if people want to compile it, they should edit Modules/Setup, not setup.py
2002-11-08 13:11:50 +00:00
Gustavo Niemeyer f8ca8364c9 Patch implementing bz2 module.
* setup.py
  (PyBuildExt.detect_modules): Included bz2 module detection.

* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
  Included files implementing, testing, and documenting bz2 module.

* Doc/Makefile.deps
* Doc/lib/lib.tex
  Include references to libbz2.tex.

* Misc/NEWS
  (Library): Mention distutils' c++ linkage patch, and new bz2 module.
2002-11-05 16:50:05 +00:00
Guido van Rossum e0fea6c4ed [SF bug 620364]
In build_extensions(), don't proceed if srcdir is None.  Probably
somebody who tried this on Windows. :-)
2002-10-14 20:48:09 +00:00
Guido van Rossum fa82181436 Disable building of the fpectl module -- it's dangerous or useless
except in the hands of experts.  Will backport to 2.2.2.
2002-09-25 14:59:57 +00:00
Guido van Rossum 770acd3f7f Only build the 'dl' extension when sys.maxint equals 2**31-1.
This module raises "SystemError: module dl requires sizeof(int) ==
sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.
2002-09-12 14:41:20 +00:00
Jack Jansen 983258ed7e Revived the Carbon.Help module, but implementing the MacHelp API in stead
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
2002-08-29 21:09:00 +00:00
Skip Montanaro ccfdde86eb Slight reordering of directories searched for BerkDB libs and include files.
Push /usr/... further down the list - always check /usr/local/... before
/usr/...

Doubt this will help with http://python.org/sf/589427 or not, but these
changes were prompted by my investigation of that bug report.  I wasn't able
to reproduce that problem though
2002-08-15 01:34:38 +00:00
Jason Tishler d28216b279 Patch #588564: _locale library patch
This patch enables setup.py to find gettext routines when they are
located in libintl instead of libc.  Although I developed this patch for
Cygwin, I hope that it can be easily updated to support other platforms
(if necessary). I tested this patch under Cygwin and Red Hat Linux 7.1.
2002-08-14 11:13:52 +00:00
Barry Warsaw 259b1e18b4 Regress Guido's change of 2002/08/06 to check for the zlib version
1.1.4.  Redhat hasn't upgraded but does provide a patched 1.1.3
package, so checking for 1.1.4 just makes life difficult.
2002-08-13 20:09:26 +00:00
Guido van Rossum 8cdc03dca5 Update the URL for getting zlib, and update the minimal required
version to 1.1.4 (because of the 1.1.3 security problem).  Also
replace a funny use of line.find() with line.startswith().
2002-08-06 17:28:30 +00:00
Fred Drake 5f8a23f32f Since the errno module is needed by os._execvpe(), and that is used by the
setup.py (indirectly) script to build the standard dynamically loaded
modules, the errno module is being made static so it will always be
available.
Closes SF bug #591205 (needed on trunk only).
2002-08-05 18:06:17 +00:00
Jack Jansen a30d1447cf Build the _IBCarbon module. 2002-08-04 22:04:25 +00:00
Michael W. Hudson c4c718057e Revert last checkin. Man, that was stupid. 2002-08-03 16:39:22 +00:00
Michael W. Hudson 210f5585d2 Another fix for:
[ 589427 ] standard include paths on command line

_ssl still got /usr/include on the command line.
2002-08-03 16:16:22 +00:00
Michael W. Hudson 90b8e4d40c Fix for
[ 589427 ] standard include paths on command line
2002-08-02 13:55:50 +00:00
Jack Jansen d1b2045958 The readme file said that OSX Carbon modules were only built for
-enable-framework builds, but setup.py built them anyway. Fixed.
Also normalized whitespace.

Bugfix candidate.
2002-07-08 21:39:36 +00:00
Jack Jansen 73aa1fff85 More fixes for building MacPython extension modules. It now actually succeeds
in building various modules.
2002-06-27 22:06:49 +00:00
Jack Jansen 4439b7c67e Fixed a few showstoppers in the process of making MacPython use setup.py to build it's exension modules (in stead of relying on a private mechanism). It definitely doesn't work yet, but it looks promising. 2002-06-26 15:44:30 +00:00
Barry Warsaw 6fe3d7009e In the Extension() call, add runtime_library_dirs so that a useful
-R/--rpath flag gets passed to the linker.  Source builds of
BerkeleyDB do their default installs in locations not normally on
ld.so's search path.
2002-06-24 20:27:33 +00:00
Jack Jansen 0b06be7b0b Patch #557719 by Tony Lownds, slightly massaged by me: streamline the
OSX framework build process. Things fixed/modified:
- the filesystem case-sensitivity test now works for builds outside
  the source directory
- various other fixes for building outside the source directory
- python.app now has a target in the main Makefile
- WASTE and AquaTk are found more automatically
2002-06-21 14:48:38 +00:00
Fred Drake fc8341d070 Update description of the Expat library.
Closes SF bug #556370.
2002-06-17 17:55:30 +00:00
Skip Montanaro 57454e57f8 This introduces stricter library/header file checking for the Berkeley DB
library.  Since multiple versions can be installed simultaneously, it's
crucial that you only select libraries and header files which are compatible
with each other.  Version checking is done from highest version to lowest.
Building using version 1 of Berkeley DB is disabled by default because of
the hash file bugs people keep rediscovering.  It can be enabled by
uncommenting a few lines in setup.py.  Closes patch 553108.
2002-06-14 20:30:31 +00:00
Jeremy Hylton 340043ea79 Munge depends files to have absolute paths.
Look in both moddirlist and incdirlist, since a .h could be in either.
2002-06-13 17:38:11 +00:00
Guido van Rossum df1e092a1f Get rid of accidentally checked-in reference to "bits". 2002-06-13 15:08:35 +00:00
Guido van Rossum 47d3a7afda Add dependencies on socketmodule.h. 2002-06-13 14:41:32 +00:00
Martin v. Löwis f90ae20354 Patch #488073: AtheOS port. 2002-06-11 06:22:31 +00:00
Fred Drake 16c8d702a4 When using a Python that has not been installed to build 3rd-party
modules, distutils does not understand that the build version of the
source tree is needed.

This patch fixes distutils.sysconfig to understand that the running
Python is part of the build tree and needs to use the appropriate
"shape" of the tree. This does not assume anything about the current
directory, so can be used to build 3rd-party modules using Python's
build tree as well.

This is useful since it allows us to use a non-installed debug-mode
Python with 3rd-party modules for testing. It as the side-effect that
set_python_build() is no longer needed (the hack which was added to
allow distutils to be used to build the "standard" extension modules).

This closes SF patch #547734.
2002-06-04 15:28:21 +00:00
Jason Tishler 24cf7766bc Patch #491107: Cygwin setup.py import workaround patch
mwh wrote:
> Jason, feel free to complain if you think this isn't
> the right thing to do.

I guess that I would like to complain and reopen this
issue. :,)  I cannot build a Python 2.2.1 with threads
under Cygwin without this patch even though I'm using
Michael's static _socket workaround.  This is due to the
Cygwin fork() problem with DLL base address conflicts
that are triggered by importing many modules during the
setup.py run.  Similar problems can also be caused by
regrtest.py.

Even after my rebase patch is accepted into Cygwin's
setup.exe, I feel this patch will still be necessary.
This is because during the build process, the shared
extensions (i.e., DLLs) will not be rebased yet.  Hence,
the potential for DLL base address conflicts will exist.

One way to obviate this patch is to push the rebase
functionality into Cygwin's ld.  Unfortunately, I don't
think this is likely to happen.  Another possible way,
is to use the yet to be defined and implemented unload
module functionality:

    http://mail.python.org/pipermail/python-dev/2001-December/019028.html
2002-05-22 16:46:15 +00:00
Guido van Rossum 2e1c09c1fd Removed old Digital Creations copyright/license notices (with
permission from Paul Everitt).  Also removed a few other references to
Digital Creations and changed the remaining ones to Zope Corporation.
2002-04-04 17:52:50 +00:00
Neal Norwitz 03ffbcd393 Fix SF # 532618 517704, install problems when building modules fail.
Fix whitespace on a line also.
2002-03-25 14:20:09 +00:00
Michael W. Hudson 0c46c0cc70 Apply Jack's patch attached to
[ 508779 ] Disable flat namespace on MacOS X

I presume you wanted this on the trunk too, Jack?

2.2.1 candidate.
2002-03-07 09:58:56 +00:00
Michael W. Hudson 7113d9607b Changes to what we do to modules that don't import, as
discussed on python-dev.
2002-03-01 14:16:31 +00:00
Marc-André Lemburg a5d2b4cb18 Break SSL support out of _socket module and place it into a new
helper module _ssl.

The support for the RAND_* APIs in _ssl is now only enabled
for OpenSSL 0.9.5 and up since they were added in that
release.

Note that socketmodule.* should really be renamed to _socket.* --
unfortunately, this seems to lose the CVS history of the file.

Please review and test... I was only able to test the header file
chaos in socketmodule.c/h on Linux. The test run through fine
and compiles don't give errors or warnings.

WARNING: This patch does *not* include changes to the various
non-Unix build process files.
2002-02-16 18:23:30 +00:00
Martin v. Löwis 8301256a44 Compute expat -I directives from srcdir. Fixes #517214. 2002-02-14 01:25:37 +00:00
Martin v. Löwis 8fef47be5f Define VERSION in expat.h. 2002-02-13 07:47:16 +00:00
Martin v. Löwis cf453fe2a8 Use included Expat library. Drop support for older expat versions. 2002-02-11 23:27:45 +00:00
Michael W. Hudson af14289c54 Fix for
[ #433775 ] module build dir first in test import

though not in the way the summary would suggest; use imp.load_dynamic()
in setup.py to ensure we're testing the dynamic object we think we are.
2002-01-23 15:07:46 +00:00
Michael W. Hudson 5b10910d7a Sjoerd Mullender pointed out that setup.py contained some tabs,
so I threw reindent.py at it and look what happened!

Did setup.py escape Tim's regular whitespace normalizations?
2002-01-23 15:04:41 +00:00
Jack Jansen 796720b314 Mac _Scrap module is now carbon-compliant, so build it on OSX. 2002-01-21 23:10:36 +00:00
Michael W. Hudson 39230b3230 Apply a variant of patch
[ #420565 ] makes setup.py search sys.prefix

I think this also fixes some bug in the tracker about not searching
directories that don't exist, but I can't find the report :(
2002-01-16 15:26:48 +00:00
Martin v. Löwis 93227275dc Patch #497126: Always compile dl. 2002-01-01 20:18:30 +00:00
Guido van Rossum 8efd6ceecc Update comments about mpz, pointing to gmpy and mxNumber rather than
to the non-existing pympz (did that ever exist?).
2001-12-17 17:24:43 +00:00
Just van Rossum e9039b1742 build CoreGraphics under darwin 2001-12-13 13:41:36 +00:00
Jack Jansen dd67a8ed2c Build _CarbonEvt module on Mac OS X. Still gives a couple of warnings
but compiles OK.
2001-12-12 23:03:17 +00:00
Jack Jansen edeea04bfd Mods to make WASTE module compile and link for MachoPython. Not tested
any further, yet.
2001-12-09 23:08:54 +00:00
Fred Drake 9028d0a525 Visious hackery to solve a build-control problem related to our use of
distutils for the library modules built as shared objects.  A better solution
appears possible, but with the threat that the distutils becomes more
magical ("complex").
This closes SF bug #458343.
2001-12-06 22:59:54 +00:00
Fred Drake 38419c003c Wrap some long lines. 2001-12-06 22:24:47 +00:00