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)
Change History (7)
Changed 12 years ago by gpapotti@…
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | universal added; gperf +universal removed |
---|---|
Priority: | High → Normal |
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 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 follow-up: 4 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 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: | new → closed |
The config file must have been left over from some previous MacPorts installation from Mac OS X 10.5 or earlier.
Log from build of gperf +universal