sudo port install mldonkey
Charlse Darwin
macports.users at gmail.com
Fri Jan 4 12:30:08 PST 2008
$ ls -l /usr/bin/sed
-r-xr-xr-x 1 root wheel 38424 Dec 31 09:16 /usr/bin/sed*
$ file /usr/bin/sed
/usr/bin/sed: Mach-O executable ppc
$ which sed
/usr/bin/sed
Should chmod 68388 /usr/bin/sed ?
On Jan 4, 2008, at 3:23 PM, Ryan Schmidt wrote:
> On Jan 4, 2008, at 13:55, Charlse Darwin wrote:
>
>> $ sudo port -f clean --dist --archive --work ocmal
>> Error: Port ocmal not found
>
> It's called ocaml...
>
>> $ sudo port -d sync
>> DEBUG: Synchronizing ports tree(s)
>> Synchronizing local ports tree from rsync://rsync.macports.org/
>> release/ports/
>> DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://
>> rsync.macports.org/release/ports/ /opt/local/var/macports/sources/
>> rsync.macports.org/release/ports
>> receiving file list ... done
>> archivers/bzip2/
>> devel/apr/
>> devel/apr-util/
>> devel/atk/
>> graphics/ImageMagick/
>> graphics/cairo/
>> net/bmon/
>> net/bwm-ng/
>> net/curl/
>> shells/bash/
>> textproc/aspell/
>> www/apache2/
>> x11/Xft2/
>>
>> sent 74 bytes received 292538 bytes 16720.69 bytes/sec
>> total size is 16277463 speedup is 55.63
>> $ sudo port -f install ocmal
>> Error: Port ocmal not found
>
> Still called ocaml...
>
>> $ sudo port -f install ocaml
>> ---> Fetching ocaml
>> ---> Attempting to fetch ocaml-3.10.0.tar.bz2 from http://
>> caml.inria.fr/pub/distrib/ocaml-3.10/
>> ---> Verifying checksum(s) for ocaml
>> ---> Extracting ocaml
>> ---> Configuring ocaml
>> Error: Target org.macports.configure returned: configure failure:
>> shell command " cd "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang
>> _ocaml/work/ocaml-3.10.0" && ./configure -prefix /opt/local -no-tk
>> " returned error 2
>> Command output: sed: 1: "s/-[^-]*$//": RE error: brackets ([ ])
>> not balanced
>> ../gnu/config.sub: line 128: [: !=: unary operator expected
>> Invalid configuration `powerpc-apple-darwin8.11.0': machine `' not
>> recognized
>> Please specify the correct host type with the -host option
>>
>> Error: Status 1 encountered during processing.
>> $
>>
>> # where do I get the fixed version from?
>
> As you see from the output of "port sync" above, you did not
> receive an updated portfile for ocaml. You need to wait 30 minutes
> after a commit is made to the repository before it shows up on the
> rsync server.
>
> However, the errors you are experiencing are different from the
> errors reported in the ticket. The errors you are experiencing may
> be related to your experiments in installing a new xnu kernel. You
> may need to reinstall Xcode or Mac OS X to resolve those issues.
>
> But first, let's start with your sed. There's nothing that I can
> see that's wrong with "s/-[^-]*$//"; looks perfectly balanced to
> me. What can you tell me about your sed? Here's info about mine,
> from my MacBook Pro running 10.4.11:
>
> $ ls -l /usr/bin/sed
> -r-xr-xr-x 1 root wheel 68388 Dec 7 2006 /usr/bin/sed
> $ file /usr/bin/sed
> /usr/bin/sed: Mach-O universal binary with 2 architectures
> /usr/bin/sed (for architecture i386): Mach-O executable i386
> /usr/bin/sed (for architecture ppc): Mach-O executable ppc
> $
>
> Your info will be different because you're on PowerPC but I'm
> curious to see if it has about the same modification date
> (indicating it's from Apple), or if it's newer (indicating it was
> replaced with something else at some point).
>
More information about the macports-users
mailing list