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 22:09:01 -0700
Cc: pcp@xxxxxxxxxxx
In-reply-to: <38391.192.168.3.1.1213418196.squirrel@mail.aconex.com>
References: <0C6D67D2-A53B-4300-8B06-2EA6086FB113@mac.com> <6FE954E2-8003-477C-8F9C-A5240D9E01AB@mac.com> <37995.192.168.3.1.1213416596.squirrel@mail.aconex.com> <E4716A0D-3C64-4F66-8FD2-E3BF32CEC432@mac.com> <38391.192.168.3.1.1213418196.squirrel@mail.aconex.com>
Sender: pcp-bounce@xxxxxxxxxxx
On 13/06/2008, at 9:36 PM, nscott@xxxxxxxxxx wrote:

On 13/06/2008, at 9:09 PM, nscott@xxxxxxxxxx wrote:
On 13/06/2008, at 1:46 PM, James Peach wrote:

Current git should build fine on 10.5.

I pulled the nathans branch this afternoon. Should that be recent enough?


http://oss.sgi.com/cgi-bin/gitweb.cgi?p=nathans/kmchart.git;a=summary

That last commit there (b1903df33...) remove the hard-coded Debug path
in buildrules and drives it instead from configure. If you've got that,
you're
good to go.


So I set QT into release mode by doing this:

diff --git a/GNUmakefile b/GNUmakefile
index 187f208..fa5be43 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -37,6 +37,8 @@ $(CONFIGURE):
        autoconf
        ./configure \
                --prefix=/usr \
+               QMAKE="/opt/local/bin/qmake -spec macx-xcode" \
+               QT_RELEASE=Release \
                $$LOCAL_CONFIGURE_OPTIONS
        touch .census

And kmchart builds and loads, so I'm quite stoked :)

However, the build continues on to build kmdumptext, which fails. I make the following change and the whole thing built:

diff --git a/src/dumptext/kmdumptext.pro.in b/src/dumptext/ kmdumptext.pro.in
index 8f48b45..3f08596 100644
--- a/src/dumptext/kmdumptext.pro.in
+++ b/src/dumptext/kmdumptext.pro.in
@@ -5,4 +5,4 @@ INCLUDEPATH += ../include ../libqmc @pcp_inc_dir@
LIBS = -lpcp -L../libqmc -lqmc
LIBS += -L../libqmc/@qt_release@ -L../libqmc/build/ @qt_release@
QT -= gui
-CONFIG += qt warn_on debug
+CONFIG += qt



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