Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libs needed and emerge packages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cesar
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2003
Posts: 124

PostPosted: Tue Aug 19, 2003 4:49 am    Post subject: libs needed and emerge packages Reply with quote

Hello all:

I finally got KDE up and running, but had to do it from the CD, not internet because last time it failed. I have several questions regarding my next steps in Gentoo.

1- How do I know which packages to emerge when I try to compile a program and I get messages like:

error libfl.a is needed by program test.f

How do know whether Gentoo provides that library and how do I know in which package it may be contained?

2- I had many problems trying "emerge sync" but finally I managed to do it using "emerge httprsync" command. Does that make a database in a Gentoo server where all the files installed in my PC are listed? Is it automatic? Do I have to run that command often?

3 - I read the documentation in http://www.gentoo.org/doc/en/portage-user.xml for emerge, but I think they don't list all commands for it. For example, when I first ran into problems installing KDE, I wanted to remove it. In other posts I read that the way to do it was

emerge -C kde
emerge -p depclean
emerge depclean

Would you please tell me where to find a complete reference guide (not just the man pages)?

Thanks in advance,

Cesar
Back to top
View user's profile Send private message
smiler.se
Tux's lil' helper
Tux's lil' helper


Joined: 18 Aug 2003
Posts: 115
Location: Sweden - Europe - Earth

PostPosted: Tue Aug 19, 2003 5:20 am    Post subject: Re: libs needed and emerge packages Reply with quote

cesar wrote:
1- How do I know which packages to emerge when I try to compile a program and I get messages like:

error libfl.a is needed by program test.f

How do know whether Gentoo provides that library and how do I know in which package it may be contained?

Can you provide a real example?
Usually emerge -s libfl should spit out a list, else emerge -s fl

Quote:
2- I had many problems trying "emerge sync" but finally I managed to do it using "emerge httprsync" command. Does that make a database in a Gentoo server where all the files installed in my PC are listed? Is it automatic? Do I have to run that command often?

Yes a database snapshot will be stored in /usr/portage. Its safe to remove but you will need it everytime you use emerge.

Quote:
3 - I read the documentation in http://www.gentoo.org/doc/en/portage-user.xml for emerge, but I think they don't list all commands for it. For example, when I first ran into problems installing KDE, I wanted to remove it. In other posts I read that the way to do it was

emerge -C kde
emerge -p depclean
emerge depclean

Would you please tell me where to find a complete reference guide (not just the man pages)?

emerge depclean is still very expremental and it depends alot of your USE-flags
Verify that not tomany packages will be removed by it (with -p).

Im afraid that the best documentation if you cant find it on http://www.gentoo.org/main/en/docs.xml is the manpages
_________________
Christian

Sig out of date. Please upgrade to a newer one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum