[Top][All Lists]

[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 20:12:49 -0600


On Dec 1, 2015, at 7:34 PM, xstereo <address@hidden> wrote:

Hi Marius,
"ls -l /opt/local/bin/texi2dvi” gives the following
-rwxr-xr-x  1 root  admin  57338 Dec  1 20:33 /opt/local/bin/texi2dvi

by the way, how do you install octave 4.0 via macports?
On Dec 2, 2015, at 03:52, Marius Schamschula-5 [via Octave] <address@hidden> wrote:


On Dec 1, 2015, at 10:02 AM, xstereo <[hidden email] <x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=0>> 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": 

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 
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 
: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 
:info:destroot output for more details. 
:info:destroot For information about obtaining TeX, please see <>, 
:info:destroot or do a web search for TeX and your operating system or 
:info:destroot make[3]: *** [octave.dvi] Error 1 
:info:destroot make[3]: Leaving directory 
:info:destroot make[2]: *** [install-recursive] Error 1 
:info:destroot make[2]: Leaving directory 
:info:destroot make[1]: *** [install-recursive] Error 1 
:info:destroot make[1]: Leaving directory 
:info:destroot make: *** [install] Error 2 
:info:destroot make: Leaving directory 
:info:destroot Command failed:  cd 
&& /usr/bin/make -w install 
: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: 


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

What does 

ls -l /opt/local/bin/texi2dvi 


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 Schamschula 

Help-octave mailing list 
[hidden email] <x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=1> <>

If you reply to this email, your message will be added to the discussion below: <>
To unsubscribe from octave 3.8.2 : build failed via macports on OS X 10.11, click here <>.

View this message in context:
Sent from the Octave - General mailing list archive at

Help-octave mailing list

Which is correct. So clearly the problem is not texinfo, but TeX. 

You mentioned that you have texlive 2015 installed. Which variant, basic, medium or full? I have +medium on all my machines. All the binaries should be linked from /opt/local/libexec/texlive/texbin to /opt/local/bin.

Marius Schamschula

reply via email to

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