• # Ça ne compile pas :(

    Posté par . En réponse à la dépêche Sortie de Paperwork 0.1. Évalué à 2.

    Bonjour,

    J'ai tenté l'installation avec pip sur une Ubuntu 12.04 fraichement installée.

    Deux problèmes, le premier est qu'il ne détecte pas mon installation de tesseract-ocr.

    WARNING: Missing dependencies:
    - Tesseract (python module: (none) ; ubuntu package : tesseract-ocr)
    - Tesseract language data (python module: (none) ; ubuntu package : tesseract-ocr-)

    Pourtant:

    fd@duff:~$ dpkg --list | grep tesseract-ocr
    ii tesseract-ocr 3.02.01-2 Command line OCR tool
    ii tesseract-ocr-eng 3.02-2 tesseract-ocr language files for English
    ii tesseract-ocr-equ 3.02-2 tesseract-ocr language files for equations
    ii tesseract-ocr-fra 3.02-2 tesseract-ocr language files for French
    ii tesseract-ocr-osd 3.02-2 tesseract-ocr language files for script and orientation

    Second problème, ne compile pas du tout:

    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu -c imaging.c -o build/temp.linux-x8664-2.7/_imaging.o

    _imaging.c:76:20: erreur fatale: Python.h : Aucun fichier ou dossier de ce type
    compilation terminée.
    error: command 'gcc' failed with exit status 1
    

    Output complet ici: http://pastebin.ca/2431522