Summary: | Lyx ebuild error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simon Sandlund <orbb> |
Component: | New packages | Assignee: | Dan Armak (RETIRED) <danarmak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Simon Sandlund
2002-03-18 09:16:58 UTC
Well, do you have /usr/X11R6/include/forms.h present? If you do, please post the beginning of the error messages, the part you think relevant to forms.h. Yes, I have /usr/X11R6/include/forms.h These are the things i managed to catch from the output of the build: (From configure) checking for X11/forms.h... no checking for forms.h... no (From build) In file included from formula.C:29: ../../src/minibuffer.h:5: forms.h: No such file or directory In file included from formulamacro.C:29: ../../src/BufferView.h:19: forms.h: No such file or directory In file included from formulamacro.C:29: ../../src/BufferView.h:19: forms.h: No such file or directory In file included from formula.C:35: ../../src/lyx_gui_misc.h:21: forms.h: No such file or directory In file included from formula.C:37: ../../src/LyXView.h:20: forms.h: No such file or directory A short while after this the compilation stops with an error: formula.C: In method `enum UpdatableInset::RESULT InsetFormula::LocalDispatch(BufferView *, int, const string &)': formula.C:987: implicit declaration of function `int sscanf(...)' make[3]: *** [formula.lo] Error 1 I hope that's enough. Please send me the config.log from the lyx build directory (/var/tmp/portage/lyx-base-1.1.6.4/work/lyx-1.1.6fix4). It'll have details abut wher it looked for forms.h and why it didn't find it. Based on what you've told me already, though, my guess is that the lyx configure wants a /usr/include/X11 -> /usr/X11R6/include symlink or something like that, since it says it looks for X11/forms.h. The config.log will tell for sure though. Well, I compared my configure process with the config.log you sent me and the difference is that when looking for <forms.h> (not <X11/forms.h>) it runs the compiler with -I /usr/X11R6/include for me, but not for you. I've looked over the configure script and I've no idea where it can be coming from. I don't feel like tracking it down right now, so I'll add a --with-extra-inc=/usrx11R6/include parameter to the ebuild which should make it work and maybe look into it some other time. I'm committing this as lyx-base-1.1.6.4-r3. |