emerge -v sci-libs/mathgl fails with configure: WARNING: Cache variable ac_cv_prog_WX_FLAGS contains a newline. configure: WARNING: Cache variable ac_cv_prog_WX_LIBS contains a newline. >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-libs/mathgl-1.8/work/mathgl-1.8 ... make -j3 Makefile:180: *** missing separator. Stop. Reproducible: Always
As this is a bit vague, please attach config.log and the failing Makefile (or at least see if there's anything obviously wrong around that line).
The erroneous part of the Makefile contains these lines WX_FLAGS = An error occurred while calling wx-config: No profile currently selected Please use `eselect wxwidgets` to select an available profile and try again. WX_LIBS = An error occurred while calling wx-config: No profile currently selected Please use `eselect wxwidgets` to select an available profile and try again. After eselecting a wxwidgets version, make starts but fails on a 2 processor machine while generating the documentation because of a missing .png file. Finally MAKEOPTS=-j1 emerge -av sci-libs/mathgl succeeds.
this means mathgl is using wxGTK without inheriting wxwidgets.eclass. please read the directions in that eclass for instructions.
I've just committed mathgl-1.8-r1, which (I believe) fixes these issues, and also adds octave bindings (USE=octave). Please check. If things are OK, I'll close this bug.
(In reply to comment #4) > I've just committed mathgl-1.8-r1, which (I believe) fixes these issues, and > also adds octave bindings (USE=octave). Please check. If things are OK, I'll > close this bug. > I'm still experiencing this problem(compilation with useflags=jpeg): configure: WARNING: cache variable ac_cv_prog_WX_FLAGS contains a newline configure: WARNING: cache variable ac_cv_prog_WX_LIBS contains a newline >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-libs/mathgl-1.8-r1/work/mathgl-1.8 ... make -j2 Makefile:182: *** пропущен разделитель. Останов. Another problem with installation of this packet(compilation with useflags=jpeg fltk): checking for fltk-config... no checking for fltk-config... no Please install FLTK headers and libraries and make sure that path to fltk-config exist in your PATH >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-libs/mathgl-1.8-r1/work/mathgl-1.8 ... make -j2 make: *** Не заданы цели и не найден make-файл. Останов This is because I had installed fltk-2.0_pre6525, which has very different api in comparison with 1.x version, fltk2-config program instead of fltk-config, etc...
Sorry for localization specific messages in previous mail > I'm still experiencing this problem(compilation with useflags=jpeg): > configure: WARNING: cache variable ac_cv_prog_WX_FLAGS contains a newline > configure: WARNING: cache variable ac_cv_prog_WX_LIBS contains a newline > >>> Source configured. > >>> Compiling source in /var/tmp/portage/sci-libs/mathgl-1.8-r1/work/mathgl-1.8 ... > make -j2 > Makefile:180: *** missing separator. Stop. > > > Another problem with installation of this packet(compilation with useflags=jpeg > fltk): > > checking for fltk-config... no > checking for fltk-config... no > Please install FLTK headers and libraries and make sure that > path to fltk-config exist in your PATH > >>> Source configured. > >>> Compiling source in /var/tmp/portage/sci-libs/mathgl-1.8-r1/work/mathgl-1.8 ... > make -j2 > make: *** No targets specified and no makefile found. Stop. > > > This is because I had installed fltk-2.0_pre6525, which has very different api > in comparison with 1.x version, fltk2-config program instead of fltk-config, > etc... >
mathgl-1.8.1 now correctly states that it depends on fltk:1.1. Anyway, this is a separate issue. Does anybody still have the problem with the Makefile containing WX_FLAGS = <an error message>? If not, I'll close this bug.
It seems that nobody has this particular problem anymore. Please reopen if this is not so.