Re: FTBFS: python
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Coin,
I made 2 minor patches for python2.3 and hope this will be useful.
This one solves the linking problem with libX11 :
(i mean the clean way, not using LD_LIBRARY_PATH as someone told me)
- -------------------------------------------------------------------
diff -ur /data2/python2.3_orig/python2.3-2.3.2/setup.py /src/python2.3/python2.3-2.3.2/setup.py
- --- /data2/python2.3_orig/python2.3-2.3.2/setup.py 2003-09-22 03:19:45.000000000 +0200
+++ /src/python2.3/python2.3-2.3.2/setup.py 2003-11-21 19:01:19.000000000 +0100
@@ -1017,11 +1017,13 @@
if platform != "cygwin":
libs.append('X11')
ext = Extension('_tkinter', ['_tkinter.c', 'tkappinit.c'],
define_macros=[('WITH_APPINIT', 1)] + defs,
include_dirs = include_dirs,
libraries = libs,
library_dirs = added_lib_dirs,
+ runtime_library_dirs = added_lib_dirs,
)
self.extensions.append(ext)
- -------------------------------------------------------------------
This disable IPV6 support on Hurd as it is not working :
- -------------------------------------------------------------------
- --- /data2/python2.3_orig/python2.3-2.3.2/debian/rules 2003-11-22 04:49:58.000000000 +0100
+++ /src/python2.3/python2.3-2.3.2/debian/rules 2003-11-22 04:51:19.000000000 +0100
@@ -102,10 +102,15 @@
LIBRARY=libpython$(VER)-pic.a libpython$(VER)-pic.a
touch stamp-build-shared
- -common_configure_args = \
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+COPT=
+ifneq "$(DEB_HOST_GNU_TYPE)" "i386-gnu"
+ COPT=--enable-ipv6
+endif
+
+common_configure_args = $(COPT) \
--prefix=/usr \
--with-fpectl \
- - --enable-ipv6 \
--enable-unicode=ucs4 \
--without-cxx
- -------------------------------------------------------------------
I'm looking at the thread problem but it is really tricky.
I tried disabling threads totaly using --without-threads but it didn't
worked at all.
I really wonder what this configure is really doing...
Duck
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQE/vt9HsczZcpAmcIYRAnfVAJ40XUF5wXNBvrH8SQQhDK2OT9+U6ACfSKA3
mO/S+U1akveW/kHLEOgCd90=
=cZuf
-----END PGP SIGNATURE-----
Reply to: