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 Nick Allen <nw...@bitwiserlabs.com> on 2005/07/14 17:34:27 UTC

Problems building on Linux: Missing Files

Hi All-

I am attempting to build Axis-C++ 1.5.0 on Linux with the following
toolset: GNU Autoconf 2.59, GCC 4.0.0.  I used an md5sum to verify that
I have a uncorrupted version from the download servers.  I built and
installed xerces-c++ and apache from source.  I have been following the
instructions and have properly set all the required environment
variables.  

Since the configure file is not supplied with the distribution I run
"./autogen.sh" to generate it.  I get the following errors:

% ./autogen.sh
run libtoolize.
run aclocal.
run autoconf.
run autoheader.
run automake.
samples/server/Makefile.am:1: required directory
samples/server/interoptests does not exist
samples/server/Makefile.am:1: required directory samples/server/simple
does not exist
tests/Makefile.am:1: required directory tests/server does not exist
configure.ac:400: required file `samples/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/base/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/groupB/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/doclitbase/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/doclitgroupB/Makefile.in' not found
configure.ac:400: required file `samples/server/simple/Makefile.in' not
found
configure.ac:400: required file `samples/server/array/Makefile.in' not
found
configure.ac:400: required file `samples/server/ref/Makefile.in' not
found
configure.ac:400: required file `samples/server/rpcfault/Makefile.in'
not found
configure.ac:400: required file `samples/server/doclitfault/Makefile.in'
not found
configure.ac:400: required file `samples/client/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/base/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/groupB/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/doclitbase/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/doclitgroupB/Makefile.in' not found
configure.ac:400: required file `samples/client/simple/Makefile.in' not
found
configure.ac:400: required file `samples/client/array/Makefile.in' not
found
configure.ac:400: required file `samples/client/ref/Makefile.in' not
found
configure.ac:400: required file `samples/client/rpcfault/Makefile.in'
not found
configure.ac:400: required file `samples/client/doclitfault/Makefile.in'
not found
configure.ac:400: required file `tests/unit_tests/Makefile.in' not found
configure.ac:400: required file `tests/unit_tests/cppunit/Makefile.in'
not found
configure.ac:400: required file `tests/client/Makefile.in' not found
configure.ac:400: required file `tests/client/stubTest/Makefile.in' not
found
configure.ac:400: required file
`tests/client/stubTest/stubBase/Makefile.in' not found
configure.ac:400: required file `tests/client/interop/Makefile.in' not
found
configure.ac:400: required file
`tests/client/interop/round1/Makefile.in' not found
configure.ac:400: required file
`tests/client/interop/round1/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/threadSafe/Makefile.in'
not found
configure.ac:400: required file
`tests/client/threadSafe/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/fault_mapping/Makefile.in'
not found
configure.ac:400: required file
`tests/client/fault_mapping/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/exceptionTest/Makefile.in'
not found
configure.ac:400: required file
`tests/client/exceptionTest/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/soapHeader/Makefile.in'
not found
configure.ac:400: required file
`tests/client/soapHeader/test1/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test1/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test2/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test2/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test3/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test3/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test4/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test4/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test6/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test6/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test8/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test8/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test9/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test9/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test10/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test10/rpc/Makefile.in' not found
configure.ac:400: required file `tests/client/xsdAnyTest1/Makefile.in'
not found
configure.ac:400: required file
`tests/client/xsdAnyTest1/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/httpHeader/Makefile.in'
not found
configure.ac:400: required file
`tests/client/httpHeader/test1/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test1/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test2/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test2/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test3/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test3/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test4/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test4/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test5/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test5/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test7/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test7/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test8/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test8/rpc/Makefile.in' not found
configure.ac:400: required file `tests/server/Makefile.in' not found
configure.ac:400: required file `tests/server/exceptionTest/Makefile.in'
not found
configure.ac:400: required file
`tests/server/exceptionTest/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/server/xsdAnyTest1/Makefile.in'
not found
configure.ac:400: required file
`tests/server/xsdAnyTest1/gen_src/Makefile.in' not found


I get similar errors with version 1.4.0, 1.6a and also from CVS.  Any
thoughts would be greatly appreciated.  


Thanks
Nick


-- 
Nick Allen <nw...@bitwiserlabs.com>


Re: Problems building on Linux: Missing Files

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

This is exactly the kinds of problems I've seen in the past when using
different versions of ant-contrib and cpp-tasks from those I specified.

Can we just double check versions, the nightly builds use the following:
Java - v1.4.1
ANT - v1.6.1
ant-contrib - v0.6   (ant-contrib-0.6.jar size=119512, date=Dec 11 2005)
cpp-tasks - v1.0b3 (cpptasks.jar size=276513, date=Apr 28 2004)

What will also be useful is to run the following:
      ant -v initialize

This will give a lot of debug type information, but of particular interest
are the first 4 lines:
      Apache Ant version 1.6.1 compiled on February 12 2004
      Buildfile: build.xml
      Detected Java version: 1.4 in: /Java14/IBMJava2-141/bin/../jre
      Detected OS: Linux
And towards the end:
      pre-init:
       [property] Loading
/home/dicka/cwssBuild/src/ws-axis/c/build/version.properties

      set-platform-specifics:
       [property] Loading
/home/dicka/cwssBuild/src/ws-axis/c/build/build.Linux.properties
       [property] Loading
/home/dicka/cwssBuild/src/ws-axis/c/build/build.common.properties

I don't think you specifically mentioned which variant of Linux you're
using, but there's a possiblity we aren't correctly determining the
platform, which this information should help us with.

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


Nick Allen <nw...@bitwiserlabs.com> wrote on 15/07/2005 17:50:50:

> > Also note, some users have had problems with certain versions of
> > ant-contrib and cpptasks - the ones we use for the nightly builds are:
> > - Ant-contrib v0.6
> > - cpp-tasks v1.0beta3
>
> I have been following the Ant build guide and am using the specific
> versions mentioned above.  In trying to build the code from CVS, I get
> the following error.
>
> % ant
> Buildfile: build.xml
>
> pre-init:
>
> set-platform-specifics:
>
> checkIfDebug:
>
> initialize:
>
> build:
>
> compile:
>
> compileClient:
>
> compileAxisClient:
>
> buildVersionResource:
>
> BUILD FAILED
> /home/nwa/AXIS/ws-axis/c/build.xml:212: The following error occurred
> while executing this line:
> /home/nwa/AXIS/ws-axis/c/build.xml:201: The following error occurred
> while executing this line:
> /home/nwa/AXIS/ws-axis/c/build.xml:91: The following error occurred
> while executing this line:
> /home/nwa/AXIS/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't
> denote a ProcessorDef
>
> PS. I am still building this on Linux.  I even tried the following which
> resulted in the same error.
>
> % ant -propertyfile build/build.Linux.properties
>
>
> Thanks
> Nick
>
>
> --
> Nick Allen <nw...@bitwiserlabs.com>
>


Re: Problems building on Linux: Missing Files

Posted by Nick Allen <nw...@bitwiserlabs.com>.
> Also note, some users have had problems with certain versions of
> ant-contrib and cpptasks - the ones we use for the nightly builds are:
> - Ant-contrib v0.6
> - cpp-tasks v1.0beta3

I have been following the Ant build guide and am using the specific
versions mentioned above.  In trying to build the code from CVS, I get
the following error.  

% ant
Buildfile: build.xml

pre-init:

set-platform-specifics:

checkIfDebug:

initialize:

build:

compile:

compileClient:

compileAxisClient:

buildVersionResource:

BUILD FAILED
/home/nwa/AXIS/ws-axis/c/build.xml:212: The following error occurred
while executing this line:
/home/nwa/AXIS/ws-axis/c/build.xml:201: The following error occurred
while executing this line:
/home/nwa/AXIS/ws-axis/c/build.xml:91: The following error occurred
while executing this line:
/home/nwa/AXIS/ws-axis/c/build/buildClient.xml:23: SolarisLinker doesn't
denote a ProcessorDef

PS. I am still building this on Linux.  I even tried the following which
resulted in the same error. 

% ant -propertyfile build/build.Linux.properties


Thanks
Nick


-- 
Nick Allen <nw...@bitwiserlabs.com>


Re: Problems building on Linux: Missing Files

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

The linux build instructions are indeed out of date, and we shall see these
get updated.

You can find instructions on building with ANT at
http://ws.apache.org/axis/cpp/antbuild-guide.html.  I regret to say it has
also become a little outdated, though the only differences seem to be:
-  we no longer support Expat
- the property files have moved into ws-axis/c/build .... with a number of
the properties consolidated into build.common.properties.

Also note, some users have had problems with certain versions of
ant-contrib and cpptasks - the ones we use for the nightly builds are:
- Ant-contrib v0.6
- cpp-tasks v1.0beta3
I shall ensure these are included on the next revision of the ANT build
guide.

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


Nick Allen <nw...@bitwiserlabs.com> wrote on 14/07/2005 17:16:46:

> On Thu, 2005-07-14 at 17:02 +0100, John Hawkins wrote:
> >
> > I'm afraid that the thoughts are we don't really support the make
> > system. ANT is this projects preferred build system. We have had
> > several requests for make support but we simply don't have the
> > time/skills.
> >
> > We can happily help you with ANT though.
>
> I dont really care how it gets built.  I can work with Ant.  Are there
> instructions somewhere on how to build it with Ant?
>
> I am surprised that this fact is not listed in the common Linux build
> instructions (http://ws.apache.org/axis/cpp/lininstall-guide.html).  Are
> these instructions just outdated?
>
> Thanks for you help, John.
>
> --Nick
>
>
> --
> Nick Allen <nw...@bitwiserlabs.com>
>


Re: Problems building on Linux: Missing Files

Posted by John Hawkins <HA...@uk.ibm.com>.
The ANT build guide can be found here ->

http://ws.apache.org/axis/cpp/documentation.html (follow link "ANT Build 
Guide")

The fact that this is not found in the Linux docs is an over-site - thanks 
for finding it. The product started by not using ANT and ANT has 
superceded.





Nick Allen <nw...@bitwiserlabs.com> 
14/07/2005 17:16
Please respond to
"Apache AXIS C User List"


To
Apache AXIS C User List <ax...@ws.apache.org>
cc

Subject
Re: Problems building on Linux: Missing Files






On Thu, 2005-07-14 at 17:02 +0100, John Hawkins wrote:
> 
> I'm afraid that the thoughts are we don't really support the make
> system. ANT is this projects preferred build system. We have had
> several requests for make support but we simply don't have the
> time/skills. 
> 
> We can happily help you with ANT though. 

I dont really care how it gets built.  I can work with Ant.  Are there
instructions somewhere on how to build it with Ant? 

I am surprised that this fact is not listed in the common Linux build
instructions (http://ws.apache.org/axis/cpp/lininstall-guide.html).  Are
these instructions just outdated?

Thanks for you help, John.

--Nick


-- 
Nick Allen <nw...@bitwiserlabs.com>



Re: Problems building on Linux: Missing Files

Posted by Nick Allen <nw...@bitwiserlabs.com>.
On Thu, 2005-07-14 at 17:02 +0100, John Hawkins wrote:
> 
> I'm afraid that the thoughts are we don't really support the make
> system. ANT is this projects preferred build system. We have had
> several requests for make support but we simply don't have the
> time/skills. 
> 
> We can happily help you with ANT though. 

I dont really care how it gets built.  I can work with Ant.  Are there
instructions somewhere on how to build it with Ant?  

I am surprised that this fact is not listed in the common Linux build
instructions (http://ws.apache.org/axis/cpp/lininstall-guide.html).  Are
these instructions just outdated?

Thanks for you help, John.

--Nick


-- 
Nick Allen <nw...@bitwiserlabs.com>


Re: Problems building on Linux: Missing Files

Posted by John Hawkins <HA...@uk.ibm.com>.
I'm afraid that the thoughts are we don't really support the make system. 
ANT is this projects preferred build system. We have had several requests 
for make support but we simply don't have the time/skills.

We can happily help you with ANT though.







Nick Allen <nw...@bitwiserlabs.com> 
14/07/2005 16:34
Please respond to
"Apache AXIS C User List"


To
axis-c-user@ws.apache.org
cc

Subject
Problems building on Linux: Missing Files






Hi All-

I am attempting to build Axis-C++ 1.5.0 on Linux with the following
toolset: GNU Autoconf 2.59, GCC 4.0.0.  I used an md5sum to verify that
I have a uncorrupted version from the download servers.  I built and
installed xerces-c++ and apache from source.  I have been following the
instructions and have properly set all the required environment
variables. 

Since the configure file is not supplied with the distribution I run
"./autogen.sh" to generate it.  I get the following errors:

% ./autogen.sh
run libtoolize.
run aclocal.
run autoconf.
run autoheader.
run automake.
samples/server/Makefile.am:1: required directory
samples/server/interoptests does not exist
samples/server/Makefile.am:1: required directory samples/server/simple
does not exist
tests/Makefile.am:1: required directory tests/server does not exist
configure.ac:400: required file `samples/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/base/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/groupB/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/doclitbase/Makefile.in' not found
configure.ac:400: required file
`samples/server/interoptests/doclitgroupB/Makefile.in' not found
configure.ac:400: required file `samples/server/simple/Makefile.in' not
found
configure.ac:400: required file `samples/server/array/Makefile.in' not
found
configure.ac:400: required file `samples/server/ref/Makefile.in' not
found
configure.ac:400: required file `samples/server/rpcfault/Makefile.in'
not found
configure.ac:400: required file `samples/server/doclitfault/Makefile.in'
not found
configure.ac:400: required file `samples/client/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/base/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/groupB/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/doclitbase/Makefile.in' not found
configure.ac:400: required file
`samples/client/interoptests/doclitgroupB/Makefile.in' not found
configure.ac:400: required file `samples/client/simple/Makefile.in' not
found
configure.ac:400: required file `samples/client/array/Makefile.in' not
found
configure.ac:400: required file `samples/client/ref/Makefile.in' not
found
configure.ac:400: required file `samples/client/rpcfault/Makefile.in'
not found
configure.ac:400: required file `samples/client/doclitfault/Makefile.in'
not found
configure.ac:400: required file `tests/unit_tests/Makefile.in' not found
configure.ac:400: required file `tests/unit_tests/cppunit/Makefile.in'
not found
configure.ac:400: required file `tests/client/Makefile.in' not found
configure.ac:400: required file `tests/client/stubTest/Makefile.in' not
found
configure.ac:400: required file
`tests/client/stubTest/stubBase/Makefile.in' not found
configure.ac:400: required file `tests/client/interop/Makefile.in' not
found
configure.ac:400: required file
`tests/client/interop/round1/Makefile.in' not found
configure.ac:400: required file
`tests/client/interop/round1/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/threadSafe/Makefile.in'
not found
configure.ac:400: required file
`tests/client/threadSafe/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/fault_mapping/Makefile.in'
not found
configure.ac:400: required file
`tests/client/fault_mapping/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/exceptionTest/Makefile.in'
not found
configure.ac:400: required file
`tests/client/exceptionTest/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/soapHeader/Makefile.in'
not found
configure.ac:400: required file
`tests/client/soapHeader/test1/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test1/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test2/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test2/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test3/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test3/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test4/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test4/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test6/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test6/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test8/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test8/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test9/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test9/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test10/Makefile.in' not found
configure.ac:400: required file
`tests/client/soapHeader/test10/rpc/Makefile.in' not found
configure.ac:400: required file `tests/client/xsdAnyTest1/Makefile.in'
not found
configure.ac:400: required file
`tests/client/xsdAnyTest1/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/client/httpHeader/Makefile.in'
not found
configure.ac:400: required file
`tests/client/httpHeader/test1/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test1/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test2/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test2/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test3/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test3/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test4/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test4/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test5/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test5/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test7/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test7/rpc/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test8/Makefile.in' not found
configure.ac:400: required file
`tests/client/httpHeader/test8/rpc/Makefile.in' not found
configure.ac:400: required file `tests/server/Makefile.in' not found
configure.ac:400: required file `tests/server/exceptionTest/Makefile.in'
not found
configure.ac:400: required file
`tests/server/exceptionTest/gen_src/Makefile.in' not found
configure.ac:400: required file `tests/server/xsdAnyTest1/Makefile.in'
not found
configure.ac:400: required file
`tests/server/xsdAnyTest1/gen_src/Makefile.in' not found


I get similar errors with version 1.4.0, 1.6a and also from CVS.  Any
thoughts would be greatly appreciated. 


Thanks
Nick


-- 
Nick Allen <nw...@bitwiserlabs.com>