[MacPorts] #27464: qt4-mac @4.7.1 fails build
MacPorts
noreply at macports.org
Thu Jan 13 18:10:28 PST 2011
#27464: qt4-mac @4.7.1 fails build
----------------------------------+-----------------------------------------
Reporter: roberto@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: qt4-mac
----------------------------------+-----------------------------------------
Comment(by michaelld@…):
Hmm ... QtCore looks OK, so I think it must be something related to the
compiler & how it works on 10.4 versus 10.5+, probably the -isysroot flag.
On 10.6, scanning through "man gcc", I get:
{{{
-isysroot dir
This option is like the --sysroot option, but applies only to
header files. See the --sysroot option for more information.
--sysroot=dir
Use dir as the logical root directory for headers and
libraries.
For example, if the compiler would normally search for headers
in
/usr/include and libraries in /usr/lib, it will instead search
dir/usr/include and dir/usr/lib.
}}}
Although the c++ command is using "-isysroot
/Developer/SDKs/MacOSX10.4u.sdk", I wonder if maybe 10.4's compiler treats
it more like "--sysroot=/Developer/SDKs/MacOSX10.4u.sdk" instead. That
would correlate with this ticket's issue too. Can you look through the
gcc manpage & see what it says about these flags?
--
Ticket URL: <https://trac.macports.org/ticket/27464#comment:19>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list