scons not linking against frameworks
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? thanks, pau -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
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@macports.org http://www.tildesoft.com
participants (2)
-
Kevin Ballard
-
Pau Arumi