The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

форумы  помощь  поиск  регистрация  майллист  вход/выход  слежка  RSS
"pstocapt' for printer 'LBP2900'"
Вариант для распечатки  
Пред. тема | След. тема 
Форум Открытые системы на сервере (Аппаратура, Железо / FreeBSD)
Изначальное сообщение [ Отслеживать ]

"pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 03-Мрт-09, 02:33 
Пытаюсь подключить принтер Canon LBP 2900

Поставил CUPS, запустил, добавил принтер.
Но там висит такая неприятная строчка:

LBP2900 "Filter "pstocapt" for printer "LBP2900" not available: No such file or directory"

Взял из сорцов с canon.com pstocapt и попробовал собрать, высыпал кучу ошибок.
Пробовал сорцы полностью ставить - тоже куча ошибок.

Вопрос в том, куда и что надо пихать, что бы исчезла ошибка и принтер наконец заработал?

Ответить | Правка | Cообщить модератору

Оглавление

Сообщения по теме [Сортировка по времени | RSS]


1. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от angra (ok) on 03-Мрт-09, 03:19 
Ждите телепатов. Как только вернутся из безвременного отпуска, сразу определят какие именно команды вы отдавали, какие конфиги и как правили и, самое важное, какие ошибки получили.


Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

2. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 11-Мрт-09, 17:08 
Когда делаю make (до этого выполнил autogen.sh) в pstocapt, получаю следующие ошибки:

# make
make  all-recursive
Making all in filter
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -Wall -fPIC -g -O2 -MT pstocapt.o -MD -MP -MF ".deps/pstocapt.Tpo" -c -o pstocapt.o pstocapt.c;  then mv -f ".deps/pstocapt.Tpo" ".deps/pstocapt.Po"; else rm -f ".deps/pstocapt.Tpo"; exit 1; fi
pstocapt.c:21:23: error: cups/cups.h: No such file or directory
pstocapt.c:22:22: error: cups/ppd.h: No such file or directory
pstocapt.c:35:21: error: buflist.h: No such file or directory
pstocapt.c: In function 'is_cmd_opt_name':
pstocapt.c:107: warning: implicit declaration of function 'strcmp'
pstocapt.c: At top level:
pstocapt.c:113: error: expected ')' before '*' token
pstocapt.c: In function 'get_driver_table':
pstocapt.c:212: error: 'FILE' undeclared (first use in this function)
pstocapt.c:212: error: (Each undeclared identifier is reported only once
pstocapt.c:212: error: for each function it appears in.)
pstocapt.c:212: error: 'fp' undeclared (first use in this function)
pstocapt.c:212: warning: implicit declaration of function 'fopen'
pstocapt.c:226: warning: implicit declaration of function 'fgetc'
pstocapt.c:228: error: 'EOF' undeclared (first use in this function)
pstocapt.c:241: warning: implicit declaration of function 'strlen'
pstocapt.c:241: warning: incompatible implicit declaration of built-in function 'strlen'
pstocapt.c:245: warning: implicit declaration of function 'strncmp'
pstocapt.c:254: warning: implicit declaration of function 'strcat'
pstocapt.c:254: warning: incompatible implicit declaration of built-in function 'strcat'
pstocapt.c:269: warning: implicit declaration of function 'fclose'
pstocapt.c: At top level:
pstocapt.c:275: error: expected ')' before '*' token
pstocapt.c:350: error: expected declaration specifiers or '...' before 'BufList'
pstocapt.c: In function 'get_ps_params':
pstocapt.c:357: error: 'BufList' undeclared (first use in this function)
pstocapt.c:357: error: 'bl' undeclared (first use in this function)
pstocapt.c:358: error: 'prev_bl' undeclared (first use in this function)
pstocapt.c:376: warning: implicit declaration of function 'strcpy'
pstocapt.c:376: warning: incompatible implicit declaration of built-in function 'strcpy'
pstocapt.c:389: warning: implicit declaration of function 'buflist_new'
pstocapt.c:391: error: 'ps_data' undeclared (first use in this function)
pstocapt.c:394: warning: implicit declaration of function 'buflist_add_tail'
pstocapt.c:435: warning: value computed is not used
pstocapt.c: At top level:
pstocapt.c:483: error: expected ')' before '*' token
pstocapt.c:511: error: expected ')' before '*' token
pstocapt.c: In function 'exec_filter':
pstocapt.c:614: warning: incompatible implicit declaration of built-in function 'strcpy'
pstocapt.c:615: warning: incompatible implicit declaration of built-in function 'strcat'
pstocapt.c:625: warning: implicit declaration of function 'fprintf'
pstocapt.c:625: warning: incompatible implicit declaration of built-in function 'fprintf'
pstocapt.c:625: error: 'stderr' undeclared (first use in this function)
pstocapt.c: In function 'main':
pstocapt.c:647: error: 'cups_option_t' undeclared (first use in this function)
pstocapt.c:647: error: 'p_cups_opt' undeclared (first use in this function)
pstocapt.c:650: error: 'BufList' undeclared (first use in this function)
pstocapt.c:650: error: 'p_ps_data' undeclared (first use in this function)
pstocapt.c:661: warning: implicit declaration of function 'setbuf'
pstocapt.c:661: error: 'stderr' undeclared (first use in this function)
pstocapt.c:662: warning: incompatible implicit declaration of built-in function 'fprintf'
pstocapt.c:664: warning: implicit declaration of function 'memset'
pstocapt.c:664: warning: incompatible implicit declaration of built-in function 'memset'
pstocapt.c:668: warning: implicit declaration of function 'fputs'
pstocapt.c:680: warning: implicit declaration of function 'cupsParseOptions'
pstocapt.c:697: error: too many arguments to function 'get_ps_params'
pstocapt.c:699: warning: implicit declaration of function 'make_cmd_param'
pstocapt.c:699: warning: assignment makes pointer from integer without a cast
pstocapt.c:713: warning: implicit declaration of function 'buflist_write'
pstocapt.c:770: warning: implicit declaration of function 'buflist_destroy'
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt/filter.
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt.
*** Error code 1

Stop in /usr/home/sabo/ftp/cndrvcups-capt-1.80/pstocapt.

Ответить | Правка | ^ к родителю #1 | Наверх | Cообщить модератору

3. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 11-Мрт-09, 17:46 
error_log:

I [11/Mar/2009:17:44:36 +0300] Saving job cache file "/var/cache/cups/job.cache"...
I [11/Mar/2009:17:44:36 +0300] Listening to :::631 (IPv6)
I [11/Mar/2009:17:44:36 +0300] Listening to 0.0.0.0:631 (IPv4)
I [11/Mar/2009:17:44:36 +0300] Listening to /var/run/cups.sock (Domain)
I [11/Mar/2009:17:44:36 +0300] Loaded configuration file "/usr/local/etc/cups/cupsd.conf"
I [11/Mar/2009:17:44:36 +0300] Using default TempDir of /var/spool/cups/tmp...
I [11/Mar/2009:17:44:36 +0300] Configured for up to 100 clients.
I [11/Mar/2009:17:44:36 +0300] Allowing up to 100 client connections per host.
I [11/Mar/2009:17:44:36 +0300] Using policy "default" as the default!
I [11/Mar/2009:17:44:36 +0300] Full reload is required.
I [11/Mar/2009:17:44:36 +0300] Loaded MIME database from '/usr/local/etc/cups': 35 types, 38 filters...
D [11/Mar/2009:17:44:36 +0300] Loading printer LBP2900...
D [11/Mar/2009:17:44:36 +0300] Discarding unused printer-stopped event...
E [11/Mar/2009:17:44:36 +0300] Filter "pstocapt" for printer "LBP2900" not available: No such file or directory
I [11/Mar/2009:17:44:36 +0300] Loading job cache file "/var/cache/cups/job.cache"...
D [11/Mar/2009:17:44:36 +0300] [Job 14] Loading from cache...
D [11/Mar/2009:17:44:36 +0300] [Job 15] Loading from cache...
D [11/Mar/2009:17:44:36 +0300] [Job 16] Loading from cache...
D [11/Mar/2009:17:44:36 +0300] [Job 17] Loading from cache...
D [11/Mar/2009:17:44:36 +0300] [Job 18] Loading from cache...
D [11/Mar/2009:17:44:36 +0300] [Job 19] Loading from cache...
I [11/Mar/2009:17:44:36 +0300] Full reload complete.
I [11/Mar/2009:17:44:36 +0300] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [11/Mar/2009:17:44:37 +0300] Listening to :::631 on fd 3...
I [11/Mar/2009:17:44:37 +0300] Listening to 0.0.0.0:631 on fd 4...
I [11/Mar/2009:17:44:37 +0300] Listening to /var/run/cups.sock on fd 5...
I [11/Mar/2009:17:44:37 +0300] Resuming new connection processing...
D [11/Mar/2009:17:44:38 +0300] cupsdNetIFUpdate: "rl0" = 77.241.41.165...
D [11/Mar/2009:17:44:38 +0300] cupsdNetIFUpdate: "vr0" = 192.168.0.1...
D [11/Mar/2009:17:44:38 +0300] cupsdNetIFUpdate: "lo0" = fe80:5::1...
D [11/Mar/2009:17:44:38 +0300] cupsdNetIFUpdate: "lo0" = localhost...
D [11/Mar/2009:17:44:38 +0300] cupsdNetIFUpdate: "lo0" = localhost...
D [11/Mar/2009:17:44:38 +0300] Report: clients=0
D [11/Mar/2009:17:44:38 +0300] Report: jobs=6
D [11/Mar/2009:17:44:38 +0300] Report: jobs-active=0
D [11/Mar/2009:17:44:38 +0300] Report: printers=1
D [11/Mar/2009:17:44:38 +0300] Report: printers-implicit=0
D [11/Mar/2009:17:44:38 +0300] Report: stringpool-string-count=305
D [11/Mar/2009:17:44:38 +0300] Report: stringpool-alloc-bytes=6832
D [11/Mar/2009:17:44:38 +0300] Report: stringpool-total-bytes=6496

Ответить | Правка | ^ к родителю #2 | Наверх | Cообщить модератору

4. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 11-Мрт-09, 19:42 
Поставил rpm из портов. Ошибка:

# rpm -i cndrvcups-capt-1.80-1.i386.rpm
error: failed dependencies:
        /bin/sh   is needed by cndrvcups-capt-1.80-1
        /bin/sh   is needed by cndrvcups-capt-1.80-1
        /bin/sh   is needed by cndrvcups-capt-1.80-1
        /bin/sh   is needed by cndrvcups-capt-1.80-1
        /bin/sh   is needed by cndrvcups-capt-1.80-1
        /usr/lib/libcaiowrap.so   is needed by cndrvcups-capt-1.80-1
        cndrvcups-common >= 1.80 is needed by cndrvcups-capt-1.80-1
        libatk-1.0.so.0   is needed by cndrvcups-capt-1.80-1
        libc.so.6   is needed by cndrvcups-capt-1.80-1
        libc.so.6(GLIBC_2.0)   is needed by cndrvcups-capt-1.80-1
        libc.so.6(GLIBC_2.1)   is needed by cndrvcups-capt-1.80-1
        libc.so.6(GLIBC_2.1.3)   is needed by cndrvcups-capt-1.80-1
        libc.so.6(GLIBC_2.2)   is needed by cndrvcups-capt-1.80-1
        libc.so.6(GLIBC_2.3)   is needed by cndrvcups-capt-1.80-1
        libcaepcm.so.1   is needed by cndrvcups-capt-1.80-1
        libcups.so.2   is needed by cndrvcups-capt-1.80-1
        libdl.so.2   is needed by cndrvcups-capt-1.80-1
        libdl.so.2(GLIBC_2.0)   is needed by cndrvcups-capt-1.80-1
        libdl.so.2(GLIBC_2.1)   is needed by cndrvcups-capt-1.80-1
        libgcc_s.so.1   is needed by cndrvcups-capt-1.80-1
        libgcc_s.so.1(GCC_3.0)   is needed by cndrvcups-capt-1.80-1
        libgdk-x11-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libgdk_pixbuf-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libglib-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libgmodule-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libgobject-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libgtk-x11-2.0.so.0   is needed by cndrvcups-capt-1.80-1
        libm.so.6   is needed by cndrvcups-capt-1.80-1
        libpango-1.0.so.0   is needed by cndrvcups-capt-1.80-1
        libpangox-1.0.so.0   is needed by cndrvcups-capt-1.80-1
        libpangoxft-1.0.so.0   is needed by cndrvcups-capt-1.80-1
        libpopt.so.0   is needed by cndrvcups-capt-1.80-1
        libpthread.so.0   is needed by cndrvcups-capt-1.80-1
        libpthread.so.0(GLIBC_2.0)   is needed by cndrvcups-capt-1.80-1
        libpthread.so.0(GLIBC_2.1)   is needed by cndrvcups-capt-1.80-1
        libpthread.so.0(GLIBC_2.3.2)   is needed by cndrvcups-capt-1.80-1
        libstdc++.so.5   is needed by cndrvcups-capt-1.80-1
        libstdc++.so.5(CXXABI_1.2)   is needed by cndrvcups-capt-1.80-1
        libstdc++.so.5(GLIBCPP_3.2)   is needed by cndrvcups-capt-1.80-1
        libstdc++.so.5(GLIBCPP_3.2.2)   is needed by cndrvcups-capt-1.80-1
        libxml2 is needed by cndrvcups-capt-1.80-1
        libxml2.so.2   is needed by cndrvcups-capt-1.80-1
        libz.so.1   is needed by cndrvcups-capt-1.80-1

Ответить | Правка | ^ к родителю #0 | Наверх | Cообщить модератору

5. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 11-Мрт-09, 20:19 
# dpkg -i cndrvcups-common_1.80-1_i386.deb cndrvcups-capt_1.80-1_i386.deb
dpkg: error processing cndrvcups-common_1.80-1_i386.deb (--install):
package architecture (i386) does not match system (freebsd-i386)
dpkg: error processing cndrvcups-capt_1.80-1_i386.deb (--install):
package architecture (i386) does not match system (freebsd-i386)
Errors were encountered while processing:
cndrvcups-common_1.80-1_i386.deb
cndrvcups-capt_1.80-1_i386.deb
Ответить | Правка | ^ к родителю #4 | Наверх | Cообщить модератору

6. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от SaBo (ok) on 18-Июн-09, 18:58 
Проблема так и не решена.
Ответить | Правка | ^ к родителю #5 | Наверх | Cообщить модератору

7. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от nimnulok email on 16-Июл-09, 18:04 
>Проблема так и не решена.

При компиляции ставь то, что он говорит в ошибках (например cups-devel and etc.

Ответить | Правка | ^ к родителю #6 | Наверх | Cообщить модератору

8. "pstocapt' for printer 'LBP2900'"  +/
Сообщение от Аноним email(??) on 18-Ноя-11, 14:57 
>>Проблема так и не решена.
> При компиляции ставь то, что он говорит в ошибках (например cups-devel and
> etc.

http://forum.lissyara.su/viewtopic.php?f=5&t=15744&p=313339#...

Ответить | Правка | ^ к родителю #7 | Наверх | Cообщить модератору

Архив | Удалить

Рекомендовать для помещения в FAQ | Индекс форумов | Темы | Пред. тема | След. тема




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру