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

Charlse Darwin macports.users at gmail.com
Fri Jan 4 07:41:54 PST 2008


# 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_oc 
aml/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?

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've added your email address to the bug's Cc list so you'll be  
> informed of its progress.
>
>
> On Dec 26, 2007, at 05:58, Charlse Darwin wrote:
>
>> $ sudo port install mldonkey
>> --->  Building ocaml with target world.opt
>> Error: Target org.macports.build returned: 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" && unset LD_PREBIND  
>> LD_PREBIND_ALLOW_OVERLAP && make world.opt " returned error 2
>> Command output: cd byterun; make all
>> make[1]: Nothing to be done for `all'.
>> if test -f stdlib/libcamlrun.a; then :; else \
>>           ln -s ../byterun/libcamlrun.a stdlib/libcamlrun.a; fi
>> cd yacc; make all
>> make[1]: Nothing to be done for `all'.
>> cd lex; make all
>> make[1]: Nothing to be done for `all'.
>> cd tools; make all
>> make[1]: Nothing to be done for `all'.
>> cd stdlib; make all
>> make[1]: Nothing to be done for `all'.
>> cd asmrun; make all
>> gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_power - 
>> DSYS_rhapsody  -O -Wall -DDARWIN_VERSION_6  -D_FILE_OFFSET_BITS=64  
>> -D_REENTRANT   -c -o signals_asm.o signals_asm.c
>> signals_asm.c: In function 'handle_signal':
>> signals_asm.c:87: error: 'struct mcontext' has no member named '__ss'
>> signals_asm.c:87: error: 'struct mcontext' has no member named '__ss'
>> signals_asm.c:88: error: 'struct mcontext' has no member named '__ss'
>> signals_asm.c: In function 'trap_handler':
>> signals_asm.c:160: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:161: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:163: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:164: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c: In function 'segv_handler':
>> signals_asm.c:193: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:193: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:198: error: 'struct mcontext' has no member named  
>> '__ss'
>> signals_asm.c:199: error: 'struct mcontext' has no member named  
>> '__ss'
>> make[1]: *** [signals_asm.o] Error 1
>> make: *** [runtimeopt] Error 2
>>
>> Error: The following dependencies failed to build: lablgtk ocaml
>> Error: Status 1 encountered during processing.



More information about the macports-users mailing list