On Mar 18, 2007, at 10:24 AM, Patrick De Visschere wrote:
On Mar 18, 2007, at 12:16 AM, Bennett Helm wrote:
On Mar 17, 2007, at 8:30 AM, Gerard Ateshian wrote:
Hi,
I tried compiling LyX 1.5.0beta1 on Mac OS X ppc and it went on
for a while until I got this error:
/bin/sh ../libtool --tag=CXX --mode=link g++ -g -Os -framework
Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -
o lyx-qt4 main.o Bidi.o BufferView.o Bullet.o BranchList.o
Chktex.o Color.o ConverterCache.o CutAndPaste.o DepTable.o
FloatList.o Floating.o FontIterator.o FuncStatus.o InsetList.o
LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o MenuBackend.o
ParagraphParameters.o PrinterParams.o Spacing.o Thesaurus.o
ToolbarBackend.o author.o boost.o box.o buffer.o buffer_funcs.o
bufferlist.o bufferparams.o bufferview_funcs.o changes.o chset.o
converter.o counters.o coordcache.o cursor.o cursor_slice.o
debug.o dimension.o dociterator.o encoding.o errorlist.o
exporter.o gettext.o factory.o format.o funcrequest.o graph.o
importer.o intl.o insetiterator.o kbmap.o kbsequence.o language.o
session.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 lyxrow.o lyxserver.o lyxsocket.o
lyxtextclass.o lyxtextclasslist.o lyxvc.o messages.o
metricsinfo.o mover.o output.o outputparams.o output_docbook.o
output_latex.o output_plaintext.o paragraph.o ParagraphMetrics.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 text3.o TextMetrics.o
TocBackend.o toc.o trans.o trans_mgr.o undo.o vc-backend.o
version.o vspace.o mathed/libmathed.la insets/libinsets.la
frontends/libfrontends.la frontends/qt4/libqt4.la frontends/
controllers/libcontrollers.la graphics/libgraphics.la support/
libsupport.la ../boost/libs/regex/src/libboost_regex.la ../boost/
libs/signals/src/libboost_signals.la ../boost/libs/filesystem/src/
libboost_filesystem.la ../boost/libs/iostreams/src/
libboost_iostreams.la -liconv ../intl/libintl.a -liconv -lc -lm
-lz
mkdir .libs
libtool: link: cannot find the library `'
make[3]: *** [lyx-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
Any suggestions?
My guess is that you didn't delete *.la files from [QTDIR]/lib/.
(1.5beta1 came out before we had a chance to update the
INSTALL.MacOSX instructions, which hopefully will lay out what you
need to do. I'm attaching a copy to this e-mail.)
Bennett
<INSTALL.MacOSX>
I did remove the .la files ang got exactly the same error
But I did run configure according to the LyX/Mac-1.4 instructions
(./configure -static -no-exceptions -lresolv)
I couldn't find the -lresolv option in the configure help?
But the INSTALL instructions mention:
"and also supply a path to the -sdk option if your development
machine has a PowerPC CPU"
so I guess this could be the problem.
Regards,
I already found out that the -sdk option has probably nothing to do
with it and is only relevant with the -universal option.
I was also (maybe) confused regarding the /path/to/QT4 : I removed
the *.la files in the lib in the source directory only.
I installed qt4 in the default location: /usr/local/Trolltech/Qt-4.2.3
After removing the *.la files in the lib folder in this location
libtool complains that:
libtool: link: cannot find the library `/usr/local/Trolltech/Qt-4.2.3/
lib/libQtGui.la'
so this was not a good move apparently but that's how I understand
the instructions for building LyX/Mac-1.5?
Regards,