dtrace doesn't have a -h option[1]. If you can live without dtrace
probes in Python, you can comment out the %patch7 line in
SUNWPython.spec.
Laca
[1] Generate a header file containing macros that correspond
to probes in the specified provider definitions
On Mon, 2007-08-20 at 16:11 +0200, G??rard Henry wrote:
> hello all,
> on solaris 10 U2, i'm working with CBE 1.6 to install JDS4. I 'm also
> usig Sun Studio 12.
> log file said:
> ...
> pkgbuild: + make
> pkgbuild: /opt/SUNWspro/bin/cc -c -OPT:Olimit=0 -DNDEBUG -O -I.
> -I./Include -DPy_BUILD_CORE -o Modules/python.o Modules/python.c
> ...
> pkgbuild: cc: Warning: illegal option -OPT:Olimit=0
> pkgbuild: dtrace -o Python/python.h -32 -C -h -s ./Python/python.d
> pkgbuild: dtrace: illegal option -- h
> pkgbuild: Usage: dtrace [-32|-64] [-aACeFGHlqSvVwZ] [-b bufsz] [-c cmd]
> [-D name[=def]]
> ...
> pkgbuild: make: *** [Python/python.h] Error 2
> pkgbuild: Bad exit status from
> /var/tmp/pkgbuild-henry/pkgbuild-tmp-2.15837 (%build)
> --- command output ends --- finished at Mon Aug 20 15:51:32 CEST 2007
>
> INFO: pkgbuild -ba finished at Mon Aug 20 15:51:32 CEST 2007
>
> ERROR: SUNWPython FAILED
>
> Anybody can help? Thanks in advance,
>