Brendan Cully wrote: > On Tuesday, 09 June 2009 at 20:33, Richard Kettlewell wrote: >> $ fink selfupdate && fink install graphviz >> [...] >> >> ../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I >> ../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I >> ../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink -I >> ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph >> -warn-error A -c odoc_ast.mli >> ../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I >> ../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I >> ../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink -I >> ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph >> -warn-error A -c odoc_ast.ml >> File "odoc_ast.ml", line 335, characters 38-3043: >> Error: Syntax error >> make[2]: *** [odoc_ast.cmo] Error 2 >> make[1]: *** [ocamldoc] Error 2 >> make: *** [world] Error 2 >> ### execution of /var/tmp/tmp.1.Zq9XZL failed, exit code 2 >> Removing runtime build-lock... >> Removing build-lock package... >> /sw/bin/dpkg-lockwait -r fink-buildlock-ocaml-3.11.0-1 >> (Reading database ... 71415 files and directories currently installed.) >> Removing fink-buildlock-ocaml-3.11.0-1 ... >> Failed: phase compiling: ocaml-3.11.0-1 failed >> >> Before reporting any errors, please run "fink selfupdate" and >> try again. If you continue to have issues, please check to see if the >> FAQ on fink's website solves the problem. If not, ask on the fink-users >> or fink-beginners mailing lists, with a carbon copy to the maintainer: >> >> Brendan Cully <bren...@finkproject.org> >> >> Note that this is preferable to emailing the maintainer directly, since >> most fink package maintainers do not have access to all possible >> hardware and software configurations. >> >> >> >> Line 335 is: >> >> print_DEBUG3 "Pas le bon filtre pour le >> paramètre optionnel avec valeur par défaut."; >> >> It has a 38th character but not a 3043rd. >> >> (I know nothing about ocaml, I'm actually attempting to install >> Graphviz but Fink wants ocaml as a dependency.) > > Thanks. I've had this reported a few times but haven't been able to > reproduce it myself. I suspect there's some conflict with other > packages you might have installed (eg gnu versions of standard > utilities), but haven't identified it.
Firstly that seems plausible given: chymax$ pwd /sw/src/fink.build/ocaml-3.11.0-1/ocaml-3.11.0/ocamldoc chymax$ sudo make odoc_ast.cmo ../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I ../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I ../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink -I ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph -warn-error A -c odoc_ast.ml chymax$ PATH=/sw/sbin:/sw/bin:$PATH chymax$ sudo rm odoc_ast.cmo chymax$ sudo make odoc_ast.cmo ../ocamlcomp.sh -pp './remove_DEBUG' -I ../parsing -I ../utils -I ../typing -I ../driver -I ../bytecomp -I ../tools -I ../toplevel/ -I ../stdlib -I ../otherlibs/str -I ../otherlibs/dynlink -I ../otherlibs/unix -I ../otherlibs/num -I ../otherlibs/graph -warn-error A -c odoc_ast.ml File "odoc_ast.ml", line 335, characters 38-3043: Error: Syntax error Secondly I tried editing out the accented characters in the debug messages. Compilation succeeded (with /sw/bin in PATH) once I'd done that. So presumably some Fink tool is mishandling the accented characters. ttfn/rjk ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users