|
| Stuck at glib PKG-CONFIG |
 |
Sun, 13 Apr 2008 00:16:02 GMT |
Hi, guys, nice meeting you.
I'm a newbie but I know a thing or two about linux.
I'm using OpenSuse 10.3 x64. Just to mention that its installer sucks
and it uses A LOT of processing power. ¬¬". It's REALLY stable, tough.
Here's the deal:
I'm trying to install stardict-tools (the latest version, tarball) by
the command line but it says it requires latest version of gtk. Here's
the lines:
checking for STARDICT... configure: error: Package requirements
(gtk+-2.0 >= 2.6) were not met:
No package 'gtk+-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables STARDICT_CFLAGS
and STARDICT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
andrius@linux-1nfp:~/MyDownloads/stardict-tools-3.0.1>
Note: I'm not sure if I got gtk+2.6 installed! Anyway it seems that my
gtk+ installation is outdated. So I tried installing it and look what I
got:
checking for BASE_DEPENDENCIES... configure: error: Package
requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3
cairo >= 1.2.0) were not met:
No package 'atk' found
No package 'pango' found
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables
BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
GTK installer says now that glib is outdated too!
Here I go again, I try to install glib according to install.txt file
and everything seems to run OK.
Then I try to install GTK again and the same error happens:
checking for BASE_DEPENDENCIES... configure: error: Package
requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3
cairo >= 1.2.0) were not met:
No package 'atk' found
No package 'pango' found
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables
BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
OK.
Since I'm a newbie, I tried installing "atk" latest version just to
see
how it goes and look what I got:
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.14.6, but GLIB
(2.14.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the
error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by
editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable
PKG_CONFIG_PATH
*** to point to the correct configuration files
no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.14.6, but GLIB
(2.14.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the
error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by
editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable
PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is
installed
*** but not in the same location as pkg-config add the location of the
file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
It apparently looks like I have too versions of glib installed.
I've heard it's got something to do with PKG_CONFIG_PATH. I tried all
the steps mentioned in some forums and NOTHING.
It looks like I gotta remove oldest Glib installed on my pc which is
2.14.1, how do I do it?
I tried using Yast but it wants to remove gtk too. I didn't do it yet
because I'm afraid it might corrupt my system installation.
I hope somebody helps me.
--
gabito_rs
------------------------------------------------------------------------
gabito_rs's Profile: http://forums.novell.com/member.php?userid=14035
View this thread: http://forums.novell.com/showthread.php?t=323964
|
| Post Reply
|
| Re: Stuck at glib PKG-CONFIG |
 |
Thu, 17 Apr 2008 08:46:45 GMT |
gabito,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following
options:
- Do a search of our SDB at http://en.opensuse.org/SDB:SDB
- Check all of the other information and support options available at
http://www.opensuse.org/
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our
apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/
|
| Post Reply
|
| Re: Stuck at glib PKG-CONFIG |
 |
Thu, 17 Apr 2008 11:41:15 GMT |
On Sun, 13 Apr 2008 00:16:02 GMT
gabito rs <gabito_rs@no-mx.forums.novell.com> wrote:
>
> Hi, guys, nice meeting you.
>
> I'm a newbie but I know a thing or two about linux.
> I'm using OpenSuse 10.3 x64. Just to mention that its installer sucks
> and it uses A LOT of processing power. ¬¬". It's REALLY stable,
tough.
> Here's the deal:
> I'm trying to install stardict-tools (the latest version, tarball) by
> the command line but it says it requires latest version of gtk. Here's
> the lines:
>
> checking for STARDICT... configure: error: Package requirements
> (gtk+-2.0 >= 2.6) were not met:
>
> No package 'gtk+-2.0' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables STARDICT_CFLAGS
> and STARDICT_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> andrius@linux-1nfp:~/MyDownloads/stardict-tools-3.0.1>
>
> Note: I'm not sure if I got gtk+2.6 installed! Anyway it seems that my
> gtk+ installation is outdated. So I tried installing it and look what
> I got:
>
> checking for BASE_DEPENDENCIES... configure: error: Package
> requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >=
1.17.3
> cairo >= 1.2.0) were not met:
>
> No package 'atk' found
> No package 'pango' found
> No package 'cairo' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables
> BASE_DEPENDENCIES_CFLAGS
> and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> GTK installer says now that glib is outdated too!
> Here I go again, I try to install glib according to install.txt file
> and everything seems to run OK.
> Then I try to install GTK again and the same error happens:
>
>
> checking for BASE_DEPENDENCIES... configure: error: Package
> requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >=
1.17.3
> cairo >= 1.2.0) were not met:
>
> No package 'atk' found
> No package 'pango' found
> No package 'cairo' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables
> BASE_DEPENDENCIES_CFLAGS
> and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> OK.
> Since I'm a newbie, I tried installing "atk" latest version just
to
> see how it goes and look what I got:
>
> checking pkg-config is at least version 0.16... yes
> checking for GLIB - version >= 2.5.7...
> *** 'pkg-config --modversion glib-2.0' returned 2.14.6, but GLIB
> (2.14.1)
> *** was found! If pkg-config was correct, then it is best
> *** to remove the old version of GLib. You may also be able to fix the
> error
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by
> editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
> *** required on your system.
> *** If pkg-config was wrong, set the environment variable
> PKG_CONFIG_PATH
> *** to point to the correct configuration files
> no
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking pkg-config is at least version 0.16... yes
> checking for GLIB - version >= 2.0.0...
> *** 'pkg-config --modversion glib-2.0' returned 2.14.6, but GLIB
> (2.14.1)
> *** was found! If pkg-config was correct, then it is best
> *** to remove the old version of GLib. You may also be able to fix the
> error
> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by
> editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
> *** required on your system.
> *** If pkg-config was wrong, set the environment variable
> PKG_CONFIG_PATH
> *** to point to the correct configuration files
> no
> configure: error:
> *** GLIB 2.0.0 or better is required. The latest version of
> *** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is
> installed
> *** but not in the same location as pkg-config add the location of the
> file
> *** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
>
> It apparently looks like I have too versions of glib installed.
> I've heard it's got something to do with PKG_CONFIG_PATH. I tried all
> the steps mentioned in some forums and NOTHING.
> It looks like I gotta remove oldest Glib installed on my pc which is
> 2.14.1, how do I do it?
> I tried using Yast but it wants to remove gtk too. I didn't do it yet
> because I'm afraid it might corrupt my system installation.
>
> I hope somebody helps me.
>
>
Hi
Generally you need the <application_name>-devel (or dev) file
installed for compiling from source.
I would recommend using the build service, search here for 'stardict'
http://software.opensuse.org/search
and then use the 1-click install for the version you want...
--
Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP1 x86_64 Kernel 2.6.16.54-0.2.5-smp
up 3 days 10:21, 1 user, load average: 0.22, 0.27, 0.13
|
| Post Reply
|
|
|