After adding that directory to the path as well as the corresponding apr-util
directory I was able to get the build to run. Everything successfully compiled
but I got 1 test failure.
Start 19: streamtestcase
19/60 Test #19: streamtestcase .........................***Exception: SegFault
2.00 sec
Ralph
> On Jul 14, 2020, at 11:22 PM, Ralph Goers <[email protected]> wrote:
>
> Yes, it is at /usr/local/Cellar/apr/1.7.0/libexec/bin/.
>
> Ralph
>
>> On Jul 14, 2020, at 11:14 PM, Stephen Webb <[email protected]> wrote:
>>
>> Hi Ralph,
>>
>> Could you tell me if your Mac has the script "apr-1-config" installed?
>>
>> The src/cmake/FindApr.cmake in log4cxx expects the apr installation to
>> create that script and it calls it (passing --includedir) to
>> set APR_INCLUDE_DIR with the output
>>
>> On Wed, Jul 15, 2020 at 3:57 PM Ralph Goers <[email protected]>
>> wrote:
>>
>>> I don’t see anything wrong with those files. They are the same two
>>> archives provided in the last release.
>>>
>>> I tried building them on my Mac but it gets an error
>>>
>>> CMake Error at
>>> target/dependency/cmake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146
>>> (message):
>>> APR_INCLUDE_DIR (missing: APR_LIBRARIES)
>>>
>>> I have previous done a brew install apr and brew install apr-util but I
>>> don’t have an APR_INCLUDE_DIR environment variable set and I wouldn’t know
>>> where to point it to.
>>>
>>> Ralph
>>>
>>>> On Jul 14, 2020, at 7:16 PM, Robert Middleton <[email protected]>
>>> wrote:
>>>>
>>>> I went and tested the current version of log4cxx, and at least on Linux I
>>>> don't have any failures. There are a bunch of failures on the Windows
>>>> side, but I don't know enough about windows to know where to start to
>>> debug
>>>> those.
>>>>
>>>> The tests that failed:
>>>>
>>>> 90% tests passed, 6 tests failed out of 60
>>>> Total Test time (real) = 528.17 sec
>>>> The following tests FAILED:
>>>> 14 - minimumtestcase (Failed)
>>>> 16 - patternlayouttest (Failed)
>>>> 54 - sizebasedrollingtest (Failed)
>>>> 55 - timebasedrollingtest (Failed)
>>>> 57 - errorhandlertestcase (Failed)
>>>> 60 - xmltests (Failed)
>>>>
>>>> Regardless, I've uploaded the zip and tar.gz here:
>>>> https://rm5248.com/log4cxx/
>>>>
>>>> As of this point, do the zip/tar.gz files contain everything required for
>>>> release? Is there anything that needs to be added? I want to try and
>>> help
>>>> if there's something that's missing.
>>>>
>>>> -Robert Middleton
>>>
>>>
>>>
>
>
>