You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2026/01/23 16:44:00 UTC

[jira] [Resolved] (AXIS2C-1696) Document GTest-related build requirements

     [ https://issues.apache.org/jira/browse/AXIS2C-1696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Lazarski resolved AXIS2C-1696.
-------------------------------------
    Fix Version/s: 2.0.0
                       (was: 1.7.0)
       Resolution: Implemented

This section is now in the INSTALL file: 

    WHY BUILD GOOGLE TEST FROM SOURCE?
    ----------------------------------
    Axis2/C's build system (dating from ~2015) expects to compile Google Test
    source files directly (gtest-all.cc, gtest_main.cc) rather than using
    modern pre-built libraries. This is because:

    1. Ubuntu's libgtest-dev provides CMake integration and pre-built libraries
    2. Axis2/C's autotools build expects source compilation for direct control
    3. Axis2/C Makefile.am files reference $(GTEST_DIR)/src/gtest-all.cc explicitly
    4. Converting to modern Google Test would require significant build system changes

    This approach ensures compatibility with the existing test infrastructure
    while avoiding the complexity of modernizing the entire build system.


> Document GTest-related build requirements
> -----------------------------------------
>
>                 Key: AXIS2C-1696
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1696
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: documentation
>            Reporter: Giorgio Zoppi
>            Priority: Major
>             Fix For: 2.0.0
>
>         Attachments: libxml.png
>
>
> The current trunk doesnt build on Linux Ubuntu 1.7.0 due to libxml.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org