>From the log: 

checking LIBRARY_PATH variable... contains current directory
configure: error: 
*** LIBRARY_PATH shouldn't contain the current directory when
*** building gcc. Please change the environment variable
*** and run configure again.
Makefile:4242: recipe for target 'configure-gcc' failed
make[5]: *** [configure-gcc] Error 1
make[5]: Leaving directory 
'/home/ibrahim/projects/gsoc/sage/local/var/tmp/sage/build/gfortran-9.2.0/gcc-build'



Please post config.log as well.

A workaround is to install the system gfortran package. 

On Monday, March 9, 2020 at 12:12:06 PM UTC-4, Ibrahim M. Akrab wrote:
>
> Hi.
> I was trying to build sage for development and contribution in gsoc but I 
> got this build error. I'm not an expert in make so I did as the message 
> told me to do and posted it here.
> My laptop is dell 5558 i7 with 8GB of ram. My OS is linux mint 19.3 
> cinnamon.
>
> This is the message at the end of the failure:
>
>> Error building Sage.
>>
>> The following package(s) may have failed to build (not necessarily
>> during this run of 'make all-start'):
>>
>> * package:         gfortran-9.2.0
>>   last build time: Mar 9 00:27
>>   log file:        /PATH/sage/logs/pkgs/gfortran-9.2.0.log
>>   build directory: /PATH/sage/local/var/tmp/sage/build/gfortran-9.2.0
>>
>> It is safe to delete any log files and build directories, but they
>> contain information that is helpful for debugging build problems.
>> WARNING: If you now run 'make' again, the build directory of the
>> same version of the package will, by default, be deleted. Set the
>> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>>
>>  
> thanks in advance.
> Ibrahim
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a69b91ed-a013-4a4f-824f-04dc677a3cbc%40googlegroups.com.

Reply via email to