You are not logged in.
I am attempting to install cnijfilter2-mg3600 printer driver. Using pikaur I get a response that the package can't be built with the current arch only i686 and x86_64 are supported. I have attempted searching for a solve and not yet found one. I have seen the same error on other packages. I simply do not know how to work around my problems with this and I obviously haven't found the proper search term to help either. I hope to get this printer working sooner rather than later. TIA
Last edited by birdmun (2020-05-21 23:44:09)
Offline
I don't use pikaur personally, but I'll assume it's left the PKGBUILD for you (in a subdirectory of your ~/builds folder I'd expect). SImply edit that, and add 'pentium4' inside the bracketed list of architectures next to the arch= label. If it builds from source, that's all you need to do.
Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.
Offline
You can edit PKGBUILDs while running pikaur..
Do you want to edit PKGBUILD for cnijfilter2-mg3600 package? [Y/n]
So you don't have to fiddle inside the /build folder directly.
But the build fails in:
ar: /home/guest/.cache/pikaur/build/cnijfilter2-mg3600/src/cnijfilter2-5.20-1-deb/packages/cnijfilter2_5.20-1_pentium4.deb: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Command 'makepkg --force' failed to execute.
So, you have to modify the package, change arch and add pentium4 and change
ar -x "${_debdir}/cnijfilter2_${pkgver}-1_${_pkgarch}.deb" "data.tar.gz"
and use i386 directly instead of ${_pkgarch}.
Offline
Thanks so much for the quick replies. Hopefully I can remember to keep this in my bag of tricks for next time.
Offline