Bennett Helm wrote:
On Oct 3, 2006, at 11:49 AM, Abdelrazak Younes wrote:
Bennett Helm wrote:
I'm getting 2 compile problems on Mac. The first involves fontutils.C:
if /bin/sh ../../libtool --tag=CXX --mode=compile g++-4
-DHAVE_CONFIG_H -I. -I. -I../../src -I./.. -I../../boost -Wextra
-Wall -g -Os -MT fontutils.lo -MD -MP -MF ".deps/fontutils.Tpo" -c
-o fontutils.lo fontutils.C; \
This one should be fixed now.
Yes.
The second may or may not be related to the pkgconfig question I
raised a while back. Following Georg's advice, I used pkgconfig,
which enables me to configure correctly, but then compilation fails
in frontends/qt4/ui:
It seems like an include path problem. Try to pass -I<Qt includes
path>/QtCore etc.
Please be more specific -- I'm not a programmer!
Yes, sorry. The problem is that gcc is not finding the Qt headers. I
guess you can pass the -I option this way (adjust to where you Qt
headers are):
CPPFLAGS="-I[Qt path]/include/QtCore -I[Qt path]/include/QtGui"
./configure ...
(Aren't such paths
supposed to be established at configure time? ...
I suppose so but I am not a pkgconfig expert ;-)
Others will probably answer that...
Note that nothing has
changed on my system since before needing to use pkgconfig, when
everything compiled just fine.)
Bennett