wolkykim/qdecoder

Makefile on Debian

Closed this issue · 4 comments

You have an absolute path to programs like /usr/bin/mkdir in src/Makefile, but in Debian, there are no such a files. In Debian there is /bin/mkdir (rm, rmdir) .

I also have to run ldconfig after "make install" witch should by describen in an INSTALL.md file.

Otherwise everything works perfekt :)

nyov commented

Hi, since I added mkdir to "make install" this could be my fault.
There is no src/Makefile, though, so could you pinpoint where this issue might be coming from for you?
This should be detected by configure and I don't see this issue on Debian myself.

Hi, did you run ./configure script? When you run configure script it'll detect the binary path of mkdir then create Makefile from Makefile.in. So the having the absolute path in Makefile is intended but it should be existing on the system. If you're still having the issue, can you do following?

  1. run ./configure script
  2. post src/Makefile on here.

Hi,
you are right, I didn't run ./configure.
(I run it on a different OS and then copy the sources to Debian and then
just run make).

But I still have to run ldconfig.
P.

Dne 9.10.2014 v 18:45 Seungyoung Kim napsal(a):

Hi, did you run ./configure script? When you run configure script
it'll detect the binary path of mkdir then create Makefile from
Makefile.in. So the having the absolute path in Makefile is intended
but it should be existing on the system. If you're still having the
issue, can you do following?

  1. run ./configure script
  2. post src/Makefile on here.


Reply to this email directly or view it on GitHub
#10 (comment).

Ok. then I assume there's no further action to take on this issue.
Running ldconfig is a pretty much common stuff to register any new shared library into the system but I'll make a comment about it on the doc. Thanks.