Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem installing xorg-x11, it stops
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Gromlok
Apprentice
Apprentice


Joined: 25 Mar 2006
Posts: 224
Location: South

PostPosted: Mon Sep 03, 2007 3:43 pm    Post subject: problem installing xorg-x11, it stops Reply with quote

Hello:

Im trying to install xorg-x11, but in the process when installing freeglut-2.4.0-r1 fails.

Looking here:
http://forums.gentoo.org/viewtopic-t-546167-highlight-freeglut.html

It says that if the "-march CFLAGS in /etc/make.conf is not correctly assigned or not assigned" it will fail to compile freeglut.
So i changed to what follows (/etc/make.conf):
Code:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"


Before that i did:
Code:

cat /proc/cpuinfo

To see the characteristics of my CPU.
Which match with;
Code:

 Mobile Pentium 4-M (Northwood)

vendor_id  : GenuineIntel
cpu family  : 15
model  : 2
model name  : Mobile Intel(R) Pentium(R) 4 - M CPU X.XXGHz



Now, this are some lines of the compilation, so you could see he problem:
Code:

(...)
[Maybe this lines could be relevant because of the CFLAGS thing:]
i686-pc-linux-gnu-gcc -march=pentium4 -02 -pipe -fomit-frame-pointer -Wall -pedantic -Werroe -o .libsCallbackMaker CallbackMaker-CallbackMaker.o -W1, --export-dynamic (...)
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/libGLU.so, not found (try using -rpath or -rpath-link)
(...)
/usr/lib/libGLU.so: undefined reference to: 'operator delete(void*)@GLIBCXX_3.4'
/usr/lib/libGLU.so: undefined reference to: 'vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/usr/lib/libGLU.so: undefined reference to: 'operator delete[](void*)@GLIBCXX_3.4'
/usr/lib/libGLU.so: undefined reference to: 'operator new[](unsinged int)@GLIBCXX_3.4'
/usr/lib/libGLU.so: undefined reference to: 'operator new(unsinged int)@GLIBCXX_3.4'
/usr/lib/libGLU.so: undefined reference to: '__cxa_pure_virtual@CXXABI_1.3'
/usr/lib/libGLU.so: undefined reference to: 'vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/usr/lib/libGLU.so: undefined reference to: 'vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
/usr/lib/libGLU.so: undefined reference to: '__gxx_pesonality_v0@CXXABI_1.3'
collect2: Id returned 1 exit status
make[4]: ***[CallbackMaker] Error 1
make[4]: Leaving directory '/var/tenp/porage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/CallbackMaker'
make[3]: ***[all-recursive] Error 1
make[3]: Leaving directory '/var/tenp/porage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/demos/'
make[2]: ***[all-recursive] Error 1
make[2]: Leaving directory '/var/tenp/porage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/progs/'
make[1]: ***[all-recursive] Error 1
make[1]: Leaving directory '/var/tenp/porage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/'
make: ***[all] Error 2
!!! ERROR: media-libs/freeglut-2.4.0-r1 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 657: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/freeglut-2.4.0-r1/temp/build.log'.


In another post i got that warning: libstdc++.so.6, needed by /usr/lib/libGLU.so, not found
was the problem, i was suggested to rebuild gcc. I re-emerged (even, i emerged "libstdc") but with the same results
Additionally, i updates my world, did a deep clean and a revdep, with the same results.

Any suggestion?
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2281
Location: /home/zach

PostPosted: Mon Sep 03, 2007 4:17 pm    Post subject: Reply with quote

I remember seeing a similar error, but it was a while back. Did you do emerge --sync before trying to merge X?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
fuzzythebear
Guru
Guru


Joined: 28 Nov 2004
Posts: 317

PostPosted: Mon Sep 03, 2007 4:25 pm    Post subject: Check this Reply with quote

libstdc++.so.6, needed by /usr/lib/libGLU.so, not found

that's probably the lead you should follow.
failing to find it the rest after simply is the collapse cause
it's missing libstdc++.so.6 or looking for it .. :)

here atm i get this : equery belongs libstdc++.so.6 =>

sys-devel/gcc-4.1.2 (/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 -> libstdc++.so.6.0.8)
sys-devel/gcc-3.4.6-r2 (/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6 -> libstdc++.so.6.0.3)

i suggest you check if you have it .. and if not correct the situation
before you keep on going .

Fuzz
_________________
There's this once i thought i had made a mistake .. but i was wrong :|
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27782
Location: 56N 3W

PostPosted: Mon Sep 03, 2007 4:30 pm    Post subject: Reply with quote

Gromlok,

Code:
libstdc++.so.6
is your issue. Its provided by gcc-3 buy for backwards compatibility, so you need not have gcc-3 installed, you can use
Code:
emerge sys-libs/libstdc++-v3

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gromlok
Apprentice
Apprentice


Joined: 25 Mar 2006
Posts: 224
Location: South

PostPosted: Mon Sep 03, 2007 4:39 pm    Post subject: Reply with quote

Hullo:

Well i get this:
Code:

sys-devel/gcc-4.1.2 (/usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.2/libstdc++.so.6 -> libstd++.so.6.0.0)


And my version of gcc:
Code:

gcc -v

(...)

gcc vesion 3.3.6 (Gentoo 3.3.6-r1 p1.4, ssp-3.3.6-1.0, pie-8.7.8)
Back to top
View user's profile Send private message
Gromlok
Apprentice
Apprentice


Joined: 25 Mar 2006
Posts: 224
Location: South

PostPosted: Mon Sep 03, 2007 4:51 pm    Post subject: Reply with quote

Hi:
i did:
Code:

emerge sys-libs/libstdc++-v3

I think it was "emerged", but anyway, it re-compiled, and the same results. I still have the error with freeglut.

What witchcraft is this??!

EDIT: for gentoo_zach, yes, i did the emerge --sync, this was a step in the gentoo installation guide prior to the installing of x
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 27782
Location: 56N 3W

PostPosted: Mon Sep 03, 2007 6:07 pm    Post subject: Reply with quote

Gromlok,

Run gcc-config. You probably have newer versions installed.
As gcc is slotted, new versions are installed as they become available but not used unless you select them.
gcc-3.3.6 is a bit old now.

Choose a newer (gcc-4.x.x) and follow the GCC Upgrade Guide
Then go back to fixing your Xorg.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Gromlok
Apprentice
Apprentice


Joined: 25 Mar 2006
Posts: 224
Location: South

PostPosted: Tue Sep 04, 2007 12:20 am    Post subject: Reply with quote

Hi:

Thank you for awnsering. I did follow the guide that you told me. i had 2 versions of gcc, and i puted to the newer one. Never the less, in the part of emerge -eav -world i get an error -again!-
When is rebuilding the package "pax-utils-0.1.15", it aborts all, the message are a lot of mirrors, and in the end says "aborting", this is an example:

Code:

Resolving mirros.tds.net...failed: Temporary failure in name resolution.
>>> Downloading 'http://ftp.gentoo.or.kr/distfiles/pax-utils-0.1.15.tar.bz2'
--20:00:05-- http://ftp.gentoo.or.kr/distfiles/pax-utils-0.1.15.tar.bz2
           => /usr/portage/distfiles/pax-utils-0.1.15.tar.bz2

This message appears like 10 times, but with different mirrors, of many countries.

At the end:

Resolving dev.gentoo.org...failed:  Temporary failure in name resolution
!!!Couldn't download 'pax-utils-0.1.15.tar.bz2'. Aborting.


Arrgh!

Well, i unmerged "pax-utils" (with emerge -C), but when i do the world update it still appears for rebuilding!.........

I did not delete the older version of gcc (is the next step of the world update)
And i did not emerge xorg, because i suppose -without any knowledge of course- that first it would be good to update all .

Please, any suggestion?

Greetings
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2281
Location: /home/zach

PostPosted: Tue Sep 04, 2007 12:57 am    Post subject: Reply with quote

That new error is not any fault of yours. That is a problem with that particular mirror. You might want to try downloading from a different one like distfiles.gentoo.org.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Gromlok
Apprentice
Apprentice


Joined: 25 Mar 2006
Posts: 224
Location: South

PostPosted: Tue Sep 04, 2007 8:11 pm    Post subject: Reply with quote

Hello:
Thanks for your answers, i re-do the emerge -eav world, and now the mirrors works. All ok, i finished the manual of GCC, that NeddySeagoon recommended. Now i have installed -and selected- "i686-pc-linux-gnu-4.1.2".
But bad news!.........when i re-emerge to continue the process of "xorg-x11" in "freeglut" package, i do get the same error!.......why?!?!...........this makes me angry!!............maybe is some step that i did wrong during the installation of Gentoo? or maybe my processor is not a pentium 4? -i did what i wrote in the first post-............

what can i do??

:? :? :? :? :?

Greetings
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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