You have some weird thing called gpp in your PATH, which makes the
configure script think it's the C++ compiler (but in fact it's
a preprocessor)
real_configure:10361: checking for g++
real_configure:10397: result: no
real_configure:10361: checking for c++
real_configure:10397: result: no
real_configure:10361: checking for gpp
real_configure:10382: found /usr/bin/gpp
real_configure:10394: result: gpp
real_configure:10421: checking for C++ compiler version
real_configure:10430: gpp --version >&5
GPP 2.28
followed by the error you indicated:
real_configure:10445: checking whether the compiler supports GNU C++
real_configure:10465: gpp -c conftest.cpp >&5
stdin:1: error: character not allowed to start a syntax specifier
Please install gcc-c++ (which should give you g++, it seems to me - I
don't have an OpenSuse to test myself)
This will give you g++ and this will all go through.
(also don't forget to install gcc-fortran, etc)
HTH
Dima
On Tue, Aug 19, 2025 at 4:56 AM 'Michael Dreher' via sage-support
<
sage-s...@googlegroups.com> wrote:
>
> Hello Dima,
>
> now I have tried 10.7 and it fails in the same location.
>
> thanks a lot,
> Michael
>
>
dim...@gmail.com schrieb am Montag, 18. August 2025 um 16:54:38 UTC+2:
>>
>> Could you please try 10.7 instead?
>>
>>
>> On August 18, 2025 9:10:09 AM EDT, 'Michael Dreher' via sage-support <
sage-s...@googlegroups.com> wrote:
>>>
>>> Hello all,
>>>
>>> for several years, I have installed sagemath on opensuse distributions from source, without problems. And I think that I have some experience with compiling from source.
>>>
>>> But now it fails in the "./configure" stage with the claim of a missing "complex.h". But this file exists in /usr/include/complex.h
>>>
>>> The system is opensuse leap 15.6 with gcc 13.2.1 and python3.9.
>>>
>>>
>>>
>>> Any help is greatly appreciated!
>>>
>>> best wishes
>>> Michael
>>>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-support...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/sage-support/4090c1e5-312d-4ad0-b128-e7dd82dd5bbdn%40googlegroups.com.