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
|