I'm trying to build the CVS version for the first time. I used the
page that google had cached from www.devel.lyx.org on getting LyX
sources from CVS to get started.

That page talks about building "the development module" but doesn't talk
about what that is. The difference is that you run the autogen.sh
script before doing the configure/make/make install dance. I did that.

The build platform is FreeBSD 5.4-STABLE. That uses gcc 3.4.2. The
configure args I used were "--with-frontend=qt --with-qt-dir=/usr/X11R6
--with-aspell -with-extra-lib=/usr/opt/lib
-with-extra-inc=/usr/opt/include".

The FreeBSD ports tree builds version 1.3.5 with no patches. I used
the option it had to build with qt and aspell, and it adds the
-with-extra-* arguments to configure when it builds 1.3.5. Since I'm
using the same qt installation, I figured copying them couldn't hurt.

The compile exits with a slew of missig references to Qt objects. The
command that generated them and the first of them looks like this:

g++ -fno-exceptions -g -O -o lyx-qt main.o Bidi.o BufferView.o 
BufferView_pimpl.o Bullet.o Bran
chList.o Chktex.o CutAndPaste.o DepTable.o FloatList.o Floating.o 
FontIterator.o FuncStatus.o I
nsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o 
ParagraphParameters.o Pri
nterParams.o Spacing.o Thesaurus.o ToolbarBackend.o author.o boost.o box.o 
buffer.o buffer_func
s.o bufferlist.o bufferparams.o bufferview_funcs.o changes.o chset.o 
converter.o counters.o coo
rdcache.o cursor.o cursor_slice.o debug.o dimension.o dociterator.o encoding.o 
errorlist.o expo
rter.o gettext.o factory.o format.o funcrequest.o graph.o importer.o intl.o 
insetiterator.o kbm
ap.o kbsequence.o language.o lastfiles.o lengthcommon.o lyx_cb.o lyx_main.o 
lyx_sty.o lyxfont.o
 lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o 
lyxlex_pimpl.o lyxrc.o ly
xrow.o lyxrow_funcs.o lyxserver.o lyxsocket.o lyxtextclass.o lyxtextclasslist.o 
lyxvc.o message
s.o metricsinfo.o mover.o output.o outputparams.o output_docbook.o 
output_latex.o output_linuxd
oc.o output_plaintext.o paragraph.o paragraph_funcs.o paragraph_pimpl.o 
pariterator.o ispell.o 
SpellBase.o rowpainter.o sgml.o tabular.o tex-accent.o tex-strings.o texrow.o 
text.o text2.o te
xt3.o toc.o trans.o trans_mgr.o undo.o vc-backend.o version.o vspace.o  
mathed/.libs/libmathed.
a insets/.libs/libinsets.a frontends/.libs/libfrontends.a 
frontends/qt2/.libs/libqt2.a -L/usr/X
11R6//lib frontends/controllers/.libs/libcontrollers.a 
graphics/.libs/libgraphics.a support/.li
bs/libsupport.a ../boost/libs/regex/src/.libs/libboost_regex.a 
../boost/libs/signals/src/.libs/
libboost_signals.a ../boost/libs/filesystem/src/.libs/libboost_filesystem.a 
../intl/libintl.a -
lSM -lICE -lm -L/usr/X11R6/lib -lX11 -lz
frontends/qt2/.libs/libqt2.a(Alert_pimpl.o)(.text+0x150): In function 
`prompt_pimpl(std::string
 const&, std::string const&, int, int, std::string const&, std::string const&, 
std::string cons
t&)':
/usr/X11R6//include/qapplication.h:451: undefined reference to 
`QApplication::focus_widget'

Looking over this, it's a link command - except that I don't see a qt
library being linked in. Grovelling through config.status finds: 
"s,@QT_LIB@,,;t t",
which sure looks like it didn't set the QT library properlty.

I could probably figure this out myself - except it's 3am, and I've
been fighting recalcitrant hardware all night. I'm going to sleep,
then to work, and with luck and help from you all, I'll find a
solution in my mailbox tomorrow evening.

        Thanks,
        <mike
-- 
Mike Meyer <[EMAIL PROTECTED]>          http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

Reply via email to