- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: c89 compiler - Execute permission denied
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
тАО03-15-2010 07:05 AM
тАО03-15-2010 07:05 AM
c89 compiler - Execute permission denied
sh: ./c89: Execute permission denied.
when i try and run the c89 compiler in HPUX. I have chmoded the file to 775 and all the sub-directories that lead to the c89. I am really not sure how this can happen. Does anyone have any ideas?
Thanks
Skip Ford
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 07:22 AM
тАО03-15-2010 07:22 AM
Re: c89 compiler - Execute permission denied
When you do _what_, exactly?
As usual, showing actual commands with their
actual output can be more helpful than vague
descriptions and interpretations.
> [...] HPUX. [...]
Which HP-UX, on what, exactly?
uname -a
> sh: ./c89: Execute permission denied.
"./c89"? Where are you?
pwd
ls -l ./c89
file ./c89
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 07:24 AM
тАО03-15-2010 07:24 AM
Re: c89 compiler - Execute permission denied
Do you have '/opt/aCC/bin' in your PATH?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 02:36 AM
тАО03-16-2010 02:36 AM
Re: c89 compiler - Execute permission denied
Why are you invoking "./c89"? You shouldn't be in that directory. And is it likely that c89 IS a directory?
>I have chmoded the file to 775 and all the sub-directories that lead to the c89.
What file and what sub-directories?
You should NOT be fiddling with /opt/aCC/.
What HP-UX version do you have? What architecture do you have? What C compiler do you have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 05:29 AM
тАО03-16-2010 05:29 AM
Re: c89 compiler - Execute permission denied
you could verify if your ANSI C compiler is all right:
# swverify C-ANSI-C
mine is located here:
# whence c89
/usr/bin/c89
# ll `whence c89`
lr-xr-xr-t 1 root sys 18 Mar 21 2006 /usr/bin/c89 -> /opt/ansic/bin/c89
# ll /opt/ansic/bin/c89
-r-xr-xr-x 1 bin bin 692224 Feb 2 2006 /opt/ansic/bin/c89
#
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2010 11:26 AM
тАО03-16-2010 11:26 AM