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 "Olivier Mengué (JIRA)" <ji...@apache.org> on 2010/01/06 18:15:54 UTC

[jira] Created: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

guththilla/configure should not check for CXX as it is not used
---------------------------------------------------------------

                 Key: AXIS2C-1427
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Unix/Linux)
    Affects Versions: 1.6.0
         Environment: Unix
            Reporter: Olivier Mengué
            Priority: Minor


The following line is present in guththilla/configure.ac:
AC_PROG_CXX

However the C++ compiler is never used as all sources are pure C.

This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar reassigned AXIS2C-1427:
----------------------------------------

    Assignee: S.Uthaiyashankar

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar updated AXIS2C-1427:
-------------------------------------

    Fix Version/s: 1.7.0

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "Olivier Mengué (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837330#action_12837330 ] 

Olivier Mengué commented on AXIS2C-1427:
----------------------------------------

Here is the patch for guththila:


AXIS2C-1427: guthilla: remove C++ compiler check

Index: ../guththila/configure.ac
===================================================================
--- ../guththila/configure.ac	(révision 900396)
+++ ../guththila/configure.ac	(copie de travail)
@@ -13,7 +13,6 @@
 
 dnl Checks for programs.
 AC_PROG_CC
-AC_PROG_CXX
 AC_PROG_CPP
 AC_PROG_LIBTOOL
 AC_PROG_INSTALL


> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805819#action_12805819 ] 

S.Uthaiyashankar commented on AXIS2C-1427:
------------------------------------------

If configure could not find any C++ compilers, it should ignore and go ahead. I tested this in an environment which doesn't have g++ or c++ installed, and works correctly. 

Can you please attach the error you are getting? Does the problem come only in guththila? because, same marco is definied in axiom, util, and axis2/c configure.ac files. 

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar resolved AXIS2C-1427.
--------------------------------------

    Resolution: Fixed

Fixed in revision 915728. 

Thank you very much for the patch. 

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "S.Uthaiyashankar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

S.Uthaiyashankar resolved AXIS2C-1427.
--------------------------------------

    Resolution: Fixed

Fixed in revision 915728. 

Thank you very much for the patch. 

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "Olivier Mengué (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Mengué updated AXIS2C-1427:
-----------------------------------

    Affects Version/s: Current (Nightly)
                       1.7.0

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Priority: Minor
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "Olivier Mengué (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806345#action_12806345 ] 

Olivier Mengué commented on AXIS2C-1427:
----------------------------------------

The problem I had was that the C++ compiler was not correctly configured (no license manager available). This made any call to C++ compiler last for 10 minutes, and fails. So this made the 'configure' last a very long time while the C++ compiler was finally not used at all !

I have now fixed this problem, but checking for AC_PROG_CXX is useless for most of Axis2/C.

I have a patch that removes AC_PROG_CXX from every configure.ac except the top one as it may be used for qpid transport.

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0, 1.7.0, Current (Nightly)
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Assignee: S.Uthaiyashankar
>            Priority: Minor
>             Fix For: 1.7.0
>
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2C-1427) guththilla/configure should not check for CXX as it is not used

Posted by "Olivier Mengué (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-1427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Mengué updated AXIS2C-1427:
-----------------------------------

    Attachment: AXIS2C-1427.patch

Added a patch that fixes this issue.

> guththilla/configure should not check for CXX as it is not used
> ---------------------------------------------------------------
>
>                 Key: AXIS2C-1427
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1427
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: 1.6.0
>         Environment: Unix
>            Reporter: Olivier Mengué
>            Priority: Minor
>         Attachments: AXIS2C-1427.patch
>
>
> The following line is present in guththilla/configure.ac:
> AC_PROG_CXX
> However the C++ compiler is never used as all sources are pure C.
> This makes harder to build Axis2/C on environments where no C++ compiler is available or where it is broken (such as on AIX with Visual Age C++ 6 without a license manager). Workaround: configure CXX=cc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.