#795059 renameutils-0.12.0: Error in Makefile after running config; problem fixed.

Package:
renameutils
Source:
renameutils
Description:
Programs to make file renaming easier
Submitter:
Eric McLemore
Date:
2015-08-12 02:03:24 UTC
Severity:
important
#795059#5
Date:
2015-08-10 03:47:34 UTC
From:
To:
Dear Maintainer,

I downloaded package, moved into my /opt directory, and then unpacked using tar.  I opened package folder and
ran the ./configure script.  It passed without any errors.  Then I ran Make.  It passed without any errors.  Then I ran Make Install, and there was an error.

The error message said that there was an invalid ')' on line 1580, and then it did not install the package.
I tested the rename command, 'imv' from my home directory and my shell said that it was not installed.

I went to the makefile in the /opt/renameutils-0.12.0/src directory, opened it with my vim editor, and
scrolled down to line 1580.  It is inside the 'install-exec-local' routine:
--------------------------------------------------------------
install-exec-local:
        $(mkdir_p) $(DESTDIR) $(bindir)
        @[ -f $(DESTDIR)$(bindir)/qmv ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qmv)
        @[ -f $(DESTDIR)$(bindir)/qcp ] || (echo $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp ; $(LN_S) qcmd $(DESTDIR)$(bindir)/qcp)
        @[ -f $(DESTDIR)$(bindir)/imv ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/imv ; $(LN_S) icmd $(DESTDIR)$(bindir)/imv)
        @[ -f $(DESTDIR)$(bindir)/icp ] || (echo $(LN_S) icmd $(DESTDIR)$(bindir)/icp ; $(LN_S) icmd $(DESTDIR)$(bindir)/icp)
------------------------------------------------------------- Line 1580, or the second line in the routine, was originally as follows: $(mkdir_p) $(DESTDIR) ($bindir) where the error was in the bindir variable. I changed that line to: $(mkdir_p) $(DESTDIR) $(bindir) Then I saved the change, and entered 'make install' again, and everything worked!! I don't understand what caused it, because I'm thinking that the same package worked on earlier releases. It might be something with the way Debian 8.1 is configured or designed. I don't really understand the difference between the lines, as I don't have experience. Anyway that is what happened and that is how I fixed it. Thanks for the package, since I don't like going to a file manager to rename files when I am already at the command line.