February 8th, 2004

(no subject)

I'm attempting to compile logjam 4.3.0 on SuSE 8.2 with gtkspell enabled.

The configure script fails to find gtkspell.

dustpuppy:/usr/local/src/logjam-4.3.0 # rpm -qa | grep gtkspell
OK, so gtk and its development libraries are installed....
dustpuppy:/usr/local/src/logjam-4.3.0 # ./configure --with-gtkspell

[lots of output from configure deleted]

checking for gtkspell-2.0... not found

[more stuff deleted]

logjam 4.3.0 build configuration:

- Using GTK: yes
- Using GtkSpell: no
- Using GtkHTML: no
- Using librsvg: no
- Use docklet ("tray icon"): yes
- Using networking backend: curl
- Build XMMS helper: yes

dustpuppy:/usr/local/src/logjam-4.3.0 #

Item 1: I can't figure out why the configure script isn't finding gtkspell.

Item 2: shouldn't the configure script fail if you specify "--with-gtkspell" on the command line and the gtkspell libraries are not found? I had to grovel through quite a bit out output to find the one specific place where configure didn't find the libraries in question.

LogJam on SuSE - some GOOD news

We all know that getting LogJam to work on SuSE is a pain for many people, at least if you want any of the optional features. However, it can be done, and without any symlinking hacks and/or installing non-SuSE packages. (In 8.2, I was able to get everything to work by installing gtkspell, gtkhtml, and librsvg packages from Ximian. Oh the irony.) Previously I was unable to figure out why it just worked for me and not for others. Recently I've had to work on my old box, and neither gtkhtml nor gtkspell was being recognized on it, so I've had a chance to poke around with that.

I managed to get it to work by installing various other GNOME devel packages that gtkhtml2-devel doesn't explicitly depend on, but needs anyway to be recognized by pkg-config. These are more apt to be installed by default on a GNOME system, but not necessarily by SuSE, which is why it has problems. So it seems to me that it might not actually be SuSE's fault that pkg-config doesn't find them.


pkg-config --libs libgtkhtml-3.0 gtkspell-2.0 librsvg-2.0
-pthread -Wl,--export-dynamic -L/opt/gnome/lib -L/usr/X11R6/lib -lgtkhtml-3.0 -lgtkhtml-a11y-3.0 -lgnomeui-2 -lSM -lICE -lgnomeprintui-2-2 -lgal-2.0 -lbonoboui-2 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lgnomecanvas-2 -lglade-2.0 -lgnomeprint-2-2 -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoxft-1.0 -lpangox-1.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lart_lgpl_2 -lpangoft2-1.0 -lgsf-1 -lpango-1.0 -lgmodule-2.0 -ldl -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0

...seems to indicate what other libs pkg-config needs to be happy. The packages that provide all the libraries mentioned are: atk-devel, bonobo-activation-devel, gconf2-devel, glib2-devel, gnome-vfs2-devel, gtkhtml2-devel, libart_lgpl-devel, libbonobo-devel, libbonoboui-devel, libgnomecanvas-devel, libgnome-devel, libgnomeprint-devel, libgnomeprintui-devel, libgnomeui-devel, libgsf-devel, librsvg-devel, libxml2-devel, orbit2-devel, and pango2-devel, along with whatever they depend on. Obviously this looks like a lot, but it may not all be necessary, but I have all these packages installed, and they're all referenced in the pkg-config output above. If you can help narrow down the list, great.

I've tried to build an RPM, but the build process keeps failing due to something with gdk-pixbuf, so the best I can do is recommend you try adding the aforementioned GNOME devel packages.

On the subject of HTML preview, it'd be nice to be able to have a "Preview" button right next to the Submit one. I always preview before I post, so it'd be very useful for me. Otherwise, 4.3 is fantastic.