Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2012 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2b3b9c2caa3745e0e0a7 to your computer and use it in GitHub Desktop.
Save anonymous/2b3b9c2caa3745e0e0a7 to your computer and use it in GitHub Desktop.
Building native extensions. This could take a while...
ERROR: Error installing thin-1.3.1.gem:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for main() in -lc... yes
creating Makefile
make
compiling thin.c
thin.c: In function ‘http_field’:
thin.c:82:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c:83:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c: In function ‘request_uri’:
thin.c:114:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c: In function ‘fragment’:
thin.c:125:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c: In function ‘request_path’:
thin.c:136:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c: In function ‘query_string’:
thin.c:148:3: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c: In function ‘Thin_HttpParser_alloc’:
thin.c:243:3: warning: implicit declaration of function ‘thin_http_parser_init’ [-Wimplicit-function-declaration]
thin.c: In function ‘Thin_HttpParser_finish’:
thin.c:295:3: warning: implicit declaration of function ‘thin_http_parser_finish’ [-Wimplicit-function-declaration]
thin.c:297:3: warning: implicit declaration of function ‘thin_http_parser_is_finished’ [-Wimplicit-function-declaration]
thin.c: In function ‘Thin_HttpParser_execute’:
thin.c:335:5: warning: implicit declaration of function ‘thin_http_parser_execute’ [-Wimplicit-function-declaration]
thin.c:337:5: error: format not a string literal and no format arguments [-Werror=format-security]
thin.c:339:5: warning: implicit declaration of function ‘thin_http_parser_has_error’ [-Wimplicit-function-declaration]
cc1: some warnings being treated as errors
make: *** [thin.o] Error 1
Gem files will remain installed in /var/lib/gems/1.9.1/gems/thin-1.3.1 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/thin-1.3.1/ext/thin_parser/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment