Анатолий Евдокимов пишет: > > От имени простого пользователя запускается и выглядит примерно так > (см. приложенный файл). Способы, предложенные Ильей Таскаевым не > сработали. странно > Видится три варианта действий: > 1. Оставить все как есть и успокоиться. > 2. Пользоваться драйвером Gutenprint (не устраивает качество печати > фотографий). > 3. На сайте Canon http://www.canon.com.au/drivers/ появился драйвер > для Linux в виде пакета tar. Скопировал, пытаюсь компилировать. В > папке cngpij команда ./autogen.sh выполняется, появляется приглашение > выполнить команду make. Выполняю sudo make и получаю следующее: > > [EMAIL PROTECTED]:~/cnijfilter-common-2.70/cngpij$ sudo make > make all-recursive > make[1]: Вход в каталог `/home/anatol/cnijfilter-common-2.70/cngpij' > Making all in cngpij > make[2]: Вход в каталог > `/home/anatol/cnijfilter-common-2.70/cngpij/cngpij' > gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../include/cncl > -I../include/misc -I../../libs/paramlist -I../../libs/bjexec -O2 -MT > bjcups.o -MD -MP -MF .deps/bjcups.Tpo -c -o bjcups.o bjcups.c > bjcups.c:25:23: ошибка: cups/cups.h: No such file or directory видимо не хватает пакета cups-dev > bjcups.c:26:22: ошибка: cups/ppd.h: No such file or directory > bjcups.c:30:18: ошибка: popt.h: No such file or directory > bjcups.c: В функции 'add_option_param' > bjcups.c:190: предупреждение: implicit declaration of function 'strlen' > bjcups.c:190: предупреждение: incompatible implicit declaration of > built-in function 'strlen' > bjcups.c: В функции 'add_option_value' > bjcups.c:198: предупреждение: incompatible implicit declaration of > built-in function 'strlen' > bjcups.c: В функции 'add_option_string' > bjcups.c:206: предупреждение: incompatible implicit declaration of > built-in function 'strlen' > bjcups.c: В функции 'init_option' > bjcups.c:211: ошибка: тип элементов массива неполный > bjcups.c:214: ошибка: 'POPT_ARG_NONE' undeclared (first use in this > function) > bjcups.c:214: ошибка: (Each undeclared identifier is reported only once > bjcups.c:214: ошибка: for each function it appears in.) > bjcups.c:215: ошибка: 'POPT_ARG_STRING' undeclared (first use in this > function) > bjcups.c:220: ошибка: 'poptContext' undeclared (first use in this > function) > bjcups.c:220: ошибка: expected ';' before 'context' > bjcups.c:224: предупреждение: implicit declaration of function > 'poptGetNextOpt' > bjcups.c:224: ошибка: 'context' undeclared (first use in this function) > bjcups.c:233: предупреждение: implicit declaration of function 'strdup' > bjcups.c:233: предупреждение: incompatible implicit declaration of > built-in function 'strdup' > bjcups.c:233: предупреждение: implicit declaration of function > 'poptGetOptArg' > bjcups.c:233: предупреждение: passing argument 1 of 'strdup' makes > pointer from integer without a cast > bjcups.c:238: предупреждение: initialization makes pointer from > integer without a cast > bjcups.c:239: предупреждение: incompatible implicit declaration of > built-in function 'strlen' > bjcups.c:255: предупреждение: implicit declaration of function > 'poptBadOption' > bjcups.c:255: ошибка: 'POPT_BADOPTION_NOALIAS' undeclared (first use > in this function) > bjcups.c:255: предупреждение: format '%s' expects type 'char *', but > argument 3 has type 'int' > bjcups.c:211: предупреждение: unused variable 'option_table' > bjcups.c: В функции 'parse_product_name' > bjcups.c:269: предупреждение: implicit declaration of function 'memset' > bjcups.c:269: предупреждение: incompatible implicit declaration of > built-in function 'memset' > bjcups.c: В функции 'get_product_name' > bjcups.c:287: предупреждение: implicit declaration of function > 'cupsGetPPD' > bjcups.c:287: предупреждение: initialization makes pointer from > integer without a cast > bjcups.c:296: ошибка: 'ppd_file_t' undeclared (first use in this function) > bjcups.c:296: ошибка: 'p_ppd' undeclared (first use in this function) > bjcups.c:298: предупреждение: implicit declaration of function > 'ppdOpenFile' > bjcups.c:300: предупреждение: implicit declaration of function 'strcmp' > bjcups.c:303: предупреждение: implicit declaration of function 'strncpy' > bjcups.c:303: предупреждение: incompatible implicit declaration of > built-in function 'strncpy' > bjcups.c:305: предупреждение: implicit declaration of function 'ppdClose' > bjcups.c: В функции 'main' > bjcups.c:532: предупреждение: implicit declaration of function > 'cupsGetDefault' > bjcups.c:532: предупреждение: assignment makes pointer from integer > without a cast > bjcups.c:533: предупреждение: incompatible implicit declaration of > built-in function 'strdup' > bjcups.c:547: предупреждение: incompatible implicit declaration of > built-in function 'strlen' > bjcups.c:548: предупреждение: implicit declaration of function 'strcpy' > bjcups.c:548: предупреждение: incompatible implicit declaration of > built-in function 'strcpy' > bjcups.c:549: предупреждение: implicit declaration of function 'strcat' > bjcups.c:549: предупреждение: incompatible implicit declaration of > built-in function 'strcat' > bjcups.c:574: предупреждение: incompatible implicit declaration of > built-in function 'memset' > make[2]: *** [bjcups.o] Ошибка 1 > make[2]: Выход из каталога > `/home/anatol/cnijfilter-common-2.70/cngpij/cngpij' > make[1]: *** [all-recursive] Ошибка 1 > make[1]: Выход из каталога `/home/anatol/cnijfilter-common-2.70/cngpij' > make: *** [all] Ошибка 2 > [EMAIL PROTECTED]:~/cnijfilter-common-2.70/cngpij$ > > При попытке выполнить ./autogen.sh в папке cngpijmon программа просит > установить пакет, который я не смог найти. > > [EMAIL PROTECTED]:~/cnijfilter-common-2.70/cngpijmon$ ./autogen.sh > **Error**: You must have `glib' installed. > You can get it from: ftp//ftp.gtk.org/pub/gtk <http://ftp.gtk.org/pub/gtk> > [EMAIL PROTECTED]:~/cnijfilter-common-2.70/cngpijmon$ > aptitude search ~nglib~ndev p libglib1.2-dev - The GLib library of C routines (developmen p libglib2.0-dev - Development files for the GLib library
-- Александр Вайтехович www: http://sanych.nnov.ru e-mail: ssanych[at]gmail[dot]com icq: 168712946 -- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
