help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: building error


From: Sungwon Shin
Subject: Re: building error
Date: Mon, 14 Sep 2015 14:38:57 +0900

Do you mean that (CC) mailing lists is help-octave?

I deleted previous ubuntu which has 1G-ram memory and I created new one which has 8G-ram memory in my virtualbox.
this time, I checked all the required softwares listed in the file '/doc/interpreter/install.txi' and installed them.

when I run the following command

$ ./bootstrap --gnulib-srcdir=/usr/bin/

I got the result( last part)

----------------------------------------------------------------------------------------------------------------
autoreconf: running: /usr/bin/autoconf --include=m4 --force
autoreconf: running: /usr/bin/autoheader --include=m4 --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:79: installing 'build-aux/compile'
configure.ac:68: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
configure.ac: installing 'build-aux/ylwrap'
Makefile.am:67: installing 'build-aux/mdate-sh'
Makefile.am:67: installing 'build-aux/texinfo.tex'
autoreconf: Leaving directory `.'
./bootstrap: failed to symlink build-aux/install-sh
-----------------------------------------------------------------------------------------------------------------

1. why has bootstrap failed? (but anyway 'configure' script has created)

and after run 'configure'

--------------------------------------------------------------------------------------------------------------------
configure: WARNING: HDF5 library not found.  Octave will not be able to save or load HDF5 data files.
configure: WARNING: JAVA_HOME environment variable not initialized.  Auto-detection will proceed but is unreliable.
configure: WARNING: Qt libraries not found -- disabling GUI
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.
--------------------------------------------------------------------------------------------------------------------

2. I have installed 'libhdf5-dev' and but 'hdf5' is  not recognized.
   And I installed 'openjdk-8-jdk' but 'JAVA_HOME' warning. Should I do something after installing them?

3. Anyway Makefile script is created after ./configure
   But if I run 'make',   (last part of result)

--------------------------------------------------------------------------------------------------------------------
kpathsea: Running mktexmf ecrm1095
! I can't find file `ecrm1095'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1095
                                                 
Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1095
                                                 
Transcript written on mfput.log.
grep: ecrm1095.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ecrm1095' failed to make ecrm1095.tfm.
/usr/bin/texi2dvi: etex exited with bad status, quitting.
Makefile:27688: recipe for target 'doc/interpreter/octave.dvi' failed
make[2]: *** [doc/interpreter/octave.dvi] Error 1
make[2]: Leaving directory '/home/sw/Softwares/octave/build2'
Makefile:25745: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sw/Softwares/octave/build2'
Makefile:9868: recipe for target 'all' failed
make: *** [all] Error 2
--------------------------------------------------------------------------------------------------------------------

I feel that I am around the build success.
Help me to see glorious sunshine, buddy.


p.s Hey Mike, I want to do this and that in Octave so I need to build it.
      Is my answer not enough to get your help?


On Sat, Sep 12, 2015 at 11:43 PM, Mike Miller <address@hidden> wrote:
Please keep the Octave mailing lists in cc when replying, fixed.

On Sat, Sep 12, 2015 at 13:51:54 +0900, Sungwon Shin wrote:
> Thank you, mike.
> I installed librsvg2-bin and made another directory (build4), in there
>
> $ ../configure
> $ ./config.status  (I don't know exactly what this script works, but I just
> run it)
> $ make
>
> then I guess that the rsvg-convert error has gone. but another error comes,,
> the last part of result is
>
> ------------------------------------------------------------------------------------------------------------
>   CXX      libinterp/corefcn/libinterp_corefcn_libcorefcn_la-givens.lo
>   CXX      libinterp/corefcn/libinterp_corefcn_libcorefcn_la-gl-render.lo
>   CXX
> libinterp/corefcn/libinterp_corefcn_libcorefcn_la-gl2ps-renderer.lo
>   CXX      libinterp/corefcn/libinterp_corefcn_libcorefcn_la-graphics.lo
> g++: internal compiler error: Killed (program cc1plus)
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
> Makefile:17191: recipe for target
> 'libinterp/corefcn/libinterp_corefcn_libcorefcn_la-graphics.lo' failed
> make[2]: ***
> [libinterp/corefcn/libinterp_corefcn_libcorefcn_la-graphics.lo] Error 1
> make[2]: Leaving directory '/home/swshin/Softwares/octave/build4'
> Makefile:25745: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/swshin/Softwares/octave/build4'
> Makefile:9868: recipe for target 'all' failed
> make: *** [all] Error 2
> -----------------------------------------------------------------------------------------------------
>
> can you see what's the problem?

The problem is "g++: internal compiler error". This either means your
version of gcc has a bug, or possibly you haven't given enough memory to
your virtual machine.


> p.s :
>
> I just installed 'librsvg2-bin' but I didn't run it
>
> $ rsvg-convert    ( is it necessary?)
>
> anyway, after failed 'make' I am trying to run 'rsvg-convert'
> Does it take long time? although 10 min has passed, there's no response.

I was showing you how to find the name of the package to install
yourself. If you see an error about a missing program, try running the
program and Ubuntu will tell you what package to install.

> p.s 2 : I use Ubuntu 15.04 in virtualbox. can you recommend the best OS
> system (or version) for building up to date octave?

What is the reason for building Octave yourself instead of just
installing it from your distribution? Do you want to work with Octave
development or do you just want to get it running?

--
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]