On Nov 18, 2007, at 1:03 PM, HENRY HOLLENBERG wrote:
Commented out the:
# platform darwin_9
# macosx_deployment_target 10.4
# }
as requested and got a bit farther.....all the way to where I got
stuck when I tried to
compile the sources without macports, looks like something called
stk is missing it's definition:
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -
DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o
globroots.o globroots.c
ln -s ../byterun/signals.c signals.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -
DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o
signals.o signals.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -
DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o
signals_asm.o signals_asm.c
signals_asm.c: In function 'segv_handler':
signals_asm.c:193: error: dereferencing pointer to incomplete type
signals_asm.c:193: error: dereferencing pointer to incomplete type
signals_asm.c: In function 'caml_init_signals':
signals_asm.c:241: error: storage size of 'stk' isn't known
signals_asm.c:241: warning: unused variable 'stk'
make[1]: *** [signals_asm.o] Error 1
make: *** [runtimeopt] Error 2
Right -- this is exactly the kind of error you get when the UNIX03
signals stuff is used with OCaml. This is why you need to use the
three commands described earlier. Something like the following should
work:
platform darwin 9 {
# In DP 1.6...
# macosx_deployment_target 10.4
# For now, specify manually to build with Tiger-style:
configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
}
-Brent
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users