?

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: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)