Find the answer to your Linux question:
Results 1 to 9 of 9
Code: >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3 ... >>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3" make -j2 Scanning dependencies of target cmsysTestDynload Scanning dependencies of target cmsys [ 1%] Building ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864

    Can't get cmake to compile.


    Code:
    >>> Source configured.
    >>> Compiling source in /var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3 ...
    >>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3"
    make -j2 
    Scanning dependencies of target cmsysTestDynload
    Scanning dependencies of target cmsys
    [  1%] Building C object Source/kwsys/CMakeFiles/cmsysTestDynload.dir/testDynload.o
    i686-pc-linux-gnu-gcc: DEFINES: No such file or directory
    [  1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o
    make[2]: *** [Source/kwsys/CMakeFiles/cmsysTestDynload.dir/testDynload.o] Error 1
    make[1]: *** [Source/kwsys/CMakeFiles/cmsysTestDynload.dir/all] Error 2
    make[1]: *** Waiting for unfinished jobs....
    i686-pc-linux-gnu-gcc: DEFINES: No such file or directory
    [  1%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/Base64.o
    i686-pc-linux-gnu-gcc: DEFINES: No such file or directory
    make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/Base64.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o] Error 1
    make[1]: *** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error 2
    make: *** [all] Error 2
     *

    Code:
    emerge --info
    Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 i686)
    =================================================================
    System uname: Linux-2.6.27-gentoo-r8-i686-Pentium-R-_Dual-Core_CPU_E5200_@_2.50GHz-with-glibc2.0
    Timestamp of tree: Sun, 12 Apr 2009 18:00:01 +0000
    app-shells/bash:     3.2_p39
    dev-java/java-config: 2.1.7
    dev-lang/python:     2.5.2-r7
    dev-python/pycrypto: 2.0.1-r8
    dev-util/cmake:      2.4.8
    sys-apps/baselayout: 2.0.0
    sys-apps/openrc:     0.4.3-r1
    sys-apps/sandbox:    1.9
    sys-devel/autoconf:  2.13, 2.63-r1
    sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
    sys-devel/binutils:  2.19.1-r1
    sys-devel/gcc-config: 1.4.1
    sys-devel/libtool:   2.2.6a
    virtual/os-headers:  2.6.28-r1
    ACCEPT_KEYWORDS="x86 ~x86"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-O2 -march=i686 -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
    CXXFLAGS="-O2 -march=i686 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
    GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
    LDFLAGS="-Wl,-O1"
    LINGUAS="en"
    MAKEOPTS="-j2"
    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"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="3dnow X acc acl acpi alsa arts asf avahi avi berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo f77 fam ffmpeg firefox flac foomaticdb fortran ftp gdbm gif glitz gnome gphoto2 gpm gstreamer gtk hal iconv imlib ipv6 isdnlog java jpeg kde kdeprefix kerberos ldap libg++ libnotify libwww lmsensors mad mailwrapper mbox mcal mdnsresponder-compat midi mikmod mime mmx motif mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia oav ogg oggvorbis opengl openmp pam parport pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session snmp spell spl ssl startup-notification svg svga symlink sysfs tcpd tiff truetype type1 unicode usb vorbis win32codecs x86 xcb xcomposite xine xml xml2 xorg xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="intel" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    BUMP!
    Any takers?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    I am not sure what causes these bugs, I've seen a couple of them in bugzilla but I know very little about cmake so I don't know how to fix those. You could check these two, which seem to be very similar:

    Gentoo Full Text Bug Listing
    Gentoo Bug 262225 - dev-games/openscenegraph-2.8.0 - g++ DEFINES: No such file or directory

    I suggest that you open a new bug at bugs.gentoo.org about this. Since I can't help at all.

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Thanks i92guboj,
    I was just looking on the bug report site, I found a few similar ones too. Currently I got emerge to continue by using --skipfirst, hopefully It'll pull in an extra package that will help cmake compile. If I can't get this to work eventually, I will file a bug report.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  5. #5
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    You might be interested in the --keep-going emerge option for those cases

  6. #6
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by i92guboj View Post
    You might be interested in the --keep-going emerge option for those cases
    I saw this for the first time just the other day, can you use that just as you would --skipfirst?
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  7. #7
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by MikeTbob View Post
    I saw this for the first time just the other day, can you use that just as you would --skipfirst?
    By default emerge will stop when a package fails to merge for some reason. In this case, --keep-going will instruct emerge to continue with the next package instead while --skipfirst will just skip the first package in the list.

    I suggested that because it could take a bit to get this fixed. In the while you can just add --keep-going, so you don't have to care about cmake each time you update your system. Another option would be to mask the problematic version of cmake, but then you might not notice when it's fixed until you remember to unmask it.

    You could continue using --skipfirst as well, nothing bad about that. Just that each time you update you will have to do it in two batches.

  8. #8
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Thanks man, this would have come in handy so many times in the past. I actually re-installed about 3 months ago just because I couldn't get emerge to finish anything. This is going to make things alot easier.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  9. #9
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    This problem has disappeared. I'm not sure if it was --sync or something else but I no longer have this problem.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •