#1294 closed defect (fixed)
BUG: ocaml-3.06+27 failts to build on 10.3
Reported by: | mww@… | Owned by: | jpm@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
BUG: ocaml-3.06+27 failts to build on 10.3 when trying to build ocaml on 10.3, I'll get the following error: -I assume this is a general problem with darwin7 as it complains about /usr/include/... -the man pages are also in the wrong location (${prefix}/man instead of ${prefix}/share/man)
--- ../../ocamlcomp.sh -I ../unix -c -warn-error A bigarray.mli ../../ocamlcomp.sh -I ../unix -c -warn-error A bigarray.ml ../../boot/ocamlrun ../../tools/ocamlmklib -ocamlc '../../ocamlcomp.sh -I ../unix' -linkall -o bigarray bigarray.cmo gcc -I../../byterun -O -fno-defer-pop -no-cpp-precomp -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -g -c -o scheduler.o scheduler.c scheduler.c:97: error: conflicting types for `thread_t' /usr/include/mach/mach_types.h:100: error: previous declaration of `thread_t' make[1]: * [scheduler.o] Error 1 make: * [otherlibraries] Error 2
UPDATE: ocaml-3.07pl2
Portfile/diff: http://wwwcip.informatik.uni-erlangen.de/~simrweis/dports/ocaml/Portfile http://wwwcip.informatik.uni-erlangen.de/~simrweis/dports/ocaml/Portfile.diff
Comments: -updates to 3.07pl2 -now works on Darwin7/OS-X10.3 and FreeBSD5.1 -manpage path is now ${prefix}/share/man -build.type is gnu (stated explicitely for freebsd)