Operating System - HP-UX
1837005 Members
1957 Online
110111 Solutions
New Discussion

Make: Could not read current directory. Stop.

 
Edwin Ruiz_2
Super Advisor

Make: Could not read current directory. Stop.

Hi!

I am trying to use the command make with oracle user but i get this messages

Make: Could not read current directory. Stop.

why?

Pls help me
9 REPLIES 9
John Poff
Honored Contributor

Re: Make: Could not read current directory. Stop.

Hi,

It sounds like either a permissions issue or a filesystem problem with your current directory. What does 'pwd' and 'ls -ld .' return?

JP
Edwin Ruiz_2
Super Advisor

Re: Make: Could not read current directory. Stop.

ls -ld show

oracle /u01/app/oracle> ls -ld
drwxrwxrwx 12 oracle dba 1024 Oct 27 12:12 .


pwd show

oracle /u01/app/oracle> pwd
/u01/app/oracle

Kevin Liquori_1
Regular Advisor

Re: Make: Could not read current directory. Stop.

Could the problem be in the makefile? Perhaps the directory it's referring to is one listed in the makefile.

Kevin
KapilRaj
Honored Contributor

Re: Make: Could not read current directory. Stop.

just a doubt .. whats the permission of Makefile ?

Kaps
Nothing is impossible
Edwin Ruiz_2
Super Advisor

Re: Make: Could not read current directory. Stop.

i just using the make command of HP-UX. when i exec with root user i get this message
gtportal: / > make
Make: No arguments or description file. Stop.

but with oracle i get that

oracle /u01/app/oracle> make
Make: Could not read current directory. Stop.

other servers work with oracle users.

thanks
Ermin Borovac
Honored Contributor

Re: Make: Could not read current directory. Stop.

Just a thought ... check permissions on all parent directories, e.g.

$ ls -ld /u01 /u01/app
Edwin Ruiz_2
Super Advisor

Re: Make: Could not read current directory. Stop.

it has all permissions (777)
Ermin Borovac
Honored Contributor

Re: Make: Could not read current directory. Stop.

You can also try running tusc (HP-UX system call tracer) on make. It might give you some clues on what the problem is.

$ tusc -s open -fv /usr/bin/make

In the output of tusc you are looking for entries such as below (EACCES = permission denied). Identify file/directory entry is referring to and correct permissions.

open("../", O_RDONLY|0x200000, 0130100) .................. ERR#13 EACCES

If you don't have tusc you can download it from the HP ftp site below. It's a good tool to have.

ftp://ftp.cup.hp.com/dist/networking/tools/tusc..shar
Edwin Ruiz_2
Super Advisor

Re: Make: Could not read current directory. Stop.

I change permision of "/". all is working