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

 
 

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

Submitted by:  David Rolfe <dsrolfe>
Submitted on:  Fri 25 Sep 2009 09:49:00 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
Fri 25 Sep 2009 10:42:46 PM UTC, comment #2:

thanks - will fix.

Thomas Dickey <dickey>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Jan 2014 03:35:44 PM UTCdickeyStatusNone=>Fixed
    Fri 25 Sep 2009 09:49:00 PM UTCdsrolfeCarbon-Copy-=>Added dsrolfe

    Back to the top


    Powered by Savane 3.1-cleanup1