?

Log in

No account? Create an account
LogJam on SuSE - some GOOD news - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

LogJam on SuSE - some GOOD news [Feb. 8th, 2004|09:55 pm]
LogJam

logjam

[pantsgolem]
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.

Running...

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.
LinkReply

Comments:
[User Picture]From: bikergeek
2004-02-08 10:08 pm (UTC)
Thank you for writing this up. I was considering doing the same, in order to assist other SuSE users who were having the same difficulties I was, but it looks like you beat me to it. I think part of the problem is that SuSE heavily favors KDE, making KDE the default window manager. With SuSE you need to opt for a lot of the GNOME stuff manually. Bad news if you're a GNOME partisan.
(Reply) (Thread)
[User Picture]From: terpsichoros
2004-02-08 11:04 pm (UTC)

SUCCESS!!!!!!

I'd installed most of the -devel packages, which made my difficulties more frustrating. The solution is simpler and dumber than I thought:

PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig:/usr/lib/pkgconfig

For some reason, SuSE puts a bunch of .pc files in /usr/lib/pkgconfig, but the PKG_CONFIG_PATH is set only to /opt/gnome/lib/pkgconfig . Grrr.
(Reply) (Thread)
[User Picture]From: pantsgolem
2004-02-08 11:49 pm (UTC)

Re: SUCCESS!!!!!!

Actually, editing PKG_CONFIG_PATH didn't (and still doesn't) change a thing for me; pkg-config finds things in /usr/lib/pkgconfig even if it's not explicitly declared.
(Reply) (Parent) (Thread)
From: evan
2004-02-09 09:57 am (UTC)

Re: SUCCESS!!!!!!

for what it's worth: at least on other systems, all .pc files belong in /usr/lib/pkgconfig.
(Reply) (Parent) (Thread)
[User Picture]From: notmyworld
2004-02-12 09:55 am (UTC)
I've pretty much jumped through all the hoops to get logjam to work under suse 8.2, including prayer and rain-dancing. I had no problem getting it to work with RH9, but until the issues are worked out there's no way I'm gonna be able to get it to work on my SUSE box. I like Logjam, but I like SuSE better. I refuse to use the web interface.

Anyone tried Semagic with wine yet?
(Reply) (Thread)
[User Picture]From: somnambulist
2004-11-18 03:11 am (UTC)
Grrr... Defeatist.

:)
(Reply) (Parent) (Thread)
[User Picture]From: notmyworld
2004-11-18 03:12 am (UTC)
haha... actually... I've ran Debian for a while, and I don't have any problems with livejournal anymore.
(Reply) (Parent) (Thread)