View previous topic :: View next topic |
Author |
Message |
chiwang n00b
Joined: 08 Sep 2003 Posts: 11
|
Posted: Wed Sep 17, 2003 7:42 am Post subject: again...emerge question and OpenGL |
|
|
hi,
i have few question about emerge,portage and OpenGL,
1. as far as i understand, portage tree holds the source files,when i want to emerge new apps. i need to download the binary into /distfiles/...but i don't get the relationship between these two.
so, is portage tree holding the lastest application information? i have read the doc. but i still don't get it, hope someone kindly explain.
2. i tried to do the following.
%> emerge sync (it download the latetest portage tree)
(no action after calulate dependency)
i get the result for the following commands
%> emerge system
%> emerge -u system
%> emerge -u world
but when i do this
%> emerge -u kernel
it said i need to update one package
why is that so???
my understanding is we try to update the system and world according to the portage tree..but if i can't get 'emerge sync' work..how i update the system?
3. OpenGL
i was try to progame OpenGL...the source code is working properly on RH...it can also be complied in Gentoo....(no errors) but when i try to run the executeable file it comes out the following msg,
GLUT: fatal Error in a.out: OpenGL
GLX extension not supported by display :0.0
is it something wrong with my monitor or display card?
Thanks |
|
Back to top |
|
|
aanund Tux's lil' helper
Joined: 29 Aug 2002 Posts: 147
|
Posted: Wed Sep 17, 2003 8:04 am Post subject: |
|
|
1) The portage tree holds something called ebuilds, which can be thought of as instructions on how to automate compiling something from source.
What you download into /usr/portage/distfile/ are the sourcecode for the programs you are trying to install.
2) I usually update my "portage-tree" with %> emerge rsync.
Then a lot of spam should cover your screen:P
This would indicate that you are downloading the required parts of the latest portage.
emerge system will install the base system on your computer.
emerge -u system will try to upgrade the base system on your computer, if there are newer versions available for some of the programs.
emerge -u kernel
beats me, I might help you if you told me which package.
3) Seems that OpenGl is not configured correctly.
How todo this depends on your grahics card etc, and is done with the program opengl-update. |
|
Back to top |
|
|
Zoltan Guru
Joined: 27 Aug 2003 Posts: 394 Location: Moscow, Russia
|
Posted: Wed Sep 17, 2003 5:49 pm Post subject: Re: again...emerge question and OpenGL |
|
|
chiwang wrote: |
3. OpenGL
i was try to progame OpenGL...the source code is working properly on RH...it can also be complied in Gentoo....(no errors) but when i try to run the executeable file it comes out the following msg,
GLUT: fatal Error in a.out: OpenGL
GLX extension not supported by display :0.0
is it something wrong with my monitor or display card?
Thanks |
Which video card and driver do you use? It is quite obvious that your X server has no open GL support. Configure it as in RH, and it should work then. |
|
Back to top |
|
|
chiwang n00b
Joined: 08 Sep 2003 Posts: 11
|
Posted: Fri Sep 19, 2003 2:26 am Post subject: |
|
|
hi,
thanks a lot for the answer...
i have successfully download the lastest portage tree using
%> emerge rsync
and i did update the 'system' and 'world' as well....
but i still got a few more questions...
1. when i do 'emerge -k system' and 'emerge -k world' i will update my system and world...how about the outdated packages...? can i use 'emerge' command to delete them all?
2. after reading the forums and doc...still don't get the different between
'emerge sync' and 'emerge rsync'....?
Thanks |
|
Back to top |
|
|
|