Package Details: levmar 2.6-2

Git Clone URL: https://aur.archlinux.org/levmar.git (read-only)
Package Base: levmar
Description: Levenberg-Marquardt nonlinear least squares algorithms in C/C++
Upstream URL: http://www.ics.forth.gr/~lourakis/levmar
Licenses: GPL
Submitter: rogersce
Maintainer: antony
Last Packager: antony
Votes: 1
Popularity: 0.000000
First Submitted: 2012-02-23 21:37
Last Updated: 2015-06-11 00:43

Latest Comments

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,liblevmar.so.2 -o sobj/liblevmar.so.2.2 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
Makefile.so:31: recipe for target 'sobj/liblevmar.so.2.2' failed
make: *** [sobj/liblevmar.so.2.2] 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.

antony commented on 2014-05-19 19:40

See http://pastebin.com/TE8ZdU2m 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.