Kirjoittaja Aihe: gutenprintin ja skannerin ajurin asennus (tulee virhesanoma)  (Luettu 1649 kertaa)

papukaija

  • Käyttäjä
  • Viestejä: 100
    • Profiili
Yritin tuossa asentaa gutenprintin 5.1.0 mutta tuli seuraavaa päätteessä:
Koodia: [Valitse]
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Eli tää asennus tyssää jo alku metreillä. Onnistuin kuitenkin asentamaan tuon ohjelman vanhemman version edgyyn ilman ongelmia. Nyt on siis käytössä tuo feisty.

Sitten tuo skannerin ajurin asennus tuotti tälläisen päätteessä :
Koodia: [Valitse]
~/Desktop/mp150-0.13.0$ make
cc  -Wall -W -DWITHOUT_SANEI -DHAVE_FCNTL_H -DHAVE_STDINT_H -g -O   -c -o scan.o scan.c
scan.c:26:19: error: stdio.h: No such file or directory
scan.c:27:20: error: stdlib.h: No such file or directory
scan.c:28:20: error: signal.h: No such file or directory
scan.c:29:20: error: unistd.h: No such file or directory
scan.c:30:20: error: string.h: No such file or directory
scan.c:31:22: error: sys/stat.h: No such file or directory
In file included from scan.c:36:
pixma.h:80:48: error: stdint.h: No such file or directory
In file included from scan.c:36:
pixma.h:238: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
pixma.h:249: error: expected specifier-qualifier-list before ‘uint16_t’
pixma.h:353: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pixma_wait_event’
pixma.h:369: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
scan.c:61: error: expected specifier-qualifier-list before ‘FILE’
scan.c:68: error: expected specifier-qualifier-list before ‘uint8_t’
scan.c: In function ‘listScanners’:
scan.c:115: warning: implicit declaration of function ‘fprintf’
scan.c:115: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:115: error: ‘stdout’ undeclared (first use in this function)
scan.c:115: error: (Each undeclared identifier is reported only once
scan.c:115: error: for each function it appears in.)
scan.c:121: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:121: error: ‘stderr’ undeclared (first use in this function)
scan.c:124: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:126: error: ‘NULL’ undeclared (first use in this function)
scan.c: At top level:
scan.c:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
scan.c: In function ‘exists’:
scan.c:160: error: storage size of ‘buf’ isn’t known
scan.c:161: warning: implicit declaration of function ‘stat’
scan.c:160: warning: unused variable ‘buf’
scan.c: In function ‘showBanner’:
scan.c:167: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:167: error: ‘stdout’ undeclared (first use in this function)
scan.c: In function ‘usage’:
scan.c:178: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:178: error: ‘stdout’ undeclared (first use in this function)
scan.c: In function ‘getPaperSize’:
scan.c:231: warning: implicit declaration of function ‘strcasecmp’
scan.c:237: warning: implicit declaration of function ‘printf’
scan.c:237: warning: incompatible implicit declaration of built-in function ‘printf’
scan.c:242: warning: implicit declaration of function ‘exit’
scan.c:242: warning: incompatible implicit declaration of built-in function ‘exit’
scan.c:242: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
scan.c: In function ‘safe_atou’:
scan.c:257: warning: implicit declaration of function ‘strtoul’
scan.c: In function ‘safe_atof’:
scan.c:268: warning: implicit declaration of function ‘strtod’
scan.c: In function ‘parseOutputFormat’:
scan.c:280: warning: implicit declaration of function ‘strncpy’
scan.c:280: warning: incompatible implicit declaration of built-in function ‘strncpy’
scan.c:283: warning: implicit declaration of function ‘strchr’
scan.c:283: warning: incompatible implicit declaration of built-in function ‘strchr’
scan.c:292: error: ‘ScanContext’ has no member named ‘outputFormat’
scan.c:298: warning: incompatible implicit declaration of built-in function ‘printf’
scan.c:302: error: ‘ScanContext’ has no member named ‘outputFormatParam’
scan.c:302: error: ‘ScanContext’ has no member named ‘outputFormatParam’
scan.c:303: error: ‘ScanContext’ has no member named ‘outputFormatParam’
scan.c:303: error: ‘ScanContext’ has no member named ‘outputFormatParam’
scan.c: In function ‘parseOptions’:
scan.c:316: warning: implicit declaration of function ‘memset’
scan.c:316: warning: incompatible implicit declaration of built-in function ‘memset’
scan.c:324: error: ‘ScanContext’ has no member named ‘outputFormat’
scan.c:325: error: ‘ScanContext’ has no member named ‘listScanners’
scan.c:326: error: ‘ScanContext’ has no member named ‘debugLevel’
scan.c:327: error: ‘ScanContext’ has no member named ‘experiment’
scan.c:328: error: ‘ScanContext’ has no member named ‘overwrite’
scan.c:329: error: ‘ScanContext’ has no member named ‘buttonMode’
scan.c:333: error: ‘ScanContext’ has no member named ‘debugLevel’
scan.c:336: warning: implicit declaration of function ‘getopt’
scan.c:341: error: ‘optarg’ undeclared (first use in this function)
scan.c:349: warning: incompatible implicit declaration of built-in function ‘printf’
scan.c:369: error: ‘ScanContext’ has no member named ‘onePage’
scan.c:376: error: ‘ScanContext’ has no member named ‘listScanners’
scan.c:382: error: ‘ScanContext’ has no member named ‘debugLevel’
scan.c:383: error: ‘ScanContext’ has no member named ‘debugLevel’
scan.c:386: warning: implicit declaration of function ‘strcmp’
scan.c:387: error: ‘ScanContext’ has no member named ‘experiment’
scan.c:390: error: ‘ScanContext’ has no member named ‘overwrite’
scan.c:393: error: ‘struct pixma_scan_param_t’ has no member named ‘source’
scan.c:396: error: ‘ScanContext’ has no member named ‘buttonMode’
scan.c:404: error: ‘ScanContext’ has no member named ‘listScanners’
scan.c:405: error: ‘ScanContext’ has no member named ‘listScanners’
scan.c:406: warning: incompatible implicit declaration of built-in function ‘exit’
scan.c:406: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
scan.c:408: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
scan.c:410: error: ‘optind’ undeclared (first use in this function)
scan.c:412: warning: incompatible implicit declaration of built-in function ‘exit’
scan.c:414: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:418: error: ‘ScanContext’ has no member named ‘gamma_table’
scan.c:419: error: ‘ScanContext’ has no member named ‘gamma_table’
scan.c:419: error: too many arguments to function ‘pixma_fill_gamma_table’
scan.c:420: error: ‘struct pixma_scan_param_t’ has no member named ‘gamma_table’
scan.c:420: error: ‘ScanContext’ has no member named ‘gamma_table’
scan.c: In function ‘printParameters’:
scan.c:447: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:447: error: ‘stdout’ undeclared (first use in this function)
scan.c:459: error: ‘pixma_scan_param_t’ has no member named ‘source’
scan.c: In function ‘PNM_open’:
scan.c:465: error: ‘ScanContext’ has no member named ‘out’
scan.c:465: warning: implicit declaration of function ‘fopen’
scan.c:466: error: ‘ScanContext’ has no member named ‘out’
scan.c:467: error: ‘ScanContext’ has no member named ‘out’
scan.c:467: error: ‘NULL’ undeclared (first use in this function)
scan.c: In function ‘PNM_close’:
scan.c:473: error: ‘FILE’ undeclared (first use in this function)
scan.c:473: error: ‘pnm’ undeclared (first use in this function)
scan.c:473: error: ‘ScanContext’ has no member named ‘out’
scan.c:474: warning: implicit declaration of function ‘ftell’
scan.c:475: warning: implicit declaration of function ‘fflush’
scan.c:476: warning: implicit declaration of function ‘ftruncate’
scan.c:476: warning: implicit declaration of function ‘fileno’
scan.c:477: warning: implicit declaration of function ‘fclose’
scan.c:478: error: ‘NULL’ undeclared (first use in this function)
scan.c: In function ‘PNM_newPage’:
scan.c:484: error: ‘FILE’ undeclared (first use in this function)
scan.c:484: error: ‘pnm’ undeclared (first use in this function)
scan.c:484: error: ‘ScanContext’ has no member named ‘out’
scan.c:487: error: ‘ScanContext’ has no member named ‘out’
scan.c:489: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c: In function ‘PNM_write’:
scan.c:503: warning: implicit declaration of function ‘fwrite’
scan.c:503: warning: incompatible implicit declaration of built-in function ‘fwrite’
scan.c:503: error: ‘ScanContext’ has no member named ‘out’
scan.c: In function ‘PNM_discardPage’:
scan.c:510: warning: implicit declaration of function ‘fseek’
scan.c:510: error: ‘ScanContext’ has no member named ‘out’
scan.c:510: error: ‘ScanContext’ has no member named ‘out’
scan.c:510: error: ‘SEEK_SET’ undeclared (first use in this function)
scan.c: At top level:
scan.c:643: error: ‘NULL’ undeclared here (not in a function)
scan.c:643: warning: missing initializer
scan.c:643: warning: (near initialization for ‘writer[1].open’)
scan.c:645: warning: missing initializer
scan.c:645: warning: (near initialization for ‘writer[2].open’)
scan.c: In function ‘scanPage’:
scan.c:653: error: ‘ScanContext’ has no member named ‘outputFormat’
scan.c:653: error: array subscript is not an integer
scan.c:653: warning: initialization from incompatible pointer type
scan.c:655: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:655: error: ‘stdout’ undeclared (first use in this function)
scan.c:655: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:662: error: ‘ScanContext’ has no member named ‘bufSize’
scan.c:662: error: invalid operands to binary /
scan.c:662: warning: assignment makes integer from pointer without a cast
scan.c:671: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:671: warning: passing argument 2 of ‘pixma_read_image’ discards qualifiers from pointer target type
scan.c:678: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:681: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:681: error: ‘ScanContext’ has no member named ‘bufSize’
scan.c:681: warning: passing argument 2 of ‘pixma_read_image’ discards qualifiers from pointer target type
scan.c:681: warning: passing argument 3 of ‘pixma_read_image’ makes integer from pointer without a cast
scan.c:688: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:692: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:696: warning: implicit declaration of function ‘putc’
scan.c:697: error: ‘ScanContext’ has no member named ‘pages’
scan.c:697: error: invalid lvalue in increment
scan.c:697: warning: statement with no effect
scan.c:701: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c: In function ‘enterScanLoop’:
scan.c:713: warning: implicit declaration of function ‘signal’
scan.c:713: error: ‘SIGINT’ undeclared (first use in this function)
scan.c:715: error: ‘ScanContext’ has no member named ‘onePage’
scan.c:716: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:716: error: ‘stdout’ undeclared (first use in this function)
scan.c:716: error: ‘ScanContext’ has no member named ‘pages’
scan.c:716: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:716: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘const struct OutputWriterOps *’
scan.c:718: error: ‘struct pixma_scan_param_t’ has no member named ‘source’
scan.c:720: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:721: warning: implicit declaration of function ‘pixma_wait_event’
scan.c:734: error: ‘ScanContext’ has no member named ‘pages’
scan.c:734: warning: ordered comparison of pointer with integer zero
scan.c: In function ‘waitButtonAndExit’:
scan.c:745: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
scan.c:745: warning: return makes integer from pointer without a cast
scan.c:748: warning: return makes integer from pointer without a cast
scan.c:749: error: ‘SIGINT’ undeclared (first use in this function)
scan.c:753: warning: incompatible implicit declaration of built-in function ‘printf’
scan.c:754: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
scan.c:754: warning: return makes integer from pointer without a cast
scan.c: In function ‘showExperimentWarning’:
scan.c:761: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:762: error: ‘stdout’ undeclared (first use in this function)
scan.c:772: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:773: error: ‘stderr’ undeclared (first use in this function)
scan.c:773: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c: In function ‘main’:
scan.c:783: warning: incompatible implicit declaration of built-in function ‘memset’
scan.c:788: error: ‘ScanContext’ has no member named ‘buttonMode’
scan.c:794: error: ‘ScanContext’ has no member named ‘overwrite’
scan.c:794: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:794: warning: passing argument 1 of ‘exists’ from incompatible pointer type
scan.c:795: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:795: error: ‘stderr’ undeclared (first use in this function)
scan.c:795: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:795: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:795: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘const struct OutputWriterOps *’
scan.c:796: error: ‘EXIT_FAILURE’ undeclared (first use in this function)
scan.c:796: warning: return makes integer from pointer without a cast
scan.c:801: warning: return makes integer from pointer without a cast
scan.c:805: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:805: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:806: warning: return makes integer from pointer without a cast
scan.c:810: error: ‘pixma_config_t’ has no member named ‘cap’
scan.c:810: error: invalid operands to binary &
scan.c:811: error: ‘ScanContext’ has no member named ‘experiment’
scan.c:814: warning: return makes integer from pointer without a cast
scan.c:816: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:816: error: ‘stdout’ undeclared (first use in this function)
scan.c:817: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:823: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:823: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:825: warning: return makes integer from pointer without a cast
scan.c:828: error: ‘pixma_config_t’ has no member named ‘cap’
scan.c:828: error: invalid operands to binary &
scan.c:829: error: ‘ScanContext’ has no member named ‘onePage’
scan.c:829: error: ‘struct pixma_scan_param_t’ has no member named ‘source’
scan.c:829: warning: statement with no effect
scan.c:832: error: ‘ScanContext’ has no member named ‘pages’
scan.c:832: warning: statement with no effect
scan.c:833: error: ‘ScanContext’ has no member named ‘lineSize’
scan.c:833: warning: statement with no effect
scan.c:834: error: ‘ScanContext’ has no member named ‘bufSize’
scan.c:834: warning: statement with no effect
scan.c:835: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:835: error: ‘uint8_t’ undeclared (first use in this function)
scan.c:835: error: expected expression before ‘)’ token
scan.c:835: error: invalid operands to binary *
scan.c:835: warning: statement with no effect
scan.c:837: error: ‘ScanContext’ has no member named ‘outputFormat’
scan.c:837: error: array subscript is not an integer
scan.c:837: error: request for member ‘open’ in something not a structure or union
scan.c:837: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:837: error: called object ‘<erroneous-expression>’ is not a function
scan.c:837: warning: ordered comparison of pointer with integer zero
scan.c:838: warning: incompatible implicit declaration of built-in function ‘fprintf’
scan.c:838: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:838: warning: passing argument 1 of ‘fprintf’ discards qualifiers from pointer target type
scan.c:838: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘const struct OutputWriterOps *’
scan.c:840: warning: return makes integer from pointer without a cast
scan.c:845: error: ‘ScanContext’ has no member named ‘outputFormat’
scan.c:845: error: array subscript is not an integer
scan.c:845: error: request for member ‘close’ in something not a structure or union
scan.c:845: error: called object ‘<erroneous-expression>’ is not a function
scan.c:845: warning: statement with no effect
scan.c:848: error: ‘ScanContext’ has no member named ‘pages’
scan.c:849: warning: implicit declaration of function ‘remove’
scan.c:849: error: ‘ScanContext’ has no member named ‘outputName’
scan.c:850: warning: implicit declaration of function ‘free’
scan.c:850: error: ‘ScanContext’ has no member named ‘lineBuf’
scan.c:852: error: ‘EXIT_SUCCESS’ undeclared (first use in this function)
scan.c:852: warning: return makes integer from pointer without a cast
make: *** [scan.o] Virhe 1
Mainitsen taas että tuokin(samalla versiolla) asentui edgyyn. Muistan lukenneemi tältä foorumilta että  pitäis olla asennettuna jokin linux-build-essentiels vai mikä lie (onko se asennettuna oletuksena?). 

Kalle Kipinä

  • Käyttäjä
  • Viestejä: 78
    • Profiili
Koodia: [Valitse]
sudo apt-get install build-essential

Paketti ei ole asennettuna oletuksena.

juyli

  • Vieras
Yritin tuossa asentaa gutenprintin 5.1.0 mutta tuli ...

Ihan vain silkasta mielenkiinnosta, mikä on erityinen syy asentaa gutenprint 5.1.0.
Vielä toistaiseksi Feistyn virallinen versio olisi:
feisty (graphics): printer drivers for CUPS
5.0.0.99.1-0ubuntu2: amd64 i386 powerpc