Opened 12 years ago

Closed 12 years ago

#33908 closed defect (invalid)

Cannot build gperf +universal on Lion, macports 2.0.4

Reported by: gpapotti@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: universal Cc:
Port: gperf

Description

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...

Attachments (2)

main.log (15.3 KB) - added by gpapotti@… 12 years ago.
Log from build of gperf +universal
config.log (3.8 KB) - added by gpapotti@… 12 years ago.
config.log of ppc work directory. i386 version has 0 as exit status

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by gpapotti@…

Attachment: main.log added

Log from build of gperf +universal

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: universal added; gperf +universal removed
Priority: HighNormal

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.

Changed 12 years ago by gpapotti@…

Attachment: config.log added

config.log of ppc work directory. i386 version has 0 as exit status

comment:2 in reply to:  1 Changed 12 years ago by gpapotti@…

Replying to 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...

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

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.

comment:4 in reply to:  3 Changed 12 years ago by gpapotti@…

Replying to 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

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

The config file must have been left over from some previous MacPorts installation from Mac OS X 10.5 or earlier.

Note: See TracTickets for help on using tickets.