From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OELRW-0007No-Vc for garchives@archives.gentoo.org; Tue, 18 May 2010 11:58:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 76C91E06D6; Tue, 18 May 2010 11:58:08 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 1B0BEE06D6 for ; Tue, 18 May 2010 11:58:07 +0000 (UTC) Received: by wyb36 with SMTP id 36so2282291wyb.40 for ; Tue, 18 May 2010 04:58:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:content-type; bh=A2/3cyFXpi8mSMLyWIqcClEvqWNJu18R0otuO9w3Fg8=; b=Y9I/P55olYcGOBq/d1PNECrKklHChaLqzCih7wo07uXMrjvjE+d+WaXPVItSzaub7f 2sfHTF04sJAQYt5jHaRBhV7/sFI8ulDQs93yQiw+G4t3Ck1MdMsnWk6mJyHY9Tvjhs59 aWdd0OBVgyTHehQBcwI1ikI0reLlUyB2vbpps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=X66Jh00jtT9uZ6Roz76S/3IdwrqtyK/yqaFR5osMddf40jvOaZINqJt+KZTZh7Wgje viI2u+Ikyjt1wV9xyRsUXUiObWVBeq+9o2muXBtgge2q2OuqoFXb5EsJ6jja+5JnBY5h ST+cLkQcyTvAP1+2HAKkdbhHsfUfoBIRD9Vjk= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.188.21 with SMTP id z21mr3848691wem.140.1274183887451; Tue, 18 May 2010 04:58:07 -0700 (PDT) Received: by 10.216.1.210 with HTTP; Tue, 18 May 2010 04:58:07 -0700 (PDT) Date: Tue, 18 May 2010 13:58:07 +0200 Message-ID: Subject: [gentoo-science] Error emergin gmsh-2.4.2 From: marco restelli To: gentoo-science@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: c8df1f3b-f21f-4894-95ee-08b0eb4a211c X-Archives-Hash: 310d3f943111f4298faf8ccf7ffc658a Hi, I'm trying to emerge gmsh-2.4.2, but I get the following error: -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE): The C++ compiler "/usr/bin/x86_64-pc-linux-gnu-g++" is not able to compile a simple test program. I'm using the default flags: USE="X jpeg png zlib -blas -cgns -chaco -doc -examples -med -metis -mpi -opencascade" Thank you for any help, Marco Here is some more information: emerge --info =sci-libs/gmsh-2.4.2 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/gnome, gcc-4.3.4, glibc-2.10.1-r1, 2.6.27-gentoo-r8 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-32-with-gentoo-1.12.13 Timestamp of tree: Thu, 13 May 2010 10:00:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1" LINGUAS="en_US de es it sr sr@Latn" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/science /usr/local/portage/layman/gcc-porting /usr/local/portage-my-ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk hal howl iconv ipv6 jpeg latex lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US de es it sr sr@Latn" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS cat /var/tmp/portage/sci-libs/gmsh-2.4.2/temp/build.log * CPV: sci-libs/gmsh-2.4.2 * REPO: science * USE: X amd64 elibc_glibc jpeg kernel_linux multilib png userland_GNU zlib * Put the F77 variable in env files to select your fortran compiler * example for gfortran: * echo "F77=gfortran" >> /etc/portage/env/sci-libs/gmsh >>> Unpacking source... >>> Unpacking gmsh-2.4.2-source.tgz to /var/tmp/portage/sci-libs/gmsh-2.4.2/work >>> Source unpacked in /var/tmp/portage/sci-libs/gmsh-2.4.2/work >>> Preparing source in /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2 ... * Appending a library link instruction (-ldl); libraries to link to should not be passed through LDFLAGS * Appending a library link instruction (-lmpi); libraries to link to should not be passed through LDFLAGS >>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build" cmake -C /var/tmp/portage/sci-libs/gmsh-2.4.2/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_BLAS_LAPACK=OFF -DENABLE_CGNS=OFF -DENABLE_CHACO=OFF -DENABLE_FLTK=ON -DENABLE_FL_TREE=ON -DENABLE_GRAPHICS=ON -DENABLE_MED=OFF -DENABLE_METIS=OFF -DENABLE_OCC=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/sci-libs/gmsh-2.4.2/temp/gentoo_rules.cmake /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2 loading initial cache file /var/tmp/portage/sci-libs/gmsh-2.4.2/temp/gentoo_common_config.cmake -- The CXX compiler identification is GNU -- The C compiler identification is GNU -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:25 (MESSAGE): The C++ compiler "/usr/bin/x86_64-pc-linux-gnu-g++" is not able to compile a simple test program. It fails with the following output: Change Dir: /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build gmake[1]: Entering directory `/var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o /usr/bin/c++ -march=athlon64 -O2 -pipe -msse3 -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTryCompileExec /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1 /usr/bin/c++ -march=athlon64 -O2 -pipe -msse3 -fPIC -Wl,-O1 -ldl -lmpi CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -o cmTryCompileExec -rdynamic /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmpi collect2: ld returned 1 exit status gmake[1]: Leaving directory `/var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2_build/CMakeFiles/CMakeTmp' gmake[1]: *** [cmTryCompileExec] Error 1 gmake: *** [cmTryCompileExec/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:17 (project) -- Configuring incomplete, errors occurred! * ERROR: sci-libs/gmsh-2.4.2 failed: * cmake failed * * Call stack: * ebuild.sh, line 54: Called src_configure * environment, line 3043: Called cmake-utils_src_configure '-DENABLE_BLAS_LAPACK=OFF' '-DENABLE_CGNS=OFF' '-DENABLE_CHACO=OFF' '-DENABLE_FLTK=ON' '-DENABLE_FL_TREE=ON' '-DENABLE_GRAPHICS=ON' '-DENABLE_MED=OFF' '-DENABLE_METIS=OFF' '-DENABLE_OCC=OFF' * environment, line 778: Called _execute_optionaly 'src_configure' '-DENABLE_BLAS_LAPACK=OFF' '-DENABLE_CGNS=OFF' '-DENABLE_CHACO=OFF' '-DENABLE_FLTK=ON' '-DENABLE_FL_TREE=ON' '-DENABLE_GRAPHICS=ON' '-DENABLE_MED=OFF' '-DENABLE_METIS=OFF' '-DENABLE_OCC=OFF' * environment, line 243: Called enable_cmake-utils_src_configure '-DENABLE_BLAS_LAPACK=OFF' '-DENABLE_CGNS=OFF' '-DENABLE_CHACO=OFF' '-DENABLE_FLTK=ON' '-DENABLE_FL_TREE=ON' '-DENABLE_GRAPHICS=ON' '-DENABLE_MED=OFF' '-DENABLE_METIS=OFF' '-DENABLE_OCC=OFF' * environment, line 1191: Called die * The specific snippet of code: * cmake "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of 'emerge --info =sci-libs/gmsh-2.4.2', * the complete build log and the output of 'emerge -pqv =sci-libs/gmsh-2.4.2'. * This ebuild is from an overlay named 'science': '/usr/local/portage/layman/science/' * The complete build log is located at '/var/tmp/portage/sci-libs/gmsh-2.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/gmsh-2.4.2/temp/environment'. * S: '/var/tmp/portage/sci-libs/gmsh-2.4.2/work/gmsh-2.4.2'