Search Criteria
Package Details: gambit-c 4.9.4-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/gambit-c.git (read-only, click to copy) |
---|---|
Package Base: | gambit-c |
Description: | Efficient implementation of the Scheme programming language |
Upstream URL: | https://github.com/gambit/gambit |
Licenses: | LGPL, Apache |
Submitter: | gromit |
Maintainer: | sonofaglitch |
Last Packager: | gromit |
Votes: | 1 |
Popularity: | 0.008016 |
First Submitted: | 2024-03-19 23:08 (UTC) |
Last Updated: | 2024-03-19 23:08 (UTC) |
Required by (3)
- blackhole-git (make)
- camisole-languages
- pot (make)
Latest Comments
sonofaglitch commented on 2024-03-31 20:54 (UTC)
Thanks for the advice @vgivanovic configuring with the additional two switches you suggested still results in an error I've originally encountered. Something must be done differently but the configure part seems the same at the least.
vgivanovic commented on 2024-03-25 18:26 (UTC)
All of the following is FYI, grist for the mill, as it were. Hopefully it is somewhat helpful.
PKGBUILD fails when the latest gambit-c tar file doesn't have the expected 'pkgname' and 'pkgver'. There may also be issues with 'v' being prepended (or not) to 'pkgver', so rather than sort all that out, I built by hand after adding '--enable-march=native' and '--enable-dynamic-clib' to the 'configure' command as suggested by 'configure'.
I ended up with 'gsc v' ==> v4.9.5 20230726044844 x86_64-pc-linux-gnu "./configure '--docdir=/usr/share/doc/gambit-c' '--enable-gcc-opts' '--enable-single-host' '--infodir=/usr/share/info' '--libdir=/usr/lib/gambit-c' '--prefix=/usr' '--enable-march=native' '--enable-dynamic-clib'"
and I used 'gcc -v' ==> Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.2.1 20230801 (GCC)
Note: 'gsc' doesn't conflict with ghostscript as alleged in PKGBUILD, but 'gsx' does. 'gsx -v' ==> GPL Ghostscript 10.03.0 (2024-03-06) Copyright (C) 2024 Artifex Software, Inc. All rights reserved.
I didn't mess with renaming '/usr/bin/gsc' to 'usr/bin/gambitc' and then symbolically linking 'gambitc' to 'gsc-script'.
For a test, I used the Fibonacci code given in Section 2.1 of the Gambit Manual: 'gsc -' ==>
SRFI42 seems to have been built without error.
My system: 'inxi' ==> CPU: 8-core AMD Ryzen 9 7940HS w/ Radeon 780M Graphics (-MT MCP-) speed/min/max: 1169/400/5263:6228:5583:5903:6067:5423:5743 MHz Kernel: 6.8.1-arch1-1 x86_64 Up: 1d 23h 8m Mem: 45.59/58.58 GiB (77.8%) Storage: 7.13 TiB (49.5% used) Procs: 560 Shell: FIZSH inxi: 3.3.33
sonofaglitch commented on 2024-03-23 22:30 (UTC) (edited on 2024-03-23 22:34 (UTC) by sonofaglitch)
Apparently an issue v4.9.5 building against the gcc ver. 13.2.1;
https://github.com/gambit/gambit/issues/864
I'll try and keep an eye on and update accordingly when it builds.