| View previous topic :: View next topic |
| Author |
Message |
Vash63 n00b

Joined: 11 Mar 2007 Posts: 36
|
Posted: Sun Mar 11, 2007 10:19 am Post subject: Problem emerging xorg-x11.... |
|
|
I'm pretty new to this so I'm kind of trying to figure out what packages are needed as I go... I installed Nvidia's drivers for my card, that seemed to go alright, then following this guide from the gentoo-wiki, I added
VIDEO_CARDS="nvidia"
to my /etc/make.conf. Then I 'emerge xorg-x11', the first few packages went alright but it gets to 'freeglut-2.4.0' and fails every time. I can't get it to emerge seperately either. A build log is here, sorry about the lack of formatting but the log seems to have dropped it.
Is there something I need to install prior to xorg-x11 that is making this fail? |
|
| Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 392
|
Posted: Sun Mar 11, 2007 10:48 am Post subject: |
|
|
Hi Vash,
Welcome to Gentoo! I'm gonna try and help you in this, as well as giving tips for you to help yourself after.
First of all, you can get info on your ebuild (in this case media-libs/freeglut). Type:
| Code: | | nano /usr/portage/media-libs/freeglut/freeglut-2.4.0.ebuild |
/usr/portage keeps all the ebuilds you will use. Update it once in a while with emerge --sync.
As you can see it depends on virtual/opengl, virtual/glu and is incompatible with media-libs/glut. If portage thinks this is installed, it won't complain, but it may be the case it was incorrectly installed. I would recommend reemerging these two (and read the log carefully). If it doesn't work check the freeglut page.
An awesome tool you should always use is eix! emerge it, and do (gives you the website, and other portage information quick)
Please post results for future reference even if solved.
Cheers |
|
| Back to top |
|
 |
Vash63 n00b

Joined: 11 Mar 2007 Posts: 36
|
Posted: Sun Mar 11, 2007 11:30 am Post subject: |
|
|
| Both of those gl packages were already installed, and glut was not. I uploaded it here for easier reading. Oh, and that eix tool is pretty cool, thanks. |
|
| Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 392
|
Posted: Sun Mar 11, 2007 12:16 pm Post subject: |
|
|
Ok, I should've read your log better. This is an AMD64 issue and I don't know enough here. I would look for the package that installs /usr/lib64/libGL.so and reemerge it (and look for unused flags you might need since it says it's receiving an unused reference).
Could it be the nvidia drivers?
I installed Gentoo AMD64 a year ago and do not recommend it at all for newbies, there were many issues still unsolved. |
|
| Back to top |
|
 |
Vash63 n00b

Joined: 11 Mar 2007 Posts: 36
|
Posted: Sun Mar 11, 2007 12:37 pm Post subject: |
|
|
| Mmm, alright. I was in freenode/#gentoo and someone helped me find that revdep-update would come up with repeated errors regarding that file, it would reinstall nvidia-drivers every time but it wouldn't fix anything. Maybe I should just go back and install x86... took me a while to get this far though. |
|
| Back to top |
|
 |
Pseudonimo Guru


Joined: 10 Mar 2007 Posts: 392
|
Posted: Sun Mar 11, 2007 1:16 pm Post subject: |
|
|
lol, I think very few people manage to get it right the first time. The cool thing is once you install in x86 and learn all sorts of linux/gentoo things you can take your /etc (that's the folder with configurations) and you portage "world" file and install again in AMD64 by doing "emerge world". Besides, after you learn a lot you will want to do everything again properly.
BTW, it's best to read the official gentoo documentation then the gentoo wiki, trust me I'm editing the Alsa entry now but it's a mess...
http://www.gentoo.org/doc/en/index.xml?catid=desktop
Cheers |
|
| Back to top |
|
 |
tlepo Tux's lil' helper


Joined: 04 Sep 2003 Posts: 131 Location: Elouges (Belg.)
|
Posted: Wed Mar 14, 2007 8:59 pm Post subject: |
|
|
I think that freeglut may fail to emerge when the -march CFLAGS in /etc/make.conf is not correctly assigned or not assigned. If you are using an -mcpu CFLAGS, replace it by -march. See http://gentoo-wiki.com/Safe_Cflags#Pentium_4_.28Intel.29
Hope it helps. |
|
| Back to top |
|
 |
dullin n00b

Joined: 13 Mar 2005 Posts: 19
|
Posted: Thu Jun 28, 2007 5:26 pm Post subject: |
|
|
I just want to point out that tiepo's solution is right and got me trough this non compilation.
*reports bug* |
|
| Back to top |
|
 |
|