Native extension fails to build
-------------------------------
Key: THRIFT-302
URL: https://issues.apache.org/jira/browse/THRIFT-302
Project: Thrift
Issue Type: Bug
Components: Library (Ruby)
Reporter: Esteve Fernandez
Priority: Critical
Attachments: ruby_ext_errors.log
The Ruby native extension fails to build in Linux (Ubuntu 8.04) due to:
- files not ending in a newline (just a warning, but make aborts since
extconf.rb uses -Werror)
- strlcpy not being available in Linux. I've replaced it with strncpy, although
it's not exactly the same. If we want to use the former, strlcpy's source code
should be included.
- uint8_t, uint32_t, etc. not found. I just added stdint.h to
binary_protocol_accelerated.c
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.