[Coin-lpsolver] Typo in configure?

Lou Hafer lou at cs.sfu.ca
Sat Jan 19 21:54:51 EST 2008


Pedro,

> I checked out the stable 1.6 from the svn, when it seems there is typo
> in the configure file at line 1946 (I replaced -V with -v and thinks
> worked for me).

	I'm a bit baffled. When I look at the top-level configure file for 
Clp/stable/1.6, I see

   # Provide some information about the compiler.
   echo "$as_me:$LINENO:" \
        "checking for C compiler version" >&5
   ac_compiler=`set X $ac_compile; echo $2`
   { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
     (eval $ac_compiler --version </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
**   (eval $ac_compiler -v </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
     (eval $ac_compiler -V </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:$LINENO: \$? = $ac_status" >&5
     (exit $ac_status); }

Line 1946 is marked with `**'. This sequence is autotools boilerplate which is 
attempting to determine just what sort of compiler you have --- here it's trying 
a few possibilities to ask the compiler for version information. It's common for 
the first few possibilities to fail. And line 1946 is already 'v', not 'V'.

	If this remains a problem, it'd be helpful to see the output of 
configure, and the config.log file.
	
							Lou




More information about the Clp mailing list