problems compiling perl5.001m on Solaris 2.4 (sparcstation 20).
Actually it compiles fine but fails the lib/posix.t tests (9, 10, 11).
Checking with the perl debugger against perl5.000 on another Solaris
2.4 machine shows that the line
kill 'HUP', $$;
does nothing with perl5.001m but invokes the SigHUP routine on
perl5.000.
kill 'INT', $$;
works in both cases.
I've compiled with both /opt/SUNWspro/bin/cc and gcc 2.6.3 with the
same results in both cases.
According to the newsgroup and to all the notes I could find, perl5
shouldn't be having this result.
I suspect this may have something to do with the signal handling
problem mentioned in the PERL faq
> Michael D'Errico* reports:
>
> If you are using Solaris 2.x, the signal handling is broken. If
> you set up a signal handler such as 'ripper' it will be forgotten
> after the first time the signal is caught. To fix this, you need
> to recompile Perl. Just add '#define signal(x,y) sigset((x),(y))'
> after the '#include <signal.h>' directive in each file that it
> occurs, then make it again.
However (a) that seemed to be specific to perl4 and (b) adding it to
mg.c and util.c did nothing.
puzzled,
Emma
Actually it compiles fine but fails the lib/posix.t tests (9, 10, 11).
Checking with the perl debugger against perl5.000 on another Solaris
2.4 machine shows that the line
kill 'HUP', $$;
does nothing with perl5.001m but invokes the SigHUP routine on
perl5.000.
kill 'INT', $$;
works in both cases.
I've compiled with both /opt/SUNWspro/bin/cc and gcc 2.6.3 with the
same results in both cases.
According to the newsgroup and to all the notes I could find, perl5
shouldn't be having this result.
I suspect this may have something to do with the signal handling
problem mentioned in the PERL faq
> Michael D'Errico* reports:
>
> If you are using Solaris 2.x, the signal handling is broken. If
> you set up a signal handler such as 'ripper' it will be forgotten
> after the first time the signal is caught. To fix this, you need
> to recompile Perl. Just add '#define signal(x,y) sigset((x),(y))'
> after the '#include <signal.h>' directive in each file that it
> occurs, then make it again.
However (a) that seemed to be specific to perl4 and (b) adding it to
mg.c and util.c did nothing.
puzzled,
Emma