Yes those are normal and part of various autoconf test.
“-V” I think is accepted by PGI compiler (and may be some other)
and would allow for identification of such compiler.
“-qversion” is for testing if you are using IBM XL C compiler.
The other test is for some preprocessor capabilities (I think).
Any auto tooled packages using AC_PROG_CC will display the
first two when using gcc.
I think the later one is from AC_PROG_CPP but it could be something
else.

But there is nothing to worry about. configure is testing for
stuff and some errors are allowed and expected.

François

> On 25/07/2017, at 11:19, [email protected] wrote:
> 
> I have now built sage-8.0 on two openSUSE systems, one with gcc 5.3.1 and one 
> with gcc 4.8.5.
> In both cases I find errors relating to the compiler in config.log. Examples:
> 
> configure:3987: gcc -V >&5
> gcc: error: unrecognized command line option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3998: $? = 1
> configure:3987: gcc -qversion >&5
> gcc: error: unrecognized command line option '-qversion'
> gcc: fatal error: no input files
> compilation terminated.
> 
> configure:4763: gcc -E  conftest.c
> conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
> compilation terminated.
> configure:4763: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "Sage"
> | #define PACKAGE_TARNAME "sage"
> | #define PACKAGE_VERSION "8.0.beta10"
> | #define PACKAGE_STRING "Sage 8.0.beta10"
> | #define PACKAGE_BUGREPORT "[email protected]"
> | #define PACKAGE_URL ""
> | #define PACKAGE "sage"
> | #define VERSION "8.0.beta10"
> | /* end confdefs.h.  */
> 
> ...
> 
> Looking back to sage-7.6, I see the similar errors (have not checked all). Is 
> this normal behavior?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to