Hello Dima,

thanks a lot; this is indeed the solution. Uninstalling the gpp 
preprocessor led to the ./configure run through, and also the "make" step 
was mostly successfull. I had to define a symbolic link "/usr/bin/g++" that 
points to "/usr/bin/g++-13" because the MAKEFLAG CXX=g++-13 somehow did not 
propagate to the compilation of the singular package. 

thanks again, the issue is solved now.
Michael

[email protected] schrieb am Dienstag, 19. August 2025 um 18:43:20 UTC+2:

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 
<[email protected]> wrote: 
> 
> Hello Dima, 
> 
> now I have tried 10.7 and it fails in the same location. 
> 
> thanks a lot, 
> Michael 
> 
> [email protected] 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 <
[email protected]> 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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/cd589850-4de3-4689-a35d-a6f0aab9191dn%40googlegroups.com.

Reply via email to