[New-bugs-announce] [issue17092] Disable TIPC in configure

ddvento@ucar.edu report at bugs.python.org
Thu Jan 31 18:12:52 CET 2013

New submission from ddvento at ucar.edu:

This is related to Issue17085 and Issue1646

My system is a cluster Red Hat Enterprise Linux Server release 6.2 (Santiago) and it happens to have /usr/include/linux/tipc.h but probably tipc disabled in the kernel for some reasons which I ignore. There is little interest and no time from the sysadministrators to investigate TIPC, or to remove unneeded files or packages.

When I configure and build Python 2.7.3, it seems to  build correctly. However the test suite crashes as described in Issue17085.

Therefore, I want to rebuild Python 2.7.3 with TIPC disabled. Unfortunately, configure seems to ignore all of the followings:

./configure --without-tipc
./configure --without-TIPC
HAVE_LINUX_TIPC_H=0 ./configure

(for the record, my other configure options are --enable-shared --with-system-expat --prefix=my-path)

I also tried to manually editing config.status as follows:

--- config.status.orig  2013-01-31 09:24:04.109311726 -0700
+++ config.status       2013-01-31 09:28:28.397660288 -0700
@@ -854,7 +854,7 @@
 D["HAVE_SPAWN_H"]=" 1"
 D["HAVE_DIRENT_H"]=" 1"
 D["HAVE_TERM_H"]=" 1"

then run it and check that pyconfig.h has #define HAVE_LINUX_TIPC_H 0 (which it did). Running make and make test after this, produces exactly the same issue as described in Issue17085.

Is there a way to force configure to ignore TIPC?

components: Build
messages: 181037
nosy: ddvento at ucar.edu
priority: normal
severity: normal
status: open
title: Disable TIPC in configure
versions: Python 2.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list