compile code using plink error

October 10, 2011 at 22:40:27
Specs: AIX
I am trying to use plink to connect to aix box from windows and trying to compile the code. it successfully connects to the box, but when compilation starts its not able to any of the paths which are mentioned in".profile" file. Hence it doesnt understand the common variables. Can some one help me with this problem? How to set plink session based .profile file?

Command used : plink -pw buildpoc buildpoc@ -m command.txt

Command.txt contains: cd scripts pwd /prod/f1/buildpoc/scripts/buildlibs.scr bb

Error shown is: [E:\Putty]sc.bat rem plink -pw buildpoc buildpoc@ plink -pw buildpoc buildpoc@ -m command.txt /prod/f1/buildpoc/scripts /usr/bin/sh: xlC_r: not found. <<<<<<<<<<<<< which is present in /user/vacpp/bin Running for make file libmakefile.aix52 Removing libraries -- COMPILING LIBRARYS --

xlC_r -c -bmaxdata:2147483648 -g -M -DOCI_80 -I/c/include -I/rdbms/
-I/plsql/public -I/rdbms/public athread.C

See More: compile code using plink error

Report •

October 10, 2011 at 23:40:42

plink -l buildproc -pw buildpoc -m command.txt

Report •

October 11, 2011 at 00:12:08
Sorry, it didnt work.
I tried moving all system variables from .profile to make file (as include file) just to check.
In that case it works but fails in some places.

Please help..

Report •
Related Solutions

Ask Question