Hi,
I've just compiled up lyx-1.2 under Solaris 8 and get the following
error when starting it:
BadValue (integer parameter out of range for operation) id: 24
Abort
I did a bit of digging around and find that this only happens on my
24bit depth Xserver and not 8bit depth.
The exact story is as follows (apologies for the length - hopefully
I've included all - and more I suspect - pertinent information).
1. Compiled lyx-1.2 under sparc Solaris 8 (on a Ultra10) with the
following configure string
./configure --prefix=/home/ds19/pkg/lyx-1.2.0 --with-frontend=xforms --with-x
--enable-shared
2. this links in with my installed copies of Xforms-0.89 and
Xpm-4.11 - both supported version as I read it ..
~% ldd pkg/lyx-1.2.0/bin/lyx
libforms.so.0.89 => /usr/local/lib/libforms.so.0.89
libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11
libSM.so.6 => /usr/lib/libSM.so.6
libICE.so.6 => /usr/lib/libICE.so.6
libX11.so.4 => /usr/lib/libX11.so.4
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libstdc++.so.2.10.0 => /usr/local/gnu/lib/libstdc++.so.2.10.0
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libucb.so.1 => /usr/ucblib/libucb.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libelf.so.1 => /usr/lib/libelf.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libXext.so.0 => /usr/lib/libXext.so.0
libmp.so.2 => /usr/lib/libmp.so.2
libdga.so.1 => /usr/openwin/lib/libdga.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
3. I have 3 monitors connected to my U10; one running in 24bit mode
on my Creator3D card and one in 8bit mode on my pgx24 card
When I run it on the 24 bit screen I get the error:
~% ~/pkg/lyx-1.2.0/bin/lyx
BadValue (integer parameter out of range for operation) id: 24
Abort
When I run it on the 8bit screen I get
~% ~/pkg/lyx-1.2.0/bin/lyx
Failed to share colors. Using private colormap
But it loads and runs - but all the screen colours are messed up
when ever I move the mouse focus out of the lyx application.
So it seems to fall over on the 24 screen. Most of my users run in
24bit and when I compile and distribute the pkk via NFS it's going
to be used by 24bit users.
4. I'm suspecting it;s some sort of X depth error - is there
something I can do to rectify this without having to reset all users
X to run in 8bit depth.
Additionally I have gtk/gtkmm installed (not the full gnome) I could
try building with that if it's going to work.
Thanks in advance for any replies. If anyone needs to know anything
else pls let me know.
Surinder
PS. *a long shot* I'm trying the above configure string again
without the --enable-shared - it takes for ever to compile though so
it hasn't finished yet.