On Mar 7, 2006, at 4:51 PM, Abdelrazak Younes wrote:
Bennett Helm a écrit :
I'm trying to see if I can build a universal binary of LyX (for
both intel and powerpc macs), which seems to require Qt-4, so I
thought I'd try out the qt4 frontend. When I do so, however, I get
the following error:
Making all in qt4
make all-recursive
Making all in ui
make[7]: *** No rule to make target `pch.h', needed by
`pch.h.gch'. Stop.
Hello Bennet,
I have to confess that I always use --disable-pch:
./configure --with-version-suffix=-svn --with-included-gettext --
with-frontend=qt4 --disable-pch --disable-stdlib-debug --with-qt4-
dir='d:/program/Qt/4.1.0'
This should solve your problem until the makefile is fixed.
Thanks, Abdel. I now run into a new problem; any new suggestions?
Making all in moc
make all-am
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -
DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE -
DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_TRANSLATION -
I../../../../src -I../../../../src/frontends -I../../../../src/
frontends/controllers -I../../../../src/frontends/qt4 -I../../../../
src/frontends/qt4 -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include/Qt -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include/QtCore -I/Users/bennett/lyx/gcc-4.0/qt-mac-
opensource-src-4.1.1//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-
mac-opensource-src-4.1.1//include/Qt3Support -I../../../../boost -
Wextra -Wall -g -Os -MT QLMenubar_moc.lo -MD -MP -MF ".deps/
QLMenubar_moc.Tpo" -c -o QLMenubar_moc.lo QLMenubar_moc.C; \
then mv -f ".deps/QLMenubar_moc.Tpo" ".deps/QLMenubar_moc.Plo"; else
rm -f ".deps/QLMenubar_moc.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../../../src -DQT_CLEAN_NAMESPACE -
DQT_GENUINE_STR -DQT_NO_STL -DQT3_SUPPORT -DQT_NO_TRANSLATION -
I../../../../src -I../../../../src/frontends -I../../../../src/
frontends/controllers -I../../../../src/frontends/qt4 -I../../../../
src/frontends/qt4 -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include/Qt -I/Users/bennett/lyx/gcc-4.0/qt-mac-opensource-
src-4.1.1//include/QtCore -I/Users/bennett/lyx/gcc-4.0/qt-mac-
opensource-src-4.1.1//include/QtGui -I/Users/bennett/lyx/gcc-4.0/qt-
mac-opensource-src-4.1.1//include/Qt3Support -I../../../../boost -
Wextra -Wall -g -Os -MT QLMenubar_moc.lo -MD -MP -MF .deps/
QLMenubar_moc.Tpo -c QLMenubar_moc.C -o QLMenubar_moc.o
../QLMenubar.h:76: error: 'boost' has not been declared
../QLMenubar.h:76: error: ISO C++ forbids declaration of 'scoped_ptr'
with no type
../QLMenubar.h:76: error: expected ';' before '<' token
make[8]: *** [QLMenubar_moc.lo] Error 1
make[7]: *** [all] Error 2
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
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
Bennett