[MacPorts] #20425: python25 build fail -Wno-long-double
#20425: python25 build fail -Wno-long-double ---------------------------------------+------------------------------------ Reporter: guy.kogus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python25 -Wno-long-double | Port: python25 ---------------------------------------+------------------------------------ I had no ports installed except boost, and it's dependencies, when I tried to build gtkmm. Everything was going fine until I tried to install python25, when I got the following message: {{{ ---> Building python25 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.4" && make all MAKE="make CC=/usr/bin/gcc-4.0" " returned error 2 Command output: /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include -D__DARWIN_UNIX03 -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c cc1: error: unrecognized command line option "-Wno-long-double" make: *** [Modules/python.o] Error 1 Error: Status 1 encountered during processing. }}} I tried installing python_select and python26. No problems with those ports. -- Ticket URL: <http://trac.macports.org/ticket/20425> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20425: python25 build fail -Wno-long-double ---------------------------------------+------------------------------------ Reporter: guy.kogus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python25 -Wno-long-double | Port: python25 ---------------------------------------+------------------------------------ Comment(by toby@…): This flag wasn't removed until gcc-4.2 afaik. What version of Mac OS X and Xcode are you using? Are your ports up to date? -- Ticket URL: <http://trac.macports.org/ticket/20425#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20425: python25 build fail -Wno-long-double ---------------------------------------+------------------------------------ Reporter: guy.kogus@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: python25 -Wno-long-double | Port: python25 ---------------------------------------+------------------------------------ Comment(by guy.kogus@…): Replying to [comment:1 toby@…]:
This flag wasn't removed until gcc-4.2 afaik. What version of Mac OS X and Xcode are you using? Are your ports up to date?
I'd at some point done a very stupid thing, where I managed to copy /usr/bin/gcc-4.2 to /usr/bin/gcc-4.0. Problem solved, all's working well now. Sorry to waste your time. -- Ticket URL: <http://trac.macports.org/ticket/20425#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20425: python25 build fail -Wno-long-double ----------------------------------+----------------------------------------- Reporter: guy.kogus@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: invalid | Keywords: python25 -Wno-long-double Port: python25 | ----------------------------------+----------------------------------------- Changes (by ram@…): * status: new => closed * resolution: => invalid -- Ticket URL: <http://trac.macports.org/ticket/20425#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts