scons not linking against frameworks
Kevin Ballard
eridius at macports.org
Sun Jan 21 08:45:04 PST 2007
Well, the problem, it appears, is that "-framework QtCore" is quoted.
That should be 2 separate arguments. At least, that's my guess as to
what's going on.
On Jan 19, 2007, at 3:05 PM, Pau Arumi wrote:
> hi,
> i'm using scons (the build tool) for a project i'm developing. the
> macport scons installed well, but i've found a problem when using it:
> $ scons
> g++ -o app -L/usr/local/Trolltech/Qt-4.2.2//lib "-framework
> QtCore" ...
>
> the quoted "-framework xxx" options seems to be totally ignored,
> thus giving lots of symbol not found errors.
> however, the scons version from the web does not enclose -framework
> xxx inside quotes and works well.
>
> the manually installed (working) scons version is:
> $ /System/Library/Frameworks/Python.framework/Versions/2.3/bin/
> scons -v
> v0.96.1.D001, 2004/08/23
> the macport version is:
> v0.96.92.D002, 2006/04/11
>
> what do you think about this problem, a scons bug? or is more a
> bash problem?
>
> on the other hand, is there a way to install a previous version of
> a macport package?
--
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070121/569e48bd/attachment.html
More information about the macports-users
mailing list