Skocz do zawartości

Drukarka Canon Pixma Mp252 - Cnijfilter Nie Widzi


wannolot

Rekomendowane odpowiedzi

witam

 

Probowalem zainstalowac cnijfiltera 3.40-1 (oprogramowanie canona) przeznaczonego dla drukarki MP250 (strona CANON Polska takie oprogramowanie proponuje dla tej drukarki) , ale niestety system (fedora 15) nie widzi drukarki:

 

 Canon Inkjet Printer Driver Ver.3.40-1 for Linux
Copyright CANON INC. 2001-2010
All Rights Reserved.

==================================================
Command executed = rpm -Uvh /home/Hania/Pobrane/pliki_do_canon_pixma_mp250/cnijfilter-mp250series-3.40-1-rpm/packages/cnijfilter-common-3.40-1.i386.rpm
Przygotowywanie...          ########################################### [100%]
  1:cnijfilter-common      ########################################### [100%]
Command executed = rpm -Uvh /home/Hania/Pobrane/pliki_do_canon_pixma_mp250/cnijfilter-mp250series-3.40-1-rpm/packages/cnijfilter-mp250series-3.40-1.i386.rpm
Przygotowywanie...          ########################################### [100%]
  1:cnijfilter-mp250series ########################################### [100%]

#=========================================================#
#  Register Printer
#=========================================================#
Next, register the printer to the computer.
Connect the printer, and then turn on the power.
To use the printer on the network, connect the printer to the network.
When the printer is ready, press the Enter key.
> 

Searching for printers...


#=========================================================#
#  Select Printer
#=========================================================#
Select the printer.
If the printer you want to use is not listed, select Update [0] to search again.
To cancel the process, enter [Q].
-----------------------------------------------------------
0) Update
-----------------------------------------------------------
Could not detect the target printer.
-----------------------------------------------------------
Currently selected:[0] Update
Enter the value. [0]

 

oczywiście wciskanie 0 nic nie daje

 

lsusb również nie widzi żadnej podłączonej drukarki:

[Hania@komputer SOURCES]$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 09da:001a A4 Tech Co., Ltd Wireless Mouse & RXM-15 Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 041e:406b Creative Technology, Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

dodam też, że nie wiem, jak podłączyć drukarkę pod wolny USB2.0, którego ten model wymaga (domyślam się, że to jest ten Linux Foundation 2.0 hub) - jak bym nie podłączał, to hub 2.0 widnieje w lsusb

 

komputer to hp Workstation xw4200 - niestety nie mogę się nigdzie doszukać oficjalnego stanowiska HP, czy wszystkie porty USB, jakie są w tym kompie, są portami USB2.0 - jeśli tak, to czy Fedora widzi niektóre porty jako USB1.1 ? Dlaczego?

 

Wracając do instalacji sterownika drukarki - jako, że strona Canona podaje, że ten sterownik jest do fedory 12, a ja mam fedorę 15, to próbowałem jeszcze skompilować na nowo cały sterownik, ale kompilator po wydaniu komendy wywala, że nie ma pliku popt.h - patrz poniższy log:

 

[Hania@komputer SOURCES]$ rpmbuild -tb cnijfilter-source-3.40-1.tar.gz --define="MODEL mp250" --define="MODEL_NUM 356" --with build_common_package
Wykonywanie(%prep): /bin/sh -e /var/tmp/rpm-tmp.rAsvCU
+ umask 022
+ cd /home/Hania/rpmbuild/BUILD
+ echo /home/Hania/rpmbuild/BUILDROOT/cnijfilter-mp250series-3.40-1.i386
/home/Hania/rpmbuild/BUILDROOT/cnijfilter-mp250series-3.40-1.i386
+ cd /home/Hania/rpmbuild/BUILD
+ rm -rf cnijfilter-source-3.40-1
+ /usr/bin/gzip -dc /home/Hania/rpmbuild/SOURCES/cnijfilter-source-3.40-1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cnijfilter-source-3.40-1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Wykonywanie(%build): /bin/sh -e /var/tmp/rpm-tmp.9T8UIj
+ umask 022
+ cd /home/Hania/rpmbuild/BUILD
+ cd cnijfilter-source-3.40-1
+ pushd ppd
~/rpmbuild/BUILD/cnijfilter-source-3.40-1/ppd ~/rpmbuild/BUILD/cnijfilter-source-3.40-1
+ ./autogen.sh --prefix=/usr --program-suffix=mp250
processing .
Running aclocal  ...
Running automake --gnu  ...
configure.in:2: installing `./install-sh'
configure.in:2: installing `./missing'
Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your project uses.
Running autoconf ...
Running ./configure --prefix=/usr --program-suffix=mp250 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
Now type `make' to compile
+ make clean
make: Nothing to be done for `clean'.
+ make
make: Nothing to be done for `all'.
+ popd
~/rpmbuild/BUILD/cnijfilter-source-3.40-1
+ pushd cnijfilter
~/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter ~/rpmbuild/BUILD/cnijfilter-source-3.40-1
+ ./autogen.sh --prefix=/usr/local --program-suffix=mp250 --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/local/bin
processing .
Running aclocal  ...
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: 		[Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu  ...
configure.in:27: installing `./install-sh'
configure.in:27: installing `./missing'
src/Makefile.am: installing `./depcomp'
Running autoconf ...
Running ./configure --prefix=/usr/local --program-suffix=mp250 --enable-libpath=/usr/lib/bjlib --enable-binpath=/usr/local/bin ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/cncl/Makefile
config.status: creating include/misc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Now type `make' to compile the package.
+ make clean
Making clean in include
make[1]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include'
Making clean in misc
make[2]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include/misc'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include/misc'
Making clean in cncl
make[2]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include/cncl'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include/cncl'
Making clean in .
make[2]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include'
make[1]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/include'
Making clean in src
make[1]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/src'
test -z "cif" || rm -f cif
rm -f *.o
make[1]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/src'
Making clean in .
make[1]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter'
make[1]: Nothing to be done for `clean-am'.
make[1]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter'
+ make
make  all-recursive
make[1]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter'
Making all in src
make[2]: Entering directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc    -O2 -MT bjferror.o -MD -MP -MF .deps/bjferror.Tpo -c -o bjferror.o bjferror.c
mv -f .deps/bjferror.Tpo .deps/bjferror.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc    -O2 -MT bjfilter.o -MD -MP -MF .deps/bjfilter.Tpo -c -o bjfilter.o bjfilter.c
bjfilter.c:29:18: fatal error: popt.h: No such file or directory
compilation terminated.
make[2]: *** [bjfilter.o] Error 1
make[2]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Hania/rpmbuild/BUILD/cnijfilter-source-3.40-1/cnijfilter'
make: *** [all] Error 2
błąd: Błędny stan wyjścia z /var/tmp/rpm-tmp.9T8UIj (%build)


Błędy budowania pakietu RPM:
   Błędny stan wyjścia z /var/tmp/rpm-tmp.9T8UIj (%build)

 

można oczywiście uruchamiać kompilator także jako root, ale to niestety niczego nie zmienia - czy ktoś wie, co na ten brakujący popt.h można zaradzić? przy próbie aktualizacji popt-a yumem fedora pisze, że popt już jest zainstalowany i że nie ma nic w tym względzie do zrobienia

 

jeśli ktoś wie, jak uruchomić tę drukarkę na Fedorze bez softu Canona, to oczywiście też będę wdzięczny za wszelkie rady

 

dzięki z góry

Wannolot

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...