Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Gentoo Linux Help > Can't get cmake to compile.

Forgot Password?
 Gentoo Linux Help   For help and discussion related to Gentoo Linux

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 04-14-2009   #1 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
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 help.
Please keep it on the forums only.
MikeTbob is online now  


Old 04-15-2009   #2 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
BUMP!
Any takers?
__________________
I do not respond to private messages asking for help.
Please keep it on the forums only.
MikeTbob is online now  
Old 04-15-2009   #3 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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.
i92guboj is offline  
Old 04-15-2009   #4 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
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 help.
Please keep it on the forums only.
MikeTbob is online now  
Old 04-15-2009   #5 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
You might be interested in the --keep-going emerge option for those cases
i92guboj is offline  
Old 04-15-2009   #6 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
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 help.
Please keep it on the forums only.
MikeTbob is online now  
Old 04-15-2009   #7 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,495
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.
i92guboj is offline  
Old 04-15-2009   #8 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
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 help.
Please keep it on the forums only.
MikeTbob is online now  
Old 04-17-2009   #9 (permalink)
Trusted Penguin
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Panther City, Tx
Posts: 4,110
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 help.
Please keep it on the forums only.
MikeTbob is online now  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:35 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2