pcp
[Top] [All Lists]

missing xcode projects when building kmchart

To: nscott@xxxxxxxxxx
Subject: missing xcode projects when building kmchart
From: James Peach <jamespeach@xxxxxxx>
Date: Wed, 2 Apr 2008 12:42:09 -0700
Cc: pcp@xxxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Hi Nathan,

I pulled the kmchart git tree, but I'm a bit stumped by the build:

blacko:kmchart.git jpeach$ make
=== src ===
=== include ===
make[2]: Nothing to be done for `default'.
=== libqmc ===
/opt/local/bin/qmake && xcodebuild
xcodebuild: Error: the directory /Users/jpeach/src/kmchart.git/src/ libqmc does not contain an Xcode project.
make[2]: *** [default] Error 1
make[1]: *** [default] Error 2
make: *** [default] Error 2

It looks like qmake is expected to generate a xcode project, but it doesn't actually do it.

Not sure what information I can provide that would be helpful, so here's a random sampling ....

blacko:kmchart.git jpeach$ qmake --version
QMake version 2.01a
Using Qt version 4.3.4 in /opt/local/lib

blacko:kmchart.git jpeach$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.5.2
BuildVersion:   9C7010

blacko:kmchart.git jpeach$ gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5470) (Aspen 5470.3)

blacko:kmchart.git jpeach$ git status
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       Logs/
#       autom4te.cache/
#       config.log
#       config.status
#       configure
#       man/html/kmchart.adp
#       man/html/kmtime.adp
#       src/include/builddefs
#       src/include/version.h
#       src/libqmc/Makefile

Now, if I build the generated Makefile, I still get errors, though these look like some problem with system headers ....

blacko:kmchart.git jpeach$ cd src/libqmc/
blacko:libqmc jpeach$ make -f Makefile
c++ -c -pipe -Os -Wall -W -fPIC -DQT_NO_DEBUG -DQT_CORE_LIB - DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I/opt/local/ include/qt4/QtCore -I/opt/local/include/qt4/QtCore -I/opt/local/ include/qt4 -I. -I. -o qmc_context.o qmc_context.cpp /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stddef.h:152: error: declaration does not declare anything /usr/include/c++/4.0.0/cstddef:52: error: expected unqualified-id before ‘long’
/usr/include/c++/4.0.0/cstddef:52: error: expected `;' before ‘long’
/usr/include/c++/4.0.0/cstddef:52: error: declaration does not declare anything
make: *** [qmc_context.o] Error 1




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