pcp
[Top] [All Lists]

Re: building kmchart on OSX 10.5

To: nscott@xxxxxxxxxx
Subject: Re: building kmchart on OSX 10.5
From: James Peach <jamespeach@xxxxxxx>
Date: Fri, 13 Jun 2008 14:20:35 -0700
Cc: pcp@xxxxxxxxxxx
In-reply-to: <0C6D67D2-A53B-4300-8B06-2EA6086FB113@xxxxxxx>
References: <0C6D67D2-A53B-4300-8B06-2EA6086FB113@xxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
On 13/06/2008, at 1:46 PM, James Peach wrote:

Hi Nathan,

I had another go at building kmchart, and made some progress by doing:

./configure QMAKE="/opt/local/bin/qmake -spec macx-xcode"

However, I end up with a link error because QtAssistantClient_debug. It doesn't seem to be installed with macports. Do you know whether there's a way to turn off the debug build?

FWIW, even when I switch to the Release configuration, the generated xcode project still trues to link to _debug libraries. I switched to the release configuration like this:

--- a/src/include/buildrules
+++ b/src/include/buildrules
@@ -23,7 +23,7 @@ endif
 #

 ifeq ($(PKG_PLATFORM),darwin)
-PLATFORM_BUILD = xcodebuild -configuration Debug
+PLATFORM_BUILD = xcodebuild -configuration Release
 BINARY =  build/Debug/$(COMMAND).app/Contents/MacOS/$(COMMAND)
LNMAKE = test ! -f $(BINARY) -o -L $(COMMAND) || $(LN_S) $(BINARY) $ (COMMAND)
 WINDOW = mac



<Prev in Thread] Current Thread [Next in Thread>