Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 8005

Summary: vmware configure script uses wrong version flag for gcc 3.2
Product: Gentoo Linux Reporter: Evan Teran <evan.teran>
Component: Current packagesAssignee: Preston A. Elder (RETIRED) <prez>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Evan Teran 2002-09-16 17:49:56 UTC
anyway the "/opt/vmware/bin/vmware-config.pl" script somewhere along the line
try's to figure out what version of gcc you have.  The only problem is that it
is using --version which spits out:

gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

on which it fails miserably at parsing.  instead it should be using -dumpversion
which spits out: 

3.2

which after messing with things late last night it did in fact parse correctly.
 I imagine this is an issue with the older gcc 2.95.x line having a --version
which gives a more sanly parsable string.

(BTW, same issue with compiling openoffice from source i think...i dont recall
if that got fixed in 1.0.1)

evan
Comment 1 SpanKY gentoo-dev 2002-12-16 12:12:55 UTC

*** This bug has been marked as a duplicate of 3415 ***