View previous topic :: View next topic |
Author |
Message |
cesar Tux's lil' helper
Joined: 15 Aug 2003 Posts: 124
|
Posted: Tue Aug 19, 2003 4:49 am Post subject: libs needed and emerge packages |
|
|
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 |
|
|
smiler.se Tux's lil' helper
Joined: 18 Aug 2003 Posts: 115 Location: Sweden - Europe - Earth
|
Posted: Tue Aug 19, 2003 5:20 am Post subject: Re: libs needed and emerge packages |
|
|
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 |
|
|
|
|
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
|
|