Epson Stylus C43SX - kompilacja sterowników.

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
sthoo
Posty: 52
Rejestracja: 26 lutego 2007, 06:32

Epson Stylus C43SX - kompilacja sterowników.

Post autor: sthoo »

Witam - męczę się już trzeci dzień z drukarką Epson Stylus C43SX - usiłuję zainstalować dla niej dedykowane sterowniki, bo na gutenprincie i gimpprincie siano straszne się na arkuszach pojawia - może mi ktoś podpowiedzieć co dalej:

Kod: Zaznacz cały

machine:/home/sthoo/Desktop/pips-sc43s-cups-2.6.2# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for cups-config... no
./configure: line 2571: test: =: unary operator expected
configure: error: *** 'cups-config' missing, please install CUPS or fix your $PATH ***

Z tym że cups jest zainstalowany i działa (jeszcze się chyba muszę dużo nauczyć co do kompilacji)

Wrzuciłem README I INSTALL jako załączniki.
Jak się uda będzie dla potomnych ;)
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

Sprawdź czy masz libcupsys2-dev. Jeżeli nie, zainstaluj.
sthoo
Posty: 52
Rejestracja: 26 lutego 2007, 06:32

Post autor: sthoo »

Pomogło - teraz make mnie zagięło:

Kod: Zaznacz cały

machine:/home/sthoo/Desktop/pips-sc43s-cups-2.6.2# make
make  all-recursive
make[1]: Wejście do katalogu `/home/sthoo/Desktop/pips-sc43s-cups-2.6.2'
Making all in src
make[2]: Wejście do katalogu `/home/sthoo/Desktop/pips-sc43s-cups-2.6.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2  -O0         -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -c rastertopips.c
rastertopips.c:26:25: error: cups/raster.h: Nie ma takiego pliku ani katalogu
rastertopips.c: In function ‘main’:
rastertopips.c:75: error: ‘cups_raster_t’ undeclared (first use in this function)
rastertopips.c:75: error: (Each undeclared identifier is reported only once
rastertopips.c:75: error: for each function it appears in.)
rastertopips.c:75: error: ‘ras’ undeclared (first use in this function)
rastertopips.c:76: error: ‘cups_page_header_t’ undeclared (first use in this function)
rastertopips.c:76: error: expected ‘;’ before ‘header’
rastertopips.c:120: error: ‘CUPS_RASTER_READ’ undeclared (first use in this function)
rastertopips.c:128: error: ‘header’ undeclared (first use in this function)
make[2]: *** [rastertopips.o] Błąd 1
make[2]: Opuszczenie katalogu `/home/sthoo/Desktop/pips-sc43s-cups-2.6.2/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/sthoo/Desktop/pips-sc43s-cups-2.6.2'
make: *** [all-recursive-am] Błąd 2
Chyba nie będę drukował :-/
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

sthoo pisze:

Kod: Zaznacz cały

rastertopips.c:26:25: error: cups/raster.h: Nie ma takiego pliku ani katalogu
Sprawdź czy masz libcupsimage2-dev. Jeżeli nie, zainstaluj ;)
sthoo
Posty: 52
Rejestracja: 26 lutego 2007, 06:32

Post autor: sthoo »

Ok - poszło - prawie (robi dużą różnicę) - nie odnalazł gtk-config:

Kod: Zaznacz cały

checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find GTK: Is gtk-config in path?
make[3]: Wejście do katalogu `/home/sthoo/.local/share/Trash/files/pips-sc43s-cups-2.6.2/ekpstm/ekpstm-1.0.2'
make[3]: *** Nie podano obiektów i nie znaleziono makefile. Stop.
make[3]: Opuszczenie katalogu `/home/sthoo/.local/share/Trash/files/pips-sc43s-cups-2.6.2/ekpstm/ekpstm-1.0.2'
make[2]: *** [all-local] Błąd 2
make[2]: Opuszczenie katalogu `/home/sthoo/.local/share/Trash/files/pips-sc43s-cups-2.6.2/ekpstm'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/sthoo/.local/share/Trash/files/pips-sc43s-cups-2.6.2'
make: *** [all-recursive-am] Błąd 2
Czego tym razem brakuje :shock: ?
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

libgtk1.2-dev ;)

Możesz przeszukiwać pakiety pod względem ich zawartości na pkg.debian.org

np tak: ;)

---> klik! <---

Powinno przydać sie na przyszłość ;)
sthoo
Posty: 52
Rejestracja: 26 lutego 2007, 06:32

Post autor: sthoo »

Dzięki wielkie el_carles za twoją cierpliwość, jeżeli jednak mogę jej trochę nadużyć mógłbyś zerknąć jeszcze na moje wypociny?

./configure

wynik make

Dla mnie to prawie jak pismo klinowe :-/
el_carles
Junior Member
Posty: 560
Rejestracja: 02 lutego 2007, 17:32

Post autor: el_carles »

main.c:75: error: label at end of compound statement
nie wiem co jest powodem... (może w pliku home/sthoo/Desktop/pips-sc43s-cups-2.6.2/ekpstm/ekpstm-1.0.2/src/main.c coś nie tak... a może inna wersja gcc rozwiązałaby problem...) musisz poczekać na wypowiedź kogoś bardziej obeznanego (nie amatora* (*mnie) ;) )

ale...
README.txt pisze:(1).... Installing a rpm file
Execute the rpm command to complete the installation.

rpm -i pips-sc43s-cups-2.6.2-1.i386.rpm


Depends on the distribution, dependent errors may occur.
Execution of the rpm command shown below may help you to avoid the error.

rpm -i --nodeps pips-sc43s-cups-2.6.2-1.i386.rpm



(2).... Installation with a tgz file
Decompress, and execute install.sh

tar -xvfz pips-sc43s-cups-2.6.2.i386.tgz
cd pips-sc43s-cups-2.6.2
./install.sh

To use the status monitor (ekpstm), describe the text below in the /etc/services.
(You can describe it by executing install-post.sh)

-----Start-----

# written for pips-sc43s-cups
cbtd 35586/tcp
# pips-sc41_42-cups end

------End------
tak, że możesz pobrać plik *.rpm i spróbować go zmienić w *.deb przy pomocy alien'a
lub instalować z pomocą tego instalatora (opcja nr. 2).

Powodzenia!

Pozdrawiam.
ODPOWIEDZ