Discussion:
Trouble making without makeinfo
(too old to reply)
y***@gmail.com
2009-05-05 22:34:36 UTC
Permalink
Dear comp.soft-sys.octave:

First post! I started learning Matlab in my undergrad, and in my
graduate career, I have switched to the open-source octave very
smoothly! I love the piping.

Anyway, I am attempting to compile and make that tar.gz that is
downloaded on a local university cluster here. I do not have
administrative privileges. I do a "configure --disable-readline" and
it completes successfully. Most of my use of octave is programmatic,
so I'm not worried about the loss of readline functionality.
However! The make command fails complaining about not finding the
'makeinfo' package/command. As noted by
https://www-old.cae.wisc.edu/pipermail/bug-octave/2008-August/006468.html,
this can be rectified by installing something that provides makeinfo.
But, I'm not at liberty to do that, unfortunately. I have posted the
tail of the make log.

make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/src'
make -C ../../scripts DOCSTRINGS
make[4]: Entering directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
make[4]: `DOCSTRINGS' is up to date.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
making install.texi from install.txi
install.texi is unchanged
rm -f INSTALL
../../missing makeinfo -D INSTALLONLY \
--no-validate --no-headers --no-split --output INSTALL \
-I.. -I. -I./.. install.texi
WARNING: `makeinfo' is missing on your system. You should only need
it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy
`make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package
or
the `GNU make' package. Grab either from any GNU archive
site.

You may also need `makeinfo' if you obtained this package
from the CVS
archive because files that can be automatically generated are
not
considered source files and are not checked in to the CVS
archive.

You may also need `makeinfo' if you ran make maintainer-clean
and
removed files that can be automatically generated but that
are
normally distributed as part of the package for convenience.
make[3]: [../../INSTALL.OCTAVE] Error 1 (ignored)
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot stat `INSTALL': No such file or directory
make[3]: *** [../../INSTALL.OCTAVE] Error 1
make[3]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc/
interpreter'
make[2]: *** [../INSTALL.OCTAVE] Error 2
make[2]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc'
make[1]: *** [INSTALL.OCTAVE] Error 2
make[1]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5'
make: *** [all] Error 2

What is confusing me is that earlier in the log, it also complains
about makeinfo being missing. Those complaints are also warnings, but
for some reason, only this last one is fatal. I'm not exactly sure
I'm 100% understanding what the makefile is doing towards the end, and
thus, I'm not sure I particularly understand why it's failing. I am
using gcc 4.0.2, the default GNU compiler package of the cluster. I
also have gcc 4.2.4 available to me, but it doesn't produce any
different results.

I can post the full make.log (make 2>&1 | tee make.log) if you wish.
If I should have posted somewhere else, tell me.
Jean-Claude Arbaut
2009-05-05 22:54:33 UTC
Permalink
***@gmail.com wrote:

I'm not an expert, but here's what I would say...
Post by y***@gmail.com
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/src'
make -C ../../scripts DOCSTRINGS
make[4]: Entering directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
make[4]: `DOCSTRINGS' is up to date.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
until here that looks fine
Post by y***@gmail.com
making install.texi from install.txi
install.texi is unchanged
rm -f INSTALL
here it erases "INSTALL" in order to rebuild it with makeinfo
Post by y***@gmail.com
../../missing makeinfo -D INSTALLONLY \
--no-validate --no-headers --no-split --output INSTALL \
-I.. -I. -I./.. install.texi
it tries...

but since you don't have make info, it fails
Post by y***@gmail.com
WARNING: `makeinfo' is missing on your system. You should only need
it if...
make[3]: [../../INSTALL.OCTAVE] Error 1 (ignored)
which is not a fatal error for the moment: ignored
Post by y***@gmail.com
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot stat `INSTALL': No such file or directory
but not finding the result is more embarrassing...
Post by y***@gmail.com
make[3]: *** [../../INSTALL.OCTAVE] Error 1
and it's fatal

after, make leaves directories one by one, as usual
Post by y***@gmail.com
make[3]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc/
interpreter'
make[2]: *** [../INSTALL.OCTAVE] Error 2
make[2]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc'
make[1]: *** [INSTALL.OCTAVE] Error 2
make[1]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5'
make: *** [all] Error 2
Now, assuming I interpret correctly, I think the simplest would
be to try and build makeinfo.
You can start here:
http://ftp.gnu.org/gnu/makeinfo.README
You'll simply need to compile texinfo.

I didn't try, but if it behaves like most other
build processes, you will need to configure with
./configure --prefix=$DIR
where $DIR is a path you choose for installation
(since you don't have root access it won't install
in default location). *Inside* this directory,
create subdirectories: $DIR/bin $DIR/lib $DIR/include
and $DIR/man. Maybe you could install octave in
the same place.

hth
highegg
2009-05-06 12:15:24 UTC
Permalink
First post!  I started learning Matlab in my undergrad, and in my
graduate career, I have switched to the open-source octave very
smoothly!  I love the piping.
Anyway, I am attempting to compile and make that tar.gz that is
downloaded on a local university cluster here.  I do not have
administrative privileges.  I do a "configure --disable-readline" and
it completes successfully.  Most of my use of octave is programmatic,
so I'm not worried about the loss of readline functionality.
However!  The make command fails complaining about not finding the
'makeinfo' package/command.  As noted byhttps://www-old.cae.wisc.edu/pipermail/bug-octave/2008-August/006468....,
this can be rectified by installing something that provides makeinfo.
But, I'm not at liberty to do that, unfortunately.  I have posted the
tail of the make log.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/src'
make -C ../../scripts DOCSTRINGS
make[4]: Entering directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
make[4]: `DOCSTRINGS' is up to date.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
making install.texi from install.txi
install.texi is unchanged
rm -f INSTALL
../../missing makeinfo -D INSTALLONLY \
  --no-validate --no-headers --no-split --output INSTALL \
  -I.. -I. -I./.. install.texi
WARNING: `makeinfo' is missing on your system.  You should only need
it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy
`make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package
or
         the `GNU make' package.  Grab either from any GNU archive
site.
         You may also need `makeinfo' if you obtained this package
from the CVS
         archive because files that can be automatically generated are
not
         considered source files and are not checked in to the CVS
archive.
         You may also need `makeinfo' if you ran make maintainer-clean
and
         removed files that can be automatically generated but that
are
         normally distributed as part of the package for convenience.
make[3]: [../../INSTALL.OCTAVE] Error 1 (ignored)
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot stat `INSTALL': No such file or directory
make[3]: *** [../../INSTALL.OCTAVE] Error 1
make[3]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc/
interpreter'
make[2]: *** [../INSTALL.OCTAVE] Error 2
make[2]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc'
make[1]: *** [INSTALL.OCTAVE] Error 2
make[1]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5'
make: *** [all] Error 2
What is confusing me is that earlier in the log, it also complains
about makeinfo being missing.  Those complaints are also warnings, but
for some reason, only this last one is fatal.  I'm not exactly sure
I'm 100% understanding what the makefile is doing towards the end, and
thus, I'm not sure I particularly understand why it's failing.  I am
using gcc 4.0.2, the default GNU compiler package of the cluster.  I
also  have gcc 4.2.4 available to me, but it doesn't produce any
different results.
I can post the full make.log (make 2>&1 | tee make.log) if you wish.
If I should have posted somewhere else, tell me.
Upon reaching the docs build, the build of executables should already
be complete. So, if you don't care about the texinfo manual, just
ignore those errors and do a "make install" or use "./run-octave" to
run octave in place.
y***@gmail.com
2009-05-07 23:32:53 UTC
Permalink
Post by highegg
First post!  I started learning Matlab in my undergrad, and in my
graduate career, I have switched to the open-source octave very
smoothly!  I love the piping.
Anyway, I am attempting to compile and make that tar.gz that is
downloaded on a local university cluster here.  I do not have
administrative privileges.  I do a "configure --disable-readline" and
it completes successfully.  Most of my use of octave is programmatic,
so I'm not worried about the loss of readline functionality.
However!  The make command fails complaining about not finding the
'makeinfo' package/command.  As noted byhttps://www-old.cae.wisc.edu/pipermail/bug-octave/2008-August/006468....,
this can be rectified by installing something that provides makeinfo.
But, I'm not at liberty to do that, unfortunately.  I have posted the
tail of the make log.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/src'
make -C ../../scripts DOCSTRINGS
make[4]: Entering directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
make[4]: `DOCSTRINGS' is up to date.
make[4]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/
scripts'
making install.texi from install.txi
install.texi is unchanged
rm -f INSTALL
../../missing makeinfo -D INSTALLONLY \
  --no-validate --no-headers --no-split --output INSTALL \
  -I.. -I. -I./.. install.texi
WARNING: `makeinfo' is missing on your system.  You should only need
it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy
`make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package
or
         the `GNU make' package.  Grab either from any GNU archive
site.
         You may also need `makeinfo' if you obtained this package
from the CVS
         archive because files that can be automatically generated are
not
         considered source files and are not checked in to the CVS
archive.
         You may also need `makeinfo' if you ran make maintainer-clean
and
         removed files that can be automatically generated but that
are
         normally distributed as part of the package for convenience.
make[3]: [../../INSTALL.OCTAVE] Error 1 (ignored)
mv INSTALL ../../INSTALL.OCTAVE
mv: cannot stat `INSTALL': No such file or directory
make[3]: *** [../../INSTALL.OCTAVE] Error 1
make[3]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc/
interpreter'
make[2]: *** [../INSTALL.OCTAVE] Error 2
make[2]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5/doc'
make[1]: *** [INSTALL.OCTAVE] Error 2
make[1]: Leaving directory `/home/johnson/prk17/pkg/octave-3.0.5'
make: *** [all] Error 2
What is confusing me is that earlier in the log, it also complains
about makeinfo being missing.  Those complaints are also warnings, but
for some reason, only this last one is fatal.  I'm not exactly sure
I'm 100% understanding what the makefile is doing towards the end, and
thus, I'm not sure I particularly understand why it's failing.  I am
using gcc 4.0.2, the default GNU compiler package of the cluster.  I
also  have gcc 4.2.4 available to me, but it doesn't produce any
different results.
I can post the full make.log (make 2>&1 | tee make.log) if you wish.
If I should have posted somewhere else, tell me.
Upon reaching the docs build, the build of executables should already
be complete. So, if you don't care about the texinfo manual, just
ignore those errors and do a "make install" or use "./run-octave" to
run octave in place.
I find ./run-octave sufficient. I completely forgot and did not
specify a prefix. I'm just used to "./configure; make; sudo make
install" on computers I have control over and "./configure --
prefix=DIR; make; make install" on ones I don't have. But for some
reason, I didn't do that here.

Thank you for your input!

Loading...