Bug 50182 - ogre-0.13.1 needs nvidia-cg-toolkit
Bug#: 50182 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: ir007252@worldonline.be
Component: Games
URL: 
Summary: ogre-0.13.1 needs nvidia-cg-toolkit
Keywords:  
Status Whiteboard: 
Opened: 2004-05-06 00:41 0000
Description:   Opened: 2004-05-06 00:41 0000
While trying to upgrade ogre from 0.12.3 to 0.13.1, the emerge aborts in error.

I get the following message : 

...
checking for pthread_create in -lpthread... yes
checking for cgCreateProgram in -lCg... no
configure: error:
****************************************************************
* You do not have the nVidia Cg libraries installed.           *
* Go to http://developer.nvidia.com/object/cg_toolkit.html     *
* (Click on Cg_Linux.tar.gz).                                  *
****************************************************************
 
!!! ERROR: dev-games/ogre-0.13.1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
 

emerging nvidia-cg-toolkit before emerging ogre fixes this.

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -U ogre
3.

Actual Results:  
the emerge of ogre aborts in error : 

checking for pthread_create in -lpthread... yes
checking for cgCreateProgram in -lCg... no
configure: error:
****************************************************************
* You do not have the nVidia Cg libraries installed.           *
* Go to http://developer.nvidia.com/object/cg_toolkit.html     *
* (Click on Cg_Linux.tar.gz).                                  *
****************************************************************
 
!!! ERROR: dev-games/ogre-0.13.1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
 


Expected Results:  
nvidia-cg-toolkit should have been emerged, thus allowing ogre to be emerged
properly

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.4.3.13
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -fforce-addr
-fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.skynet.be/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dedicated
doc dvd dvdr encode esd foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2
gtkhtml imap imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla
mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt
quicktime readline sdl slang spell ssl stroke svga tcltk tcpd tetex tiff
truetype usb x86 xml xml2 xmms xv zlib"

------- Comment #1 From Mr. Bones. 2004-05-06 17:53:59 0000 -------
This looks like a messed up DEPEND line to me.

------- Comment #2 From SpanKY 2004-05-06 19:41:04 0000 -------
yeah, mr bones fixed it for us

dholm: dont do that :)
http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-games/ogre/ogre-0.13.1.ebuild?r1=1.2&r2=1.3

------- Comment #3 From SpanKY 2004-05-07 11:30:49 0000 -------
*** Bug 50351 has been marked as a duplicate of this bug. ***