asprintf does not exist on Solaris, so C extensions do not build
----------------------------------------------------------------
Key: JRUBY-5606
URL: http://jira.codehaus.org/browse/JRUBY-5606
Project: JRuby
Issue Type: Bug
Components: C Extensions
Affects Versions: JRuby 1.6
Environment: Solaris 10
Reporter: Clayton O'Neill
Assignee: Thomas E Enebo
Attachments: solaris-asprintf.patch
asprintf() doesn't exist on Solaris 10, so the C extensions fail to build.
However, there is a asprintf implementation included with the C extensions, but
it's in the windows specific include file. I've attached a patch that moves
the asprintf implementation into a separate header that is then pulled in from
ruby.h on Solaris and Windows.
This problem probably exists on other platforms also, in which case it should
be fairly easy to extend it via platform specific #ifdef's. Ideally I think it
would probably be better to detect this via autoconf or something similar.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email