Package Details: libmpsse 1.3-3

Git Clone URL: https://aur.archlinux.org/libmpsse.git (read-only, click to copy)
Package Base: libmpsse
Description: Open source library for SPI/I2C control via FTDI chips
Upstream URL: https://code.google.com/archive/p/libmpsse/
Licenses: GPL2
Submitter: uffe
Maintainer: uffe
Last Packager: uffe
Votes: 8
Popularity: 0.000000
First Submitted: 2014-04-13 16:14 (UTC)
Last Updated: 2017-07-03 20:37 (UTC)

Latest Comments

« First ‹ Previous 1 2

hweom commented on 2015-11-06 08:50 (UTC)

Build failes: gcc -Wall -fPIC -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -lftdi1 -Wl,-O1,--sort-common,--as-needed,-z,relro -DLIBFTDI1=1 -c support.c gcc -Wall -fPIC -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -lftdi1 -Wl,-O1,--sort-common,--as-needed,-z,relro -DLIBFTDI1=1 -c mpsse.c gcc -Wall -fPIC -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -lftdi1 -Wl,-O1,--sort-common,--as-needed,-z,relro -c fast.c In file included from fast.c:10:0: mpsse.h:9:18: fatal error: ftdi.h: No such file or directory This is a known issue (https://code.google.com/p/libmpsse/issues/detail?id=33) and it has already been fixed in trunk, but the fix hadn't made it way into release. Latest release (1.3) still contains this bug. Is it possible to patch it in-place?

stereohead commented on 2015-04-27 15:14 (UTC)

I've made a patch that modifies the configure file, so the files will be installed in /usr instead of /usr/local. This is necessary because /usr/local/lib is not on the linker's search path, and thus will cause errors like: "error while loading shared libraries: libmpsse.so: cannot open shared object file: No such file or directory" Also, packages should never install in /usr/local, according to https://wiki.archlinux.org/index.php/Arch_packaging_standards#Package_Etiquette The patch is rather simple, and available here: http://pastebin.com/AGHwTBuN It would be cool if this can be included in the PKGBUILD.

uffe commented on 2015-03-15 15:07 (UTC)

update: package-split libmpsse is now without python a new aur package called libmpsse-python provides the python stuff

ckoller commented on 2014-11-11 18:35 (UTC)

Just in case somebody wants to have the lib only without the dependencies to python, this configuration might help: --- PKGBUILD 2014-04-13 18:12:08.000000000 +0200 +++ PKGBUILD2 2014-11-11 19:29:22.791385028 +0100 @@ -39,7 +39,7 @@ prepare() { build() { cd "$srcdir/$pkgname-$pkgver/src" - sh configure + sh configure --libdir=/usr/lib --includedir=/usr/include --disable-python make all }

ckoller commented on 2014-11-11 16:54 (UTC)

Erm.. it seems like the dependency to swig is missing as I get: [...] checking for libftdi1/ftdi.h... yes checking for ftdi_init in -lftdi1... yes which: no swig in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl) error: could not locate swig ==> ERROR: A failure occurred in build(). Aborting... (python2 doesn't come with swig) Otherwise, it would be nice to have a non python-infected version of the whole thing - just a pure lib... ;-)