Hello, I urgently need help installing a program for my Epson Perfection 4870 scanner in Artix.
For Debian or Suse, the manufacturer has bash scripts that can be installed without any problems. For Artix no, so I have to resort to compiling them myself.
I tried two programs, namely iscan and imagescan.
I was unable to install either of them.
iscan:
./configure ran without any problems. make ended with the following error message:
jpegstream.cc:85:31: Fehler: Aufruf des überladenen »div(unsigned int&, long unsigned int)« ist nicht eindeutig
85 | div_t index = div (i, 8 * sizeof (JSAMPLE));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In Datei, eingebunden von /usr/include/c++/14.1.1/cstdlib:79,
von /usr/include/c++/14.1.1/stdlib.h:36,
von /usr/include/libltdl/lt_system.h:36,
von /usr/include/ltdl.h:36,
von basic-imgstream.hh:55,
von jpegstream.hh:41,
von jpegstream.cc:34:
/usr/include/stdlib.h:992:14: Anmerkung: Kandidat: »div_t div(int, int)«
992 | extern div_t div (int __numer, int __denom)
| ^~~
/usr/include/c++/14.1.1/cstdlib:217:3: Anmerkung: Kandidat: »lldiv_t __gnu_cxx::div(long long int, long long int)«
217 | div(long long __n, long long __d)
| ^~~
/usr/include/c++/14.1.1/cstdlib:181:3: Anmerkung: Kandidat: »ldiv_t std::div(long int, long int)«
181 | div(long __i, long __j) _GLIBCXX_NOTHROW { return ldiv(__i, __j); }
| ^~~
make[3]: *** [Makefile:498: libimage_stream_la-jpegstream.lo] Fehler 1
make[3]: Verzeichnis „/home/mikey/Arbeitsfläche/iscan-2.30.4/lib“ wird verlassen
make[2]: *** [Makefile:552: all-recursive] Fehler 1
make[2]: Verzeichnis „/home/mikey/Arbeitsfläche/iscan-2.30.4/lib“ wird verlassen
make[1]: *** [Makefile:448: all-recursive] Fehler 1
make[1]: Verzeichnis „/home/mikey/Arbeitsfläche/iscan-2.30.4“ wird verlassen
make: *** [Makefile:377: all] Fehler 2
imagescan:
Autoconf -if already ended with errors:
configure.ac:54: error: possibly undefined macro: AS_IF
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:56: error: possibly undefined macro: AC_MSG_NOTICE
configure.ac:221: error: possibly undefined macro: AC_MSG_ERROR
autoreconf: error: /usr/bin/autoconf failed with exit status: 1
./configure than:
configure: error: cannot find required auxiliary files: config.guess config.sub ar-lib compile missing install-sh
Can someone please help me, I really need the scanner. ...that at least one software is running.
If this topic is wrong, please move it.
Artix S6 with trinity