Voili voilou bon j ai essayer la chose suivante :
J ai recherche les fichier sur le dur et pris dans la ou tu m'a dit apres utilisation de tinkertools
Je les ai copie dans les sources
J ai installe via Darwin et Fink TIFF et libjpeg
Ensute je lance les commandes et voila ce que j 'obtient :
sudo ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) 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... found
checking host system type... powerpc-apple-darwin8.7.0
checking target system type... powerpc-apple-darwin8.7.0
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for TIFFSetField in -ljpeg... (cached) no
checking for pow in -lm... (cached) yes
checking for TIFFSetField in -ltiff... (cached) no
checking for TIFFSetField in -lz... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for gettimeofday... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
creating ./config.status
creating Makefile
creating primax_scan.spec
Ensuite
sudo 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 primax_scan.c
primax_scan.c:25:20: error: asm/io.h: No such file or directory
primax_scan.c:32:20: error: tiffio.h: No such file or directory
primax_scan.c:51: error: parse error before '*' token
primax_scan.c:52: error: parse error before '*' token
primax_scan.c:175: error: parse error before '*' token
primax_scan.c: In function 'tiff_open':
primax_scan.c:177: error: 'tiffile' undeclared (first use in this function)
primax_scan.c:177: error: (Each undeclared identifier is reported only once
primax_scan.c:177: error: for each function it appears in.)
primax_scan.c:177: error: 'image' undeclared (first use in this function)
primax_scan.c:183: error: 'TIFFTAG_IMAGEWIDTH' undeclared (first use in this function)
primax_scan.c:184: error: 'TIFFTAG_IMAGELENGTH' undeclared (first use in this function)
primax_scan.c:185: error: 'TIFFTAG_ORIENTATION' undeclared (first use in this function)
primax_scan.c:185: error: 'ORIENTATION_TOPLEFT' undeclared (first use in this function)
primax_scan.c:186: error: 'TIFFTAG_PLANARCONFIG' undeclared (first use in this function)
primax_scan.c:186: error: 'PLANARCONFIG_CONTIG' undeclared (first use in this function)
primax_scan.c:187: error: 'TIFFTAG_ROWSPERSTRIP' undeclared (first use in this function)
primax_scan.c:193: error: 'TIFFTAG_PHOTOMETRIC' undeclared (first use in this function)
primax_scan.c:193: error: 'PHOTOMETRIC_RGB' undeclared (first use in this function)
primax_scan.c:194: error: 'TIFFTAG_SAMPLESPERPIXEL' undeclared (first use in this function)
primax_scan.c:195: error: 'TIFFTAG_BITSPERSAMPLE' undeclared (first use in this function)
primax_scan.c:196: error: 'TIFFTAG_COMPRESSION' undeclared (first use in this function)
primax_scan.c:196: error: 'COMPRESSION_LZW' undeclared (first use in this function)
primax_scan.c: At top level:
primax_scan.c:237: error: parse error before '*' token
primax_scan.c: In function 'tiff_close':
primax_scan.c:239: error: 'tiffile' undeclared (first use in this function)
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: 'tiffile' undeclared (first use in this function)
primax_scan.c:323: warning: pointer targets in passing argument 1 of 'epp_read' differ in signedness
primax_scan.c: In function 'init_image':
primax_scan.c:661: warning: pointer targets in assignment differ in signedness
primax_scan.c:662: warning: pointer targets in assignment differ in signedness
primax_scan.c:663: warning: pointer targets in assignment differ in signedness
make: *** [primax_scan.o] Error 1
Et pour finir
sudo make install
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: No such file or directory
primax_scan.c:32:20: error: tiffio.h: No such file or directory
primax_scan.c:51: error: parse error before '*' token
primax_scan.c:52: error: parse error before '*' token
primax_scan.c:175: error: parse error before '*' token
primax_scan.c: In function 'tiff_open':
primax_scan.c:177: error: 'tiffile' undeclared (first use in this function)
primax_scan.c:177: error: (Each undeclared identifier is reported only once
primax_scan.c:177: error: for each function it appears in.)
primax_scan.c:177: error: 'image' undeclared (first use in this function)
primax_scan.c:183: error: 'TIFFTAG_IMAGEWIDTH' undeclared (first use in this function)
primax_scan.c:184: error: 'TIFFTAG_IMAGELENGTH' undeclared (first use in this function)
primax_scan.c:185: error: 'TIFFTAG_ORIENTATION' undeclared (first use in this function)
primax_scan.c:185: error: 'ORIENTATION_TOPLEFT' undeclared (first use in this function)
primax_scan.c:186: error: 'TIFFTAG_PLANARCONFIG' undeclared (first use in this function)
primax_scan.c:186: error: 'PLANARCONFIG_CONTIG' undeclared (first use in this function)
primax_scan.c:187: error: 'TIFFTAG_ROWSPERSTRIP' undeclared (first use in this function)
primax_scan.c:193: error: 'TIFFTAG_PHOTOMETRIC' undeclared (first use in this function)
primax_scan.c:193: error: 'PHOTOMETRIC_RGB' undeclared (first use in this function)
primax_scan.c:194: error: 'TIFFTAG_SAMPLESPERPIXEL' undeclared (first use in this function)
primax_scan.c:195: error: 'TIFFTAG_BITSPERSAMPLE' undeclared (first use in this function)
primax_scan.c:196: error: 'TIFFTAG_COMPRESSION' undeclared (first use in this function)
primax_scan.c:196: error: 'COMPRESSION_LZW' undeclared (first use in this function)
primax_scan.c: At top level:
primax_scan.c:237: error: parse error before '*' token
primax_scan.c: In function 'tiff_close':
primax_scan.c:239: error: 'tiffile' undeclared (first use in this function)
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: 'tiffile' undeclared (first use in this function)
primax_scan.c:323: warning: pointer targets in passing argument 1 of 'epp_read' differ in signedness
primax_scan.c: In function 'init_image':
primax_scan.c:661: warning: pointer targets in assignment differ in signedness
primax_scan.c:662: warning: pointer targets in assignment differ in signedness
primax_scan.c:663: warning: pointer targets in assignment differ in signedness
make: *** [primax_scan.o] Error 1
Je voit bien que y a un pb au niveau du tiff mais la je seche