Bonjour,
j’essaye d’installer Mupdf sur un serveur dédié (Debian 6) et je rencontre quelques problèmes.
root@server.loc:/tmp/mupdf# sudo make prefix=/usr/local install
CC build/debug/dev_text.o
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
fitz/dev_text.c:7:22: error: ft2build.h: Aucun fichier ou dossier de ce type
fitz/dev_text.c:8:10: error: #include expects "FILENAME" or <FILENAME>
fitz/dev_text.c:9:10: error: #include expects "FILENAME" or <FILENAME>
fitz/dev_text.c: In function 'fz_text_extract':
fitz/dev_text.c:305: error: 'FT_Face' undeclared (first use in this function)
fitz/dev_text.c:305: error: (Each undeclared identifier is reported only once
fitz/dev_text.c:305: error: for each function it appears in.)
fitz/dev_text.c:305: error: expected ';' before 'face'
fitz/dev_text.c:325: warning: implicit declaration of function 'FT_Set_Char_Size'
fitz/dev_text.c:328: error: 'face' undeclared (first use in this function)
fitz/dev_text.c:404: error: 'FT_Fixed' undeclared (first use in this function)
fitz/dev_text.c:404: error: expected ';' before 'ftadv'
fitz/dev_text.c:405: error: 'FT_LOAD_NO_BITMAP' undeclared (first use in this function)
fitz/dev_text.c:405: error: 'FT_LOAD_NO_HINTING' undeclared (first use in this function)
fitz/dev_text.c:405: error: 'FT_LOAD_IGNORE_TRANSFORM' undeclared (first use in this function)
fitz/dev_text.c:414: warning: implicit declaration of function 'FT_Get_Advance'
fitz/dev_text.c:414: error: 'ftadv' undeclared (first use in this function)
fitz/dev_text.c: In function 'font_is_bold':
fitz/dev_text.c:553: error: 'FT_Face' undeclared (first use in this function)
fitz/dev_text.c:553: error: expected ';' before 'face'
fitz/dev_text.c:554: error: 'face' undeclared (first use in this function)
fitz/dev_text.c:554: error: 'FT_STYLE_FLAG_BOLD' undeclared (first use in this function)
fitz/dev_text.c: In function 'font_is_italic':
fitz/dev_text.c:563: error: 'FT_Face' undeclared (first use in this function)
fitz/dev_text.c:563: error: expected ';' before 'face'
fitz/dev_text.c:564: error: 'face' undeclared (first use in this function)
fitz/dev_text.c:564: error: 'FT_STYLE_FLAG_ITALIC' undeclared (first use in this function)
make: *** [build/debug/dev_text.o] Erreur 1
Je comprends qu’il ne trouve pas “freetype2” pour réaliser l’installation correctement.
Cepenant je ne trouve d’informations concernant l’installation de ce paquet.
un apt-get install freetype2 ne marche pas.
Merci

