LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-22-2004, 03:10 AM   #1
PricessDaisy
LQ Newbie
 
Registered: Jul 2004
Posts: 2

Rep: Reputation: 0
Trouble installing anything on Mandrake 10


Hi guys

This is probablt such a newbie questions as I have only just migrated to Linux.

I just installed Mandrake 10, as I thought i would get a bit of experience of programming on different OS's other than Windows, but I'm having some serious 'issues' with it, that must be my fault... If anyone can point out where I am going wrong it would be more than helpful Heres the deal (I am doing all these commands as root btw)...

First of I downloaded anjuta-1.2.1 (not the latest one because the rpm didnt exist for Mandrake... does this matter?), and ran it. It says i need libglade2[>=2.0.0] (I qssume this means version 2.0.0 or greater?)

SO I downloaded libglade2.0.1 (using ./configure i assume this can be run from a folder on the desktop?) but this needed libxml2 >= 2.4.1, atk >= 1.0.0 and gtk+ >= 2.0.0. So off I went...

Libxml 2.6.11 rmp wouldnt install because it conflicted with packaged in libxml2-utils-2.6.6.

atk 1.6.1 installed fine...

Installing gtk+ 2.4.4 gave the errors glib >= 2.4.0 needed, atk >= 1.0.1 needed and pango >= 1.4.0.

But i just installed atk 1.6.1 so why cant it find it?!?! This is the same when I install glib 2.4.4... It instals fine, but then nothing can find it...

The outputs talk about PKG_CONFIG_PATH, and changing tit so pkg_config can find the libraries... How do I do that? And will that solve my problems?

I knew Linux wouldnt be as easy to set up as other OS's, but to be honest, if this problem isn't my doing, then its crazy. Am i going to have to go though steps like these when I install anything... I'd like to program on Linux, not have to fix it every 5 seconds.

Anyway, any help would be appreciated
Thanks

Daisy
 
Old 07-22-2004, 06:07 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You are having problems with dependencies. You should install packages with urpmi. Go to the following page http://urpmi.org/easyurpmi/index.php and follow the instructions on how to setup urpmi sources for the Mandrake version you are running. Once your sources have been setup, use the Mandrake Control Center to install packages and all dependencies should be resolved for you when you select a program to install. You will also need to occassionally update your urpmi sources so that they use the latest packages.
 
Old 07-22-2004, 07:31 AM   #3
machiner
Member
 
Registered: Jun 2004
Location: New England
Distribution: Debian, straight. No chaser.
Posts: 112

Rep: Reputation: 15
I also have this problem. I have set up sources with urpmi -- the easy urpmi page. THen when I goto the MCC and goto install let's say JUK -- there is a dependancy error.

If I goto terminal, su, urpmi juk -- it just says everything is already installed. But in my list of apps using MCC install -- I see that I can update juk -- but it won't because of a needed file.

machiner
 
Old 07-22-2004, 10:46 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you may need to update the urpmi sources. The option is in the software section of the control panel.
 
Old 07-26-2004, 08:15 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Look at the configure-output more closely ...

It's probably just that PKG_CONFIG_PATH
only points at where Mandy puts files by default,
but if you compile from source and you don't change
the prefix they'll end up in /usr/local ...

Try something like
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig

I don't know where your .pc files live (where MDK stores them),
have a look at
locate \.pc | egrep -v pc.+
to determine where they live ...


Cheers,
Tink

P.S.: What's a pricess? :}

Last edited by Tinkster; 07-26-2004 at 08:18 PM.
 
  


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
trouble with installing mandrake 10 bof Mandriva 7 09-20-2004 10:17 AM
Trouble Installing Mandrake 9.2 J_Bone Mandriva 7 08-31-2003 01:30 PM
Having trouble installing Mandrake 9.1 linuxmom Linux - Software 6 08-06-2003 09:28 AM
Trouble with installing Mandrake 7.1 DaGorth Linux - Newbie 5 06-16-2003 07:37 PM
Trouble installing Mandrake 80 zrhub_56 Linux - Software 1 08-12-2001 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 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