Antoine Pitrou <pit...@free.fr> added the comment: For the record, replacing /dev/null with conftest.out in the configure test solves the detection problem (and allows Python to build cleanly). However, there is then a problem in test_systemtap (even when replacing "stap" with "dtrace") since the syntax for scripts doesn't seem compatible.
In any case, the trivial fix for configure: diff -r 777b171a63ae -r 1784ac25b52e configure --- a/configure Tue Oct 26 18:50:46 2010 +0200 +++ b/configure Tue Oct 26 18:54:09 2010 +0200 @@ -9178,7 +9178,7 @@ $as_echo "$with_dtrace" >&6; } if test ! -z "$with_dtrace" then - if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null + if dtrace -G -o conftest.out -s $srcdir/Include/pydtrace.d 2>/dev/null then $as_echo "#define WITH_DTRACE 1" >>confdefs.h diff -r 777b171a63ae -r 1784ac25b52e configure.in --- a/configure.in Tue Oct 26 18:50:46 2010 +0200 +++ b/configure.in Tue Oct 26 18:54:09 2010 +0200 @@ -2466,7 +2466,7 @@ AC_MSG_RESULT([$with_dtrace]) if test ! -z "$with_dtrace" then - if dtrace -G -o /dev/null -s $srcdir/Include/pydtrace.d 2>/dev/null + if dtrace -G -o conftest.out -s $srcdir/Include/pydtrace.d 2>/dev/null then AC_DEFINE(WITH_DTRACE, 1, [Define if you want to compile in Dtrace support]) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4111> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com