Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]ERROR: x11-libs/libXp-1.0.0 failed?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

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


Joined: 31 Aug 2004
Posts: 173

PostPosted: Tue May 29, 2007 1:40 pm    Post subject: [Solved]ERROR: x11-libs/libXp-1.0.0 failed? Reply with quote

I am installing 2007.0 from stage1.
But when I emerge -e system, when emerging libXp, I met some error.

Error message is follow.

> Emerging (1 of 25) x11-libs/libXp-1.0.0 to /
* libXp-1.0.0.tar.bz2 RMD160 ;-) ... [ ok ]
* libXp-1.0.0.tar.bz2 SHA1 ;-) ... [ ok ]
* libXp-1.0.0.tar.bz2 SHA256 ;-) ... [ ok ]
* libXp-1.0.0.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking libXp-1.0.0.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libXp-1.0.0.tar.bz2 to /var/tmp/portage/x11-libs/libXp-1.0.0/work
* Running elibtoolize in: libXp-1.0.0
* Applying portage-1.5.10.patch ...
* Applying max_cmd_len-1.5.20.patch ...
* Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/libXp-1.0.0/work/libXp-1.0.0 ...
* econf: updating libXp-1.0.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libXp-1.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g++... no
checking for x86_64-pc-linux-gnu-c++... no
checking for x86_64-pc-linux-gnu-gpp... no
checking for x86_64-pc-linux-gnu-aCC... no
checking for x86_64-pc-linux-gnu-CC... no
checking for x86_64-pc-linux-gnu-cxx... no
checking for x86_64-pc-linux-gnu-cc++... no
checking for x86_64-pc-linux-gnu-cl... no
checking for x86_64-pc-linux-gnu-FCC... no
checking for x86_64-pc-linux-gnu-KCC... no
checking for x86_64-pc-linux-gnu-RCC... no
checking for x86_64-pc-linux-gnu-xlC_r... no
checking for x86_64-pc-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-libs/libXp-1.0.0/work/libXp-1.0.0/config.log

!!! ERROR: x11-libs/libXp-1.0.0 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ebuild.sh, line 1305: Called x-modular_src_compile
x-modular.eclass, line 341: Called x-modular_src_configure
x-modular.eclass, line 328: Called econf '--prefix=/usr' '--datadir=/usr/share'
ebuild.sh, line 578: Called die

!!! econf 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/x11-libs/libXp-1.0.0/temp/build.log'.

And my emerge info is

Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 29 May 2007 12:30:08 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.61
sys-devel/automake: 1.10
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.kaist.ac.kr/pub/gentoo ftp://gg3.net/pub/linux/gentoo ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://ftp.gentoo.or.kr"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow, 3dnowext X a52 aac aalib acl acpi aiglx alsa amd64 apache2 apm arts avi berkdb bitmap-fonts bootstrap build cdparanoia cjk cli cracklib crypt cups dbus dga directfb divx4linux dlloader dri dts dv dvd dvdnav dvdread encode esd fame ffmpeg firefox foomaticdb fortran freetype freetype2 gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml iconv imagemagick imlib immqt-bc ipv6 isdnlog java jpeg jpge libg++ live livecd mad midi mikmod mmx mmx, mmxext motif mp3 mpeg mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt quicktime readline reflection samba scanner sdk sdl session slp spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis xanim xine xinerama xml xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i128 ati fbdev fglrx vesa vga vmware"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


What's wrong?


Last edited by haneulso on Thu May 31, 2007 12:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
ricce_n
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 130

PostPosted: Tue May 29, 2007 2:36 pm    Post subject: Reply with quote

You don't have a C++ compiler re-compile gcc without nocxx in use:
Code:

USE="-nocxx" emerge gcc
Back to top
View user's profile Send private message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 173

PostPosted: Tue May 29, 2007 9:14 pm    Post subject: Thaneks, But it does not work. Reply with quote

Thanks,

Code:
USE="-nocxx" emerge gcc


It does not work.

Gcc was compiled with -nocxx already.

Code:
emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.2  USE="bootstrap build fortran gtk mudflap nls (-altivec) -d -doc -gcj (-hardened) (-ip28) (-ip32r10k) (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

And I recompiled gcc with -nocxx, but same error occured.
Back to top
View user's profile Send private message
ricce_n
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 130

PostPosted: Wed May 30, 2007 4:23 am    Post subject: Reply with quote

You may be using gcc3 try to see witch compilers are available.

Code:

gcc-config -l


To set the compiler (example).
Code:

gcc-config x86_64-pc-linux-gnu-4.2.1
source /etc/profile


You maybe want to uninstall the old compiler too:
Code:

emerge -P gcc


Edit:
Hmmm... what I can see from the emerge --info output you should be using gcc-4.1.2. what is the output of:
Code:

which g++
which g++-4.1.2
which x86_64-pc-linux-gnu-g++
ls /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 30, 2007 1:29 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
Postinstallation problem with desktop stuff breaking, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 173

PostPosted: Wed May 30, 2007 5:36 pm    Post subject: I suppose that machine can not find gcc Reply with quote

Thanks, ricce_n

My machine can not find gcc even though gcc is installed.

Code:

which g++
which: no g++ in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2)

which g++-4.1.2
which: no g++-4.1.2 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2)

which x86_64-pc-linux-gnu-g++
which: no x86_64-pc-linux-gnu-g++ in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2)


ls /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
ls /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2
cpp  gccbug  protoize    x86_64-pc-linux-gnu-gcc
gcc  gcov    unprotoize  x86_64-pc-linux-gnu-gcc-4.1.2

But I find 4.1.1/g++.
Code:

find -name g++
./usr/lib64/ccache/bin/g++
./usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1/g++

It's so weired.
I think gcc was not compiled correctly.
Back to top
View user's profile Send private message
ricce_n
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 130

PostPosted: Wed May 30, 2007 6:29 pm    Post subject: Reply with quote

Oki, strange...

Check so that everything is correct with gcc:
Code:

emerge portge-utils
qcheck -e gcc


Also check why those old files from gcc-4.1.1 aren't uninstalled:
Code:

qfile /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1


It can also be a good idea to check for what is installed:
Code:

ls -d /var/db/pkg/sys-devel/*gcc*
Back to top
View user's profile Send private message
haneulso
Apprentice
Apprentice


Joined: 31 Aug 2004
Posts: 173

PostPosted: Thu May 31, 2007 12:13 pm    Post subject: Solved, Thanks "ricce_n" Reply with quote

Thank rice_n for your advice.

I solved that problem.

But, solution is that
Code:

delete "bootstrap build" from /etc/make.conf.

After I delete "bootstrap build" from /etc/make.conf I reemerge -e world.

And all is right.

Thank again all advice.
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