- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Languages and Scripting
- >
- sh[12]: -c: not found.
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP