suitesparse - error when compiling from ports

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sun May 17 14:17:19 UTC 2009


cblasius at gmail.com writes:

> I got the foolowing error when copile the suitesparse
> (/usr/ports/math/suitesparse)
> on Athlon64 FreeBSD-7.2 RELEASE
>
> # make install clean
> ===>  Extracting for suitesparse-3.3.0
> => MD5 Checksum OK for SuiteSparse-3.3.0.tar.gz.
> => SHA256 Checksum OK for SuiteSparse-3.3.0.tar.gz.
> ===>  Patching for suitesparse-3.3.0
> ===>  Applying FreeBSD patches for suitesparse-3.3.0
> /bin/cp -r /usr/ports/math/suitesparse/work/SuiteSparse
> /usr/ports/math/suitesparse/work/SuiteSparse_shared
> ===>   suitesparse-3.3.0 depends on executable: gmake - found
> ===>   suitesparse-3.3.0 depends on executable: gfortran43 - found
> ===>   suitesparse-3.3.0 depends on shared library: atlas - found
> ===>  Configuring for suitesparse-3.3.0
> ===>  Building for suitesparse-3.3.0
> cd /usr/ports/math/suitesparse/work/SuiteSparse ; gmake
> ( cd UFconfig/xerbla ; gmake )
> gmake[1]: Entering directory
> `/usr/ports/math/suitesparse/work/SuiteSparse/UFconfig/xerbla'
> gcc43 -O2 -fno-strict-aliasing -pipe -march=athlon64 -c xerbla.c
> /libexec/ld-elf.so.1: Shared object "libgmp.so.7" not found, required by "cc1"
> gmake[1]: *** [libcerbla.a] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/math/suitesparse/work/SuiteSparse/UFconfig/xerbla'
> gmake: *** [default] Error 2
> *** Error code 2
>
> Stop in /usr/ports/math/suitesparse.
> ==============================
>
> I wanted to install first octave (math/octave), but this above error
> first occured.
>
> Please for help. Thank you in advance.

Looks like there's a missing dependency on math/libgmp4.  
That's puzzling, though, because the FreeBSD build cluster built it fine
just a couple of days ago.


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list