bugvile, a vi-compatible text editor - Bugs: bug #27525, install-sh not executable after...

 
 

bug #27525: install-sh not executable after ./configure; make

Submitter:  David Rolfe <dsrolfe>
Submitted:  Fri 25 Sep 2009 09:49:00 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Oct 2009 02:23:11 AM UTC, comment #4: 

Not a big problem...a simple 'chmod 755 install-sh' fixes the issue.  Also, I to distribute vile amongst our machines, I make a tarball of the source directory after the 'make' step so that I can simply untar it and run make install on the other machines.  Inserting a chmod step before I create the tarball is trivial.

Thanks for your efforts!

David Rolfe <dsrolfe>
Wed 14 Oct 2009 12:04:41 AM UTC, comment #3: 

It's not executable after applying the
patch since the patch program re-created
the file with default permissions.  It's
okay in the tarball which I have at

http://invisible-island.net/datafiles/current/vile.tar.gz

for instance.  The configure script uses the
"install-sh" name if it cannot find a usable
install program (and I didn't notice for either
reason - since I'm building from tarballs, and
almost all machines have an install program).

To fix it so the "install-sh" would always work,
that'd be a patch to autoconf - and given that
it "only" breaks with a source patch that creates
a new script, I'm thinking that's not the best
solution.  (If it's a big nuisance, I can...)

Thomas Dickey <dickey>
Group administrator
Fri 25 Sep 2009 10:42:46 PM UTC, comment #2: 

thanks - will fix.

Thomas Dickey <dickey>
Group administrator
Fri 25 Sep 2009 09:50:21 PM UTC, comment #1: 

Whoops!  This happened with the 9.7u patch.  9.7t didn't exhibit this behavior.

David Rolfe <dsrolfe>
Fri 25 Sep 2009 09:49:00 PM UTC, original submission:  

Hi,

The install-sh script in vile-9.7 isn't executable.  Here is the output:

sh ./configure --disable-filters
make
make install

> make install

./install-sh -c vile /usr/local/bin/vile
./install-sh: Permission denied
* Exit 1
Stop.

> ls -ld install-sh

-rw-r--r--   1 root     users       7123 Sep 25 17:37 install-sh

This fixed the problem:

> chmod 755 install-sh


> make install

./install-sh -c vile /usr/local/bin/vile
sed -e 's/=vile$/=vile/' ./macros/vile-pager >/usr/local/bin/vile-pager
chmod 755 /usr/local/bin/vile-pager
./install-sh -c -m 644          ./macros/digraphs.rc /usr/local/share/vile/digraphs.rc
./install-sh -c -m 644          ./macros/modes.rc /usr/local/share/vile/modes.rc
./install-sh -c -m 644          ./macros/palettes.rc /usr/local/share/vile/palettes.rc
./install-sh -c -m 644          ./macros/vileinit.rc /usr/local/share/vile/vileinit.rc
./install-sh -c -m 644          ./macros/which.rc /usr/local/share/vile/which.rc
./install-sh -c -m 644          ./vile.hlp /usr/local/share/vile/vile.hlp
Completed installation.


This happened on a Tru64 DEC/Alpha machine and a Solaris 9 box.

Let me know if you need more information.

David Rolfe <dsrolfe>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dickey (Posted a comment)
  • -email is unavailable- added by dsrolfe (Submitted the item)
  • -email is unavailable- added by dsrolfe
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-25 dickey StatusNone Fixed
    2009-09-25 dsrolfe Carbon-Copy- Added dsrolfe

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code