Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with emerging Xfree-4.3.0-r5 ===> SOLVED
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Wed Feb 18, 2004 10:39 pm    Post subject: Problem with emerging Xfree-4.3.0-r5 ===> SOLVED Reply with quote

i got this error when i try to emerge it

Code:

install in programs/scripts done
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs
/scripts'
installing in programs/glxinfo...
make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/program
s/glxinfo'
rm -f glxinfo
gcc -o glxinfo -mno-mmx -ansi -pedantic -Wno-return-type -w     -L../../expo
rts/lib   glxinfo.o -lGLU -lGL -lXext -lX11  -lpthread -lm   -Wl,-rpath-link
,../../exports/lib
/usr/lib/libstdc++.so.5: warning: `sys_nerr' is deprecated; use `strerror' o
r `strerror_r' instead
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned)@
GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__vmi_class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `__gxx_personality_v0@CX
XABI_1.2'
../../exports/lib/libGLU.so: undefined reference to `operator delete[](void*
)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__si_class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual@CXXA
BI_1.2'
../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned
)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `operator delete(void*)@        GLIBCPP_3.2'
collect2: ld returned 1 exit status
make[3]: *** [glxinfo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs        /glxinfo'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs        '
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r5 failed.
!!! Function src_install, Line 614, Exitcode 2
!!! (no error message)


can anyone help plz




EDITED: if u got the same error like that one do this and it will solve the error
Code:

ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 /usr/lib/libstdc++.so.5


Last edited by SaFrOuT on Sat Mar 20, 2004 8:48 am; edited 1 time in total
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Fri Feb 20, 2004 7:44 pm    Post subject: Reply with quote

please post the output of this command:
Code:
emerge info

_________________
I hate my sig
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sat Feb 21, 2004 3:38 am    Post subject: Reply with quote

Code:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-rc2-love2)
=================================================================
System uname: 2.6.3-rc2-love2 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/mnt/distfiles/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi cdr crypt cups encode fbcon foomaticdb gdbm gif gpm gtk gtk+ gtk2 imlib jpeg kde libg++ libwww mad md5sum mikmod mmx motif mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pic png ppds prebuilt prelink python qt quicktime readline sdl slang spell sse ssl tcltk tcpd tiff truetype video_cards_i830 x86 xml xml2 xmms xv zlib"
[/code][/list]
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Sat Feb 21, 2004 7:39 pm    Post subject: Reply with quote

I think you need to upgrade your glibc.

what is the output of:
Code:
emerge -up world
[/code]
_________________
I hate my sig
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sun Feb 22, 2004 10:32 am    Post subject: Reply with quote

Code:

root@SaFrOuT safrout # emerge -up world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     UD] sys-devel/automake-1.7.7 [1.8.2]
[ebuild     UD] media-libs/alsa-lib-0.9.8 [1.0.2]
[ebuild     UD] media-sound/alsa-utils-0.9.8 [1.0.2]
[ebuild     UD] media-libs/tiff-3.5.7-r1 [3.6.0]
[ebuild     UD] media-libs/alsa-oss-0.9.8 [1.0.2]
[ebuild  N    ] sys-libs/db-4.1.25_p1-r3
[ebuild     UD] sys-apps/texinfo-4.5 [4.6]
[ebuild     UD] net-misc/wget-1.9-r2 [1.9.1-r2]
[ebuild  N    ] sys-kernel/gentoo-sources-2.4.22-r7
[ebuild     U ] x11-base/xfree-4.3.0-r5 [4.3.0-r3]
[ebuild     UD] app-misc/mc-4.6.0-r3 [4.6.0-r4]
[ebuild     UD] x11-misc/lineakd-0.7 [0.7.2]
[ebuild     UD] net-print/hpijs-1.4.1 [1.5]
[ebuild     U ] net-libs/libwww-5.4.0-r2 [5.4.0-r1]
[ebuild     UD] media-gfx/gqview-1.3.7 [1.3.8]
[ebuild     UD] net-misc/d4x-2.4.1-r1 [2.5.0_rc2]
[ebuild     UD] sys-libs/readline-4.3-r4 [4.3-r5]
[ebuild     U ] net-www/mozilla-firefox-0.8 [0.7-r1]
[ebuild     UD] sys-apps/man-1.5l-r6 [1.5m]
[ebuild     UD] app-admin/gkrellm-2.1.24 [2.1.25]
[ebuild     U ] x11-libs/qt-3.3.0-r1 [3.2.3-r1]
[ebuild     UD] app-admin/hddtemp-0.3_beta8 [0.3_beta10]
[ebuild     UD] x11-plugins/gkrellm-hddtemp-0.1 [0.2_beta]
[ebuild     UD] app-arch/unrar-3.2.2 [3.3.4]
[ebuild     UD] app-text/xpdf-2.03 [3.00]
[ebuild     UD] net-irc/xchat-2.0.6-r1 [2.0.7]



my glibc is up2date

Code:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.2-r9  -build +nls -nptl +pic  18 kB

Total size of downloads: 18 kB

Back to top
View user's profile Send private message
Selecter
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jan 2004
Posts: 128
Location: Estonia

PostPosted: Sun Feb 22, 2004 12:18 pm    Post subject: Reply with quote

unstable_geek wrote:
please post the output of this command:
Code:
emerge info


Maybe this?

Code:
emerge glibc gcc
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Mon Feb 23, 2004 5:04 pm    Post subject: Reply with quote

how about emerge -s glut ?
_________________
I hate my sig
Back to top
View user's profile Send private message
Radi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2002
Posts: 108

PostPosted: Mon Feb 23, 2004 5:48 pm    Post subject: Reply with quote

same problem to me, i have posted that in another thread, i tried reemerging glut, but doesn't work for me.

HELP, that gets on my nervs, wanna update xfree *grml*
Back to top
View user's profile Send private message
unstable_geek
Tux's lil' helper
Tux's lil' helper


Joined: 01 Mar 2003
Posts: 102
Location: In my own happy place

PostPosted: Mon Feb 23, 2004 9:10 pm    Post subject: Reply with quote

I'm at a bit of a loss.
try emegre unmerge xfree opengl glu xft
then
emerge xfree

Other than that, post a bug @ bugs.gentoo.org
_________________
I hate my sig
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sat Mar 06, 2004 12:16 am    Post subject: Reply with quote

I have the same problem :-(
Code:

#emerge xfree
...
over an hour of compilation
...
In file included from text-mode.c:47:
loader.h:78: unnamed fields of type other than struct or union are not allowed
make[5]: *** [text-mode.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver/hw/xfree86/xf86cfg'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver/hw/xfree86'
make[3]: *** [hw/xfree86] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r5 failed.
!!! Function src_install, Line 621, Exitcode 2
!!! (no error message)

i have glut up2date, but I can't update my gcc, i tried to compile it many times, with the same effect every time: error.

Do you have any solution/advice ?
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sat Mar 06, 2004 12:42 pm    Post subject: Reply with quote

so what shall we do know
should we announce it as a bug or what?
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sat Mar 06, 2004 2:04 pm    Post subject: Reply with quote

I do not know if it isn't .


https://forums.gentoo.org/viewtopic.php?t=143731&highlight=error+x11base+xfree4+3+0r5


As spyderous wrote :
Quote:

I just suggested something to try, please do so.

But I can't find any of his suggesions in bug report
https://bugs.gentoo.org/show_bug.cgi?id=43491
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sat Mar 06, 2004 2:25 pm    Post subject: Reply with quote

Quote:
Unfortunately I've got to chase down a libevent-0.6 compile failure next. For those that are still struggling to get past this one, I'd suggest changing ACCEPT_KEYWORDS="x86" (not "~x86") if possible as the stable versions seem to help work past this one.


and this is not a solution at all

i am using the latest stable software and i can't install xfree r5 yet
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Mon Mar 08, 2004 9:25 pm    Post subject: Reply with quote

I had this same problem while installing it for a friend. You need to get the kernel sources for the 2.4 series and make the /usr/src/linux sym link link to them. I am currently using the version you people are having trouble installing, and I was using the 2.4.22 kernel at the time. So do this:

[As root]
emerge gentoo-sources
cd /usr/src
rm linux
ln -s linux-2.4.22-gentoo-rc7 (or whatever other 2.4 series kernel sources you have in there)
emerge xfree

That should work. If not, I'm confuzzled.
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Mon Mar 08, 2004 10:15 pm    Post subject: Reply with quote

Pwnz3r wrote:
I had this same problem while installing it for a friend. You need to get the kernel sources for the 2.4 series and make the /usr/src/linux sym link link to them. I am currently using the version you people are having trouble installing, and I was using the 2.4.22 kernel at the time. So do this:

[As root]
emerge gentoo-sources
cd /usr/src
rm linux
ln -s linux-2.4.22-gentoo-rc7 (or whatever other 2.4 series kernel sources you have in there)
emerge xfree

That should work. If not, I'm confuzzled.


this will be dumb if u i have to use 2.4.xx kernel now
i have been using the 2.6.XX serias for a long time now, and i won't downgrade for the fscken Xfree

maybe the solution is to make a folder named linux under /usr/src/ and make it points to the 2.6.xx source not the 2.4.xx

i'll try that now

wish me luck
Back to top
View user's profile Send private message
placeholder
Advocate
Advocate


Joined: 07 Feb 2004
Posts: 2500

PostPosted: Mon Mar 08, 2004 10:40 pm    Post subject: Reply with quote

I didn't say to compile and use the kernel, I just meant to do what you want to do and make a /usr/src/linux sym link to the 2.4.xx source.
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Mon Mar 08, 2004 11:48 pm    Post subject: Reply with quote

Pwnz3r wrote:
I didn't say to compile and use the kernel, I just meant to do what you want to do and make a /usr/src/linux sym link to the 2.4.xx source.


mmmmmm
then sorry for getting u wrong
and i think if ur way will work it should work if the linux point to the 2.6.xx kernel

i am compiling now xfree with the linux pointing to the 2.6, if it failed i'll try the 2.4 solution

hope it will work now :)


EDITED: it didn't work with the 2.6 trick, i'll try it now with the 2.4 way

EDITED-2:it didn't work also with 2.4 installed
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Tue Mar 09, 2004 7:55 am    Post subject: Reply with quote

i think i'll try to go with gcc-3.3.3 since it is clear that this is a bug with gcc-3.2.3

any tips is needed plz before installing the new gcc
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Tue Mar 09, 2004 3:57 pm    Post subject: Reply with quote

if you don't want to go to the new gcc, all you have to do is downgrade ncurses.

https://forums.gentoo.org/viewtopic.php?p=939001#939001
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Wed Mar 10, 2004 3:44 pm    Post subject: Reply with quote

i wish to upadte to the new gcc
but i am afraid of unstability and errors

can anyone using the gcc 3.3.3 give me a little info about its performance ( bug, errors)
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Wed Mar 10, 2004 11:41 pm    Post subject: Reply with quote

my probelm with Xfree is related to the glxinfo not to ncurses or anything else

i have tried all the solutions on the forum including downgrading of ncurses and other but nothing worked for me

cause my problem is as i said before related to the glxinfo not to anything else

i have noticed that when i run glxinfo or glxgear i got that error
Code:
safrout@SaFrOuT safrout $ glxinfo
name of display: :0.0
Segmentation fault


that means that there is something wrong with glx in general

my card is intel845 and i am using the kernel module for i830

can anyone help
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Wed Mar 10, 2004 11:52 pm    Post subject: Reply with quote

i am trying now another solution i thought about
i have disabled the DRI module in the kernel and i am using the normal module only now for my card
and i have booted
now glxinfo and glxgear is working fine

so i will try to emerge xfree now and see

and i think it will work cause i think the problem is with the DRI module in the kernel (2.6.3-love3) for i845 with DRI support

does anyone have any idea about the cause of that clash with this module although it is the recommended one for my card

EDIT: and it didn't work also :(
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sat Mar 13, 2004 2:30 pm    Post subject: Reply with quote

got the exact error with xfree 4.4 and the latest cvs in portage too
what is the cause of this strange error with my GLX


plz i need ur help
Back to top
View user's profile Send private message
SaFrOuT
Apprentice
Apprentice


Joined: 08 Jul 2003
Posts: 256
Location: Egypt

PostPosted: Sat Mar 13, 2004 8:23 pm    Post subject: Reply with quote

Code:
/usr/lib/libstdc++.so.5: warning: `sys_nerr' is deprecated; use `strerror' o
r `strerror_r' instead


i noticed this line inside the error

does that mean that my gcc is the problem???

and what is the meaning of "sys_nerr" & "strerror"
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Sat Mar 13, 2004 8:41 pm    Post subject: Reply with quote

don't worry about the warning line.

the issue is it can't find parts of the libstdc++ to link into the executable it's trying to build.

usually that means you need to emerge gcc or glibc again. (there is a bug right now where if you update glibc then you need to emerge your gcc again so it all matches up).

I wouldn't be afraid of updating to gcc 3.3 (the one with the x86 KEYWORD anyway). the only issue you would have is that distcc with some machines running 3.2 and some running 3.3 is problematic (i.e., emerges will fail). but if you're not using distcc there's probably nothing to worry about.

So I would say go ahead and emerge the stable gcc 3.3 then try xfree again.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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