Commit Graph

103 Commits

Author SHA1 Message Date
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
Andrew M. Kuchling
e7ffbb24e8 [Bug #480882] Remove now-pointless check for existence for _curses_panel.c;
Bugfix candidate.
2001-12-06 15:57:16 +00:00
Jack Jansen
244e761fbf As of OS X 10.1.1 the version numbering scheme has changed. Convert all "darwin*" to "darwin" and use that for testing. 2001-12-05 15:54:29 +00:00
Martin v. Löwis
f5c7677602 Support bsddb 3.2. Fixes #483653. 2001-11-24 09:28:42 +00:00
Jack Jansen
f49c6f9954 The import check in setup.py fails on Mac OS X for Carbon-based modules
if you are not building while logged in to the console (you cannot
connect to the window server, so the Carbon library doesn't initialize).
Added a quick hack to skip the import test, with a warning, for modules
linked against Carbon.
2001-11-01 14:44:15 +00:00
Jack Jansen
666b1e7e2f Link the core with CoreServices, not with Carbon, and don't use any Carbon
routines. As of 10.1 using Carbon will crash Python if no window server is
available (ssh connection, console mode, MacOSX Server). This fixes bug
#466907.

A result of this mod is that the default 8bit encoding on OSX is now ASCII,
for the time being. Also, the extension modules that need the Carbon
framework now explicitly include it in setup.py.
2001-10-31 12:11:48 +00:00
Neil Schemenauer
c3ffef6666 - Build dbm module using libdb1 if it's available. This fixes SF bug "[
#230075 ] dbmmodule build fails on Debian GNU/Linux unstable (Sid)".

- Build bsddb module with libdb3 if it's available.  It also fixes a bug that
  causes the build of bsddb to fail on Debian if bsddb3-dev is installed.
2001-10-21 22:14:44 +00:00
Jeremy Hylton
a25d995ab0 The Python symtable module depends on .h files that setup.py doesn't track. 2001-10-17 13:46:44 +00:00
Fred Drake
3a40f32aa6 Add entry for HotShot. 2001-10-12 21:00:48 +00:00
Martin v. Löwis
2f20dab9c1 Do not add -shared to linker_so. Any necessary options should already be
in LDSHARED.
2001-10-08 13:18:37 +00:00
Greg Ward
57fc21018f Fix a spelling error that has been bugging me for longer than I care to admit. 2001-10-03 19:59:30 +00:00
Andrew M. Kuchling
89fb72dd76 [Patch #462258] On Cygwin, don't build Tkinter unless the X header files
can be found.
2001-09-18 20:32:13 +00:00
Andrew M. Kuchling
fda3c3ddae [Patch #462255, from Jason Tishler] Re-enables building the resouce
module on the Cygwin platform.
2001-09-17 16:19:16 +00:00
Greg Ward
02fac83ba1 Comment tweak: point to Robin Dunn's pybsddb project on SourceForge. 2001-09-13 15:05:08 +00:00
Jack Jansen
2f760c35e2 On MacOSX built the toolbox extension modules iff we're building with
--enable-framework.
Some modules that are also useful outside a fullblown application are
always built.
2001-09-04 21:33:12 +00:00