Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error compiling cmake
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
EndlessEmergency
n00b
n00b


Joined: 07 Apr 2009
Posts: 3

PostPosted: Fri Apr 10, 2009 2:47 pm    Post subject: Error compiling cmake Reply with quote

I'm trying to install Gnome, and I'm having problems with cmake. I haven't the faintest idea what is wrong with it. It throws a bunch of warnings about deprecated calls, then it just crashes. Here is the log. I'm happy to provide any additional information needed.

Am I doing something wrong?
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Sat Apr 11, 2009 12:50 pm    Post subject: Reply with quote

Can you post the output of emerge --info?
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Sat Apr 11, 2009 3:42 pm    Post subject: Reply with quote

I seem to have the same problem :

Code:
-- Generating done
-- Build files have been written to: /var/tmp/portage/dev-util/cmake-2.6.3-r1/work/cmake-2.6.3
>>> 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 -j1
Scanning dependencies of target cmsys
[  0%] Building C object Source/kwsys/CMakeFiles/cmsys.dir/ProcessUNIX.o
i686-pc-linux-gnu-gcc: DEFINES: No such file or directory
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
 *
 * ERROR: dev-util/cmake-2.6.3-r1 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3227:  Called cmake-utils_src_compile
 *             environment, line  858:  Called cmake-utils_src_make
 *             environment, line  936:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make 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/dev-util/cmake-2.6.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.6.3-r1/temp/environment'.
 *

>>> Failed to emerge dev-util/cmake-2.6.3-r1, Log file:

>>>  '/var/tmp/portage/dev-util/cmake-2.6.3-r1/temp/build.log'

 * Messages for package dev-util/cmake-2.6.3-r1:
snip


I intentionally added MAKEOPTS="-j1" to the options because sometimes it does seem to help :)

Code:
Ichigo ~ # emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.29-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Sat, 11 Apr 2009 14:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
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.4_p6, 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j2 -s"
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.de.gentoo.org/gentoo-portage"
USE="acl alsa berkdb branding bzip2 cli cracklib crypt cups dri fortran gdbm gif gpm iconv isdnlog jpeg midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd tiff unicode x86 xorg zlib" ALSA_CARDS="emu10k1" 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 mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" 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


edit : while i was posting this, i got to thinking :) , i suspect it might have something to do with the version of gcc im running on, i dont have the fastest of pc's but i am trying upgrading gcc first and will let you know if that worked
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Sat Apr 11, 2009 9:47 pm    Post subject: Reply with quote

Well, that took some time...

I still have the same problem, but unfortunatly while trying to compile gcc i uncovered disk problems on my root partition so ill have to let this one slide ...
Back to top
View user's profile Send private message
EndlessEmergency
n00b
n00b


Joined: 07 Apr 2009
Posts: 3

PostPosted: Sun Apr 12, 2009 12:23 am    Post subject: Reply with quote

loftwyr wrote:
Can you post the output of emerge --info?

Code:
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sat, 04 Apr 2009 20:00:05 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="  http://gentoo.mirrors.tera-byte.com/ http://gentoo.mirrors.tera-byte.com/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
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="16bit X aac aalib acl aiglx alsa apache2 apm applet aqua_theme artworkextra audiofile avahi avi berkdb bigger-fonts bitmap-fonts bluetooth bzip2 cairo ccache cddb cdparanoia cdr cdrom cli cracklib crypt css ctype curl dba dbus dhcp dri dvb dvd dvdr dvdread edb eds emboss emerald encode esd ethereal exif expat fame fastbuild fbcon firefox flac force-cgi-redirect fortran ftp gd gdbm gif glitz glut glx gmp gnome gpm gstreamer gtk gtk2 gtkhtml gzip hal hddtemp iconv idn ieee1394 imlib injection ipv6 isdnlog jabber java jpeg jpeg2k lcms ldap libg++ libwww lm_sensors logitech-mouse loop-aes mad madwifi mdnsresponder-compat memlimit menubar midi mikmod mjpeg mmx mmxext mng mp3 mp4live mpeg mpeg2 mplayer mudflap musepack mysql mythtv nautilus ncurses nls nptl nptlonly nsplugin nvidia nvram ogg oggvorbis opengl openmp pango pcre pdf pdflib perl png posix pppd python qt3support quicktime readline reflection reiserfs rhythmbox sdl session simplexml slang smp sndfile soap sockets sox speedo spell spl sse sse-filters sse2 ssl svg svga symlink sysfs syslog tcltk tcpd theora tiff timidity tokenizer transcode truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 v4l v4l2 vcd vcdimager videos vidix vorbis win32codecs wma wma123 wxwindows x86 xcd xcomposite xine xinerama xkb xml xml2 xorg xpm xscreensaver xsl xv zlib" ALSA_CARDS="hda-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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
gds
n00b
n00b


Joined: 12 Apr 2009
Posts: 2

PostPosted: Sun Apr 12, 2009 9:08 pm    Post subject: Reply with quote

@frustie: see https://forums.gentoo.org/viewtopic-p-5646914.html#5646914
Back to top
View user's profile Send private message
Frustie
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2007
Posts: 101
Location: My own little planet.

PostPosted: Mon Apr 13, 2009 9:06 am    Post subject: Reply with quote

gds wrote:
@frustie: see https://forums.gentoo.org/viewtopic-p-5646914.html#5646914


Success \o/

From the above post :
scarabeus wrote:
Fixed in cmake ebuild. Now should work ok.
Sorry i forget that current eclass support only cmake-2.6


Resynced and its compiling fine

Thanks all :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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