- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sh[12]: -c: not found.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 08:41 AM
тАО12-04-2008 08:41 AM
the full error:
splbatdv@hp66ap23|[/app/dvlp/splbatdv/splbatch/build/lib/perf_monitor/src] > make
/opt/aCC/bin/aCC -c +DD64 -AA -z -g -mt -DSTD_AA +Z +W495 -I../../../lib/perf_monitor/inc # -I../include -I../../../lib/db_ob/inc -I../../../lib/db_shared/inc -I../../../lib/shared/inc -I../../../lib/xml/inc -I../../../lib/utility/inc -I/app/dvlp/common/log4cplus/include -I/app/dvlp/common/Secure/C++/inc -I/app/dvlp/common/Secure/C++/inc -g0 +W495 +W854 -I/oracle/product/10.2.0/precomp/public -I/oracle/product/10.2.0/rdbms/public -I/oracle/product/10.2.0/plsql/public -I/oracle/product/10.2.0/network/public perf_monitor.cpp
mv `basename perf_monitor.o` ../../../lib/perf_monitor/obj
mv: perf_monitor.o: cannot access: No such file or directory
*** Error exit code 1 (ignored)
/opt/aCC/bin/aCC -c +DD64 -AA -z -g -mt -DSTD_AA +Z +W495 -I../../../lib/perf_monitor/inc # -I../include -I../../../lib/db_ob/inc -I../../../lib/db_shared/inc -I../../../lib/shared/inc -I../../../lib/xml/inc -I../../../lib/utility/inc -I/app/dvlp/common/log4cplus/include -I/app/dvlp/common/Secure/C++/inc -I/app/dvlp/common/Secure/C++/inc -g0 +W495 +W854 -I/oracle/product/10.2.0/precomp/public -I/oracle/product/10.2.0/rdbms/public -I/oracle/product/10.2.0/plsql/public -I/oracle/product/10.2.0/network/public simple_perf_monitor.cpp
mv `basename simple_perf_monitor.o` ../../../lib/perf_monitor/obj
mv: simple_perf_monitor.o: cannot access: No such file or directory
*** Error exit code 1 (ignored)
/oracle/product/10.2.0/bin/proc \
\
include=/oracle/product/10.2.0/precomp/public include=/oracle/product/10.2.0/rdbms/public include=/oracle/product/10.2.0/plsql/public include=/oracle/product/10.2.0/network/public \
include=../../../lib/perf_monitor/inc \
LTYPE=NONE MAXOPENCURSORS=200 HOLD_CURSOR=YES -g code=CPP include=/usr/include include=/opt/aCC/include/SC include=/opt/aCC/include include=/opt/aCC/include/iostream include=/opt/aCC/include/rw ireclen=132 oreclen=132 select_error=no SQLCHECK=SEMANTICS PARSE=partial userid=PDBORA/`/app/dvlp/common/Secure/C++/bin/getpasswd OLTPSPLD PDBORA /app/dvlp/common/ini/naicsec2.pwd `@OLTPSPLD THREADS=YES DEF_SQLCODE=YES \
DEFINE=INCLUDE_PROC \
iname=phase_logging.pc \
oname=../../../lib/perf_monitor/tmp/phase_logging.cpp; \
cd ../../../lib/perf_monitor/tmp ; \
/opt/aCC/bin/aCC \
+DD64 -AA -z -g -mt -DSTD_AA +Z +W495 -I../../../lib/perf_monitor/inc # -I../include -I../../../lib/db_ob/inc -I../../../lib/db_shared/inc -I../../../lib/shared/inc -I../../../lib/xml/inc -I../../../lib/utility/inc -I/app/dvlp/common/log4cplus/include -I/app/dvlp/common/Secure/C++/inc -I/app/dvlp/common/Secure/C++/inc -g0 +W495 +W854 -I/oracle/product/10.2.0/precomp/public -I/oracle/product/10.2.0/rdbms/public -I/oracle/product/10.2.0/plsql/public -I/oracle/product/10.2.0/network/public -DORACA_STORAGE_CLASS=static -DORACA_INIT -DSQLCA_STORAGE_CLASS=static -DSQLCA_INIT -DINCLUDE_PROC -D_REENTRANT -DSLXMX_ENABLE -DSLMXMX_ENABLE -DSLTS_ENABLE \
-c phase_logging.cpp; \
mv ../../../lib/perf_monitor/tmp/`basename phase_logging.o` ../../../lib/perf_monitor/obj/.
Pro*C/C++: Release 10.2.0.3.0 - Production on Thu Dec 4 10:37:38 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from: /oracle/product/10.2.0/precomp/admin/pcscfg.cfg
sh[12]: -c: not found.
mv: ../../../lib/perf_monitor/tmp/phase_logging.o: cannot access: No such file or directory
*** Error exit code 1
Stop.
it got some other error but thats dues to not able to create the object file and not able to find it. the main error is at very bottom where it says sh[12]:-c: not found.
Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 08:51 AM
тАО12-04-2008 08:51 AM
Re: sh[12]: -c: not found.
> sh[12]: -c: not found
...means that there is an error on line-12 of a shell. The error indicates that a command named '-c' cannot be located.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 08:54 AM
тАО12-04-2008 08:54 AM
Re: sh[12]: -c: not found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 09:11 AM
тАО12-04-2008 09:11 AM
Solutionsome issues would be spaces/tabs following a continuation (\), leading spaces instead of tabs and so forth.
it might be somewhere around :
DSLTS_ENABLE \
-c phase_logging.cpp; \
mv ../../../lib/perf_monitor/tmp/`basename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 09:21 AM
тАО12-04-2008 09:21 AM
Re: sh[12]: -c: not found.
damm you guys are good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2008 12:13 PM
тАО12-04-2008 12:13 PM
Re: sh[12]: -c: not found.
Or it could mean there was a macro/variable that was before the -c that wasn't set.