Author ddvento@ucar.edu
Recipients ddvento@ucar.edu
Date 2013-01-31.17:12:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359652372.04.0.314648330864.issue17092@psf.upfronthosting.co.za>
In-reply-to
Content
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
HAVE_LINUX_TIPC_H=0 ./configure HAVE_LINUX_TIPC_H=0

(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_SYS_RESOURCE_H"]=" 1"
 D["HAVE_NETPACKET_PACKET_H"]=" 1"
 D["HAVE_SYSEXITS_H"]=" 1"
-D["HAVE_LINUX_TIPC_H"]=" 1"
+D["HAVE_LINUX_TIPC_H"]=" 0"
 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?
History
Date User Action Args
2013-01-31 17:12:52ddvento@ucar.edusetrecipients: + ddvento@ucar.edu
2013-01-31 17:12:52ddvento@ucar.edusetmessageid: <1359652372.04.0.314648330864.issue17092@psf.upfronthosting.co.za>
2013-01-31 17:12:51ddvento@ucar.edulinkissue17092 messages
2013-01-31 17:12:51ddvento@ucar.educreate