Package Details: linux-gpib-dkms 4.3.6-4

Git Clone URL: https://aur.archlinux.org/linux-gpib-dkms.git (read-only, click to copy)
Package Base: linux-gpib-dkms
Description: A support package for GPIB (IEEE 488) hardware (DKMS version).
Upstream URL: http://linux-gpib.sourceforge.net/
Keywords: science
Licenses: GPL
Conflicts: linux-gpib
Provides: linux-gpib
Submitter: Foucault
Maintainer: Foucault
Last Packager: Foucault
Votes: 4
Popularity: 0.184772
First Submitted: 2016-03-14 13:31 (UTC)
Last Updated: 2025-01-10 21:03 (UTC)

Dependencies (6)

Required by (7)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

suridaj commented on 2018-01-10 16:21 (UTC)

Good point. I will try it inside a clean VM and report back.

Foucault commented on 2018-01-07 12:12 (UTC)

This should not happen, because there are no files in the package itself under /lib. Are you sure there are no leftover files from a previous package?

suridaj commented on 2018-01-04 17:45 (UTC) (edited on 2018-01-04 17:47 (UTC) by suridaj)

I am unable to install linux-gpib-dkms 4.1.0-1 built on current Arch Linux. pacman -U complains with the following error message:

error: failed to commit transaction (conflicting files)
linux-gpib-dkms: /lib exists in filesystem
Errors occurred, no packages were upgraded.

It seems these files should go to /usr/lib instead to /lib which is a symlink to /usr/lib (at least in the current filesystem package). I "solved" this by adding the following lines to the end of package():

     cp -r "${pkgdir}/lib" "${pkgdir}/usr"
     rm -rf "${pkgdir}/lib"

Foucault commented on 2017-05-27 10:10 (UTC)

It seems the problematic line is the patch line #include <linux/sched/signal.h> signal.h seems to be missing from 4.9 but seems to be required for the module to be build correctly on 4.11. Because at the moment I'm a little busy can you please try the following on LTS? * Remove linux-gpib-dkms * Download the source tarball [0] * Unpack (tar xvfz) * Edit the PKGBUILD removing line 38 (patch -Np1 -i "../linux-4.11.patch") * Make the package again (makepkg -sf) If that works then we will need a conditional define guard on the header. 0: https://aur.archlinux.org/cgit/aur.git/snapshot/linux-gpib-dkms.tar.gz

tedd commented on 2017-05-27 05:46 (UTC)

Just curious Neros, was this the latest version (4.0.4rc2-3) which includes linux-4.11.patch?

Neros commented on 2017-05-26 23:58 (UTC)

I can't compile anymore on kernel 4.9 (lts): ``` make[6]: *** [scripts/Makefile.modinst:35: /tmp/yaourt-tmp-neros/aur-linux-gpib-dkms/src/linux-gpib-4.0.4rc2/drivers/gpib/agilent_82350b/agilent_82350b.ko] Error 1 make[5]: *** [Makefile:1503: _emodinst_] Error 2 make[5] : on quitte le répertoire « /usr/lib/modules/4.9.29-1-lts/build » make[4]: *** [Makefile:689: install-data-hook] Error 2 make[4] : on quitte le répertoire « /tmp/yaourt-tmp-neros/aur-linux-gpib-dkms/src/linux-gpib-4.0.4rc2/drivers » make[3]: *** [Makefile:608: install-data-am] Error 2 make[3] : on quitte le répertoire « /tmp/yaourt-tmp-neros/aur-linux-gpib-dkms/src/linux-gpib-4.0.4rc2/drivers » make[2]: *** [Makefile:562: install-am] Error 2 make[2] : on quitte le répertoire « /tmp/yaourt-tmp-neros/aur-linux-gpib-dkms/src/linux-gpib-4.0.4rc2/drivers » make[1]: *** [Makefile:401: install-recursive] Error 1 make[1] : on quitte le répertoire « /tmp/yaourt-tmp-neros/aur-linux-gpib-dkms/src/linux-gpib-4.0.4rc2/drivers » make: *** [Makefile:446: install-recursive] Error 1 ==> ERREUR : Une erreur s’est produite dans package(). Abandon... ==> ERREUR : Makepkg n'a pas pu construire linux-gpib-dkms. ```

tedd commented on 2017-05-26 07:11 (UTC) (edited on 2017-05-26 07:16 (UTC) by tedd)

Version 4.0.4rc2 does not build on kernel 4.11.2-1. Created a patch file from upstream bug report: https://sourceforge.net/p/linux-gpib/bugs/61/ https://pastebin.com/raw/HLKheJV0 Tested by trying to build module after kernel upgrade ;)

trincer commented on 2017-03-22 07:24 (UTC)

Hello small issue. The $PYTHON varible does not seem to be set during update of the kernel. resulting in. ==> dkms install linux-gpib/4.0.4rc2 -k 4.10.4-1-ARCH /var/lib/dkms/linux-gpib/4.0.4rc2/build/configure: line 13334: -c: command not found /var/lib/dkms/linux-gpib/4.0.4rc2/build/configure: line 13335: -c: command not found the offending line is. py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"` python is installed as running python -c "import sys; print(sys.prefix)" in the terminal works.

Neros commented on 2016-07-22 10:32 (UTC) (edited on 2016-08-06 14:58 (UTC) by Neros)

Sorry to bother you again but I don't understand how to load the modules. On Ubuntu, I launch them with a `modprobe` (e.g.`modprobe agilent_82357a`). But here, there is nothing I can do with modprobe because there is no module to load... Plus, there is no /dev/gpib0. Am I missing something?

Neros commented on 2016-07-18 23:26 (UTC)

It was easy, it works. Just add as a dependencies: 'linux-headers'