Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error in compiling libsvm
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tux's lil' helper
Tux's lil' helper

Joined: 15 Jun 2013
Posts: 143

PostPosted: Sat Jun 22, 2013 8:26 pm    Post subject: error in compiling libsvm Reply with quote

Heyas, i got the following error when emerging libsvm:

 * Messages for package sci-libs/libsvm-2.90-r1:

 * ERROR: sci-libs/libsvm-2.90-r1 failed (compile phase):
 *   emake for python modules failed
 * Call stack:
 *, line   93:  Called src_compile
 *   environment, line 6387:  Called python_execute_function '-s' 'compilation'
 *   environment, line 4704:  Called compilation
 *   environment, line 6384:  Called die
 * The specific snippet of code:
 *               emake CXX="$(tc-getCXX)" LDFLAGS="${LDFLAGS} -shared" CFLAGS="${CXXFLAGS} -I$(python_get_includedir) -I.." all || die "emake for python modules failed";
 * If you need support, post the output of `emerge --info '=sci-libs/libsvm-2.90-r1'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/libsvm-2.90-r1'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/libsvm-2.90-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/libsvm-2.90-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/libsvm-2.90-r1/work/libsvm-2.9-3.2/python'

Output of emerge --info '=sci-libs/libsvm-2.90-r1:

Portage (default/linux/x86/13.0, gcc-4.7.3, glibc-2.15-r3, 3.8.13-gentoo i686)
                         System Settings
System uname: Linux-3.8.13-gentoo-i686-Intel-R-_Core-TM-_i7-2670QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8246164 total,   4557116 free
KiB Swap:     498008 total,    498008 free
Timestamp of tree: Sat, 22 Jun 2013 18:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
CFLAGS="-O2 -march=i686 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /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="-O2 -march=i686 -pipe"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac aalib acl acpi alsa apm berkdb bindist branding bzip2 cairo cdda cdr cli cracklib crypt css ctype cups cxx dbus doc dri dv dvd dvdr emacs encode examples fbcon ffmpeg flac fortran ftp gdbm geoip gif gimp gnome gnome-keyring gnome-online-accounts gnome3 gpm gsl gsm gtk iconv icu idn ieee1394 imlib ios ipv6 java javascript jpeg jpeg2k keymap latex libwww mad matroska mms mng modules mono mp3 mp4 mpeg mudflap ncurses nls nptl ogg opengl openmp pam pcre pda pdf png pulseaudio python qt3support qt4 raw rdesktop readline samba session smp sockets sound speex spell ssl suid svg tcpd unicode usb v4l vmf vorbis wifi winbind x86 xemacsxml xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon intel" 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"

Output of emerge -pqv '=sci-libs/libsvm-2.90-r1':

[ebuild  N    ] sci-libs/libsvm-2.90-r1  USE="java python -tools"

Any clues on what to do?
Back to top
View user's profile Send private message
Tux's lil' helper
Tux's lil' helper

Joined: 15 Jun 2013
Posts: 143

PostPosted: Sat Jun 22, 2013 8:28 pm    Post subject: Reply with quote

Unmasking and emerging the version 3.14 made it possible but its, as i said, masked, and the recommended version persists with the behaviour. Maybe the solution is to mask that version and unmask 3.14? dont know. Greetings
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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