[Ubuntu-BR] Erros ao tentar instalar programa
Vítor
adeiss.vc em gmail.com
Segunda Agosto 13 12:40:13 UTC 2007
Olá!
Gostaria de pedir uma ajuda para resolver um problema.
Estou tentando instalar o programa do meu digitalizador a partir do código
fonte: http://www.geocities.com/neofpo/yaprimaxgui.html mas tem acontecido
algum problema, pois não consigo concluir a operação. Aparecem as seguintes
mensagens de erro:
Tentando instalar o driver:
vitor em Ubuntu:~$ tar -xzf /home/vitor/primax_scan-0.93beta3.tar.gz
vitor em Ubuntu:~$ cd primax_scan-0.93beta3/
vitor em Ubuntu:~/primax_scan-0.93beta3$ ./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... missing
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for TIFFSetField in -ljpeg... no
checking for pow in -lm... yes
checking for TIFFSetField in -ltiff... no
checking for TIFFSetField in -lz... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for gettimeofday... yes
checking for strtod... yes
checking for strtol... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating primax_scan.spec
vitor em Ubuntu:~/primax_scan-0.93beta3$ make
gcc -DPACKAGE=\"primax_scan\" -DVERSION=\"0.93beta3\" -DHAVE_LIBM=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOD=1
-DHAVE_STRTOL=1 -I. -I. -g -O2 -c LM9811.c
gcc -DPACKAGE=\"primax_scan\" -DVERSION=\"0.93beta3\" -DHAVE_LIBM=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
-DTIME_WITH_SYS_TIME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOD=1
-DHAVE_STRTOL=1 -I. -I. -g -O2 -c primax_scan.c
primax_scan.c:25:20: error: asm/io.h: Arquivo ou diretório inexistente
primax_scan.c:32:20: error: tiffio.h: Arquivo ou diretório inexistente
primax_scan.c:51: error: expected ')' before '*' token
primax_scan.c:52: error: expected ')' before '*' token
primax_scan.c:175: error: expected ')' before '*' token
primax_scan.c:237: error: expected ')' before '*' token
primax_scan.c: In function 'read_scan_data':
primax_scan.c:251: error: 'TIFF' undeclared (first use in this function)
primax_scan.c:251: error: (Each undeclared identifier is reported only once
primax_scan.c:251: error: for each function it appears in.)
primax_scan.c:251: error: 'tiffile' undeclared (first use in this function)
make: ** [primax_scan.o] Erro 1
Tentando instalar a interface gráfica:
vitor em Ubuntu:~$ tar -xzf /home/vitor/yaprimaxGUI-3.1.2.tar.gz
vitor em Ubuntu:~$ cd yaprimaxGUI-3.1.2/
vitor em Ubuntu:~/yaprimaxGUI-3.1.2$ ./configure
bash: ./configure: Arquivo ou diretório inexistente
vitor em Ubuntu:~/yaprimaxGUI-3.1.2$ sudo make
install --mode 0777 yaprimaxgui /usr/local/bin/
Please be shure to have /usr/local/bin in your PATH and primax_scan
binary elsewhere in your PATH
vitor em Ubuntu:~/yaprimaxGUI-3.1.2$ sudo make install
install --mode 0777 yaprimaxgui /usr/local/bin/
Please be shure to have /usr/local/bin in your PATH and primax_scan
binary elsewhere in your PATH
Será que alguém sabe o que eu estou fazendo de errado?
Obrigado,
Vítor
More information about the ubuntu-br
mailing list