help-octave
[Top][All Lists]
Advanced

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

Re: octave 3.8.2 : build failed via macports on OS X 10.11


From: Marius Schamschula
Subject: Re: octave 3.8.2 : build failed via macports on OS X 10.11
Date: Tue, 1 Dec 2015 14:06:54 -0600

xstereo,

On Dec 1, 2015, at 10:02 AM, xstereo <address@hidden> wrote:

> Hello everyone, I have been trying to install octave via macports.
> the dependencies cost me days to install, now that every dependency has been
> correctly installed without even a warning.
> But when building octave itself, I get the error message
> 
> At the end of the post is the main.log in some directory, I only pasted from
> where the error starts to appear. It says I don't have a TeX binary in my
> PATH so texi2dvi can't do its job. But case is I have texlive2015 perfectly
> installed and I've checked my PATH and it contains the tex bin directory,
> moreover both "tex" and "sudo tex" works fine in terminal, "texi2dvi
> filename.tex" in terminal works fine too, and "which texi2dvi" in terminal
> gives "/opt/local/bin/texi2dvi" as it should be. Here's my "echo $PATH": 
> /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/texlive/2015/bin/x86_64-darwin
> 
> Please help me solve this issue! Also, I was thinking maybe the new octave
> 4.0 solve this issue, but I don't know how to install octave 4.0 via
> macports, if you know please teach me, thank you~
> 
> 
> :info:destroot TEXINPUTS="./..:$TEXINPUTS" \
> :info:destroot        MAKEINFO='/bin/sh
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2/build-aux/missing
> makeinfo   -I .' \
> :info:destroot        /opt/local/bin/texi2dvi --build-dir=t2d_cache 
> --build-dir=octave.t2d -o octave.dvi  \
> :info:destroot        octave.texi
> :info:destroot You don't have a working TeX binary (tex) installed anywhere
> in
> :info:destroot your PATH, and texi2dvi cannot proceed without one.  If you
> want to use
> :info:destroot this script, you'll need to install TeX (if you don't have
> it) or change
> :info:destroot your PATH or TEX environment variable (if you do).  See the
> --help
> :info:destroot output for more details.
> :info:destroot 
> :info:destroot For information about obtaining TeX, please see
> http://tug.org/texlive,
> :info:destroot or do a web search for TeX and your operating system or
> distro.
> :info:destroot make[3]: *** [octave.dvi] Error 1
> :info:destroot make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2/doc/interpreter'
> :info:destroot make[2]: *** [install-recursive] Error 1
> :info:destroot make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2/doc'
> :info:destroot make[1]: *** [install-recursive] Error 1
> :info:destroot make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2'
> :info:destroot make: *** [install] Error 2
> :info:destroot make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2'
> :info:destroot Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/octave-3.8.2"
> && /usr/bin/make -w install
> DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/work/destroot
>  
> :info:destroot Exit code: 2
> :error:destroot org.macports.destroot for port octave returned: command
> execution failed
> :debug:destroot Error code: CHILDSTATUS 77814 2
> :debug:destroot Backtrace: command execution failed
>   while executing
> "system -nice 0 $fullcmdstring"
>   ("eval" body line 1)
>   invoked from within
> "eval system $notty $nice \$fullcmdstring"
>   invoked from within
> "command_exec destroot"
>   (procedure "portdestroot::destroot_main" line 2)
>   invoked from within
> "portdestroot::destroot_main org.macports.destroot"
>   ("eval" body line 1)
>   invoked from within
> "eval $procedure $targetname"
> :info:destroot Warning: targets not executed for octave:
> org.macports.activate org.macports.destroot org.macports.install
> :notice:destroot Please see the log file for port octave for details:
> 
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_octave/octave/main.log
> 

"echo $PATH” only gives you your shell’s path, not MacPorts’.

What does 

ls -l /opt/local/bin/texi2dvi

say?

P.S> I have not tried to install octave 3.8.2 under El Capitan using MacPorts, 
but I saw no such error installing octave 4.0.0 on three machines to date.

Marius
--
Marius Schamschula







reply via email to

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