[gtkada] Cannot run gtkada programs in Ubuntu 8.04

Michael Gonzalez mgh at unican.es
Thu Jan 29 11:51:28 CET 2009


Hello,

Michael Gonzalez wrote:
> Hello,
> 
> I've recently installed Ubuntu 8.04,  GNAT-GPL 2008 and 
> Gtkada-gpl-2.10.2. Gtkada programs (like testgtk) compile fine, but when 
> I run them I get the message:
> 
> ./testgtk: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion
> `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
> 
> raised PROGRAM_ERROR : unhandled signal
> 
> Any workarounds?

I just got the answer to this problem from AdaCore, so I post it here in 
case it is useful to somebody else.

-------------------------------------------------------------

Arnaud Charlet wrote:


You need to use the Gtk+ libraries from the system and not the ones 
coming with
GtkAda which are not compatible with ubuntu (by e.g. not setting your
LD_LIBRARY_PATH).

Arno


Michael Gonzalez wrote:

Thank you very much.

Unsetting LD_LIBRARY_PATH was not enough to solve the problem because 
libgtkada.so is required, but I copied that library to a directory 
containing other common libraries and that solved the problem.

Best regards,

Michael González.

-----------------------------------------------------------------------
Michael Gonzalez Harbour                  E-mail: mgh at unican.es
Grupo de Computadores y Tiempo Real       URL: http://www.ctr.unican.es
Facultad de Ciencias                      Phone : +34-942-201483
Universidad de Cantabria                  Fax   : +34-942-201402
Avda. de los Castros s/n
E-39005 Santander
SPAIN
-----------------------------------------------------------------------




More information about the gtkada mailing list