Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
sshexec and remote compilation

sshexec and remote compilation

2005-06-15       - By EJ Ciramella
Reply:     1     2     3     4  

Yeah, that was my initial thought exactly, but I tried:

<sshexec host="192.168.112.121" username="root" password="passwd"  
command="echo $PATH"/>
<sshexec host="192.168.112.121" username="root" password="passwd"  
command="echo $SHELL"/>
<sshexec host="192.168.112.121" username="root" password="passwd"  
command=". ~/.profile; cd /home/source/engineering/main/csrc; ./
configure; make all"/>

All of which look ok, but the results are still the same:


  [sshexec] checking for a BSD-compatible install... ./install-sh -c
  [sshexec] checking whether build environment is sane...
  [sshexec] yes
  [sshexec] checking for gawk... no
  [sshexec] checking for mawk... no
  [sshexec] checking for nawk... no
  [sshexec] checking for awk... awk
  [sshexec] checking whether make sets $(MAKE)...
  [sshexec] yes
  [sshexec] checking whether to enable maintainer-specific portions  
of Makefiles... no
  [sshexec] checking build system type...
  [sshexec] hppa64-hp-hpux11.11
  [sshexec] checking host system type...
  [sshexec] hppa64-hp-hpux11.11
  [sshexec] checking for gcc... no
  [sshexec] checking for cc... no
  [sshexec] checking for cc... no
  [sshexec] checking for cl... no
  [sshexec]     make  all-recursive
  [sshexec] Making all in include/ris
  [sshexec]     make  all-am
  [sshexec] Making all in lib
  [sshexec]     source='util.c' object='util.o' libtool=no \
  [sshexec]     DEPDIR=.deps depmode=none /bin/sh ../depcomp \
  [sshexec]     gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include     -g  
-O2 -pthread -Wall -c util.c
  [sshexec] *** Error exit code 127
  [sshexec] *** Error exit code 1


On Jun 15, 2005, at 2:06 PM, Anderson, Rob (Global Trade) wrote:

> . ~/.profile


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.