ocaml fails on Tiger (was: Re: sudo port install mldonkey)

Joerg van den Hoff j.van_den_hoff at fzd.de
Mon Jan 7 02:32:15 PST 2008


On Fri, Jan 04, 2008 at 12:05:14PM -0600, 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.


is   there   hope   (i.e.  is  the  package  still  actively
maintained)?

would it be helpful to "cross post" this issue on one of the
ocaml lists asking for opinions/help?  if so, where to  send
potential answers?  to "pguyot at kallisys.net" as

`port info ocaml' 

tells me?

regards,

joerg


More information about the macports-users mailing list