[Open Office] no suitable windowing system found, exiting.

KamiHír kamihir at freemail.hu
Tue Apr 24 15:45:41 EDT 2007


  Ciao!

Petr Mladek írta:
> On Monday 23 April 2007 15:28, Kami wrote:
>   
>> Hello!
>>
>>
>>
>>
>>  I have build an sightly moded vanilla OpenOffice.org 2.2 patched with some
>> ooo-build's patches and some other smaller patches. I build on Ubuntu Linux
>> latest (7.0.4) and the compiled binary works well on it. But other system
>> has a problem with it. I tried it on Slackware and Fedora C6 an I got "no
>> suitable windowing system found, exiting." error messages. This is also
>> applies when I run it as root. I did and strace log that I attached to this
>> letter. Could you be so kind to help me out the possible root cause of
>> problem and with the possible solutions?
>>     
>
> You will have a higher chance to build an universal OOo packages if you do it 
> on a rather old system.
Which version of which distrib should be best? I really interested in 
universal OOo packages that utilize the latest innovations of OOo like 
GNOME VFS, Quick Starter... As I wrote I used Ubuntu 7.04 (my main 
machine) should I force older version of glibc/Xfree, or I have to build 
another build machine based on older distribs like Debain 3.1r6 (or 4?) 
or other? Are there detailed information about them most compatible 
versions? tools.openoffice.org? or at the wiki?

Rail's hint:
"Can you rerun with the following command:
strace -o /tmp/strace.txt -fF /path/to/soffice -writer

you need -f and -F to follow forks and threads.

I think the error comes from modular X.org which comes with dynamic
libxau (which was static before). Search for "libxau" or "xau" in strace
output.

I had such problem before. Switching to elder X.org/XFree solved "no
suitable windowing system" for me. My build machine runs Debian Sarge
which comes with XFree 4.3. Unfortunately it breaks some other optional
things like GTK+ file picker, GNOME VFS, Quick Starter (which also GTK+
program), KDE file picker...
"
and
"
Probably Linux from scratch with old glibc, old XFree and new
KDE/GNOME/GTK+ stuff. BTW, you can try --enable-static-gtk to link GTK
stuff static.
"
 >From Jim:
"Same on GNU/Linux SPARC, OOF680_m14 and not modified.

I build on debian and a user reports this problem on an older debian 
system using kde.

Searching google suggests a variety of problems and fixes but I cannot 
see a consistent pattern or anything that works for my user. The message 
comes from here:
http://www.go-oo.org/lxr/source/gsl/vcl/unx/source/plugadapt/salplug.cxx#473 


If you rebuild vcl with debug=t and drop the new lib into the installed 
OOo there will be some messages that might give a clue what goes wrong.
"

and Kay from Sun:
"
this error happens in case the to be used VCL plugin (KDE, GTK or plain 
X11) can not be loaded / instantiated. To break up the problem further, 
you may want to try to specify the to be used plugin explicitly in the 
environment:

 setenv SAL_USE_VCLPLUGIN "kde"

or

 setenv SAL_USE_VCLPLUGIN "gtk"

or

 setenv SAL_USE_VCLPLUGIN "gen"


At least "gen" should work always.

Please have a look at

http://wiki.services.openoffice.org/wiki/Environment_Variables

for other env. variables.
"
>  Also do not forget to disable all the system stuff 
> (try config_office/configure --help and check for --without-system-XXX).
>   
Is this working this way? I see just --with-system=XXX options not 
--without-system-XXX. What is the default? I expect the without system 
configuration...


> Note that distributions usually include compat packages with older libraries 
> but not to the contrary.
>
> You might also try the O3 Build CD, see 
> http://wiki.services.openoffice.org/wiki/O3-build. It is based on the build 
> environment used by Sun. I tested only the first version and had some 
> problems with it. I am not sure if it is already usable...
>   
I didn't tty it before, but interesting attempt. I had a good machine 
based on debian, but that virtual machine has gone. The new VMWare 
machine identied Debian 4 and Ubuntu 7.04 as old system with anicient 
GLIBC (Pavel do you remember?) So I prepared my desktop machine as builder.
> Also Pavel Janik does universal builds, so he might help you.
>   
I hope he has ideas about my problem. I observed his build machine, 
scipts, settings, etc. and he uses same configure settings - If I am 
right. My configure is here:
http://ooop.svn.sourceforge.net/viewvc/ooop/trunk/config_office/

It seems Windows versions works perfectly. Thank you guys for your work...



Thank you in advance,
KAMI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/openoffice/attachments/20070424/5f393723/attachment.html 


More information about the Openoffice mailing list