Hiya, remember me? No? .. well, I posted a few times on and off over the
last little while about trying to get Blackbox to compile under Solaris
2.5.1. Having no luck finding help on the list, I finnaly sat down a few
days ago and tried to get the dam thing to compile myself. I knew the
problem was somthing simple, but I'm in NO way C or C++ inclined, so I
cannot exactly fix it as it should be (more on this later).
What was the problem you ask? Solaris didn't like the way Blackbox was
defining it's signal handlers (I think ... heh).... To fix it, or at
least get Blackbox to compile, I removed the whole "If" block.
After starting the compile again, there was another minor error in which a
"*" symbol had to be removed. After those minor changes (notice I don't
call them fixes as they are not fixing the problem, but avoiding them),
blackbox _compiled_ fine but has a few annoying display problems.
This is the diff:
# diff blackbox.cc blackbox.cc.back
242a243,256
> struct sigaction action;
>
> action.sa_handler = signalhandler;
> action.sa_mask = sigset_t();
> action.sa_flags = SA_NOCLDSTOP | SA_NODEFER;
>
> sigaction(SIGSEGV, &action, NULL);
> sigaction(SIGFPE, &action, NULL);
> sigaction(SIGTERM, &action, NULL);
> sigaction(SIGINT, &action, NULL);
> sigaction(SIGCHLD, &action, NULL);
> sigaction(SIGHUP, &action, NULL);
> sigaction(SIGALRM, &action, NULL);
> sigaction(SIGUSR2, &action, NULL);
416c430
< struct itimerval remain;
---
> struct itimerval *remain;
#
I'll briefly describe the display problems now, and if anyone wants to
know more or supply possible fixes I'd be happy to try them out.
First up is window creation itself. Upon opening any windows (xterm,
netscape, etc), there is an error message dumped to the console (or if you
don't have xconsole running yet, such is the case when the server is first
started -- it's dumped to the tty itself (looks ugly and messes up the
background)).
/usr/local/share/Blackbox/brueghel/stylesmenu: No such file or directory
X Error of failed request: BadValue (integer parameter out of range for
operation)
Major opcode of failed request: 113 (X_KillClient)
Value in failed request: 0x22300
Serial number of failed request: 29
Current serial number in output stream: 32
there are also some weird rendering problems I seem to not be able to
reproduce now ... Really odd things like dragging a window would leave a
one-pixel thick line around the top of where the window and co-ordinate
box were. The resolution I noticed is also not the same.
Sorry if I seem to make no sence, it's 6am and I'm tired. <G> ...
Lettme know ...
-- Today's useless thought:
Dear Lord:
I just want *one* one-armed manager so I never have to hear "On
the other hand", again.
--