Opened 14 years ago
Closed 14 years ago
#27567 closed enhancement (worksforme)
gstreamer should use configure.cc
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | gstreamer |
Description
gstreamer should ensure it's UsingTheRightCompiler.
Attachments (1)
Change History (8)
comment:1 Changed 14 years ago by rmstonecipher@…
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Have you read UsingTheRightCompiler?
comment:3 Changed 14 years ago by rmstonecipher@…
Ryan,
I have read it and checked out your subversion branch.
During compilation I see a lot of lines which include /usr/bin/gcc-4.2.
euclid:gstreamer ryan$ port provides /usr/bin/gcc-4.2 /usr/bin/gcc-4.2 is not provided by a MacPorts port.
Is the right compiler macports-gcc45 since that is the current release at gnu.org?
Cheers,
Ryan
comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
"/usr/bin/gcc-4.2" is the value of ${configure.cc} on Snow Leopard and is a fine compiler to use there. However, as you see from my log which I've now attached, it also, in at least one instance, tries to use "cc", which is the no-no described in UsingTheRightCompiler.
Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 14 years ago by rmstonecipher@…
Ryan,
I am able to reproduce your log but don't understand how I am supposed to do what you want me to do.
The file listed just before the error "Gst-0.10.gir" is not present after the configure phase.
How do you identify which source files to patch based on knowing which output files misbehave?
Ryan
comment:6 Changed 14 years ago by rmstonecipher@…
Ryan,
It looks like this is a problem with gobject-introspection rather than gstreamer.
If I add:
configure.args-append --disable-introspection
I get a 100% built gstreamer with no UsingTheRightCompiler errors.
I'll try to troubleshoot gobject-introspection to see if I can solve the problem in that port and in turn in this one.
Cheers,
Ryan
comment:7 Changed 14 years ago by rmstonecipher@…
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Gstreamer uses the right compiler with gobject-introspection disabled
Ryan,
If gstreamer builds correctly without specifying a compiler, how would I identify which compiler is the right one for the job?
Ryan