New submission from ddve...@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
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?

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

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17092>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to