[MacPorts] #33908: Cannot build gperf +universal on Lion, macports 2.0.4
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 --------------------------------+------------------------------------------- Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.0.4 Keywords: gperf +universal | Port: gperf --------------------------------+------------------------------------------- Trying to build FreeTDS +universal (needed for accessing sqlserver from MS Excel, a 32 bit app) the gperf package fails to build. I attach the log file of the build... -- Ticket URL: <https://trac.macports.org/ticket/33908> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 --------------------------------+------------------------------------------- Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal | Port: gperf --------------------------------+------------------------------------------- Changes (by ryandesign@…): * priority: High => Normal * keywords: gperf +universal => universal Comment: The log says: {{{ :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details. }}} So please attach the config.log as well. -- Ticket URL: <https://trac.macports.org/ticket/33908#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 --------------------------------+------------------------------------------- Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal | Port: gperf --------------------------------+------------------------------------------- Comment(by gpapotti@…): Replying to [comment:1 ryandesign@…]:
The log says: {{{ :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details. }}} So please attach the config.log as well. Done. I uploaded ppc config.log, containing exit status <> 0. Thanks for your prompt reply...
-- Ticket URL: <https://trac.macports.org/ticket/33908#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 --------------------------------+------------------------------------------- Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal | Port: gperf --------------------------------+------------------------------------------- Comment(by ryandesign@…): You're on Lion... why are you trying to build anything for PowerPC? On Lion, universal_archs should be i386 x86_64 in macports.conf. -- Ticket URL: <https://trac.macports.org/ticket/33908#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 --------------------------------+------------------------------------------- Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: universal | Port: gperf --------------------------------+------------------------------------------- Comment(by gpapotti@…): Replying to [comment:3 ryandesign@…]:
You're on Lion... why are you trying to build anything for PowerPC?
On Lion, universal_archs should be i386 x86_64 in macports.conf. No reason at all!! I missed to double check this configuration file, and I found the mistake. Everything builds now. But I can't guess the reason why in universal tag there was ppc instead of x86_64. This was a clean install of macports, then sudo port self update and then sudo port install freetds +universal. Sorry for the inconvenience.. Is there any reason for the setup procedure to write the wrong configuration file? I did not manually edited it. Thanks
-- Ticket URL: <https://trac.macports.org/ticket/33908#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33908: Cannot build gperf +universal on Lion, macports 2.0.4 ---------------------------------+------------------------------------------ Reporter: gpapotti@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: universal Port: gperf | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: The config file must have been left over from some previous MacPorts installation from Mac OS X 10.5 or earlier. -- Ticket URL: <https://trac.macports.org/ticket/33908#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts