[MacPorts] #24431: ./install-sh: Permission denied
#24431: ./install-sh: Permission denied -----------------------------------+---------------------------------------- Reporter: colnat.carole@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: -----------------------------------+---------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/24431> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24431: ./install-sh: Permission denied -----------------------------------+---------------------------------------- Reporter: colnat.carole@… | Owner: simon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: homebank -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => simon@… * port: => homebank Old description:
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.
New description: 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. -- Comment: What exact command did you use to try to install homebank? -- Ticket URL: <http://trac.macports.org/ticket/24431#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24431: ./install-sh: Permission denied -----------------------------------+---------------------------------------- Reporter: colnat.carole@… | Owner: simon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: homebank -----------------------------------+---------------------------------------- Comment(by colnat.carole@…): Replying to [comment:1 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. :-( -- Ticket URL: <http://trac.macports.org/ticket/24431#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24431: ./install-sh: Permission denied -----------------------------------+---------------------------------------- Reporter: colnat.carole@… | Owner: simon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: homebank -----------------------------------+---------------------------------------- Comment(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. }}} -- Ticket URL: <http://trac.macports.org/ticket/24431#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24431: ./install-sh: Permission denied -----------------------------------+---------------------------------------- Reporter: colnat.carole@… | Owner: simon@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: homebank -----------------------------------+---------------------------------------- Comment(by lorenzo1@…): Replying to [comment:3 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. -- Ticket URL: <http://trac.macports.org/ticket/24431#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24431: ./install-sh: Permission denied ------------------------------------+--------------------------------------- Reporter: colnat.carole@… | Owner: simon@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: homebank | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r69980 -- Ticket URL: <http://trac.macports.org/ticket/24431#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts