Am 09.09.2010 um 08:45 schrieb Stephan Witt: > Am 09.09.2010 um 08:35 schrieb Cyrille Artho: > >> Dear Stephan, >> I think that fink also uses qt4 by default; qt3 may have been left on my >> system for providing compatibility with old programs. I may have used >> one such old program in the past, which was why qt3 was still there. >> >> I had added the option --build=x86 to the ./configure flags for LyX as this >> resolved many of my linking problems, but not all of them. >> >> Compilation without that flag is again successful up to the linking stage. I >> have attached a slightly sanitized copy of config.log.gz to the bug report >> page: >> >> http://www.lyx.org/trac/raw-attachment/ticket/6874/config.log.gz >> >> The changes I made were to replace my home directory with ${HOME}, and my >> computer's name with "localhost".
This one you got not perfect. You replaced only the first occurrence in a line... Perhaps you want to delete the attachment then. I have it already downloaded. >> Hopefully this log file will shed some light into the linking problem. (I >> assume that the majority of the mailing list is not interested in >> downloading attachments, hence the minor abuse of the bug report related to >> this build configuration for attaching my config.log.gz.) > > Thanks. I wouldn't rate that as abuse of the trac ticket. > > Now I have two tasks: > 1. I'll check the log you provided - may take some time. > 2. Try to start with a fresh SL install with external disk - will take more > time. > > I'll keep you informed. Step 1. Your config contains: pkg_cv_QT4_CORE_CFLAGS='-I${HOME}/qt4/include -I${HOME}/qt4/include/QtCore -DQT_SHARED' pkg_cv_QT4_CORE_LIBS='-L${HOME}/qt4/lib -lQtCore' pkg_cv_QT4_FRONTEND_CFLAGS='-I${HOME}/qt4/include -I${HOME}/qt4/include/QtCore -I${HOME}/qt4/include/QtGui -DQT_SHARED' pkg_cv_QT4_FRONTEND_LIBS='-L${HOME}/qt4/lib -lQtGui -lQtCore' My config has: pkg_cv_QT4_CORE_CFLAGS='-DQT_SHARED -I${HOME}/lyx-build/qt4.6.3-shared/include -I${HOME}/lyx-build/qt4.6.3-shared/include/QtCore ' pkg_cv_QT4_CORE_LIBS='-framework ApplicationServices -L${HOME}/lyx-build/qt4.6.3-shared/lib -lQtCore -lz -lm ' pkg_cv_QT4_FRONTEND_CFLAGS='-DQT_SHARED -I${HOME}/lyx-build/qt4.6.3-shared/include -I${HOME}/lyx-build/qt4.6.3-shared/include/QtCore -I${HOME}/lyx-build/qt4.6.3-shared/include/QtGui ' pkg_cv_QT4_FRONTEND_LIBS='-framework ApplicationServices -framework Carbon -framework AppKit -L${HOME}/lyx-build/qt4.6.3-shared/lib -lQtGui -lQtCore -lz -lm ' So I guess the pkg-config of fink or the Qt4 builds with that pkgconfig indeed makes a difference. You may try to configure LyX with: export LDFLAGS="-arch i386 -framework ApplicationServices -framework Carbon -framework AppKit" Stephan