k3d with cuda use flag, fail to build without checking if cuda compiler is installed. # emerge k3d -------------- [ 36%] Generating ../../lib/libk3d-cuda-shared.so /bin/sh: CUDA_COMPILER-NOTFOUND: command not found make[2]: *** [lib/libk3d-cuda-shared.so] Error 127 make[1]: *** [modules/cuda/CMakeFiles/k3d-cuda.dir/all] Error 2 make: *** [all] Error 2 ----------------------------------------------- # eix cuda ----------------------------------------------- * dev-util/nvidia-cuda-profiler Available versions: ~1.0 ~1.1 {doc} Homepage: http://developer.nvidia.com/cuda Description: NVIDIA CUDA Visual Profiler * dev-util/nvidia-cuda-sdk Available versions: ~2.02.0807.1535 ~2.10.1215.2015 {debug emulation} Homepage: http://developer.nvidia.com/cuda Description: NVIDIA CUDA Software Development Kit * dev-util/nvidia-cuda-toolkit Available versions: ~2.0!s ~2.1!s {doc} Homepage: http://developer.nvidia.com/cuda Description: NVIDIA CUDA Toolkit ------------------------------------ i don't know exactly what package contains the cuda compiler (try to guess... the sdk? ;-)) well anyway, i think that k3d has to depends on one of those packages if merged with cuda use flag.
Please post your "emerge --info" and attach the build.log file of the failed emerge to this bug.
Reopen this bug when you provide the requested information.
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5 Timestamp of tree: Mon, 30 Mar 2009 06:00:01 +0000 distcc[20236] (dcc_mkdir) ERROR: mkdir '/var/tmp/portage/.distcc/state' failed: No such file or directory [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe" CHOST="x86_64-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -mmmx -msse -msse2 -m3dnow -pipe" DISTDIR="/var/tmp/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" LANG="it_IT" LC_ALL="it_IT" LDFLAGS="-Wl,-O1" LINGUAS="it_IT" 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/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/java-overlay /usr/local/overlays/fluendo-elisa /usr/local/overlays/zugaina /usr/local/overlays/armagetron /usr/local/overlays/desktop-effects /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa amd64 amuled apache2 asf audacious avahi avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo cddb cdparanoia cdr chm cli cracklib crypt cups curl dbus directfb dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam fbcon fbsplash ffmpeg flac gcj gd gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn ieee1394 imagemagick innodb ipod ipv6 isdnlog jack java jpeg jpeg2k kerberos lcms ldap libnotify libvisual lirc lzo mad matroska midi mikmod mmx mng mod modplug mono mp3 mpd mpeg mtp mudflap multilib musepack mysql mythtv nautilus ncurses nfs nls nptl nptlonly nsplugin nvidia objc odbc ogg oggvorbis openal openexr opengl openmp pam pcre pdf perl png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner schroedinger sdl session skins sndfile speex spell spl sqlite srt sse sse2 sse3 ssl startup-notification stream streamout svg sysfs tagwriting tcpd tga theora threads tiff truetype tv unicode usb userlocales v4l vcd vhosts vorbis wacom wavpack webservices wmf wxwindows x264 xine xinerama xml xml2 xorg xosd xpm xulrunner xv xvid xvmc 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it_IT" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 186809 [details] build1-k3d-0.7.11.0.log
provided build log and emerge info. After the first obvious problem (cuda compiler not found) i've tried installing the nvidia-cuda-toolkit and then re-emerge k3d without "luck". I attach the others log files of the builds. Installed nvidia driver: x11-drivers/nvidia-drivers-180.29
Created attachment 186812 [details] k3d build with nvidia-cuda-toolkit-2.1
Created attachment 186813 [details] k3d build with nvidia-cuda-toolkit-2.0
this issue seems to be fixed in upstream's svn. could you please verify that this patch solves the problem? thanks in advance. http://k3d.svn.sourceforge.net/viewvc/k3d/trunk/modules/cuda/cuda_mesh_subdivide_edges.cpp?view=patch&r1=1782&r2=1820&sortby=date
no problem... except time :p I'll let u know asap.
(In reply to comment #9) > no problem... except time :p I'll let u know asap. ping =)
*k3d-0.7.11.0-r1 (23 Apr 2009) 23 Apr 2009; Markus Meier <maekke@gentoo.org> +files/k3d-0.7.11.0-cuda.patch, +k3d-0.7.11.0-r1.ebuild: revision bump to fix building with cuda USE-flag, bug #263811