Re: log4cxx build on SUN Solaris

2005-12-16 Thread Chris Williams
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.

RE: build problem on solaris

2005-06-10 Thread Chris Williams
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

Re: build problem on solaris

2005-06-09 Thread Chris Williams
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

Solaris 10, locales, and Sun Studio 10

2005-05-15 Thread Chris Williams
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

Solaris 10 and wchar

2005-05-14 Thread Chris Williams
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

Re: Solaris 10 and gcc update

2005-05-11 Thread Chris Williams
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

RE: Solaris 10 and gcc update

2005-05-10 Thread Chris Williams
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

Solaris 10 and gcc update

2005-05-09 Thread Chris Williams
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

Re: Errors compiling apr-1.1.0 with cc task on Solaris 10

2005-05-09 Thread Chris Williams
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

Errors compiling apr-1.1.0 with cc task on Solaris 10

2005-05-08 Thread Chris Williams
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

Build problem using ant off of CVS HEAD

2005-02-01 Thread Chris Williams
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

Re: Apache Log4cxx build fails with gcc 2.95 under Solaris 8

2005-01-31 Thread Chris Williams
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