On Tue, May 30, 2006 at 08:50:32PM -0500, Bo Peng wrote: > >ranlib debug/libs/libincluded_intl.a > >g++ -o debug/qt4/lyx -Ldebug/libs -L/usr/lib64/qt-3.3/lib -llyxbase_pre > >-lmathed -linsets -lfrontends -lqt4 -lcontrollers -lgraphics -lsupports > >-llyxbase_post -lincluded_boost_signals -lincluded_boost_regex > >-lincluded_boost_filesystem -lincluded_boost_iostreams -lAiksaurus > >-laspell -lqt-mt -lincluded_intl -lnsl -lz > >/usr/bin/ld: cannot find -lqt4 > >collect2: ld returned 1 exit status > >scons: *** [debug/qt4/lyx] Error 1 > > This is obviously wrong since frontend=qt3 should not link to qt4. > Could you post the initial setting screen here? Note that only the > most recent svn version allows you to switch frontends with > fast_start=yes, and if you do experience frontend related problem, you > should try fast_start=no. > > Bo
It seems to do the right thing all the way till the final link step. + scons frontend=qt3 prefix=/usr man_dir=/usr/share/man bindir=/usr/bin datadir=/usr/share scons: Reading SConscript files ... Checking for pkg-config...yes Checking for main() in C library z... yes Checking for QApplication qapp() in C++ library qt-mt... yes Checking for main() in C library socket... no Checking for main() in C library nsl... yes Checking for boost library boost_signals... (cached) n Checking for boost library boost_regex... (cached) n Checking for boost library boost_filesystem... (cached) n Checking for boost library boost_iostreams... (cached) n Checking for main() in C library intl... no Checking for command msgfmt...(cached) yes Generating src/config.h ... Checking for C header file io.h... no Checking for C header file limits.h... yes Checking for C header file locale.h... yes Checking for C++ header file locale... yes Checking for C header file process.h... no Checking for C header file stdlib.h... yes Checking for C header file sys/stat.h... yes Checking for C header file sys/time.h... yes Checking for C header file sys/types.h... yes Checking for C header file sys/utime.h... no Checking for C header file sys/socket.h... yes Checking for C header file unistd.h... yes Checking for C header file inttypes.h... yes Checking for C header file utime.h... yes Checking for C header file string.h... yes Checking for C header file strings.h... yes Checking for C header file direct.h... no Checking for C++ header file istream... yes Checking for C++ header file ostream... yes Checking for C++ header file ios... yes Checking for C header file argz.h... yes Checking for C header file limits.h... yes Checking for C header file alloca.h... yes Checking for C header file stddef.h... yes Checking for C header file stdint.h... yes Checking for C header file sys/param.h... yes Checking for C function open()... yes Checking for C function close()... yes Checking for C function popen()... yes Checking for C function pclose()... yes Checking for C function _open()... no Checking for C function _close()... no Checking for C function _popen()... no Checking for C function _pclose()... no Checking for C function getpid()... yes Checking for C function _getpid()... no Checking for C function mkdir()... yes Checking for C function _mkdir()... no Checking for C function putenv()... yes Checking for C function mktemp()... yes Checking for C function mkstemp()... yes Checking for C function strerror()... yes Checking for C function count()... yes Checking for C function getcwd()... yes Checking for C function stpcpy()... yes Checking for C function strcasecmp()... yes Checking for C function strdup()... yes Checking for C function strtoul()... yes Checking for C function alloca()... no Checking for C function __fsetlocking()... yes Checking for C function mempcpy()... yes Checking for C function __argz_count()... yes Checking for C function __argz_next()... yes Checking for C function __argz_stringify()... yes Checking for C function setlocale()... yes Checking for C function tsearch()... yes Checking for C function getegid()... yes Checking for C function getgid()... yes Checking for C function getuid()... yes Checking for C function wcslen()... yes Checking for C function asprintf()... yes Checking for C function wprintf()... yes Checking for C function snprintf()... yes Checking for C function printf()... yes Checking for C function fcntl()... yes Checking for C type intmax_t... yes Checking for C type intmax_t... no Checking for C type long double... yes Checking for C type long long... yes Checking for C type wchar_t... yes Checking for C type wint_t... no Checking for C type uintmax_t... yes Checking for C type std::istreambuf_iterator<std::istream>... yes Checking for C type pid_t... yes Check for the use of global cstd... yes Checking for main() in C library Aiksaurus... yes Checking for C++ header file Aiksaurus.h... no Checking for C++ header file Aiksaurus/Aiksaurus.h... yes Checking for main() in C library aspell... yes Checking for the number of args for mkdir... two Checking for arg types for select... yes Configuration Host type: linux2 Special build flags: C Compiler: g++ C Compiler flags: C++ Compiler: g++ C++ Compiler LyX flags: C++ Compiler flags: Linker flags: Linker user flags: Build info: Builing directory: #debug Local library directory: #debug/libs Libraries pathes: ['$LOCALLIBPATH', '$QT_LIB_PATH'] Boost libraries: ['included_boost_signals', 'included_boost_regex', 'included_boost_filesystem', 'included_boost_iostreams'] Extra libraries: ['Aiksaurus', 'aspell', 'qt-mt'] System libraries: ['z'] include search path: ['$TOP_SRC_DIR/boost', '$TOP_SRC_DIR/src'] Frontend: Frontend: qt3 Packaging: posix LyX dir: /usr LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx include dir: /usr/lib64/qt-3.3/include library dir: /usr/lib64/qt-3.3/lib X11: 1 Building all targets recursively Processing files in boost/libs/filesystem/src... [...] gcc -o debug/intl/intl-compat.o -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"../../lib\" -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/boost -I/home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/src -Iintl /home/kayvan/rpmbuild/BUILD/lyx-1.5.0svn/intl/intl-compat.c ar rc debug/libs/libincluded_intl.a debug/intl/bindtextdom.o debug/intl/dcgettext.o debug/intl/dgettext.o debug/intl/gettext.o debug/intl/finddomain.o debug/intl/loadmsgcat.o debug/intl/localealias.o debug/intl/textdomain.o debug/intl/l10nflist.o debug/intl/explodename.o debug/intl/dcigettext.o debug/intl/dcngettext.o debug/intl/dngettext.o debug/intl/ngettext.o debug/intl/plural.o debug/intl/plural-exp.o debug/intl/localcharset.o debug/intl/relocatable.o debug/intl/localename.o debug/intl/log.o debug/intl/printf.o debug/intl/osdep.o debug/intl/os2compat.o debug/intl/intl-compat.o ranlib debug/libs/libincluded_intl.a g++ -o debug/qt4/lyx -Ldebug/libs -L/usr/lib64/qt-3.3/lib -llyxbase_pre -lmathed -linsets -lfrontends -lqt4 -lcontrollers -lgraphics -lsupports -llyxbase_post -lincluded_boost_signals -lincluded_boost_regex -lincluded_boost_filesystem -lincluded_boost_iostreams -lAiksaurus -laspell -lqt-mt -lincluded_intl -lnsl -lz /usr/bin/ld: cannot find -lqt4 collect2: ld returned 1 exit status scons: *** [debug/qt4/lyx] Error 1 scons: building terminated because of errors. -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan, | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | my beautiful Queen. | Robin Gregory (2/28/92)