Package Details: gmp4 4.3.2-1

Git Clone URL: https://aur.archlinux.org/gmp4.git (read-only, click to copy)
Package Base: gmp4
Description: Legacy version of gmp. Provides libgmp.so.3.
Upstream URL: http://gmplib.org/
Licenses: LGPL3
Submitter: spaceships
Maintainer: ozzie286
Last Packager: tippfehlr
Votes: 10
Popularity: 0.000000
First Submitted: 2015-11-06 23:17 (UTC)
Last Updated: 2026-06-12 12:37 (UTC)

Latest Comments

ozzie286 commented on 2026-07-26 19:17 (UTC)

Make this change to PKGBUILD to get the package to build.

build() {
cd gmp-${pkgver}
export PKG_CONFIG_PATH='/usr/lib/pkgconfig'
+export CFLAGS="${CFLAGS} -std=gnu89"
./configure --prefix=/usr --libdir=/usr/lib\
            --includedir=/usr/lib/gmp --enable-cxx
make
}

This was taken from lib32-gmp4-v2. That package also runs make check, and has fixes for the two tests that fail on newer gcc versions.

ozzie286 commented on 2026-07-25 17:34 (UTC) (edited on 2026-07-26 19:17 (UTC) by ozzie286)

Using the latest official arch vm image (on x86_64, not ppc), fails to find a suitable compiler.

mr2meows commented on 2025-08-06 20:15 (UTC)

configure: error: could not find a working compiler, see config.log for details ==> ERROR: A failure occurred in build(). Aborting...

khvalera commented on 2016-11-21 21:52 (UTC)

in file PKGBUILD no i686

simon-nicholls commented on 2016-02-15 15:37 (UTC)

Source has moved to https://gmplib.org/download/archive/gmp-${pkgver}/gmp-${pkgver}.tar.xz