You can install Homebrew's gsl package (so this will solve whatever problem you have with building it), and many more Homebrew packages: check out the last 2 pages of the output of
./configure for a list. We prefer not a part of the config.log, but the whole file. You can attach files here. On 29 March 2025 11:41:32 GMT-05:00, "'Vishal Shahi 4-Yr B.Tech.: Electronics Engg., IIT(BHU)' via sage-devel" <sage-devel@googlegroups.com> wrote: >yes i am using home brew >this is config.log > >ne/lib/pkgconfig:/opt/homebrew/opt/openssl/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig: >--no-create --no-recursion > > >## --------- ## > >## Platform. ## > >## --------- ## > > >hostname = Vishals-MacBook-Air-2.local > >uname -m = arm64 > >uname -r = 24.3.0 > >uname -s = Darwin > >uname -v = Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; >root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 > > >/usr/bin/uname -p = arm > >/bin/uname -X = unknown > > >/bin/arch = unknown > >/usr/bin/arch -k = unknown > >/usr/convex/getsysinfo = unknown > >/usr/bin/hostinfo = Mach kernel version: > > Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; >root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 > >Kernel configured for up to 8 processors. > >8 processors are physically available. > >8 processors are logically available. > >Processor type: arm64e (ARM64E) > >Processors active: 0 1 2 3 4 5 6 7 > >Primary memory available: 8.00 gigabytes > >Default processor set: 550 tasks, 2421 threads, 8 processors > >Load average: 1.69, Mach factor: 6.30 > >/bin/machine = unknown > >/usr/bin/oslevel = unknown > >/bin/universe = unknown > > >PATH: /opt/homebrew/opt/polymake/bin/ > >PATH: /opt/homebrew/opt/texinfo/bin/ > > >/usr/bin/uname -p = arm > >/bin/uname -X = unknown > > >/bin/arch = unknown > >/usr/bin/arch -k = unknown > >/usr/convex/getsysinfo = unknown > >/usr/bin/hostinfo = Mach kernel version: > > Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; >root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 > >Kernel configured for up to 8 processors. > >8 processors are physically available. > >8 processors are logically available. > >Processor type: arm64e (ARM64E) > >Processors active: 0 1 2 3 4 5 6 7 > >Primary memory available: 8.00 gigabytes > >Default processor set: 550 tasks, 2421 threads, 8 processors > >Load average: 1.69, Mach factor: 6.30 > >/bin/machine = unknown > >/usr/bin/oslevel = unknown > >/bin/universe = unknown > > >PATH: /opt/homebrew/opt/polymake/bin/ > >PATH: /opt/homebrew/opt/texinfo/bin/ > >PATH: /opt/homebrew/opt/bzip2/bin/ > >PATH: /opt/homebrew/opt/polymake/bin/ > >PATH: /opt/homebrew/opt/texinfo/bin/ > >PATH: /opt/homebrew/opt/bzip2/bin/ > >PATH: /Users/vishalshahi/.nvm/versions/node/v18.20.7/bin/ > >PATH: /Users/vishalshahi/.pyenv/shims/ > >PATH: /opt/miniconda3/condabin/ > >PATH: /opt/homebrew/bin/ > >PATH: /opt/homebrew/sbin/ > >PATH: /Library/Frameworks/Python.framework/Versions/3.12/bin/ > >PATH: /usr/local/bin/ > >PATH: /System/Cryptexes/App/usr/bin/ > >PATH: /usr/bin/ > >PATH: /bin/ > >PATH: /usr/sbin/ > >PATH: /sbin/ > >PATH: >/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/ > >PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/ > >PATH: >/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/ > >PATH: /Library/Apple/usr/bin/ > >PATH: /Users/vishalshahi/.cargo/bin/ > > > >## ----------- ## > >## Core tests. ## > >## ----------- ## > > >configure:5522: looking for aux files: config.guess config.sub compile >config.rpath missing install-sh > >configure:5535: trying ./config/ > >configure:5564: ./config/config.guess found > >configure:5564: ./config/config.sub found > >configure:5564: ./config/compile found > >configure:5564: ./config/config.rpath found > >configure:5564: ./config/missing found > >configure:5546: ./config/install-sh found > >configure:5702: checking for a BSD-compatible install > >configure:5776: result: /opt/homebrew/bin/ginstall -c > >configure:5787: checking whether sleep supports fractional seconds > >configure:5803: result: yes > >configure:5806: checking filesystem timestamp resolution > >configure:5941: result: 2 > >configure:5946: checking whether build environment is sane > >configure:5987: result: yes > >configure:6158: checking for a race-free mkdir -p > >configure:6201: result: /opt/homebrew/bin/gmkdir -p > >configure:6208: checking for gawk > >configure:6244: result: no > >configure:6208: checking for mawk > >configure:6244: result: no > >configure:6208: checking for nawk > >configure:6244: result: no > >configure:6208: checking for awk > >configure:6229: found /usr/bin/awk > >configure:6241: result: awk > >configure:6252: checking whether make sets $(MAKE) > >configure:6276: result: yes > >configure:6302: checking whether make supports nested variables > >configure:6321: result: yes > >configure:6335: checking xargs -n works > >configure:6351: result: yes > >configure:6452: checking whether to enable maintainer-specific portions of >Makefiles > >configure:6463: result: yes > >configure:6492: checking whether make supports the include directive > >configure:6507: make -f confmf.GNU && cat confinc.out > >this is the am__doit target > >configure:6510: $? = 0 > >configure:6529: result: yes (GNU style) > >configure:6606: checking for gcc > >configure:6627: found /usr/bin/gcc > >configure:6639: result: gcc > >configure:6998: checking for C compiler version > >configure:7007: gcc --version >&5 > >Apple clang version 16.0.0 (clang-1600.0.26.6) > >Target: arm64-apple-darwin24.3.0 > >Thread model: posix > >InstalledDir: /Library/Developer/CommandLineTools/usr/bin > >configure:7018: $? = 0 > >configure:7007: gcc -v >&5 > >Apple clang version 16.0.0 (clang-1600.0.26.6) > >Target: arm64-apple-darwin24.3.0 > >Thread model: posix > >InstalledDir: /Library/Developer/CommandLineTools/usr/bin > >configure:7018: $? = 0 > >configure:7007: gcc -V >&5 > >clang: error: argument to '-V' is missing (expected 1 value) > >clang: error: no input files > >configure:7018: $? = 1 > >configure:7007: gcc -qversion >&5 > >clang: error: unknown argument '-qversion'; did you mean '--version'? > >clang: error: no input files > >configure:7018: $? = 1 > >configure:7007: gcc -version >&5 > >clang: error: unknown argument '-version'; did you mean '--version'? > >clang: error: no input files > >configure:7018: $? = 1 > >configure:7038: checking whether the C compiler works > >configure:7060: gcc conftest.c >&5 > >configure:7064: $? = 0 > >configure:7115: result: yes > >configure:7119: checking for C compiler default output file name > >configure:7121: result: a.out > > >Do you need more sir ? > > > >On Sat, Mar 29, 2025 at 8:56 PM Dima Pasechnik <dimp...@gmail.com> wrote: > >> Do you use Homebrew? >> Please post top-level config.log >> >> >> On 29 March 2025 01:29:35 GMT-05:00, 'Vishal Shahi' via sage-devel < >> sage-devel@googlegroups.com> wrote: >> >>> 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/EB91F382-B326-4873-B115-9EC41C53753E%40gmail.com >> <https://groups.google.com/d/msgid/sage-devel/EB91F382-B326-4873-B115-9EC41C53753E%40gmail.com?utm_medium=email&utm_source=footer> >> . >> > >-- >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/CAL2Ch8ZRAB4PaFGPgVzo_fwwtF5kACne9swUir2-Ebhcy5m_Ww%40mail.gmail.com. -- 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/6AF38F98-63D7-47F3-8A08-92EF3B8B4FAA%40gmail.com.