You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-user@logging.apache.org by Kon Lovett <kl...@pacbell.net> on 2005/03/09 18:45:35 UTC

Re: log4cxx - Support for MacOS X

Hi,

I made the changes below so build completes on MacOS X. I have not 
checked if it works however;  performance/logging generates a 
Segmentation fault!

Hope this is proper place for this.

Kon

-----
diff autogen.sh autogen.sh.darwin
4c4,9
< libtoolize --force --automake
---
 > case `uname` in
 >       (Darwin)        LIBTOOLIZE=glibtoolize  ;;
 >       (*)                    LIBTOOLIZE=libtoolize   ;;
 > esac
 >
 > $LIBTOOLIZE --force --automake
-----
diff src/serversocket.cpp src/serversocket.cpp.darwin
22a23,25
 > #ifdef HAVE_SYS_TYPES_H
 > #     include <sys/types.h>
 > #endif


Re: log4cxx - Support for MacOS X

Posted by Kon Lovett <kl...@pacbell.net>.
Sorry about the msg that autogen.sh hasn't been modified. Missed the OS 
X specific file.

I am pursuing the ant build as you suggest.

Thank you,
Kon

On Mar 9, 2005, at 10:03 AM, Curt Arnold wrote:

> Both those have been fixed in the CVS HEAD.  I assume the segmentation 
> fault is a well-known problem that has also been fixed in the CVS.  If 
> you are just starting with log4cxx, I would highly recommend starting 
> with the CVS HEAD.  We are long overdue on a follow-up release and 
> 0.9.7 is rife with serious problems but there are still somethings 
> that we need to repair in the CVS HEAD before a release.
>
> At the moment, the CVS HEAD will build on Mac OS/X but will be 
> reported as failing some of the tests bacause "sed" doesn't support 
> the "-i" option and I haven't rewritten the tests.  The make build 
> needs work.  I would recommend using the ant + cpptasks build.
>
> Maybe time for me to update the site.
>
>
> On Mar 9, 2005, at 11:45 AM, Kon Lovett wrote:
>
>> Hi,
>>
>> I made the changes below so build completes on MacOS X. I have not 
>> checked if it works however;  performance/logging generates a 
>> Segmentation fault!
>>
>> Hope this is proper place for this.
>>
>


Re: log4cxx - Support for MacOS X

Posted by Curt Arnold <ca...@apache.org>.
Both those have been fixed in the CVS HEAD.  I assume the segmentation 
fault is a well-known problem that has also been fixed in the CVS.  If 
you are just starting with log4cxx, I would highly recommend starting 
with the CVS HEAD.  We are long overdue on a follow-up release and 
0.9.7 is rife with serious problems but there are still somethings that 
we need to repair in the CVS HEAD before a release.

At the moment, the CVS HEAD will build on Mac OS/X but will be reported 
as failing some of the tests bacause "sed" doesn't support the "-i" 
option and I haven't rewritten the tests.  The make build needs work.  
I would recommend using the ant + cpptasks build.

Maybe time for me to update the site.


On Mar 9, 2005, at 11:45 AM, Kon Lovett wrote:

> Hi,
>
> I made the changes below so build completes on MacOS X. I have not 
> checked if it works however;  performance/logging generates a 
> Segmentation fault!
>
> Hope this is proper place for this.
>