Enhancement: Give error and solution if using make instead of gmake

Ole Tange octave at tange.dk
Mon Aug 4 05:30:40 CDT 2008


Host: SunOS solvm 5.10 Generic_118855-14 i86pc i386 i86pc
Source: 3.0.1
Compiler: gcc (GCC) 3.4.5

I have made a fresh install of Solaris 10 to determine the
requirements for compiling Octave 3.0.1.

After I do ./configure I did:

# make

***********************************************************
*
*  To compile Octave, you will need a recent versions of
*  the following software:
*
*    g++ (3.2.x or a more recent version)
*
*    flex (2.5.4 or a more recent version) -- required if
*    you need to recreate lex.cc from lex.l
*
*    bison (1.31 or a more recent version) -- required if
*    you need to recreate parse.cc from parse.y
*
*    gperf (3.0.1 or a more recent version) -- required if
*    you need to recreate oct-gperf.h from octave.gperf
*
*  Now would be a good time to read INSTALL.OCTAVE if
*  you have not done so already.
*
***********************************************************

make -f octMakefile all
make: Fatal error in reader: ./Makeconf, line 28: Unexpected end of line seen
Current working directory /octave/octave-3.0.1
*** Error code 1
make: Fatal error: Command failed for target `all'

- o -

May I suggest that the banner text tells the user to use 'gmake'
instead of 'make'?

Maybe a check if '$0 --version' returns 'GNU Make' and if not ask the
user to use gmake instead.

I know gmake is mentioned in the FAQ, but it would probably not harm
to give the same information when people need it.

/Ole


More information about the Bug-octave mailing list