<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: script does not recognize aCC in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013682#M96392</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;They are directories not users. I am executing aCC as the same user.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 05 Jun 2007 16:43:14 GMT</pubDate>
    <dc:creator>sharathkv25</dc:creator>
    <dc:date>2007-06-05T16:43:14Z</dc:date>
    <item>
      <title>script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013676#M96386</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I got a peculiar problem. I am trying to compile all the files in a directory &amp;amp; if i try to do it from a script, it fails. If I do the same from command line it's working.&lt;BR /&gt;&lt;BR /&gt;Here is the log:&lt;BR /&gt;&lt;BR /&gt;===================================================&lt;BR /&gt;From script......it's giving error&lt;BR /&gt;&lt;BR /&gt;v3 (admin) $ ./build.ks 192.XXX.X.XXX | tee buildlog&lt;BR /&gt;&lt;BR /&gt;Compile GL module...&lt;BR /&gt;Sandbox file used: /home/pti1/xxx/xxxx/sandbox_GL.pj&lt;BR /&gt;Building single module: GL ...&lt;BR /&gt;&lt;BR /&gt;make   clean all install_build REMOTE=xxx LOGIN=xxx tp4ci=no&lt;BR /&gt;&lt;BR /&gt;Cleaning.... please wait.&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o version.o -c version.cpp&lt;BR /&gt;sh[6]: aCC:  not found.&lt;BR /&gt;*** Error exit c&lt;BR /&gt;Stop.&lt;BR /&gt;ode 127&lt;BR /&gt;*** Error exit c&lt;BR /&gt;Stop.&lt;BR /&gt;ode 1&lt;BR /&gt;### ERROR MAKING PROJECT 'GL' ###&lt;BR /&gt;&lt;BR /&gt;================================================================&lt;BR /&gt;&lt;BR /&gt;The same thing from command line......it's working fine&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;v3 (src) $ make clean all install_build REMOTE=xxx LOGIN=xxx tp4ci=no&lt;BR /&gt;&lt;BR /&gt;Cleaning.... please wait.&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o version.o -c version.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_CError.o -c GL_CError.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_CErrorList.o -c GL_CErrorList.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_CString.o -c GL_CString.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_CTrace.o -c GL_CTrace.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_Critical.o -c GL_Critical.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o GL_FUtilities.o -c GL_FUtilities.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o BaseThread.o -c BaseThread.cpp&lt;BR /&gt;aCC +Z +DA1.0 -DSV_ENABLE_TRACE -I . -I /home/pti1/xxx/xxx/common/include -I /home/pti1/xxx/xxx/common/include/GL -o dummy.o -c dummy.cpp&lt;BR /&gt;        aCC +Z +DA1.0 -DSV_ENABLE_TRACE  -I . -I /home/pti1/xxx/xxx/common/include  -I /home/pti1/xxx/xxx/common/include/GL version.o  GL_CError.o  GL_CErrorList.o  GL_CString.o  G&lt;BR /&gt;L_CTrace.o  GL_Critical.o  GL_FUtilities.o  BaseThread.o    -o dummy dummy.o -Wl,-B,immediate -L . -&lt;BR /&gt;L /opt/osmf/lib -L /home/pti1/xxx/xxx/lib&lt;BR /&gt;        aCC +DA1.0  -b  -o ../lib/libOT_GL.sl version.o  GL_CError.o  GL_CErrorList.o  GL_CString.o&lt;BR /&gt; GL_CTrace.o  GL_Critical.o  GL_FUtilities.o  BaseThread.o&lt;BR /&gt;/opt/SV/bin/sv_rmake_dir tpdev3 xxxx 775 xxxx other /opt/build_depot_osmfmv_4.0&lt;BR /&gt;Create directory '/opt/build_depot_osmfmv_4.0' on local host  ...&lt;BR /&gt;Change path permission to 775 ...&lt;BR /&gt;Change file ownership to xxxx ...&lt;BR /&gt;Change file group-name to other ...&lt;BR /&gt;/opt/SV/bin/sv_rmake_dir tpdev3 xxx 755 xxxx other /opt/build_depot_osmfmv_4.0/lib&lt;BR /&gt;Create directory '/opt/build_depot_osmfmv_4.0/lib' on local host  ...&lt;BR /&gt;Change path permission to 755 ...&lt;BR /&gt;Change file ownership to xxx ...&lt;BR /&gt;Change file group-name to other ...&lt;BR /&gt;/opt/SV/bin/sv_install_test xxx xxx /opt/build_depot_osmfmv_4.0/lib 555 xxx other ../lib/libOT_GL.sl&lt;BR /&gt;Remove file 'libOT_GL.sl' from local host 'xxx@xxx:/opt/build_depot_osmfmv_4.0/lib' ...&lt;BR /&gt;Copy file '../lib/libOT_GL.sl' to remote host 'xxx@xxx:/opt/build_depot_osmfmv_4.0/lib' ...&lt;BR /&gt;Change file permission to 555 ...&lt;BR /&gt;Change file ownership to xxx ...&lt;BR /&gt;Change file group-name to other ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I checked all the environment variables, it's ok. Any ideas ??&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 12:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013676#M96386</guid>
      <dc:creator>sharathkv25</dc:creator>
      <dc:date>2007-06-05T12:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013677#M96387</link>
      <description>Specify full path to the aCC compiler in your script.&lt;BR /&gt;&lt;BR /&gt;# which aCC&lt;BR /&gt;or&lt;BR /&gt;# whereis aCC&lt;BR /&gt;&lt;BR /&gt;...will display the complete path to your aC++ compiler.</description>
      <pubDate>Tue, 05 Jun 2007 12:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013677#M96387</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-06-05T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013678#M96388</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Apparently the PATH environment variable was not checked.&lt;BR /&gt;&lt;BR /&gt;Either its not on the PATH or its not installed.&lt;BR /&gt;&lt;BR /&gt;swlist -l product | more&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 05 Jun 2007 13:01:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013678#M96388</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-06-05T13:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013679#M96389</link>
      <description>Since you are invoking make from an interactive shell and from a script --- and I am going to assume that the script you are running is also invoked from the same parent shell that does work interactively, the most logical explanation is that your script is changing ${PATH}. I would add the -p option to the make invocation and you will then see all the rules and variable settings. I suspect that you are going to see a difference in ${PATH} when make -p is called both ways.</description>
      <pubDate>Tue, 05 Jun 2007 13:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013679#M96389</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-05T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013680#M96390</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;aCC is installed.&lt;BR /&gt;&lt;BR /&gt;v3 (admin) $ which aCC&lt;BR /&gt;/opt/aCC/bin/aCC&lt;BR /&gt;v3 (admin) $&lt;BR /&gt;v3 (admin) $&lt;BR /&gt;v3 (admin) $ whereis aCC&lt;BR /&gt;aCC: /opt/aCC/bin/aCC /opt/aCC/share/man/man1.Z/aCC.1&lt;BR /&gt;v3 (admin) $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"/opt/aCC/bin" is also present in the PATH variable&lt;BR /&gt;&lt;BR /&gt;v3 (admin) $ echo $PATH&lt;BR /&gt;/opt/MKSClient/IntegrityClient/bin:/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/pd/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/resmon/bin:/opt/firefox:/opt/gnome/bin:/opt/mozilla:/opt/graphics&lt;BR /&gt;/common/bin:/opt/hpsmh/bin:/opt/perl_32/bin:/opt/perl_64/bin:/usr/sbin/diag/contrib:/opt/sfm/bin:/opt/ssh/bin:/opt/thunderbird:/opt/gwlm/bin:/opt/aCC/bin:/opt/cadvise/bin:/opt/langtools/bin:/opt/imake/bin:.:/home/pti1/pacman/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin/X11:/opt/SV/bin:/opt/mks/bin:/opt/osmf/bin:/opt/osmf/utils:/opt/OV/bin:/usr/local/bin:/opt/oracle/oracle/product/10.2.0/DB/bin:/opt/java1.4/bin:/opt/oracle/oracle/product/10.2.0/DB/bin:/opt/opt/home/pti1/pacman/timepictra/bin:/opt/java1.4/bin</description>
      <pubDate>Tue, 05 Jun 2007 14:22:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013680#M96390</guid>
      <dc:creator>sharathkv25</dc:creator>
      <dc:date>2007-06-05T14:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013681#M96391</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Your post appears to show two difference users --- 'src' and 'admin'.  Is that in fact true?  Do the permissions on all directories and on 'aCC' itself allow 'admin' to execute 'aCC'? &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 14:38:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013681#M96391</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-06-05T14:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013682#M96392</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;They are directories not users. I am executing aCC as the same user.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 05 Jun 2007 16:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013682#M96392</guid>
      <dc:creator>sharathkv25</dc:creator>
      <dc:date>2007-06-05T16:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013683#M96393</link>
      <description>&lt;!--!*#--&gt;&amp;gt; "/opt/aCC/bin" is also present in the PATH&lt;BR /&gt;&amp;gt; variable&lt;BR /&gt;&lt;BR /&gt;It may be in your interactive shell&lt;BR /&gt;environment, but what do you get from:&lt;BR /&gt;    echo $PATH&lt;BR /&gt;in your shell script?</description>
      <pubDate>Tue, 05 Jun 2007 16:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013683#M96393</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-05T16:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013684#M96394</link>
      <description>add the -p to the make invocation both within your script and as you invoke make from an interactive shell and there will be a definitive difference.</description>
      <pubDate>Tue, 05 Jun 2007 16:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013684#M96394</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-05T16:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: script does not recognize aCC</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013685#M96395</link>
      <description>As everyone has mentioned, you need to check PATH in your script to see if it is the same.  Of course you can just give up and do what  Sandman says and use the full path.&lt;BR /&gt;&lt;BR /&gt;At one time there was a problem with a directory aCC somewhere in your PATH but that should be fixed by now.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;aCC +Z +DA1.0&lt;BR /&gt;&lt;BR /&gt;You should NOT be using +DA1.0, that was obsoleted on 10.20.  For PA, you should be using +DAportable.&lt;BR /&gt;&lt;BR /&gt;With your small number of objects, you should really use +z instead of +Z.</description>
      <pubDate>Tue, 05 Jun 2007 22:21:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-does-not-recognize-acc/m-p/4013685#M96395</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-05T22:21:35Z</dc:date>
    </item>
  </channel>
</rss>

