Не удалось установить попплера - PullRequest
0 голосов
/ 05 марта 2012

Я использую ArchLinux с ghc-7.0.3.

У меня установлены poppler-0.18.3 и pango-1.29.4.

Configuring poppler-0.12.2...
Preprocessing library poppler-0.12.2...
gtk2hsC2hs: Errors during expansion of binding hooks:

./Graphics/UI/Gtk/Poppler/Types.chs:121: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoContext' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:140: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_context_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:144: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoLayout' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:163: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_layout_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:167: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoFont' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:186: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_font_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:190: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoFontFamily' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:209: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_font_family_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:213: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoFontFace' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:232: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_font_face_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:236: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoFontMap' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:255: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_font_face_get_type' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:259: (column 12) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `PangoFontset' in the header file.
./Graphics/UI/Gtk/Poppler/Types.chs:278: (column 22) [ERROR] 
  >>> Unknown identifier!
  Cannot find a definition for `pango_fontset_get_type' in the header file.

cabal: Error: some packages failed to install:
poppler-0.12.2 failed during the building phase. The exception was:
ExitFailure 1

1 Ответ

1 голос
/ 07 декабря 2012
...