Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 249627 - sci-libs/mathgl-1.8 - Makefile:180: *** missing separator. Stop.
Summary: sci-libs/mathgl-1.8 - Makefile:180: *** missing separator. Stop.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 17:46 UTC by Helmut Jarausch
Modified: 2009-07-03 08:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2008-12-02 17:46:28 UTC
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
Comment 1 Rafał Mużyło 2008-12-02 18:21:14 UTC
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).
Comment 2 Helmut Jarausch 2008-12-02 19:29:29 UTC
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.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-12-05 00:11:49 UTC
this means mathgl is using wxGTK without inheriting wxwidgets.eclass.  please read the directions in that eclass for instructions.
Comment 4 Andrey Grozin gentoo-dev 2008-12-06 16:55:36 UTC
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.
Comment 5 Grygoriy I. Fuchedzhy 2009-03-10 15:34:07 UTC
(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...
Comment 6 Grygoriy I. Fuchedzhy 2009-03-10 15:43:31 UTC
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...
> 

Comment 7 Andrey Grozin gentoo-dev 2009-04-25 07:57:12 UTC
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.
Comment 8 Andrey Grozin gentoo-dev 2009-07-03 08:04:54 UTC
It seems that nobody has this particular problem anymore. Please reopen if this is not so.