Unfortunately, it doesn't work; what follows is the latest output. (I must say, though: it's great to be able to get this kind of response so quickly!)
Thanks again.
Bennett
----------------
[~/Desktop/lyx-1.3.0pre3/src/mathed] bennett% patch -p0 < formulabase.diff
patching file formulabase.C
[~/Desktop/lyx-1.3.0pre3/src/mathed] bennett% make
source='formulabase.C' object='formulabase.lo' libtool=yes \
depfile='.deps/formulabase.Plo' tmpdepfile='.deps/formulabase.TPlo' \
depmode=gcc3 /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -I/sw/include -I/usr/local/include -isystem /usr/X11R6/include -g -O -finline-limit=500 -fno-exceptions -W -Wall -c -o formulabase.lo `test -f 'formulabase.C' || echo './'`formulabase.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../boost -I/sw/include -I/usr/local/include -isystem /usr/X11R6/include -g -O -finline-limit=500 -fno-exceptions -W -Wall -c formulabase.C -MT formulabase.lo -MD -MP -MF .deps/formulabase.TPlo
cc1plus: warning: changing search order for system directory "/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system directory
In file included from ../../boost/boost/type_traits/is_arithmetic.hpp:14,
from ../../boost/boost/type_traits/is_scalar.hpp:13,
from ../../boost/boost/type_traits/is_POD.hpp:14,
from ../../boost/boost/type_traits/has_trivial_assign.hpp:13,
from ../../boost/boost/type_traits/has_nothrow_assign.hpp:13,
from ../../boost/boost/type_traits.hpp:18,
from ../../boost/boost/detail/iterator.hpp:60,
from ../../boost/boost/array.hpp:26,
from ../../src/bufferparams.h:27,
from ../../src/lyxrc.h:19,
from formulabase.C:27:
../../boost/boost/type_traits/is_float.hpp:22: warning: use of `long double'
type; its size may change in a future release
../../boost/boost/type_traits/is_float.hpp:22: warning: (Long double usage is
reported only once for each file.
../../boost/boost/type_traits/is_float.hpp:22: warning: To disable this
warning, use -Wno-long-double.)
formulabase.C:910:2: warning: #warning pretty ugly
formulabase.h: In function `void __static_initialization_and_destruction_0(int,
int)':
formulabase.h:32: no matching function for call to `std::type_info::type_info()
'
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
std::type_info::type_info(const char*)
/usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
std::type_info::type_info(const std::type_info&)
make: *** [formulabase.lo] Error 1
On Friday, January 31, 2003, at 07:01 AM, Angus Leeming wrote:
From: Angus Leeming <[EMAIL PROTECTED]> Date: Fri Jan 31, 2003 7:01:11 AM US/Eastern To: [EMAIL PROTECTED] Subject: Re: LyX 1.3.0pre3 on Mac OS X: compile problems Attachments: There is 1 attachmentBennett Helm wrote:This is probably my just not knowing what to do, but I've had problems compiling lyx 1.3.0 on Mac OS X. What follows are (I think!) the relevant details. Thanks for the help! Bennett [~/Desktop/lyx-1.3.0pre3] % ./configure --with-frontend=qt --with-qt-includes=/sw/include --with-qt-libraries=/sw/lib --with-extra-prefix=/sw:/usr/localOf course it is hard to debug from a distance, but it may be that there is some wierd conflict between std::type_info::type_info and the type_info enum in src/mathed/ref_inset.h class RefInset : public CommandInset { public: struct type_info { /// string latex_name; /// string gui_name; /// string short_gui_name; }; }; Does the attached patch allow you to compile formulabase.C? To apply it: $ mv formulabase.diff src/mathed/. $ cd src/mathed $ patch -p0 < formulabase.diff $ make If so, shout AAAAAANNNNDDDDRRRREEEEE very loudly. He might just hear your call for help ;-) Regards, Angus
