Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6
-
Fix Version/s: JRuby 1.6.2
-
Component/s: C Extensions
-
Labels:None
-
Environment:Solaris 10
-
Patch Submitted:Yes
-
Number of attachments :
Description
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.
Activity
Charles Oliver Nutter
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Thomas E Enebo [ enebo ] | Charles Oliver Nutter [ headius ] |
| Fix Version/s | JRuby 1.6.1 [ 17085 ] | |
| Resolution | Fixed [ 1 ] |
Clayton O'Neill
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Charles Oliver Nutter
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Fix Version/s | JRuby 1.6.2 [ 17306 ] | |
| Fix Version/s | JRuby 1.6.1 [ 17085 ] | |
| Resolution | Fixed [ 1 ] |
Wayne Meissner
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Charles Oliver Nutter
made changes -
| Fix Version/s | JRuby 1.6.3 [ 17374 ] | |
| Fix Version/s | JRuby 1.6.2 [ 17306 ] |
Charles Oliver Nutter
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Fix Version/s | JRuby 1.6.2 [ 17306 ] | |
| Fix Version/s | JRuby 1.6.3 [ 17374 ] | |
| Resolution | Fixed [ 1 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |