Can't do inplace edit on dependencies.d: No such file or directory.

Posted by Oblisgr on Wed 11 Mar 2020 12:23 PM — 4 posts, 17,689 views.

#0
smaugfuss 1.9.3
compiling with WSL

why this happening?
can it be fixed?


make -s smaug
  Compiling o/act_comm.o....
Generating dependency file ...
Can't do inplace edit on dependencies.d: No such file or directory.
Done compiling mud.
make -s dns
Done compiling DNS resolver.
USA Global Moderator #1
This line is failing to find the dependencies.d file: https://github.com/Arthmoor/SmaugFUSS/blob/a8988c1667c06aed92486b28bd03a1776755578d/src/Makefile#L75

Because the line before it is failing to generate that file.

I found that by searching through the source tree for "Generating dependency file ...". You could do that too.

If you remove the @ from the start of https://github.com/Arthmoor/SmaugFUSS/blob/a8988c1667c06aed92486b28bd03a1776755578d/src/Makefile#L74 you'll see what it's trying to do.
Amended on Wed 11 Mar 2020 02:14 PM by Fiendish
#2
I found the problem.

I had stored my mud in a flash disk and somehow the file couldnt be created. i copied the mud into my disk and now is creating normally.

Stupid reasons for stupid problems.

Thanks for replay.
Amended on Wed 11 Mar 2020 09:52 PM by Oblisgr
Australia Forum Administrator #3
Do you have a dependencies.d folder inside the src folder? I tink that is what it is looking for.

Looks like I am wrong, it is a file not a folder.

Make sure you have permissions to change files in the src folder.

Try typing (when in the src folder):


ls -ld .
ls -l dependencies.d


In my case I got:


$ ls -ld .

drwxr-x--- 3 nick nick 4096 Mar 12 08:28 .

$ ls -l dependencies.d

-rw-rw---- 1 nick nick 4478 May 16  2016 dependencies.d


So you can see I had read/write/execute access (as the owner) of the directory "src" and read/write access of the file dependencies.d