Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
0.10.0
-
None
-
None
Description
Hello,
I got log4cxx to work with Sun Studio 11 using the Sun-supported stlport4 library. There are basically two issues:
1- Missing Include Statements:
This one is pretty trivial and is corrected by the first attached patch (source.patch). You might want to check if the inclusions for 'wchar.h' should be protected by some macro for wchar support.
2- Incorrect Compiler Options:
This one is slightly trickier, since the packaged configure script always forces -lCstd in the linker flags which conflicts with the stlport4 library. I got it working for me by patching the configure script (configure.patch). A real solution, however, would be to use a newer version of automake for generating the distribution (>= 1.10) that handles this correctly and detects if we're linking against stlport, leaving out the native STL library.
Any chance of having these in for 0.10.1?
Cheers,
Hady