Opened 10 years ago

Closed 10 years ago

#29701 closed defect (invalid)

libvpx doesn't build when xcode is installed anywhere other than /Developer

Reported by: andrew@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: libvpx

Description (last modified by ryandesign (Ryan Schmidt))

This has happened with this package before, and I think got fixed, so I think this is a regression.

Attaching the main.log.

Looking through the log, I see this:

:info:configure Unable to invoke compiler: /usr/bin/gcc-4.2 -O2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -m64 -arch x86_64 -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wcast-qual -Wno-unused

My xcode is not installed in /Developer.

Attachments (1)

main.log (6.7 KB) - added by andrew@… 10 years ago.
Log file emitted after an attempted upgrade of libvpx

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by andrew@…

Attachment: main.log added

Log file emitted after an attempted upgrade of libvpx

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Port: libvpx added

Please remember to fill in the Port field.

Do you have developer_dir set correctly in macports.conf?

comment:2 Changed 10 years ago by andrew@…

I don't. I didn't think this was necessary. My other macports don't have problems building. Where can I find this file?

comment:3 Changed 10 years ago by jmroot (Joshua Root)

${prefix}/etc/macports/macports.conf

If there's no value set there it should be going with xcode-select -print-path.

comment:4 Changed 10 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)

comment:5 Changed 10 years ago by andrew@…

I just ran xcode-select -print-path, and it does point to the proper place (I have xcode 3 installed in /Xcode3 and xcode 4 installed in /Xcode4. xcode-select returns /Xcode4.

comment:6 Changed 10 years ago by andrew@…

Sorry for the long absence. Just got back to this, and looked at macports.conf. Indeed, developer_dir was set to /Developer. Removing this makes libvpx upgrade fine.

I think this ticket can be closed. Thanks for the help, guys!

comment:7 Changed 10 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.