Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53810 - vmware-workstation-4.5.1.7568-r1 fails to recognize gcc version.
Summary: vmware-workstation-4.5.1.7568-r1 fails to recognize gcc version.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 07:40 UTC by Rick Clark
Modified: 2004-06-13 12:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Clark 2004-06-13 07:40:04 UTC
I am unable to configure vmware using vmware-config.pl.  I have tried seting the CC env variable with the same results.

Reproducible: Always
Steps to Reproduce:
1.Execute vmware-config.pl
2.Accept defaults.

Actual Results:  
Trying to find a suitable vmmon module for your running kernel. 
 
None of VMware Workstation's pre-built vmmon modules is suitable for your 
running kernel.  Do you want this program to try to build the vmmon module for 
your system (you need to have a C compiler installed on your system)? [yes] 
 
Using compiler "/usr/bin/gcc". Use environment variable CC to override. 
 
What is the location of the directory of C header files that match your running 
kernel? [/lib/modules/2.6.5-gentoo-r1/build/include] 
 
Extracting the sources of the vmmon module. 
 
Building the vmmon module. 
 
Building for VMware Workstation 4.5.1 or VMware GSX Server 3.0.0. 
Using 2.6.x kernel build system. 
make: Entering directory `/tmp/vmware-config10/vmmon-only' 
Makefile:124: *** Inappropriate build environment: you wanted to use gcc version  
while kernel attempts to use gcc version 3.3.3. 
Makefile:126: *** For proper build you'll have to replace /usr/bin/gcc with symbolic 
link to .  Stop. 
make: Leaving directory `/tmp/vmware-config10/vmmon-only' 
Unable to build the vmmon module. 
 

Expected Results:  
It should have compiled the modules. 

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.5-gentoo-r1) 
================================================================= 
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) MP 2400+ 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5 
ACCEPT_KEYWORDS="" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer 
-funsafe-math-optimizations " 
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 /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://mirrors.tds.net/gentoo 
http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo 
ftp://cs.ubishops.ca/pub/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode 
esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg 
kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nptl oggvorbis 
opengl oss pam pda pdflib perl png python qt quicktime readline sdl slang spell sse 
ssl svga tcpd truetype x86 xml xml2 xmms xv zlib" 
 
gcc-3.3.3-r6 
glibc-2.3.3.20040420
Comment 1 Tuan Van (RETIRED) gentoo-dev 2004-06-13 10:46:29 UTC
see bug #52891

# echo $VERSION
# unset VERSION
Comment 2 Rick Clark 2004-06-13 12:09:05 UTC
Thanks, that fixed it. 
I searched for this problem but somhow missed the solution.

Sorry