LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-29-2005, 05:48 PM   #16
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52

garvint go to http://easyurpmi.zarb.org (or google for 'easyurpmi mirrors' if that's down) and setup access to the software repositories. Now you'll find you have access to lots more software, including the -devel packages. Also Firefox comes with Mandriva and if you run Mandrake Update (in the Mandrake Control Centre->Software) after installing it it will be updated to a version with all the latest security and bug fixes (although it will still say version 1.0.2 in the help about). If you have Mandriva 2005LE there is no reason to try to compile firefox from source or even download the binaries from mozilla.org.
 
Old 08-31-2005, 04:42 PM   #17
Red Guy
Member
 
Registered: May 2002
Location: Tampico, Tamaulipas, México
Distribution: Mandrake 9.0
Posts: 42

Rep: Reputation: 15
I solved this:

BASE_DEPENDENCIES_CFLAGS="-I/opt/gtk-2.8/include"
BASE_DEPENDENCIES_LIBS="-L/opt/gk-2.8/lib"
export BASE_DEPENDENCIES_CFLAGS BASE_DEPENDENCIES_LIBS

I installed glib, pango in /opt/gtk-2.8, now the problem is that don't recognize pango

checking Pango flags... configure: error:
*** Pango not found. Pango built with Cairo support is required
*** to build GTK+. See http://www.pango.org for Pango information.

I have installed cairo in /opt/gtk-2.8 but gtk don't recognize this
 
Old 09-14-2005, 05:30 PM   #18
Quercus ruber
Member
 
Registered: Mar 2004
Location: Bocholt, Germany
Distribution: Slackware
Posts: 135

Rep: Reputation: 24
Quote:
When I try to ./configure GTK+-2.8.1 I receive this message:

-Requested 'glib-2.0 >= 2.7.1' but version of GLib is 2.6.3
-configure: error: Package requirements (glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2) were not met.
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
I had exactly that problem with GTK+-2.8.0

I set PKG_CONFIG_PATH to /usr/lib/pkgconfig like this:

Code:
$export PKG_CONFIG_PATH=/usr/lib/pkgconfig
I then discovered that for some uknown reason, I have 2 repositories for *.pc files. That is, I have 2 pkgconfig
directories. I have no idea why, but there it is. The atk.pc was in /usr/lib/pkgconfig and the others were in
/usr/local/lib/pkgconfig. I tried copying atk.pc to the same directory as the others, but the error didn't go away,
so I added both paths to PKG_CONFIG_PATH like this:

Code:
$export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig"
And the problem was solved.

But of course, another cropped up which I haven't solved yet:



Code:
checking for GLIB - version >= 2.7.1...
*** 'pkg-config --modversion glib-2.0' returned 2.8.0, but GLIB (2.4.2)
*** 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.

I can't find any reference to glib-2.4.2 any where. slocate 2.4.2 results in nothing but kernal paths spewing
down the screen (I'm running 2.4.2).

I would appreciate any help with this..

Q. ruber
 
Old 09-14-2005, 05:46 PM   #19
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I've been using Mandrake since 9.1. I'm currently using Mandriva 2005LE. Ever since I've been using Mandrake 91., it seems as though everyone and their mom has this GTK+ problem.

Here's how I solved it (no, it does not involve URPMI, though I'm sure there's a way to do it with URPMI)

download Pango, GTK, and ATK.

IF I RECALL CORRECTLY:
./configure --prefix=/usr on all of those rather than just doing ./configure.
 
Old 09-14-2005, 07:39 PM   #20
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
I've been using Mandrake since 9.1. I'm currently using Mandriva 2005LE. Ever since I've been using Mandrake 91., it seems as though everyone and their mom has this GTK+ problem.
In older versions Mandrake probably installed more -devel packages by default. Nowadays because there are so many more packages in the distro they don't install many development packages by default and have moved a lot of them off the 3CD download set - they are available from the URPMI repos and the powerpack versions.

Anyway there is no need to compile GTK+, firefox, pango or anything else mentioned in this thread. Its all been packaged by Mandriva and a quick trip to easyurpmi will set you up with all the required repos.

If you want to compile stuff, especially non-trivial stuff like important system libraries, then you really need to know what you're doing. You need to be able to derive from error messages which development packages you need (although you could probably use urpmi to just install all of them if you wanted) and any version incompatabilities. Also run ./configure --help and see if it helps to specify the location of libraries or include files using the options to the configure script.

What people forget is that Linux is not Windows. You generally don't go searching the net and downloading software from the developers websites, because its almost always in source code form. The packaging of software is done by the distro maker and possibly other 3rd party packagers (eg. Dag Wieers for fedora) not the developer.
 
Old 02-18-2006, 08:27 PM   #21
jcclaros
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
To instal GTK+ type in the terminal console this:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ./configure

Last edited by jcclaros; 02-18-2006 at 08:30 PM.
 
Old 02-19-2006, 01:48 AM   #22
bobbelfield
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
Linux & Windows

Quote:
Originally Posted by tkedwards
What people forget is that Linux is not Windows. You generally don't go searching the net and downloading software from the developers websites, because its almost always in source code form.
Yep however Linux needs windows users in large numbers to get competetive with windows and hang on as a free system.
If we dont have the numbers Linux will go under in a commercial sense and we will be paying somebody just like windows.

Thats why the thrust of Linux is and should be to GUI's and away from the technocrats ..they can still exist well but we don't need to tell newbey's to use the console all the time. That won't help keep them here.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GTK+ install problems ih8linux Linux - Newbie 16 02-18-2006 08:23 PM
GTK install: Pango Problems Daddywags Linux - Software 9 04-27-2005 08:57 AM
Lopster install and GTK problems gregorw Linux - Software 3 03-22-2004 01:33 PM
GTK+-2.2.1 Install problems ih8linux Linux - Software 1 04-20-2003 01:00 AM
GTK install problems oudent Linux - Software 0 01-05-2003 07:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration