PDA

View Full Version : problema canon mx410 su sabayon


Birkhoff92
02-02-2015, 20:11
salve, sto tentando di installare sta stampante ma niente. Su ubuntu e fedora subito feci qui ho installato cups, gutenprint e sto cercando di installare i driver canon ma niente. Ho scompattato l'archivio tar.gz della canon ma quando eseguo make dopo autogen.sh mi dà una serie di errori make all-recursive
make[1]: ingresso nella directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter"
Making all in src
make[2]: ingresso nella directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter/src"
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
mv -f .deps/bjfilter.Tpo .deps/bjfilter.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc -O2 -MT bjfimage.o -MD -MP -MF .deps/bjfimage.Tpo -c -o bjfimage.o bjfimage.c
bjfimage.c: In function ‘bjf_image_open’:
bjfimage.c:101:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘tiff_image_read_raster’:
bjfimage.c:567:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( (char *)buf, (char *)localbuf + ( bpp * x ), (width * bpp) );
^
bjfimage.c: In function ‘bmp_image_init’:
bjfimage.c:649:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_init’:
bjfimage.c:965:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_read_raster’:
bjfimage.c:1127:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘ppm_image_init_rev’:
bjfimage.c:1271:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
bjfimage.c: In function ‘ppm_image_read_raster_rev’:
bjfimage.c:1472:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘png_image_init’:
bjfimage.c:1546:2: warning: incompatible implicit declaration of built-in function ‘memset’ [enabled by default]
memset( (LPBJF_IMAGEINFO)lpbjfimage, 0, sizeof(BJF_IMAGEINFO) );
^
In file included from /usr/include/pngconf.h:72:0,
from /usr/include/png.h:485,
from bjfimage.c:42:
bjfimage.c:1577:19: error: dereferencing pointer to incomplete type
if (setjmp (png_p->jmpbuf))
^
bjfimage.c:1589:16: warning: passing argument 3 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
&color_type, &interlace_type, NULL, NULL);
^
In file included from /usr/include/png.h:485:0,
from bjfimage.c:42:
/usr/include/png.h:2192:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr,
^
bjfimage.c:1589:16: warning: passing argument 4 of ‘png_get_IHDR’ from incompatible pointer type [enabled by default]
&color_type, &interlace_type, NULL, NULL);
^
In file included from /usr/include/png.h:485:0,
from bjfimage.c:42:
/usr/include/png.h:2192:1: note: expected ‘png_uint_32 *’ but argument is of type ‘long unsigned int *’
PNG_EXPORT(143, png_uint_32, png_get_IHDR, (png_const_structrp png_ptr,
^
bjfimage.c: In function ‘png_image_read_raster’:
bjfimage.c:1763:2: warning: incompatible implicit declaration of built-in function ‘memcpy’ [enabled by default]
memcpy( buf, in, width*img_bpp );
^
bjfimage.c: In function ‘bmp_image_open’:
bjfimage.c:609:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
bjfimage.c: In function ‘ppm_image_open’:
bjfimage.c:923:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
bjfimage.c: In function ‘png_image_open’:
bjfimage.c:1497:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 8, 1, readfp );
^
bjfimage.c: In function ‘bmp_image_read_raster’:
bjfimage.c:803:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], rasterlength, rstep, readfp );
^
bjfimage.c:808:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[rstep-laststep], rasterlength, laststep, readfp );
^
bjfimage.c:814:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], rasterlength, rstep, readfp );
^
bjfimage.c: In function ‘ppm_image_read_raster’:
bjfimage.c:1105:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, rstep, readfp );
^
bjfimage.c:1108:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, laststep, readfp );
^
bjfimage.c:1113:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( rawbuf[0], RasterLength, rstep, readfp );
^
bjfimage.c: In function ‘bmp_image_flush’:
bjfimage.c:874:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( tmp, rasterlength, remain, readfp );
^
bjfimage.c: In function ‘ppm_image_flush’:
bjfimage.c:1158:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( tmp, RasterLength, remain, readfp );
^
bjfimage.c: In function ‘ppm_write_tmpfile’:
bjfimage.c:1838:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( buffer, 2, 1, readfp );
^
Makefile:370: set di istruzioni per l'obiettivo "bjfimage.o" non riuscito
make[2]: *** [bjfimage.o] Errore 1
make[2]: uscita dalla directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter/src"
Makefile:345: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/birkhoff92/Downloads/driver canon 410 mx/cnijfilter-source-3.50-1/cnijfilter"
Makefile:285: set di istruzioni per l'obiettivo "all" non riuscito
make: *** [all] Errore 2
come si può risolvere ? grazie :/

sacarde
03-02-2015, 08:37
c'e' nel tuo sistema un pacchetto tipo: build-essential ?

serve per compilare da sorgenti




p.s.
e' questa?
https://help.ubuntu.com/community/InstallCanonPixmaMx410WirelessPrinterInUbuntu

Birkhoff92
03-02-2015, 10:28
non l'ho installato. provvedo subito e ti faccio sapere se risolvo. Grazie della dritta
ps: sisi è quella
EDIT: non trovo il pacchetto su sabayon nei repository, nemmeno dando equo search da terminale ://// su ubuntu e derivate subito la installai qui proprio non ci riesco :(

sacarde
03-02-2015, 10:51
li hai installati i pacchetti:

gcc
base-gcc


?

Birkhoff92
03-02-2015, 10:59
sisi

sacarde
03-02-2015, 12:25
come si chiama il pacchetto/archivio tar.gz che hai usato?

Birkhoff92
03-02-2015, 13:11
cnijfilter-source-3.50-1

pigi2pigi
03-02-2015, 13:18
In file included from /usr/include/pngconf.h:72:0,
from /usr/include/png.h:485,
from bjfimage.c:42:
bjfimage.c:1577:19: error: dereferencing pointer to incomplete type
if (setjmp (png_p->jmpbuf))

Problema sulla definizione della struttura, potrebbe essere una non compatibilità con i release dei prerequisiti

autogen.sh ha dato errori ?

sacarde
03-02-2015, 15:37
cnijfilter-source-3.50-1

puoi provare in alternativa la procedura dal link di sopra
che usa il file: cnijfilter-mx410series



http://support-th.canon-asia.com/contents/TH/EN/0100329601.html

Birkhoff92
03-02-2015, 17:42
puoi provare in alternativa la procedura dal link di sopra
che usa il file: cnijfilter-mx410series



http://support-th.canon-asia.com/contents/TH/EN/0100329601.html

mi dice questo ./install.sh
An error occurred. The package management system cannot be identified.
./install.sh: riga 1424: [: =: atteso operatore unario
==================================================

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

==================================================
An error occurred. The package management system cannot be identified.

sacarde
03-02-2015, 19:47
il pacchetto cnijfilter c'e' nei repo?



forse ti possono aiutare sul rispettivo forum:

https://forum.sabayon.org/viewforum.php?f=64&sid=61f515bb0eccf8f7a70095a3e840aa1d




p.s.
installi da interfaccia CUPS ?
provato a immettere il file ppd relativo alla tua stampante?
(canonmx410.ppd)
che si trova all'interno del tar.gz


p.s.
forse si possono installare pacchetti .deb su sabayon ?
http://www.gentoo-wiki.info/TIP_install_programs_without_portage#DEBs