Dear Sage Development Team,

I am experiencing an issue while building Sage on my MacBook Air M1 running 
macOS Sequoia. I followed all instructions outlined in the GitHub README, 
yet I continually receive an error during the build process, specifically 
when attempting to configure gsl-2.7.1.

```

[gsl-2.7.1] [spkg-install] checking host system type... 
arm-apple-darwin24.3.0

[gsl-2.7.1] [spkg-install] checking for gcc... gcc

[gsl-2.7.1] [spkg-install] checking whether the C compiler works... no

[gsl-2.7.1] [spkg-install] configure: error: in 
`/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src':

[gsl-2.7.1] [spkg-install] configure: error: C compiler cannot create 
executables

[gsl-2.7.1] [spkg-install] See `config.log' for more details

[gsl-2.7.1] [spkg-install] 
********************************************************************************

[gsl-2.7.1] [spkg-install] Error configuring gsl-2.7.1 See the file

[gsl-2.7.1] [spkg-install]     
/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src/config.log

[gsl-2.7.1] [spkg-install] for details.

[gsl-2.7.1] [spkg-install] 
********************************************************************************

[gsl-2.7.1] 
************************************************************************

[gsl-2.7.1] Error installing package gsl-2.7.1

[gsl-2.7.1] 
************************************************************************

[gsl-2.7.1] Please email sage-devel 
(http://groups.google.com/group/sage-devel)

[gsl-2.7.1] explaining the problem and including the log files

[gsl-2.7.1]   /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log

[gsl-2.7.1] and

[gsl-2.7.1]   /Users/vishalshahi/Desktop/sage/sage/config.log

[gsl-2.7.1] Describe your computer, operating system, etc.

[gsl-2.7.1] If you want to try to fix the problem yourself, *don't* just cd 
to

[gsl-2.7.1] 
/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1 and 
type 'make' or whatever is appropriate.

[gsl-2.7.1] Instead, the following commands setup all environment variables

[gsl-2.7.1] correctly and load a subshell for you to debug the error:

[gsl-2.7.1]   (cd 
'/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1' 
&& '/Users/vishalshahi/Desktop/sage/sage/sage' --buildsh)

[gsl-2.7.1] When you are done debugging, you can type "exit" to leave the 
subshell.

[gsl-2.7.1] 
************************************************************************

make[4]: *** [gsl-SAGE_LOCAL-no-deps] Error 1

make[3]: *** 
[/Users/vishalshahi/Desktop/sage/sage/local/var/lib/sage/installed/gsl-2.7.1] 
Error 2

make[2]: *** [all-build] Error 2

***************************************************************

Error building Sage.


The following package(s) may have failed to build (not necessarily

during this run of 'make all-build'):


* package:         gsl-2.7.1

  last build time: Mar 29 11:25

  log file:        
/Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log

  build directory: 
/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1
```
log file gsl 
[spkg-install] configure: error: C compiler cannot create executables
[spkg-install] See `config.log' for more details
[spkg-install] checking for a BSD-compatible install... 
/opt/homebrew/bin/ginstall -c
[spkg-install] checking whether build environment is sane... yes
[spkg-install] checking for a race-free mkdir -p... 
/opt/homebrew/bin/gmkdir -p
[spkg-install] checking for gawk... no
[spkg-install] checking for mawk... no
[spkg-install] checking for nawk... no
[spkg-install] checking for awk... awk
[spkg-install] checking whether make sets $(MAKE)... yes
[spkg-install] checking whether make supports nested variables... yes
[spkg-install] checking whether to enable maintainer-specific portions of 
Makefiles... no
[spkg-install] checking for a sed that does not truncate output... 
/usr/bin/sed
[spkg-install] checking whether make sets $(MAKE)... (cached) yes
[spkg-install] checking build system type... arm-apple-darwin24.3.0
[spkg-install] checking host system type... arm-apple-darwin24.3.0
[spkg-install] checking for gcc... gcc
[spkg-install] checking whether the C compiler works... no
[spkg-install] configure: error: in 
`/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src':
[spkg-install] configure: error: C compiler cannot create executables
[spkg-install] See `config.log' for more details
[spkg-install] 
********************************************************************************
[spkg-install] Error configuring gsl-2.7.1 See the file
[spkg-install]     
/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1/src/config.log
[spkg-install] for details.
[spkg-install] 
********************************************************************************
************************************************************************
Error installing package gsl-2.7.1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
  /Users/vishalshahi/Desktop/sage/sage/logs/pkgs/gsl-2.7.1.log
and
  /Users/vishalshahi/Desktop/sage/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1 and 
type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/Users/vishalshahi/Desktop/sage/sage/local/var/tmp/sage/build/gsl-2.7.1' 
&& '/Users/vishalshahi/Desktop/sage/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
config.log 
#define HAVE_ICONV 1
#define ICONV_CONST 
#define HAVE_ZMQ /**/

configure: exit 0

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by Sage config.status 10.5, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on Vishals-MacBook-Air-2.local

config.status:4031: creating build/make/Makefile-auto
config.status:4031: creating build/make/Makefile
config.status:4031: creating src/bin/sage-env-config
config.status:4031: creating src/bin/sage-src-env-config
config.status:4031: creating build/bin/sage-build-env-config
config.status:4031: creating pkgs/sage-conf/_sage_conf/_conf.py
config.status:4203: executing depfiles commands
config.status:4203: executing mkdirs commands
config.status:4335: creating directory 
/Users/vishalshahi/Desktop/sage/sage/logs/pkgs
config.status:4335: creating directory local
config.status:4335: creating directory local/bin
config.status:4335: creating directory local/etc
config.status:4335: creating directory local/include
config.status:4335: creating directory local/lib
config.status:4335: creating directory local/lib/pkgconfig
config.status:4335: creating directory local/share
config.status:4335: creating directory local/var/lib/sage/installed
config.status:4354: creating directory local/var/tmp/sage/build
config.status:4203: executing links commands
config.status:4370: creating convenience symlink prefix -> local
config.status:4386: creating convenience symlink venv -> 
local/var/lib/sage/venv-python3.9

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/61c3f197-90c8-4213-89b1-4dddf6b9826en%40googlegroups.com.
  • [s... 'Vishal Shahi' via sage-devel
    • ... Dima Pasechnik
      • ... 'Vishal Shahi 4-Yr B.Tech.: Electronics Engg., IIT(BHU)' via sage-devel
        • ... Dima Pasechnik
          • ... dimpase
            • ... Dima Pasechnik
              • ... Dima Pasechnik
                • ... Dima Pasechnik
                • ... 'Vishal Shahi 4-Yr B.Tech.: Electronics Engg., IIT(BHU)' via sage-devel
                • ... Dima Pasechnik

Reply via email to