Log in

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

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

Can not configure logjam [May. 5th, 2006|12:26 am]


Please explain me where was I wrong?

#./configure LD_LIBRARY_PATH="/usr/lib" PKG_CONFIG_PATH="/usr/lib/pkgconfig" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/lib"--libdir=/usr/lib --prefix=/usr


checking for pkg-config... /usr/bin/pkg-config
checking for sqlite3... not found
checking for libsoup-2.2... not found
checking whether to use gtk... yes
checking for gtkspell-2.0... not found
checking for libgtkhtml-3.6... not found
checking for libgtkhtml-3.0... not found
checking for librsvg-2.0 > 2.2.3... not found
checking whether to use dock... yes
checking pkg-config is at least version 0.9.0... yes
checking for LOGJAM... configure: error: Package requirements (gtk+-2.0 >= 2.4 glib-2.0 gobject-2.0 libxml-2.0 gthread-2.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the LOGJAM_CFLAGS and LOGJAM_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.

But I have gtkspell-2.0 and gtk+-2.0 >= 2.4 glib-2.0 gobject-2.0 libxml-2.0 gthread-2.0


Or, what should I do to repais this?

Thank you.

[User Picture]From: jeff_simpson
2006-05-04 08:43 pm (UTC)
What distribution are you running?

What are the contents of /usr/lib/pkgconfig?

Try running those environment settings *before* the configure line, like this:

# LD_LIBRARY_PATH="/usr/lib"
# PKG_CONFIG_PATH="/usr/lib/pkgconfig"
# CPPFLAGS="-I/usr/local/include"
# LDFLAGS="-L/usr/lib"
# ./configure --libdir=/usr/lib --prefix=/usr

(Reply) (Thread)
[User Picture]From: jeff_simpson
2006-05-04 08:45 pm (UTC)
Also try this command:

# pkg-config --list-all

That should list which packages pkg-config finds.

Try this command, for example, to see if it can find gtk+, and what libs it will use:

# pkg-config --libs gtk+
(Reply) (Parent) (Thread)
[User Picture]From: jescid
2006-05-05 07:41 am (UTC)

Thank you !!!

Some Gtk *so files was installed in /usr/local/lib instead of /usr/lib (with the main pkgconfig .so files)

I think, that was mafe from Mandriva rpms (some gtk .so files in /usr/local/lib) but then probably I've installed it twice because the other apps wanted it in /usr/lib

I ve made simlinks and that did help me
(Reply) (Parent) (Thread)
[User Picture]From: autographedcat
2006-05-04 08:44 pm (UTC)
If you installed those repreqs from a package, make sure you hae the correspnding -dev packages installed as well. The -dev packages are what it actually needs to compile.
(Reply) (Thread)
From: evan
2006-05-05 01:15 am (UTC)
If you look at configure.log you should see the command it's running that's producing that failure message.

Try running
pkg-config --cflags gtkspell-2.0 gtk+-2.0 >= 2.4 glib-2.0 gobject-2.0 libxml-2.0 gthread-2.0
and see if it complains.

All of those variables you're passing to configure ought to be defaults already, I think...
(Reply) (Thread)
[User Picture]From: jescid
2006-05-05 07:36 am (UTC)

Thank you very much

Some Gtk *so files was installed in /usr/local/lib instead of /usr/lib
I ve made simlinks and that did help me
(Reply) (Parent) (Thread)