Message281627
By invoking an out of tree build of python with the --with-dtrace flag enabled, make fails with an error.
Create a new folder at the source directory:
$ mkdir _build && cd _build
$ ../configure --with-dtrace
$ make
/usr/bin/dtrace -o Include/pydtrace_probes.h -h -s ../Include/pydtrace.d
Traceback (most recent call last):
File "/usr/bin/dtrace", line 440, in <module>
sys.exit(main())
File "/usr/bin/dtrace", line 385, in main
providers.probe_write(s_filename, filename + suffix)
File "/usr/bin/dtrace", line 181, in probe_write
hdr = open(header, mode='w')
FileNotFoundError: [Errno 2] No such file or directory: 'Include/pydtrace_probes.h'
Makefile:896: recipe for target 'Include/pydtrace_probes.h' failed
make: *** [Include/pydtrace_probes.h] Error 1
This is because the Include directory doesn't exist.
Attaching a patch to fix this. |
|
Date |
User |
Action |
Args |
2016-11-24 10:10:45 | cstratak | set | recipients:
+ cstratak |
2016-11-24 10:10:45 | cstratak | set | messageid: <1479982245.65.0.843842109576.issue28787@psf.upfronthosting.co.za> |
2016-11-24 10:10:45 | cstratak | link | issue28787 messages |
2016-11-24 10:10:45 | cstratak | create | |
|