Hallo,
um meine Daten zu visualisiern möchte ich das 'neue' scigraphica kompilieren.
dazu brauche ich gtk+ und gtkextra.
debian bietet diese nicht als pakete an oder ist das die libgtk2?
beim configure von gtk+ erhalte ich:
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found.
libx11 ist da, auch als devel, genauso die libxfree86. wie kann ich das problem beheben?
gtk+, gtkextra kompilieren
-
- Beiträge: 117
- Registriert: 19.07.2004 18:17:42
ein
ln -s /usr/X11R6/lib/libX11.a libX11.a udgl. für .so hilft bei gtk+ erst mal weiter.
das gesuchte x11.pc konnte ich niergends finden....
ich führe im folgenden einfach mal buch, falls jemand ähnliche probleme hat...
ein make liefert:
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmDetach'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmCreateImage'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmPutImage'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmAttach'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmQueryVersion'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmQueryExtension'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmGetEventBase'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmCreatePixmap'
Lösung: -lXext mit dazulinken
dann hab ich:
../../../gtk/gtkclist.h:155: error: syntax error before 'GMemChunk'
../../../gtk/gtkclist.h:155: warning: no semicolon at end of struct or union
../../../gtk/gtkclist.h:156: warning: type defaults to 'int' in declaration of 'cell_mem_chunk'
../../../gtk/gtkclist.h:156: warning: data definition has no type or storage class
../../../gtk/gtkclist.h:245: error: syntax error before '}' token
die zeilen sehen so aus:
struct _GtkCList
{
GtkContainer container;
guint16 flags;
/* mem chunks */
GMemChunk *row_mem_chunk;
GMemChunk *cell_mem_chunk;
nix offensichtliches... hat jemand ne idee?
ln -s /usr/X11R6/lib/libX11.a libX11.a udgl. für .so hilft bei gtk+ erst mal weiter.
das gesuchte x11.pc konnte ich niergends finden....
ich führe im folgenden einfach mal buch, falls jemand ähnliche probleme hat...
ein make liefert:
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmDetach'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmCreateImage'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmPutImage'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmAttach'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmQueryVersion'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmQueryExtension'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmGetEventBase'
/home/alexp/wicht_soft/gtk+-2.6.10/gdk/.libs/libgdk-x11-2.0.so: undefined reference to `XShmCreatePixmap'
Lösung: -lXext mit dazulinken
dann hab ich:
../../../gtk/gtkclist.h:155: error: syntax error before 'GMemChunk'
../../../gtk/gtkclist.h:155: warning: no semicolon at end of struct or union
../../../gtk/gtkclist.h:156: warning: type defaults to 'int' in declaration of 'cell_mem_chunk'
../../../gtk/gtkclist.h:156: warning: data definition has no type or storage class
../../../gtk/gtkclist.h:245: error: syntax error before '}' token
die zeilen sehen so aus:
struct _GtkCList
{
GtkContainer container;
guint16 flags;
/* mem chunks */
GMemChunk *row_mem_chunk;
GMemChunk *cell_mem_chunk;
nix offensichtliches... hat jemand ne idee?
Zuletzt geändert von alexatdebian am 12.07.2006 10:58:10, insgesamt 1-mal geändert.
- kobayashimaru
- Beiträge: 53
- Registriert: 11.07.2004 16:51:18
- Wohnort: Dortmund
-
Kontaktdaten:
-
- Beiträge: 117
- Registriert: 19.07.2004 18:17:42
hab ich beide installiert....
ich bekomme folgende fehlermeldung von scigraphica's configure:
Package x11 was not found in the pkg-config search path. Perhaps you should add the directory containing `x11.pc' to the PKG_CONFIG_PATH environment variable Package 'x11', required by 'GDK', not found
ich kann leider x11.pc nicht finden.... gibts da abhilfe?
ich bekomme folgende fehlermeldung von scigraphica's configure:
Package x11 was not found in the pkg-config search path. Perhaps you should add the directory containing `x11.pc' to the PKG_CONFIG_PATH environment variable Package 'x11', required by 'GDK', not found
ich kann leider x11.pc nicht finden.... gibts da abhilfe?
-
- Beiträge: 117
- Registriert: 19.07.2004 18:17:42
die wurzel des ganzen übels ist folgendes:
pkg-config --list-all
liefert:
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
Package 'x11', required by 'Xfixes', not found
kann man das fixen?
ausserdem fehlt in der liste Package gtkextra-2.0
per apt bekomme ich nur libgtkextra-1.00 oder libgtkextra17 (version 0.99.)
beide habe ich installiert, tauchen aber bei pkg-config --list-all nicht auf.
was tun?
pkg-config --list-all
liefert:
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
Package 'x11', required by 'Xfixes', not found
kann man das fixen?
ausserdem fehlt in der liste Package gtkextra-2.0
per apt bekomme ich nur libgtkextra-1.00 oder libgtkextra17 (version 0.99.)
beide habe ich installiert, tauchen aber bei pkg-config --list-all nicht auf.
was tun?