Re: axis-c ant build error

2005-05-25 Thread John Hawkins

Hi Simon,

are you up and running now?






Simon Detheridge [EMAIL PROTECTED]

24/05/2005 11:52



Please respond to
Apache AXIS C User List





To
Apache AXIS C User List axis-c-user@ws.apache.org


cc



Subject
Re: axis-c ant build error








It fails:

BUILD FAILED
/root/axis-install/ws-axis/c/build.xml:234: The following error occurred
while executing this line:
/root/axis-install/ws-axis/c/build.xml:222: The following error occurred
while executing this line:
/root/axis-install/ws-axis/c/build.xml:93: The following error occurred
while executing this line:
/root/axis-install/ws-axis/c/build/buildClient.xml:23: LinuxLinker
doesn't denote a ProcessorDef

Hmm... Perhaps I'll try reinstalling ant, ant-contrib  cpptasks by
hand, instead of using portage. It could be that the build scripts are
broken somehow.

On Tue, 2005-05-24 at 11:08 +0100, Adrian Dick wrote:
 Hmmm ... this really doesn't make sense.
 
 The ant script has correctly determined which platform it is on -
yet, for
 some reason, it is trying to do something with the SolarisLinker.
 I have
 tried changing my version of ant-contrib to match yours, but still
don't
 see the same problem.
 
 Does everything work if we comment out line 39 from
 ws-axis/c/build/buildClient.xml ? or does the next linker definition
fall
 over?
 
 
 Adrian
 ___
 Adrian Dick ([EMAIL PROTECTED])
 
 
 Simon Detheridge [EMAIL PROTECTED] wrote on 24/05/2005 09:37:16:
 
  I have cpptasks 1.0b3, ant-contrib 1.0b2, and ant 1.6.2
 
  On Mon, 2005-05-23 at 16:39 +0100, Adrian Dick wrote:
   Hmmm  well it looks to have correctly detected your
platform, so
   there's something else going on here.
  
   I'll need to dig around some more, in the interim could
you confirm the
   exact levels of cpptasks you're using - I've seen problems
in the past
 with
   anything other than v1.0beta3
  
   Thanks,
   Adrian
   ___
   Adrian Dick ([EMAIL PROTECTED])
  
  
   Simon Detheridge [EMAIL PROTECTED] wrote on 23/05/2005
16:15:05:
  
Hmm... It does say: Detected OS: Linux
but I know nothing of ant,
 so I
don't know if this is relevant.
   
I've posted the complete output here (21):
http://www.highlyillogical.org/dump/antbuild.out
   
It's rather long and I don't want to pollute the list.
   
Simon
   
On Mon, 2005-05-23 at 15:54 +0100, Adrian Dick wrote:
 Hi,

 This sounds worryingly like the ant script hasn't
correctly
 determined
   your
 platform.

 Could try running ant in verbose mode, and attach
the produced
 output,
   so
 we determine which check is failing.
  $ cd ~/ws-axis/c
  $ ant -v

 Thanks,
 Adrian
 ___
 Adrian Dick ([EMAIL PROTECTED])


 Simon Detheridge [EMAIL PROTECTED] wrote
on 23/05/2005 10:42:32:

  I'm building on Linux. Gentoo to be precise...
 
  The full command I'm using, is simply:
  $ cd ~/ws-axis/c
  $ ant
 
 
  On Mon, 2005-05-23 at 08:14 +0100, John Hawkins
wrote:
  
   What platform are you trying to build
on?
  
   It looks like the SolarisLinker
is not defined before you are
   calling buildClient.xml . If I look
in buildInitialize.xml then
 it
   appears to be defined in there.
  
   linkerid=SolarisLinkername=CClibtool=trueif=solaris

  linkerargvalue=-gif=debug/

  linkerargvalue=-Qoption/

  linkerargvalue=ld/

  linkerargvalue=-zmuldefs/

  /linker
  
   We need to make sure that you are picking
up this file before
 you
   call
   buildClient.xml
  
   What is the full command that you are
using to build with
 please?
  
  
  
  
  
  
   Simon Detheridge
   [EMAIL PROTECTED]
  
   20/05/2005 16:29
   Please
respond to
 Apache AXIS
C User List
  
  
  
  

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

 cc
  
Subject
   axis-c ant build
   error
  
  
  
  
  
  
  
  
   I'm getting the following, when trying
to build axis-c using
 ant:
  
   ...
  
   compileAxisClient:
  
   buildVersionResource:
  
   BUILD FAILED
   /root/axis-install/ws-axis/c/build.xml:234:
The following error
   occurred
   while executing this line:
   /root/axis-install/ws-axis/c/build.xml:222:
The following error
   occurred
   while executing this line:
   /root/axis-install/ws-axis/c/build.xml:93:
The following error
   occurred
   while executing this line:
   /root/axis-install/ws-axis/c/build/buildClient.xml:23:
   SolarisLinker
   doesn't denote a ProcessorDef
  
   ---
  
   Any idea why, and how I can make it
go away?
  
   Thanks,
   Simon
  

Re: axis-c ant build error

2005-05-25 Thread Simon Detheridge
On Wed, 2005-05-25 at 09:18 +0100, John Hawkins wrote:
 
 Hi Simon, 
 
 are you up and running now? 

Not yet. Our mailserver exploded and I spent the day building a new one.
I'm going to try rebuilding my toolchain this afternoon. I'll let you
know how it goes.





RE: Can't build 1.5 source - .deps not there

2005-05-25 Thread Yampolsky, Robert
Title: RE: Can't build 1.5 source - .deps not there



Haven't tried ant. I did install Javaon 
this machine (to run wsdl2ws), but have never played with ant (or Java for that 
matter).

Anyway, editing (painfully) all the .deps stuff allowed it 
to build with make on my system. The only component I installed was the 
apache2 module, and that linked and worked.

I guess if I have problems in the future, I'll try to 
figure out how to use ant.

Thanks,
Rob


From: Samisa Abeysinghe 
[mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 10:52 
PMTo: Apache AXIS C User ListSubject: RE: Can't build 1.5 
source - .deps not there


Please 
note that the Makefile.am files are not up-to-date in 
1.5 release. (May be it builds half way, but may not 
link all the stuff correctly 
)
Only the ant build works properly.

Have you tried building 
with ant?

Samisa

-Original 
Message-From: Yampolsky, 
Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 11:44 
PMTo: Yampolsky, Robert; 
axis-c-user@ws.apache.orgSubject: RE: Can't build 1.5 source - .deps 
not there

So, looking at the 
Makefile's I guess these .deps directories are supposed to be generated on the 
fly by make running the 'depcomp' script.
I'm running RHEL 3.0, 
but somebody here patched the system to load the 2.96 gcc toolset as required by 
Oracle 9 for its installation. I undid the symlinks between gcc-gcc295 
and g++-g++296 to point them to the gcc323 and g++323 versions, but I'm 
guessing that depcomp is using other parts of the toolchain that are 
inconsisten, missing or whatever.
I've been able to get 
the makefiles to run by editing out all the DEPS stuff, and I suppose that's 
alright, since I assume this is just for automatic dependency 
detection.
So, bottom line, my 
question is this: 
Am I looking for 
trouble getting Axis C++ to run on an RHEL 3.0 system that has this hybrid 
compiler set? 
Is it possible that 
other problems I've been having (can't get ?wsdl URL's to work) could be related 
to this? 
Thanks, 
Rob 

_ 
From: 
 Yampolsky, Robert 
Sent: 
Monday, May 23, 2005 12:02 
PM To: 
'axis-c-user@ws.apache.org' 
Subject: 
Can't build 1.5 source - .deps not 
there 
I'm trying to build axisc++ from the 
1.5.0 source. 
Configure ran okay, but make reports 
failed attempts to access stuff in .deps subdirectories. They're not 
there. Is the source tarball bad, or is there something I can do at 
.configure time to make it not try to access these .deps 
subdirs?
R o b Y a m 
p o l s k y Harris 
Corporation [EMAIL PROTECTED] 
(212) 303 - 
4250 


Re: axis-c ant build error

2005-05-25 Thread Simon Detheridge
On Wed, 2005-05-25 at 11:27 +0100, Simon Detheridge wrote:
 On Wed, 2005-05-25 at 09:18 +0100, John Hawkins wrote:
  
  Hi Simon, 
  
  are you up and running now? 
 
 Not yet. Our mailserver exploded and I spent the day building a new one.
 I'm going to try rebuilding my toolchain this afternoon. I'll let you
 know how it goes.

Okay, I rebuilt ant, ant-contrib, and cpptasks and axis from source. I
also used sun-java instead of blackdown, and sun's javac instead of
jikes. It worked.

It *could* be a problem with my using blackdown, but I'm more inclined
to blame the Gentoo build scripts... If I can find some time to spend
figuring out what went wrong, I'll file a bug.

Simon