Link to home
Start Free TrialLog in
Avatar of shanikawm
shanikawmFlag for Sri Lanka

asked on

HP-UX /opt/aCC/lbin/ecom: Execute permission denied

I'm trying to compile cpp code on HP-UX machines. It gave me following errors.
What may be the reason?

Thanks in advance.
root@localhost> uname -ar
HP-UX localhost B.11.23 U ia64 2143951832 unlimited-user license
root@localhost> cat test.cpp 
#include <iostream.h>
int main()
{
      int x,y;
      cout << "Enter an integer: ";
      cin >> x;
      y = x * 2;
      cout << "\n" << y <<" is twice " << x <<".\n";
}
root@localhost> make test
        aCC -O test.cpp  -o test
sh: /opt/aCC/lbin/ecom: Execute permission denied.
*** Error exit code 1

Stop.
root@localhost> ls -ltr /opt/aCC/lbin/ecom
-rwxr-xr-x   1 bin        bin        19089469 Apr 19  2006 /opt/aCC/lbin/ecom

Open in new window

SOLUTION
Avatar of trinitrotoluene
trinitrotoluene
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shanikawm

ASKER

I coudn't find any such applications  :-(
SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes. I should buy the compiler