ocaml fails on Tiger (was: Re: sudo port install mldonkey)
Charlse Darwin
macports.users at gmail.com
Fri Jan 4 10:16:23 PST 2008
I get the message here that say `Software was successfully installed'
for ocml. Why can't they put the same thing on MacPorts server?
Also README file of the ocaml.package says this:
Files will be installed in the following directories:
/usr/local/bin - command-line executables
/usr/local/lib/ocaml - library and support files
/usr/local/man - manual pages
Is there any way to move the stuff manually?
On Jan 4, 2008, at 1:05 PM, Ryan Schmidt wrote:
>
> On Jan 4, 2008, at 09:41, Charlse Darwin wrote:
>
>> On Dec 26, 2007, at 8:14 AM, Ryan Schmidt wrote:
>>
>>> This bug has already been reported:
>>>
>>> http://trac.macosforge.org/projects/macports/ticket/13583
>>
>> # I installed ocaml from precompiled binary
>>
>> # <http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.0-ppc.dmg>
>>
>> $ sudo port clean --dist --archive --work mldonkey
>> ---> Cleaning mldonkey
>> $ sudo port clean --dist --archive --work ocaml
>> Password:
>> ---> Cleaning ocaml
>> $ sudo port clean --dist --archive --work mldonkey
>> ---> Cleaning mldonkey
>> Mac:~ pm$ sudo port -f install mldonkey
>> ---> 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
>> ---> Applying patches to 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: The following dependencies failed to build: lablgtk ocaml
>> Error: Status 1 encountered during processing.
>> $
>>
>> # How do I get it to skip ocaml?
>
> There isn't a built-in way to do that. MacPorts is designed not to
> make use of any software you install outside of MacPorts. You could
> possibly modify the portfile to look for ocaml in a different
> directory. But what we would really like is for someone to figure
> out why the ocaml port fails to build, and fix it.
>
>
>
More information about the macports-users
mailing list