Opened 14 years ago

Closed 14 years ago

#24431 closed defect (fixed)

./install-sh: Permission denied

Reported by: colnat.carole@… Owned by: simon@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: homebank

Description (last modified by mf2k (Frank Schima))

Hello, I'm a newbie (sorry) using mac port and of course ilt did not go the way I wanted... I try to install homebank and had the following returned error. I use Mac OS 10.5.8.

Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/homebank-4.2.1" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/destroot " returned error 2
Command output: Making install in src
test -z "/opt/local/bin" || .././install-sh -c -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/destroot/opt/local/bin"
/bin/sh: .././install-sh: Permission denied
make[2]: *** [install-binPROGRAMS] Error 126
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

I've searched the others tickets and (indeed) found similar errors but I didn't understand the way it was solved. Could you please help me being kind enough to provide me with a step by step solution ? Thanks in advance for your understanding.

Change History (5)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to simon@…
Port: homebank added

What exact command did you use to try to install homebank?

comment:2 in reply to:  1 Changed 14 years ago by colnat.carole@…

Replying to macsforever2000@…:

What exact command did you use to try to install homebank?

I checked I have X11 installed and XCode (which I didn't so i did the install) and I followed the install guidelines from Home bank as specified on http://homebank.free.fr/index.php?id=85 I typed "sudo port install homebank" in the terminal then enter then my password and let the script runs until the error message. :-(

comment:3 Changed 14 years ago by colnat.carole@…

So ... It's still not working. Since my last visit I 've done a big cleaning in my computer :-).

I formated the HD and installed Snow Leopard and .. started all over again for the same result. is there any body to help me please .. :-(

--->  Staging homebank into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/homebank-4.2.1" && /usr/bin/make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/destroot " returned error 2
Command output: Making install in src
test -z "/opt/local/bin" || .././install-sh -c -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/destroot/opt/local/bin"
/bin/sh: .././install-sh: Permission denied
make[2]: *** [install-binPROGRAMS] Error 126
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

Error: Status 1 encountered during processing.

comment:4 in reply to:  3 Changed 14 years ago by lorenzo1@…

Replying to colnat.carole@…:

/bin/sh: .././install-sh: Permission denied

I had the same error. It seems the install-sh file has no execute permission.

In my case, after the error I used this command :

sudo chmod 755 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_homebank/work/homebank-4.2.1/install-sh

and after just retype :

sud port -d install homebank

HomeBank is now installed.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.