You can now get Sun Studio 11 from Sun for free from their website. A few
months ago, I tired to compile with Sun Studio 10 and documented my findings to
the mailing list. I am hoping to get back on my Sun box to help put with this
task since we are looking to use log4cxx in a project soon.
Here are the instructions I used to get the latest HEAD with CVS to compile
on Solaris. Compiling on Solaris is very doable...
For those interested, here are the steps I took to compile logging-log4cxx
on Solaris 10. This *might* work for those working on earlier versions of
Solaris. I am using
You might want to try downloading the latest code from
the CVS HEAD and build using the new ant build system.
I was able to build and run through the unit tests
with gcc and sun studio 8 on solaris 10. If you
search the achives, I posted the steps I took to get
the head running on Solaris.
Chris
For some reason, gcc 3.4.2 that came with the Solaris 10 doesn't support
locales correctly and that is why one of the locale tests was failing. The
only locales that it worked with was C and POSIX. Now using Sun Studio 10,
the locales worked as expected.
As far as sun studio 10 goes, it worked f
I wrote a little test program and the size of wchar_t is 4 bytes on solaris
10. I removed the defined(__STDC_ISO_10646__) from the unicodehelper.cpp
and recompiled. All the tests passed other than the locale one which failed
before.
I'm not sure if there are any defines that tell which operating
After some google searches, I found out that
__STD_ISO_10646__ is not defined on Solaris 10 and I
doubt earlier Solaris versions. I know wchar_t is
defined in Solaris 10 but I don't know of a way to
find that out. I will hunt around and try to find a
way that wchar_t can be tested.
Chris
--- Cu
Comments in-line
> Here are my results compiling on solaris 10 with gcc.
> The build line I used was: ant -Dapr.dir=/usr/local/apr
> -Dcppunit.dir=/export/disk10/cppProjects/cppunit-1.10.2 -Dlogchar=utf8
> -Dhas.wchar_t=0
>
> I only got one error which was the following. I think it might fa
Here are my results compiling on solaris 10 with gcc.
The build line I used was: ant -Dapr.dir=/usr/local/apr
-Dcppunit.dir=/export/disk10/cppProjects/cppunit-1.10.2 -Dlogchar=utf8
-Dhas.wchar_t=0
I only got one error which was the following. I think it might fail because
I am not using wchar_t
the
build.xml? I added one additional to
point to /usr/local/lib so it would pull in my expat
install. It would be nice if there was a way to do
that from the ant command line.
Thanks
Chris
--- Curt Arnold <[EMAIL PROTECTED]> wrote:
>
> On May 8, 2005, at 8:57 AM, Chris Williams wro
I am trying to compile the cvs head version of log4cxx on Solaris 10. I
grabed the cvs versions of ant-contrib, cpptask, and log4cxx. I am using
ant 1.6.3 and gcc 3.4.2. I have attached a sample of the errors I get from
the cc task. Now when I went in to the lib/apr-1.1.0 directory and did a
ma
I am trying to use ant on Solaris 9 and getting the following error.
$ ant
Buildfile: build.xml
os-detect:
win-init:
unix-init:
init:
config-check:
unix-prep:
check-config-msvc:
prep-config-msvc:
win-prep:
prep:
build-log4cxx:
BUILD FAILED
/disk11/projects/logging-log4cxx/build.xml:220: The type
What is the correct way to build the CVS HEAD? I am
also trying to build on Solaris but haven't been able
to tell if I should be using the build.xml or if still
try the automake/configure method.
Thanks
Chris
--- Curt Arnold <[EMAIL PROTECTED]> wrote:
> I vaguely recall something like this issu
12 matches
Mail list logo