Building yaml-0.4.1...
[1 of 1] Compiling Text.Libyaml ( Text/Libyaml.hs, dist/build/Text/Libyaml.o )
[1 of 1] Compiling Text.Libyaml ( Text/Libyaml.hs, dist/build/Text/Libyaml.p_o )
c/helper.c:1:20: error: stdlib.h: No such file or directory
c/helper.c:2:20: error: string.h: No such file or directory
c/helper.c:3:19: error: stdio.h: No such file or directory
In file included from c/helper.h:4,
c/yaml.h:149:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:308:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:438:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:735:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:988:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:989:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:1003:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1095:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1344:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:1357:0:
error: expected declaration specifiers or ‘...’ before ‘FILE’
c/yaml.h:1478:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:1561:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1567:0:
error: expected specifier-qualifier-list before ‘FILE’
c/yaml.h:1693:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1703:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1715:0:
error: expected specifier-qualifier-list before ‘size_t’
c/yaml.h:1806:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:1806:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/yaml.h:1819:0:
error: expected declaration specifiers or ‘...’ before ‘FILE’
In file included from c/helper.c:4:0:
c/helper.h:11:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/helper.c:12:0:
error: expected declaration specifiers or ‘...’ before ‘size_t’
c/helper.c: In function ‘buffer_append’:
c/helper.c:18:0:
error: ‘size’ undeclared (first use in this function)
c/helper.c:18:0:
error: (Each undeclared identifier is reported only once
c/helper.c:18:0: error: for each function it appears in.)
c/helper.c:22:0:
warning: implicit declaration of function ‘realloc’
c/helper.c:22:0:
warning: assignment makes pointer from integer without a cast
c/helper.c:28:0:
warning: implicit declaration of function ‘memcpy’
c/helper.c:28:0:
warning: incompatible implicit declaration of built-in function ‘memcpy’
c/helper.c: In function ‘get_parser_error_context’:
c/helper.c:56:0:
error: ‘yaml_parser_t’ has no member named ‘context’
c/helper.c: In function ‘get_parser_error_offset’:
c/helper.c:61:0:
error: ‘yaml_parser_t’ has no member named ‘offset’
c/helper.c: In function ‘get_scalar_length’:
c/helper.c:91:0:
error: ‘struct ’ has no member named ‘length’
c/helper.c: In function ‘get_scalar_tag_len’:
c/helper.c:103:0:
warning: implicit declaration of function ‘strlen’
c/helper.c:103:0:
warning: incompatible implicit declaration of built-in function ‘strlen’
c/helper.c: In function ‘get_scalar_style’:
c/helper.c:108:0:
error: ‘struct ’ has no member named ‘style’
c/helper.c: In function ‘yaml_parser_set_input_filename’:
c/helper.c:133:0:
error: ‘FILE’ undeclared (first use in this function)
c/helper.c:133:0:
error: ‘in’ undeclared (first use in this function)
c/helper.c:133:0:
warning: implicit declaration of function ‘fopen’
c/helper.c:135:0:
error: too many arguments to function ‘yaml_parser_set_input_file’
c/helper.c: At top level:
c/helper.c:138:0: error: expected ‘)’ before ‘*’ token
cabal: Error: some packages failed to install:
cmdargs-0.6.8 failed during the building phase. The exception was:
ExitFailure 1
data-object-yaml-0.3.3.5 depends on yaml-0.4.1 which failed to install.
kit-0.6.7 depends on yaml-0.4.1 which failed to install.
yaml-0.4.1 failed during the building phase. The exception was:
ExitFailure 1