You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Din%$h <xy...@gmail.com> on 2005/05/26 08:18:28 UTC

ant build failed

Hi ,
Tried to build axis-c-1.5 from source using ant in my Debian Box. But it 
failed with following error.
I'm using apache2 and xerces-c.

dinesh:/usr/local/axiscpp# ant
Unable to locate tools.jar. Expected to find it in 
/usr/lib/kaffe/pthreads/lib/tools.jar
Buildfile: build.xml

pre-init:

set-platform-specifics:

checkIfDebug:

initialize:

build:

compile:

compileClient:

compileAxisClient:

buildVersionResource:
[cc] Starting dependency analysis for 124 files.
[cc] 124 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 2 total files to be compiled.
[cc] Starting link

compileTransport:

compileAxisTransport:

buildVersionResource:
[cc] Starting dependency analysis for 3 files.
[cc] 3 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 2 total files to be compiled.
[cc] Starting link

compileAxisHTTPTransportChannel:

buildVersionResource:
[cc] Starting dependency analysis for 2 files.
[cc] 2 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 2 total files to be compiled.
[cc] Starting link

compileTransportIPV6:

compileXMLParser:

compileAxisXMLParser:

buildVersionResource:
[cc] Starting dependency analysis for 5 files.
[cc] 5 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 1 total files to be compiled.
[cc] Starting link

compileServer:

compileAxisServerEngine:

buildVersionResource:
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 123 total files to be compiled.

[cc] /usr/local/axiscpp/src/soap/SoapSerializer.cpp: In member function `
[cc] axiscpp::IWrapperSoapSerializer& 
axiscpp::SoapSerializer::operator<<(const
[cc] char*)':
[cc] /usr/local/axiscpp/src/soap/SoapSerializer.cpp:469: warning: unused 
variable `
[cc] int nStatus'
[cc] Starting link

compileApache13Module:

BUILD FAILED
/usr/local/axiscpp/build.xml:231: The following error occurred while 
executing this line:
/usr/local/axiscpp/build.xml:223: The following error occurred while 
executing this line:
/usr/local/axiscpp/build.xml:112: The following error occurred while 
executing this line:
/usr/local/axiscpp/build/buildApache13Module.xml:9: /usr/local/axiscpp/${
env.APACHE_HOME}/include not found.

Total time: 1 minute 59 second

do you have any Idea regarding this matter?

regards,
Dinesh
-- 
W.Dinesh Premalal
premalwd@cse.mrt.ac.lk
http://www.cse.mrt.ac.lk/~premalwd/ <http://www.cse.mrt.ac.lk/%7Epremalwd/>

Re: ant build failed

Posted by Adrian Dick <ad...@uk.ibm.com>.
Hi,

The problem appears to be when attempting to compile the Apache 1.3 module.
To get this working you will need to set the environment variable
APACHE_HOME to the install location of Apache 1.3.

However, based on your comments, it sounds like you want ONLY Apache 2.0
module.
Therefore you will need to do one of:
1) run ant with the flag -Dserver.apache1=false
2) update the build.[platform].properties file to set server.apache1=false
Also ensure server.apache2=true is correctly set.

The property files in CVS are set ready for the nightly builds, which build
all artefacts.

Regards,
Adrian
_______________________________________
Adrian Dick (adrian.dick@uk.ibm.com)


Din%$h <xy...@gmail.com> wrote on 26/05/2005 07:18:28:

> Hi ,
>       Tried to build axis-c-1.5 from source using ant in my Debian
> Box. But it failed with following error.
> I'm using apache2 and xerces-c.
>
> dinesh:/usr/local/axiscpp# ant
> Unable to locate tools.jar. Expected to find it in
> /usr/lib/kaffe/pthreads/lib/tools.jar
> Buildfile: build.xml
>
> pre-init:
>
> set-platform-specifics:
>
> checkIfDebug:
>
> initialize:
>
> build:
>
> compile:
>
> compileClient:
>
> compileAxisClient:
>
> buildVersionResource:
>        [cc] Starting dependency analysis for 124 files.
>        [cc] 124 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 2 total files to be compiled.
>        [cc] Starting link
>
> compileTransport:
>
> compileAxisTransport:
>
> buildVersionResource:
>        [cc] Starting dependency analysis for 3 files.
>        [cc] 3 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 2 total files to be compiled.
>        [cc] Starting link
>
> compileAxisHTTPTransportChannel:
>
> buildVersionResource:
>        [cc] Starting dependency analysis for 2 files.
>        [cc] 2 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 2 total files to be compiled.
>        [cc] Starting link
>
> compileTransportIPV6:
>
> compileXMLParser:
>
> compileAxisXMLParser:
>
> buildVersionResource:
>        [cc] Starting dependency analysis for 5 files.
>        [cc] 5 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 1 total files to be compiled.
>        [cc] Starting link
>
> compileServer:
>
> compileAxisServerEngine:
>
> buildVersionResource:
>        [cc] Starting dependency analysis for 1 files.
>        [cc] 1 files are up to date.
>        [cc] 0 files to be recompiled from dependency analysis.
>        [cc] 123 total files to be compiled.
>
>        [cc] /usr/local/axiscpp/src/soap/SoapSerializer.cpp: In
> member function `
>        [cc]    axiscpp::IWrapperSoapSerializer& axiscpp::
> SoapSerializer::operator<<(const
>        [cc]    char*)':
>        [cc] /usr/local/axiscpp/src/soap/SoapSerializer.cpp:469:
> warning: unused variable `
>        [cc]    int nStatus'
>        [cc] Starting link
>
> compileApache13Module:
>
> BUILD FAILED
> /usr/local/axiscpp/build.xml:231: The following error occurred while
> executing this line:
> /usr/local/axiscpp/build.xml:223: The following error occurred while
> executing this line:
> /usr/local/axiscpp/build.xml:112: The following error occurred while
> executing this line:
> /usr/local/axiscpp/build/buildApache13Module.xml:9:
> /usr/local/axiscpp/${env.APACHE_HOME}/include not found.
>
> Total time: 1 minute 59 second
>
> do you have any Idea regarding this matter?
>
> regards,
> Dinesh
> --
> W.Dinesh Premalal
> premalwd@cse.mrt.ac.lk
> http://www.cse.mrt.ac.lk/~premalwd/