#20433: ilmbase failed to build on Snow Leopard ---------------------------------+------------------------------------------ Reporter: huahang.liu@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: ilmbase ---------------------------------+------------------------------------------ Comment(by huahang.liu@…): Replying to [comment:7 toby@…]:
Updating title - openexr depends on ilmbase, so I doubt that both are legitimately failing to build.
I'm sorry. I didn't know MacPorts maintainers don't have access to Snow Leopard. Ok, so here is the error I got: Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \ then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi cc1plus: error: unrecognized command line option "-Wno-long-double" So it seems that this compiler option "-Wno-long-double" is deprecated in Snow Leopard. I searched in IlmBase and OpenEXR's configure script and removed -Wno-long-double, and it compiles fine. Hope this modification will not have other bad side effects. Thanks, Huahang -- Ticket URL: <http://trac.macports.org/ticket/20433#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS