Re: Problem installing readline
On Aug 14, 2007, at 00:13, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 12, 2007, at 09:53, Thomas Schober wrote:
i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors :
---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
However on my intel macbook it worked fine. But i cant get it to work on my PPC. Both Computers have Mac OS Tiger 10.4.10 Installed.
How odd. I don't know what it's talking about.
Can you try "sudo port clean readline" and then "sudo port -dv install readline" and see what it says?
thanks for your answer. It goes good until this point. Then this happens : [snip] DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel _readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Don't forget to Reply To All so your reply goes to the mailing list too, not just to me. It looks like this line in the post-destroot proc may be triggering the problem: delete ${destroot}${prefix}/share/info/dir You could try removing that line from the portfile to see if that really is the culprit. If it is, then the question would be, why does this not cause a problem on your Intel Mac or my Intel Mac? I guess on your PPC iMac share/info/dir never gets created in the first place, and therefore is not there to be deleted. But why? And is there a way to write a delete command that doesn't complain if it fails? What's the difference between "delete" and "file delete"? (You could try "file delete" instead of "delete" at the beginning of the line and see if that makes a difference.)
Can you tell me where i can find this portfile ? i am a little new to MacPorts. Before i used fink. Thanks 2007/8/14, Ryan Schmidt <ryandesign@macports.org>:
On Aug 14, 2007, at 00:13, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 12, 2007, at 09:53, Thomas Schober wrote:
i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors :
---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
However on my intel macbook it worked fine. But i cant get it to work on my PPC. Both Computers have Mac OS Tiger 10.4.10 Installed.
How odd. I don't know what it's talking about.
Can you try "sudo port clean readline" and then "sudo port -dv install readline" and see what it says?
thanks for your answer. It goes good until this point. Then this happens : [snip] DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel _readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Don't forget to Reply To All so your reply goes to the mailing list too, not just to me.
It looks like this line in the post-destroot proc may be triggering the problem:
delete ${destroot}${prefix}/share/info/dir
You could try removing that line from the portfile to see if that really is the culprit. If it is, then the question would be, why does this not cause a problem on your Intel Mac or my Intel Mac? I guess on your PPC iMac share/info/dir never gets created in the first place, and therefore is not there to be deleted. But why? And is there a way to write a delete command that doesn't complain if it fails? What's the difference between "delete" and "file delete"? (You could try "file delete" instead of "delete" at the beginning of the line and see if that makes a difference.)
Ok, i found the portfile. But such a line is not there. The file looks like this : # $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $ PortSystem 1.0 name readline-5 set shortname readline version 5.0.005 distname ${shortname}-5.0 categories devel maintainers nomaintainer@macports.org platforms darwin description Library that provides command line editing long_description\ The GNU Readline library provides a set of functions \ for use by applications that allow users to edit \ command lines as they are typed in. Both Emacs and vi \ editing modes are available. The Readline library \ includes additional functions to maintain a list of \ previously-entered command lines, to recall and perhaps \ reedit those lines, and perform csh-like history \ expansion on previous commands. \ \ This version provides limited functionality. It is \ intended to be used by ports that require version \ 5.0. Only the dynamic library is installed, and the \ include files are kept in PREFIX/include/readline5. homepage http://cnswww.cns.cwru.edu/~chet/readline/rltop.html master_sites gnu:${shortname} \ ftp://ftp.cwru.edu/pub/bash/:${shortname} patch_sites ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ patchfiles readline50-001 \ readline50-002 \ readline50-003 \ readline50-004 \ readline50-005 platform darwin 8 { patchfiles-append patch-shobj-conf } checksums ${distname}${extract.suffix} md5 9a39d15f1ed592883f8c6671e8c13120 \ readline50-001 md5 5b47ed61b6b8413746750127c70e843d \ readline50-002 md5 9f803005e7e4c7d675146a9a805acbf1 \ readline50-003 md5 05d59c91f80fa99ab177783229b0f769 \ readline50-004 md5 aa1f6343e47f8e024488c63281d77809 \ readline50-005 md5 1dc2654e0161f2e7b4f536b12e1d54b7 configure.args --mandir=${prefix}/share/man \ --infodir=${prefix}/share/info post-destroot { file delete -force ${destroot}${prefix}/share file delete ${destroot}${prefix}/lib/libhistory.a file delete ${destroot}${prefix}/lib/libhistory.dylib file delete ${destroot}${prefix}/lib/libhistory.5.dylib file delete ${destroot}${prefix}/lib/libreadline.a file delete ${destroot}${prefix}/lib/libreadline.dylib file delete ${destroot}${prefix}/lib/libreadline.5.dylib file rename ${destroot}${prefix}/include/readline ${destroot}${prefix}/include/readline5 } the online line which could cause this is : file delete -force ${destroot}${prefix}/share But the Problem persists when i delete this line. 2007/8/14, Thomas Schober <thomas.schober@gmail.com>:
Can you tell me where i can find this portfile ? i am a little new to MacPorts. Before i used fink. Thanks
2007/8/14, Ryan Schmidt <ryandesign@macports.org>:
On Aug 14, 2007, at 00:13, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 12, 2007, at 09:53, Thomas Schober wrote:
i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors :
---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
However on my intel macbook it worked fine. But i cant get it to work on my PPC. Both Computers have Mac OS Tiger 10.4.10 Installed.
How odd. I don't know what it's talking about.
Can you try "sudo port clean readline" and then "sudo port -dv install readline" and see what it says?
thanks for your answer. It goes good until this point. Then this happens : [snip] DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel _readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Don't forget to Reply To All so your reply goes to the mailing list too, not just to me.
It looks like this line in the post-destroot proc may be triggering the problem:
delete ${destroot}${prefix}/share/info/dir
You could try removing that line from the portfile to see if that really is the culprit. If it is, then the question would be, why does this not cause a problem on your Intel Mac or my Intel Mac? I guess on your PPC iMac share/info/dir never gets created in the first place, and therefore is not there to be deleted. But why? And is there a way to write a delete command that doesn't complain if it fails? What's the difference between "delete" and "file delete"? (You could try "file delete" instead of "delete" at the beginning of the line and see if that makes a difference.)
On Aug 14, 2007, at 01:21, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 14, 2007, at 00:13, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 12, 2007, at 09:53, Thomas Schober wrote:
i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors :
---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
However on my intel macbook it worked fine. But i cant get it to work on my PPC. Both Computers have Mac OS Tiger 10.4.10 Installed.
How odd. I don't know what it's talking about.
Can you try "sudo port clean readline" and then "sudo port -dv install readline" and see what it says?
thanks for your answer. It goes good until this point. Then this happens : [snip] DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_dev el _readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Don't forget to Reply To All so your reply goes to the mailing list too, not just to me.
It looks like this line in the post-destroot proc may be triggering the problem:
delete ${destroot}${prefix}/share/info/dir
You could try removing that line from the portfile to see if that really is the culprit. If it is, then the question would be, why does this not cause a problem on your Intel Mac or my Intel Mac? I guess on your PPC iMac share/info/dir never gets created in the first place, and therefore is not there to be deleted. But why? And is there a way to write a delete command that doesn't complain if it fails? What's the difference between "delete" and "file delete"? (You could try "file delete" instead of "delete" at the beginning of the line and see if that makes a difference.)
Can you tell me where i can find this portfile ? i am a little new to MacPorts. Before i used fink.
"port file readline" would have shown you. "port edit readline" would have let you edit it. On Aug 14, 2007, at 01:41, Thomas Schober wrote:
Ok, i found the portfile. But such a line is not there. The file looks like this :
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0 name readline-5 set shortname readline version 5.0.005
[snip] Oh. Your readline port is very out of date. Probably all your other ports are too. You need to get into the habit of running "sudo port sync" before you begin installing ports on a given day, to pull the new port definitions from our server. readline is currently at version 5.2.001, not 5.0.005. Sync, then try installing readline again. Presumably this problem has already been fixed. Also run "port outdated" to see what other ports you may need to update now. Also do "sudo port selfupdate" occasionally to make sure you have the latest version of MacPorts base.
Ok, i will try this when i am at home today evening. I synced about 2 weeks ago and made a selfupdate about 2 weeks ago. Update Frequency seems to be very high :) 2007/8/14, Ryan Schmidt <ryandesign@macports.org>:
On Aug 14, 2007, at 01:21, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 14, 2007, at 00:13, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 12, 2007, at 09:53, Thomas Schober wrote:
i have a iMac G5 17" PPC. I am trying to install readline, but i get these errors :
---> Staging readline into destroot Error: Target org.macports.destroot returned: no such file or directory Error: Status 1 encountered during processing.
However on my intel macbook it worked fine. But i cant get it to work on my PPC. Both Computers have Mac OS Tiger 10.4.10 Installed.
How odd. I don't know what it's talking about.
Can you try "sudo port clean readline" and then "sudo port -dv install readline" and see what it says?
thanks for your answer. It goes good until this point. Then this happens : [snip] DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_dev el _readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Don't forget to Reply To All so your reply goes to the mailing list too, not just to me.
It looks like this line in the post-destroot proc may be triggering the problem:
delete ${destroot}${prefix}/share/info/dir
You could try removing that line from the portfile to see if that really is the culprit. If it is, then the question would be, why does this not cause a problem on your Intel Mac or my Intel Mac? I guess on your PPC iMac share/info/dir never gets created in the first place, and therefore is not there to be deleted. But why? And is there a way to write a delete command that doesn't complain if it fails? What's the difference between "delete" and "file delete"? (You could try "file delete" instead of "delete" at the beginning of the line and see if that makes a difference.)
Can you tell me where i can find this portfile ? i am a little new to MacPorts. Before i used fink.
"port file readline" would have shown you. "port edit readline" would have let you edit it.
On Aug 14, 2007, at 01:41, Thomas Schober wrote:
Ok, i found the portfile. But such a line is not there. The file looks like this :
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0 name readline-5 set shortname readline version 5.0.005
[snip]
Oh. Your readline port is very out of date. Probably all your other ports are too. You need to get into the habit of running "sudo port sync" before you begin installing ports on a given day, to pull the new port definitions from our server. readline is currently at version 5.2.001, not 5.0.005. Sync, then try installing readline again. Presumably this problem has already been fixed. Also run "port outdated" to see what other ports you may need to update now. Also do "sudo port selfupdate" occasionally to make sure you have the latest version of MacPorts base.
On Aug 14, 2007, at 02:25, Thomas Schober wrote:
2007/8/14, Ryan Schmidt:
On Aug 14, 2007, at 01:41, Thomas Schober wrote:
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0 name readline-5 set shortname readline version 5.0.005
[snip]
Oh. Your readline port is very out of date. Probably all your other ports are too. You need to get into the habit of running "sudo port sync" before you begin installing ports on a given day, to pull the new port definitions from our server. readline is currently at version 5.2.001, not 5.0.005. Sync, then try installing readline again. Presumably this problem has already been fixed. Also run "port outdated" to see what other ports you may need to update now. Also do "sudo port selfupdate" occasionally to make sure you have the latest version of MacPorts base.
Ok, i will try this when i am at home today evening. I synced about 2 weeks ago and made a selfupdate about 2 weeks ago. Update Frequency seems to be very high :)
Oh. I'm sorry. I misread. You're not installing readline, you're installing readline-5. readline was updated to 5.2.001 way back on 2007-03-19, but readline-5 is still at 5.0.005. Why are you installing readline-5 instead of readline? It looks like the only port that depends on readline-5 is ghc, and that only on Mac OS X 10.3.x. But you said you're running 10.4.10. Are you trying to install ghc?
participants (2)
-
Ryan Schmidt
-
Thomas Schober