Doesn't know if this a bug in Lyx or some other
place. 

Or just me far out;-)

Im trying to compile LyX on a MacOS X 10.2 (thats jaguar-
the new distribution). I ceep on geting a error
linking against libjpeg. I have compiled the libjpeg.a
myself - i compiled the static - not the shared library
but it should be enough if its just xforms using it.
I used libjpeg when I compiled Windowmaker - so
it works.

libjpeg.a is located in /usr/local/lib

Is there a problem in the libforms binaries or is
this a lyx bug? xforms seems to work - the testfiles
compiles. The OsX 10.2 differes from prior distributions
and binaries might not work - but since xforms are
static i dont think thats the problem. The OsX 10.2
has gcc-3.1 - but i tried emulate 2.95.2 - but it 
didnt help.

I think I tried evrything, anyone have an idea?


Keeron

Compiling about one hour,
the error ocurs in the g++ -O -fno-rtti etc line
where i think the compiler is to link the objectcode
into the binaries - right?
>-----------------------------<snipp>--------------------<

cc1plus: warning:   as it has already been specified as a
non-system directory
source='vspace.C' object='vspace.o' libtool=no \
depfile='.deps/vspace.Po' tmpdepfile='.deps/vspace.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I../boost  
-I/usr/local/include   -isystem /usr/X11R6/include  -O
-fno-rtti -fno-exceptions -c -o vspace.o `test -f vspace.C
|| echo './'`vspace.C
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a
non-system directory
/bin/sh ../libtool --mode=link g++  -O -fno-rtti
-fno-exceptions  -L/usr/local/lib  -o lyx  BufferView.o
BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o
ColorHandler.o CutAndPaste.o DepTable.o FloatList.o
Floating.o FontInfo.o FontLoader.o FuncStatus.o LColor.o
LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o
Painter.o PainterBase.o ParagraphParameters.o Spacing.o
TextCache.o Thesaurus.o ToolbarDefaults.o WorkArea.o
XFormsView.o box.o buffer.o bufferlist.o bufferparams.o
bufferview_funcs.o chset.o converter.o debug.o encoding.o
exporter.o font.o gettext.o importer.o intl.o iterators.o
kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o
lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o
lyxlength.o lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o
lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o
lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o
screen.o sp_spell.o tabular.o tabular-old.o tabular_funcs.o
tex-accent.o tex-strings.o texrow.o text.o text2.o tracer.o
trans.o trans_mgr.o undo.o undo_funcs.o undostack.o
vc-backend.o version.o vspace.o mathed/libmathed.la
insets/libinsets.la frontends/libfrontends.la
graphics/libgraphics.la support/libsupport.la
`../sigc++/sigc-config --libs-names | sed -e 's/-lsigc//'`
../sigc++/libsigc.la ../intl/libintl.a   -lXpm  -lSM -lICE
-lc -lm   -L/usr/X11R6/lib -lX11 
mkdir .libs
g++ -O -fno-rtti -fno-exceptions -o lyx BufferView.o
BufferView2.o BufferView_pimpl.o Bullet.o Chktex.o
ColorHandler.o CutAndPaste.o DepTable.o FloatList.o
Floating.o FontInfo.o FontLoader.o FuncStatus.o LColor.o
LaTeX.o LaTeXFeatures.o LyXAction.o LyXView.o MenuBackend.o
Painter.o PainterBase.o ParagraphParameters.o Spacing.o
TextCache.o Thesaurus.o ToolbarDefaults.o WorkArea.o
XFormsView.o box.o buffer.o bufferlist.o bufferparams.o
bufferview_funcs.o chset.o converter.o debug.o encoding.o
exporter.o font.o gettext.o importer.o intl.o iterators.o
kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o
lyx_cb.o lyx_gui.o lyx_main.o lyx_sty.o lyxcursor.o
lyxfont.o lyxfind.o lyxfunc.o lyxgluelength.o lyxlayout.o
lyxlength.o lyxlex.o lyxlex_pimpl.o lyxlookup.o lyxrc.o
lyxrow.o lyxserver.o lyxtextclass.o lyxtextclasslist.o
lyxvc.o main.o minibuffer.o paragraph.o paragraph_pimpl.o
screen.o sp_spell.o tabular.o tabular-old.o tabular_funcs.o
tex-accent.o tex-strings.o texrow.o text.o text2.o tracer.o
trans.o trans_mgr.o undo.o undo_funcs.o undostack.o
vc-backend.o version.o vspace.o  -L/usr/local/lib
mathed/.libs/libmathed.a insets/.libs/libinsets.a
frontends/.libs/libfrontends.a -ljpeg -lforms
graphics/.libs/libgraphics.a support/.libs/libsupport.a
../sigc++/.libs/libsigc.a ../intl/libintl.a -lXpm -lSM -lICE
-lc -lm -L/usr/X11R6/lib -lX11
ld: Undefined symbols:
_jpeg_CreateCompress
_jpeg_CreateDecompress
_jpeg_destroy_compress
_jpeg_destroy_decompress
_jpeg_finish_compress
_jpeg_finish_decompress
_jpeg_read_header
_jpeg_read_scanlines
_jpeg_set_defaults
_jpeg_set_marker_processor
_jpeg_set_quality
_jpeg_start_compress
_jpeg_start_decompress
_jpeg_std_error
_jpeg_stdio_dest
_jpeg_stdio_src
_jpeg_write_marker
_jpeg_write_scanlines
boost::detail::crc_table_t<(unsigned long)32,
(unsigned)79764919, (bool)1>::table_
make[3]: *** [lyx] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
[keeron@eistla lyx-1.2.1]$ 

+-------------------------------------------------------+
|Keeron Ögren, Stömne Anneberg, 671 95 KLÄSSBOL, SWEDEN |
|Pnr:+46(0)570-463056 Cell:+46(0)70-6799557 ICQ#58298387|
+-------------------------------------------------------+

Reply via email to