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; \ then mv -f ".deps/fontutils.Tpo" ".deps/fontutils.Plo"; else rm -f ".deps/fontutils.Tpo"; exit 1; fi 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 fontutils.C -o fontutils.o
fontutils.C: In function 'void lyx::support::addFontResources()':
fontutils.C:67: error: 'lyxerr' was not declared in this scope
fontutils.C:67: error: 'Debug' has not been declared
fontutils.C:70: error: 'endl' was not declared in this scope
fontutils.C:76: error: 'lyxerr' was not declared in this scope
fontutils.C:76: error: 'endl' was not declared in this scope
fontutils.C:80: error: 'lyxerr' was not declared in this scope
fontutils.C:80: error: 'endl' was not declared in this scope
make[5]: *** [fontutils.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1


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:

g++-4 -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE - DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src - I../../../src/frontends -I../../../images -I/usr/local/Trolltech/ Qt-4.1.4/include -I/usr/local/Trolltech/Qt-4.1.4/include/QtGui -I/usr/ local/Trolltech/Qt-4.1.4/include/QtCore -I../../../boost -I../../../ src/frontends/controllers -Wextra -Wall -g -Os -MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.Tpo -c Alert_pimpl.C -o Alert_pimpl.o
In file included from Alert_pimpl.C:17:
ui/QAskForTextUi.h:4:27: error: QtCore/QVariant: No such file or directory
ui/QAskForTextUi.h:5:25: error: QtGui/QAction: No such file or directory
ui/QAskForTextUi.h:6:30: error: QtGui/QApplication: No such file or directory ui/QAskForTextUi.h:7:30: error: QtGui/QButtonGroup: No such file or directory
ui/QAskForTextUi.h:8:25: error: QtGui/QDialog: No such file or directory
ui/QAskForTextUi.h:9:29: error: QtGui/QHBoxLayout: No such file or directory
ui/QAskForTextUi.h:10:24: error: QtGui/QLabel: No such file or directory
ui/QAskForTextUi.h:11:27: error: QtGui/QLineEdit: No such file or directory ui/QAskForTextUi.h:12:29: error: QtGui/QPushButton: No such file or directory ui/QAskForTextUi.h:13:29: error: QtGui/QSpacerItem: No such file or directory ui/QAskForTextUi.h:14:29: error: QtGui/QVBoxLayout: No such file or directory
Alert_pimpl.C:22:24: error: QApplication: No such file or directory
Alert_pimpl.C:23:23: error: QMessageBox: No such file or directory
Alert_pimpl.C:24:18: error: QLabel: No such file or directory
Alert_pimpl.C:25:21: error: QLineEdit: No such file or directory
Alert_pimpl.C:26:19: error: QDialog: No such file or directory
Alert_pimpl.C:27:24: error: QInputDialog: No such file or directory


Suggestions?

Bennett

Reply via email to