Main index > Installation problems > X window support on Ubuntu 5.10 [SOLVED]

By wenca (User), on Fri Nov 11 08:57:18 2005: X window support on Ubuntu 5.10 [SOLVED].

Hi

I have a problem. I trying to run adesklets on Ubuntu 5.10 - Breeze Badger and fluxbox.
I installed adesklets whith support x window by typing

./configure -with-x
make
su make install

everthing seems to by ok, no errors.

now I try whether adesklets runs typing this

wenca@wenca-notebook:~/.fluxbox/adesklets/adesklets-0.4.12$ adesklets :
adesklets 0.4.12 (Fri Nov 11 14:34:47 CET 2005), on Linux 2.6.12-9-386
[gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)]
Press TAB for hints.
0 >>> x_status
command 0 ok: x_status 0 (X Window support not compiled in)
1 >>>

or by this easy example, which when everithnig is ok show some window, but I have this error:

wenca@wenca-notebook:~/.fluxbox/adesklets/adesklets-0.4.12$ adesklets :
adesklets 0.4.12 (Fri Nov 11 14:34:47 CET 2005), on Linux 2.6.12-9-386
[gcc 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)]
Press TAB for hints.
0 >>> images_info
2 images
id 0 width 1 height 1 alpha 1 filename (null)
id 1 width 1 height 1 alpha 1 filename (null)
command 0 ok: images_info
1 >>> window_resize 1OO 1OO
command 1 ok: window_resize 1OO 1OO
2 >>> window_reset managed
command 2 error: could not reset main window
3 >>> window_show
command 3 error: X connection or window missing


I don't know where is problem, libstatgrab-0.12 and pystatgrab-0.4 are both instaled.

By syfou (Core Developer & Desklet Author), on Fri Nov 11 14:15:29 2005.

Quote:


command 0 ok: x_status 0 (X Window support not compiled in)

From there, you know you cannot have desklets: for some unspecified reason, the support for X was completely purged from the compilation. By the way, I do not think it will explain this, but there is a typo in your first line; it should read: ./configure --with-x (in fact, this is the default: no need to give the switch).

As for your second example, adesklets is made to be used as a command-line oriented graphic editor; that's why all operations that do not need X are carried out correctly. Do not worry about statgrab either: the core interpreter do not use it at all.

Most of the time, this is caused by platform not having the X11 headers installed, making impossible to build new X11 programs based on the core protocol: didn't you have a warning at the end of the configure phase similar too:

Quote:


you choosed to perform an `X Window less' build -
which means you will eventually end up with
a strictly command line program free of all
dependencies on xlib. If it is not what you intended
please reconfigure. For this to work you do need first
to configure your Imlib2 incantation for not using
X Window itself.

? A quick search on ubuntu forum tells me the headers are in the xlibs-dev package. If you cannot solve this, just send be your config.log by email (syfou@users.sourceforge.net), and I'll have a careful eye to see if there is anything else. Yours,

By wenca (User), on Sat Nov 12 04:40:18 2005.

thank you, it works. I havn't xlibs-dev library


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.