Package Details: levmar 2.6-3

Git Clone URL: (read-only, click to copy)
Package Base: levmar
Description: Levenberg-Marquardt nonlinear least squares algorithms in C/C++
Upstream URL:
Licenses: GPL
Submitter: rogersce
Maintainer: anntzer
Last Packager: anntzer
Votes: 22
Popularity: 0.003336
First Submitted: 2012-02-23 21:37
Last Updated: 2016-11-01 01:27

Latest Comments

mabl commented on 2019-06-11 17:54

It looks like it picks up ARCHFLAGS from your environment. I have "-arch x86_64" there. No idea what sets it though... Building with it unset works fine.

anntzer commented on 2019-05-02 21:54

Probably not a very helpful response, but the package builds fine for me...

archmkr commented on 2019-05-02 21:30

It is just me that have to remove $(ARCHFLAGS) from line 16 of the Makefile and to be able to build?

However I already reported to their github:

anntzer commented on 2016-11-01 01:27


bartus commented on 2016-10-31 11:58

Link to the source has changed:

12qu commented on 2014-09-23 05:05

Please either fix the issue raised by sviteni or disown the package. Replacing the PKGBUILD with antony's would do the trick, or alternatively antony could take over maintaining this package?

12qu commented on 2014-09-23 04:27

Fails to install, with error:

gcc -shared -Wl,-soname, -o sobj/ sobj/lm.o sobj/Axb.o sobj/misc.o sobj/lmlec.o sobj/lmbc.o sobj/lmblec.o sobj/lmbleic.o -llapack -lblas -lf2c -lm
/usr/bin/ld: cannot find -lf2c
collect2: error: ld returned 1 exit status recipe for target 'sobj/' failed
make: *** [sobj/] Error 1

Not sure what the issue is since I have `f2c` installed (also from the AUR). Modifying the PKGBUILD so that the call to cmake is replaced with:

cmake -DBUILD_DEMO=FALSE -DCMAKE_INSTALL_PREFIX=$pkgdir/usr ./ || exit 1

(i.e. adding the `-DBUILD_DEMO=FALSE` definition) allows me to install this package successfully.

anntzer commented on 2014-05-19 19:40

See for a PKGBUILD that compiles a shared library.

svitenti commented on 2014-01-27 13:29

Please also add CFLAGS='-fPIC' before the cmake call to support compilation of shared libraries against it.

svitenti commented on 2014-01-27 12:40

Please add options=(staticlibs) or compile a shared library in the PKGBUILD. In the current format no binary is included in the package.