From: Malte Horst Arthur Skoruppa To: lablgtk at kaba.or.jp Subject: Re: Error in glGtk.cmi Date: Sun, 26 Oct 2003 01:54:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310260154.41976.malte at countnumber.de> Well... I just fixed this last error. I had to add the line #include to the src/ml_panel.c (where GNOME_CLIENT_PARAM_SM_CONNECT is defined) I'm wondering though, how come nobody needs to do it, apart from me (as I guess it just works for other people)? Anyways, you should patch this in the source. The problem may occur to others! (if you want to answer me, please don't forget to cc me) Thanks, Malte Am Sonntag, 26. Oktober 2003 01:34 schrieben Sie: > Hi, > > well in the end I could fix the error. > > This was simply because I didn't install lablGL! > > I have GtkGLArea, but not lablGL. So of course it gave a compiler error. I > think the configure script should *detect* it though, when a user doesn't > have lablGL. That's exactly the kind of thing a configure script is > intended to, isn't it? ;-) > > Now, I could go on with the installation, but it failed AGAIN (man! I'm > damned...). Please consider the following output: > > fuchur:~/arc/lablgtk-2.2.0 # make > > ... > > ocamlc.opt -c -ccopt "-O -DG_DISABLE_CAST_CHECKS -DORBIT2=1 -pthread > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/gtkgl-2.0 -I/opt/gnome2/include/libglade-2.0 > -I/usr/include/libxml2 > -I/opt/gnome2/include/librsvg-2 -I/usr/include/libart-2.0 > -I/opt/gnome2/include/libgnomecanvas-2.0 > -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnome-2.0 > -I/opt/gnome2/include/gconf/2 > -I/opt/gnome2/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 > -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 > -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/usr/include/linc-1.0 > -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/panel-2.0 > " ml_panel.c > ml_panel.c: In function `ml_panel_applet_factory_main': > ml_panel.c:187: error: `GNOME_CLIENT_PARAM_SM_CONNECT' undeclared (first > use in this function) > ml_panel.c:187: error: (Each undeclared identifier is reported only once > ml_panel.c:187: error: for each function it appears in.) > make[1]: *** [ml_panel.o] Fehler 2 > make[1]: Leaving directory `/root/arc/lablgtk-2.2.0/src' > make: *** [all] Fehler 2 > > This time it seems like a serious error to me. This time I checked, every > one of the directories specified in the -I parameteres exists. Every *.h > file included in the header of ml_panel.c exists on my system and should be > found. > > Any ideas? > > (please, don't forget to cc me, as I'm not in the mailing list) > > Malte > > Am Sonntag, 26. Oktober 2003 00:07 schrieben Sie: > > Hi, > > > > when I try to compile LablGTK, I get the following error: > > > > fuchur:~/arc/lablgtk-2.2.0 # make > > make -C src all > > make[1]: Entering directory `/root/arc/lablgtk-2.2.0/src' > > ocamlc.opt -I /usr/lib/ocaml/lablGL -w s -c glGtk.mli > > File "glGtk.mli", line 65, characters 20-28: > > Unbound type constructor Raw.t > > make[1]: *** [glGtk.cmi] Fehler 2 > > make[1]: Leaving directory `/root/arc/lablgtk-2.2.0/src' > > make: *** [all] Fehler 2 > > > > (it worked fine before, i.e. it already compiled several things... I just > > typed make again to show you the error, that's why it seems to be the > > "first" error) > > > > I searched with Google if someone already experienced this problem, but > > all I found was some other guy in this mailing list (and he didn't get an > > answer... I hope this won't be my fate ;-) > > > > More information: > > > > fuchur:~/arc/lablgtk-2.2.0 # uname -a > > Linux fuchur 2.4.20-4GB-athlon #1 Wed Aug 6 18:27:52 UTC 2003 i686 > > unknown unknown GNU/Linux > > > > fuchur:~/arc/lablgtk-2.2.0 # ./configure > > > > ... > > > > LablGTK configuration: > > GtkGLArea yes > > libglade yes > > librsvg yes > > libgnomecanvas yes > > libgnomeui yes > > libpanelapplet yes > > > > debug no > > C compiler gcc > > > > Any idea on how to fix this problem? Or at least workaround it? > > > > Btw, could you please cc any answers to me, as I didn't subscribe to the > > mailing list. > > > > Thanks! > > > > Malte -- Malte Skoruppa Linux User #289680