Hello,

Today I switched my profile from x86 to amd64 and have problems rebuilding the system. I know that AMD64 FAQ states that it is impossible to upgrade from x86 to amd64,
   and it's better to perform the "fresh install". But is that really so?

   At the moment I cant' rebuild ncurses, because configure can't find gpm
   in /lib64, so the "emerge -e system" fails.

   Thank you.

zealot ~ # ls -la /etc/make.profile
lrwxrwxrwx 1 root root 50 Jul 7 17:12 /etc/make.profile -> ../usr/portage/profiles/default-linux/amd64/2006.0

zealot ~ # emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
ccache version 2.3 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo";
MAKEOPTS=""
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog javamail jpeg kde kernel_linux lcms libg++ libwww lzw lzw-tiff mad memlimit mikmod mng motif mozilla mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb userland_GNU vorbis xml xml2 xmms xorg xpm xsl xv zlib input_devices_keyboard input_devices_mouse video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_dri" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


zealot ~ # ls -la /usr/lib64/
total 208
drwxr-xr-x  4 root root  4096 Jul 10 12:57 .
drwxr-xr-x 19 root root  4096 Jul  7 20:13 ..
-rw-r--r--  1 root root 23476 Jul 10 12:57 libgpm.a
-rwxr-xr-x  1 root root   295 Jul 10 12:57 libgpm.so
-rw-r--r--  1 root root 24356 Jul  7 20:36 libltdl.a
-rw-r--r--  1 root root   793 Jul  7 20:36 libltdl.la
lrwxrwxrwx  1 root root    16 Jul  7 20:36 libltdl.so -> libltdl.so.3.1.4
lrwxrwxrwx  1 root root    16 Jul  7 20:36 libltdl.so.3 -> libltdl.so.3.1.4
-rwxr-xr-x  1 root root 24560 Jul  7 20:36 libltdl.so.3.1.4
-rw-r--r--  1 root root   806 Jul  7 19:31 libsandbox.la
lrwxrwxrwx 1 root root 19 Jul 7 19:31 libsandbox.so -> libsandbox.so.0.0.0 lrwxrwxrwx 1 root root 19 Jul 7 19:31 libsandbox.so.0 -> libsandbox.so.0.0.0
-rwxr-xr-x  1 root root 22656 Jul  7 19:31 libsandbox.so.0.0.0
-rw-r--r--  1 root root 88108 Jul  7 20:39 libz.a
-rwxr-xr-x  1 root root   293 Jul  7 20:39 libz.so
drwxr-xr-x  2 root root    23 Jul  8 03:12 misc
drwxr-xr-x  3 root root    20 Jul  7 18:53 nsbrowser

zealot ~ # ls -la /lib64/
total 100
drwxr-xr-x  5 root root  4096 Jul 10 12:57 .
drwxr-xr-x 21 root root  4096 Jul  7 20:49 ..
drwxr-xr-x  2 root root    18 Jul  7 20:49 dev-state
lrwxrwxrwx  1 root root    11 Jul 10 12:57 libgpm.so -> libgpm.so.1
lrwxrwxrwx  1 root root    16 Jul 10 12:57 libgpm.so.1 -> libgpm.so.1.19.0
-rwxr-xr-x  1 root root 18832 Jul 10 12:57 libgpm.so.1.19.0
lrwxrwxrwx  1 root root    13 Jul  7 20:39 libz.so -> libz.so.1.2.3
lrwxrwxrwx  1 root root    13 Jul  7 20:39 libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x  1 root root 71144 Jul  7 20:39 libz.so.1.2.3
drwxr-xr-x  5 root root    45 Jul  7 20:49 rcscripts
drwxr-xr-x  2 root root    18 Jul  7 20:49 udev-state




>>> Emerging (2 of 2) sys-libs/ncurses-5.5-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking ncurses-5.5.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking ncurses-5.5.tar.gz to /var/tmp/portage/ncurses-5.5-r2/work
* Applying ncurses-5.5-gfbsd.patch ... [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5 ... * econf: updating ncurses-5.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating ncurses-5.5/config.sub with /usr/share/gnuconfig/config.sub /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/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 --libdir=/lib64 --with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo --disable-termcap --with-shared --with-rcs-ids --without-ada --enable-symlinks --enable-const --with-chtype=long --with-mmask-t=long --without-debug --with-gpm --build=x86_64-pc-linux-gnu
Configuring NCURSES 5.5 ABI 5 (Mon Jul 10 12:58:10 EEST 2006)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
checking for x86_64-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking version of gcc... 4.1.1
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking whether gcc understands -c and -o together... yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking for ldconfig... /sbin/ldconfig
checking if you want to ensure bool is consistent with C++... 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++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for g++... /usr/bin/g++
checking version of g++... 4.1.1
checking if you want to build C++ binding and demo... yes
checking if you want to build with Ada95... no
checking if you want to build programs such as tic... yes
checking if you wish to install curses.h... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /bin/install -c
checking for long file names... yes
checking if filesystem supports mixed-case filenames... yes
checking whether ln -s works... yes
checking for ctags... no
checking for etags... no
checking for tdlint... no
checking for lint... no
checking for alint... no
checking for man... man
checking for x86_64-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for x86_64-pc-linux-gnu-ld... no
checking for ld... ld
checking for x86_64-pc-linux-gnu-ar... no
checking for ar... ar
checking for archiver options (symbol AR_OPTS)... rv
checking for makeflags variable...
checking if you have specified an install-prefix...
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... yes
checking if you want to build static libraries... yes
checking if you want to build debug libraries... no
checking if you want to build profiling libraries... no
checking for specified models...  shared normal
checking for default model... shared
checking if you want to build a separate terminfo library... no
checking if you want to link with dbmalloc for testing... no
checking if you want to link with dmalloc for testing... no
checking if you want to link with the GPM mouse library... yes
checking for Gpm_Open in -lgpm... no
configure: error: Cannot link with GPM library

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/ncurses-5.5-r2/work/narrowc/config.log

!!! ERROR: sys-libs/ncurses-5.5-r2 failed.
Call stack:
 ebuild.sh, line 1539:   Called dyn_compile
 ebuild.sh, line 939:   Called src_compile
 ncurses-5.5-r2.ebuild, line 49:   Called do_compile
ncurses-5.5-r2.ebuild, line 70: Called econf '--libdir=/lib64' '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--disable-termcap' '--with-shared' '--with-rcs-ids' '--without-ada' '--enable-symlinks' '--enable-const' '--with-chtype=long' '--with-mmask-t=long' '--without-debug' '--with-gpm'
 ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


--
[email protected] mailing list

Reply via email to