➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 pitrou
收信人 BreamoreBoy, Garen, belopolsky, bretthoerner, chrismiles, danchr, dhduvall, dmalcolm, fche, glyph, jbaker, jcea, laca, mjw, movement, pitrou, rhettinger, robert.kern, ronaldoussoren, sirg3, techtonik, twleung, wsanchez
日期 2010-10-26.17:29:11
SpamBayes Score 4.0746356e-05
Marked as misclassified 否
Message-id <1288114153.06.0.281556269601.issue4111@psf.upfronthosting.co.za>
In-reply-to
内容
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])
历史
日期 用户 动作 参数
2010-10-26 17:29:13pitrou修改recipients: + pitrou, rhettinger, jcea, ronaldoussoren, belopolsky, wsanchez, movement, techtonik, glyph, bretthoerner, laca, twleung, jbaker, robert.kern, sirg3, chrismiles, danchr, dhduvall, dmalcolm, mjw, Garen, BreamoreBoy, fche
2010-10-26 17:29:13pitrou修改messageid: <1288114153.06.0.281556269601.issue4111@psf.upfronthosting.co.za>
2010-10-26 17:29:11pitrou链接issue4111 messages
2010-10-26 17:29:11pitrou创建