Solaris 10: configure does not fail on missing makeinfo, but compile does

Ole Tange ole at ange.dk
Mon Aug 4 08:51:05 CDT 2008


Bug report for Octave 3.0.1 configured for i386-pc-solaris2.10

Description:
-----------

I have made a fresh install of Solaris 10 to determine the
requirements for compiling Octave 3.0.1, so the requirements can be
detected reliably by configure and a failing compilation can be
avoided.

texinfo (or makeinfo) is not mentioned on
http://www.gnu.org/software/octave/FAQ.html#Installation so it should
be possible to compile Octave without texinfo.

Repeat-By:
---------

I made a fresh install of Solaris 10. Then installed GCC, gmake, and gsed. Then:

./configure

configure gives the following warning:

  WARNING: I didn't find makeinfo, but it's only a problem if you need to
  reconstruct the Info version of the manual

I have no intention of reconstructing the Info version of the manual,
and I did not expect a 'gmake' would do that.

After I did ./configure I did:

# gmake
[... full output at http://ange.dk/~tange/no-makeinfo-gmake.log ...]
../../missing makeinfo -D INSTALLONLY \
          --no-validate --no-headers --no-split --output INSTALL \
          -I.. -I. -I./.. install.texi
gmake[3]: ../../missing: Command not found
gmake[3]: [../../INSTALL.OCTAVE] Error 127 (ignored)
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot access INSTALL
gmake[3]: *** [../../INSTALL.OCTAVE] Error 2

The problem is the missing makeinfo.

config.log contains:

configure:26997: checking for makeinfo
configure:27027: result: no
configure:27035: WARNING: I didn't find makeinfo, but it's only a
problem if you need to reconstruct the Info version of the manual

Full config.log: http://ange.dk/~tange/no-makeinfo-config.log

I would expect one of these:

1) If configure does not find makeinfo, then configure should fail
with a note on installing makeinfo from the package texinfo. Also the
requirements at
http://www.gnu.org/software/octave/FAQ.html#Installation should be
updated.

2) If configure does not find makeinfo, then gmake should not fail
(possibly by not reconstructing the Info version of the manual).

Currently configure does not fail, but gmake does if makeinfo is missing.


Fix:
---

Installing texinfo (which includes makeinfo) is a workaround for the problem.


Configuration (please do not edit this section):
-----------------------------------------------

uname output:     SunOS solvm 5.10 Generic_118855-14 i86pc i386 i86pc
configure opts:   'CC=gcc' 'CFLAGS=-I/opt/csw/include'
'CPPFLAGS=-I/opt/csw/include' 'CXX=g++' 'F77=g77'
Fortran compiler: g77
FFLAGS:           -O -mieee-fp
F2C:              @F2C@
F2CFLAGS:         @F2CFLAGS@
FLIBS:            -R/opt/csw/lib -L/opt/csw/lib -L/usr/ccs/lib
-L/usr/lib -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5
-L/usr/ccs/bin -L/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.5/../../..
-lz -lfrtbegin -lg2c -lm
CPPFLAGS:         -I/opt/csw/include
INCFLAGS:         -I. -I. -I./liboctave -I./src -I./libcruft/misc
C compiler:       gcc, version 3.4.5
CFLAGS:           -I/opt/csw/include
CPICFLAG:         -fPIC
C++ compiler:     g++, version 3.4.5
CXXFLAGS:         -g -O2
CXXPICFLAG:       -fPIC
LD_CXX:           g++
LDFLAGS:
LIBFLAGS:         -L.
RLD_FLAG:         -R /usr/local/lib/octave-3.0.1
BLAS_LIBS:
FFTW_LIBS:
LIBS:             -lreadline  -lncurses -ldl -lz -lm
LEXLIB:           -ll
LIBGLOB:
SED:              /opt/csw/bin/gsed
DEFS:

 -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION=""
 -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DOCTAVE_SOURCE=1
 -D_GNU_SOURCE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSEPCHAR=':' -DSEPCHAR_STR=":"
 -D__NO_MATH_INLINES=1 -DCXX_NEW_FRIEND_TEMPLATE_DECL=1
 -DCXX_ISO_COMPLIANT_LIBRARY=1 -DCXX_BROKEN_REINTERPRET_CAST=1
 -DCXX_ABI=gnu_v3 -DHAVE_LIBM=1 -DHAVE_REGEXEC=1 -DHAVE_REGEX=1
 -DHAVE_REGEXEC=1 -DHAVE_ZLIB_H=1 -DHAVE_ZLIB=1
 -DHAVE_IEEE754_DATA_FORMAT=1 -DF77_FUNC(name,NAME)=name ## _
 -DF77_FUNC_(name,NAME)=name ## __ -DHAVE_GETHOSTNAME=1
 -DHAVE_GETPWNAM=1 -DHAVE_DEV_T=1 -DHAVE_INO_T=1 -DHAVE_NLINK_T=1
 -DHAVE_NLINK_T=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_UNSIGNED_LONG_LONG_INT=1
 -DHAVE_SIGSET_T=1 -DHAVE_SIG_ATOMIC_T=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1
 -DNPOS=std::string::npos -DHAVE_PLACEMENT_DE


More information about the Bug-octave mailing list