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 "James Clark (JIRA)" <ji...@apache.org> on 2006/09/05 15:20:22 UTC

[jira] Created: (AXIS2C-247) Building from SVN problems

Building from SVN problems
--------------------------

                 Key: AXIS2C-247
                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
             Project: Axis2-C
          Issue Type: Bug
          Components: build system (Unix/Linux)
    Affects Versions: Current (Nightly)
            Reporter: James Clark


The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
In file included from util_hash_test.c:19:
util_hash_test.h:20:20: error: CuTest.h: No such file or directory

If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "James Clark (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432746 ] 
            
James Clark commented on AXIS2C-247:
------------------------------------

woden doesn't support --enable-tests=no, so my build now breaks in woden.

Where is cutest supposed to go in the source tree?

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2C-247) Building from SVN problems

Posted by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-247?page=all ]

Sanjaya Ratnaweera reassigned AXIS2C-247:
-----------------------------------------

    Assignee: Sanjaya Ratnaweera

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>         Assigned To: Sanjaya Ratnaweera
>         Attachments: woden.diff
>
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432756 ] 
            
Samisa Abeysinghe commented on AXIS2C-247:
------------------------------------------

I have fixed all the issues to drop dependancy on CuTest
Please have a look now

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432732 ] 
            
Samisa Abeysinghe commented on AXIS2C-247:
------------------------------------------

You can set --enable-tests=no in build.sh to eliminate the need for CUTest. 

We drop CuTest when packaging source, this is why it is not mentioned in docs.

We cannot include CuTest in our source tree, due to license concerns, it is not Apache compatible.

I would personally like to drop CuTest and look for an alternative, may be our own test framework.


> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Closed: (AXIS2C-247) Building from SVN problems

Posted by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-247?page=all ]

Sanjaya Ratnaweera closed AXIS2C-247.
-------------------------------------


> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>         Assigned To: Sanjaya Ratnaweera
>             Fix For: Current (Nightly)
>
>         Attachments: woden.diff
>
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2C-247) Building from SVN problems

Posted by "Sanjaya Ratnaweera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-247?page=all ]

Sanjaya Ratnaweera resolved AXIS2C-247.
---------------------------------------

    Fix Version/s: Current (Nightly)
       Resolution: Fixed

configure detects whether cutest is available and enable the tests only if cutest available.

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>         Assigned To: Sanjaya Ratnaweera
>             Fix For: Current (Nightly)
>
>         Attachments: woden.diff
>
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2C-247) Building from SVN problems

Posted by "James Clark (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-247?page=all ]

James Clark updated AXIS2C-247:
-------------------------------

    Attachment: woden.diff

Make woden support --enable-tests configure option.

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>         Attachments: woden.diff
>
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432753 ] 
            
Dinesh Premalal commented on AXIS2C-247:
----------------------------------------

Since developers need to use tests frequently , I think it is good to have --enable-tests=yes. Otherwise , It puts extra burden on dev's head (They happen to change --enable-test=no before committing code into SVN). As with releases concerns it's OK to package with --enable-tests=no


> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "James Clark (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432736 ] 
            
James Clark commented on AXIS2C-247:
------------------------------------

If you can't include CuTest in the source tree, then I would suggest that it is disabled by default, and that you have to use --enable-tests=yes to enable it.  I agree the right solution eventually is to find an alternative that is license compatible.

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (AXIS2C-247) Building from SVN problems

Posted by "James Clark (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-247?page=comments#action_12432758 ] 
            
James Clark commented on AXIS2C-247:
------------------------------------

Dinesh, I think the right solution to your concern is for configure to detect whether cutest is available and enable the tests only if it is.

> Building from SVN problems
> --------------------------
>
>                 Key: AXIS2C-247
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-247
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Unix/Linux)
>    Affects Versions: Current (Nightly)
>            Reporter: James Clark
>         Attachments: woden.diff
>
>
> The INSTALL documentation doesn't describe how to build from SVN.  I guessed I was supposed to use build_all.sh, but when I did that it failed
>  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I/include -I../../../src/util -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT util_hash_test.lo -MD -MP -MF .deps/util_hash_test.Tpo -c util_hash_test.c  -fPIC -DPIC -o .libs/util_hash_test.o
> In file included from util_hash_test.c:19:
> util_hash_test.h:20:20: error: CuTest.h: No such file or directory
> If I'm supposed to download cutest myself and put it somewhere, then the documentation should say so, but I would say it would be simpler to have cutest in the SVN since it's so small.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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