?

Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]
LogJam

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

[Feb. 8th, 2004|03:08 am]
LogJam
logjam
[bikergeek]
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
gtkspell-2.0.4-150
gtkspell-devel-2.0.4-150
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.
LinkReply

Comments:
From: compwiz
2004-02-08 10:02 am (UTC)
Okay, so what does config.log say about trying to find gtkspell?
(Reply) (Thread)
From: bikergeek
2004-02-08 10:12 am (UTC)

Re:

from config.log:

configure:21019: checking for gtkspell-2.0
configure:21032: result: not found

thanks, and hope that's helpful.
(Reply) (Parent) (Thread)
From: compwiz
2004-02-08 10:14 am (UTC)
Not at all. What happens if you run "pkg-config --list gtkspell-2.0"?
(Reply) (Parent) (Thread)
From: bikergeek
2004-02-08 10:45 am (UTC)

Re:

--list: unknown option
(Reply) (Parent) (Thread)
From: compwiz
2004-02-08 10:45 am (UTC)
err whoops, i meant --libs.
(Reply) (Parent) (Thread)
From: bikergeek
2004-02-08 11:04 am (UTC)

Re:

dustpuppy:/ # pkg-config --libs gtkspell-2.0
Package gtkspell-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkspell-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkspell-2.0' found

dustpuppy:/ # echo $PKG_CONFIG_PATH

dustpuppy:/ # export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig
dustpuppy:/ # pkg-config --libs gtkspell-2.0
-Wl,--export-dynamic -L/opt/gnome/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

Now it works! thanks.
(Reply) (Parent) (Thread)
[User Picture]From: terpsichoros
2004-02-08 11:14 am (UTC)
Logjam is built on RedHat systems, and makes use of functionality not readily available in SuSE distributions, and libraries with different names and/or version numbers than SuSE uses. Therefore, you essentially can't get LogJam more recent than 3.0.4 working on a SuSE system. Until the developers take a look at what libraries, etc., are available and not available on SuSE systems, and rewrite configure scripts, etc., we SuSE users are out of luck with LogJam 4.
(Reply) (Thread)
From: bikergeek
2004-02-08 11:27 am (UTC)

Re:

I got it built and running, although I had to install a lot of stuff that SuSE does not install as part of a standard install. Except for gtkspell it's all on the distro CDs as far as I remember. There was a lot of back-and-forth between attempting to compile, and the distro CDs, as I found out logjam demanded Yet Another Library that SuSE didn't install by default. But I perservered, and eventually won.
(Reply) (Parent) (Thread)
[User Picture]From: terpsichoros
2004-02-08 11:45 am (UTC)

Re:

I posted my difficulties with a slightly earlier version recently. I've been told that essentially, everything that LogJam actually needs is there, but is hiding in weird places or with different names.

Logjam isn't important enough to me to make the effort of fiddling with config files and strewing my system with weird symlinks unless I know exactly what I need to change.

3.0.4 works well enough for me to wait for people who know what they're doing to fix the problem.
(Reply) (Parent) (Thread)