Bennett 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/local
Of 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
Index: formulabase.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/formulabase.C,v
retrieving revision 1.233
diff -u -p -r1.233 formulabase.C
--- formulabase.C 16 Jan 2003 11:34:10 -0000 1.233
+++ formulabase.C 31 Jan 2003 11:45:58 -0000
@@ -55,7 +55,7 @@
#include "frontends/Dialogs.h"
#include "intl.h"
#include "insets/insetcommandparams.h"
-#include "ref_inset.h"
+//#include "ref_inset.h"
using std::endl;
using std::ostream;
@@ -803,7 +803,7 @@ Inset::RESULT InsetFormulaBase::localDis
} else {
//mathcursor->handleNest(new InsetRef2);
//mathcursor->insert(arg);
- mathcursor->insert(MathAtom(new RefInset(cmd.argument)));
+ // mathcursor->insert(MathAtom(new RefInset(cmd.argument)));
}
updateLocal(bv, true);
break;