Problem installing readline
Ryan Schmidt
ryandesign at macports.org
Mon Aug 13 23:55:32 PDT 2007
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 at 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.
More information about the macports-users
mailing list