#32543: mldonkey build failure: invalid value '6' in '-O6' ------------------------------------+--------------------------------------- Reporter: eduardo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: mldonkey ------------------------------------+--------------------------------------- Comment(by gruber.mathias@…): I managed to compile mldonkey in Lion w/ Xcode 4.2.1 with the following commands: {{{ sudo port install ocaml configure.compiler=llvm-gcc-4.2 sudo port install ocaml-findlib configure.compiler=llvm-gcc-4.2 sudo port install lablgtk2 +rsvg configure.compiler=llvm-gcc-4.2 sudo port install mldonkey configure.compiler=llvm-gcc-4.2 }}} The problem seems to be with ocaml compile stage that uses clang with an unsupported command line option. I thing it may also work by just adding the ''configure.compiler=llvm- gcc-4.2'' option to the '''ocaml''' and '''ocaml-libfind''' builds, but I did not test it. -- Ticket URL: <https://trac.macports.org/ticket/32543#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS