xstereo,/usr/local/texlive/2015/bin/x86_64-darwin
this is the path to my tex installation, It’s standard from a default texlive installation, the texlive folder is 1.21GB in size, I don’t know whether it’s basic or medium. But the texi2dvi command works perfectly in shell. do you mean I have to link all the bin’s into /opt/local/bin? does that mean macports only includes /opt/local/bin as its path?
(It seems you can’t receive via the mailing list, so I sent again, please forgive if you’ve received duplicates)
On Dec 2, 2015, at 09:56, Marius Schamschula-5 [via Octave] <address@hidden> wrote:
xstereo,
On Dec 1, 2015, at 7:34 PM, xstereo <[hidden email] <x-msg://12/user/SendEmail.jtp?type=node&node=4673741&i=0>> 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] <[hidden email] <x-msg://12/user/SendEmail.jtp?type=node&node=4673741&i=1>> wrote:
xstereo,
On Dec 1, 2015, at 10:02 AM, xstereo <[hidden email] <<a href=""x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=0">x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=0">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": /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 <http://tug.org/texlive> <http://tug.org/texlive <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
_______________________________________________ Help-octave mailing list [hidden email] <<a href=""x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=1">x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=1">x-msg://9/user/SendEmail.jtp?type=node&node=4673730&i=1> https://lists.gnu.org/mailman/listinfo/help-octave <https://lists.gnu.org/mailman/listinfo/help-octave> <https://lists.gnu.org/mailman/listinfo/help-octave <https://lists.gnu.org/mailman/listinfo/help-octave>>
If you reply to this email, your message will be added to the discussion below: http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673730.html <http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673730.html> <http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673730.html <http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673730.html>> To unsubscribe from octave 3.8.2 : build failed via macports on OS X 10.11, click here < < <applewebdata://4BB3A07D-45DA-4641-8814-4A283EF2A888>http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml <http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>>
-- View this message in context: http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673740.html <http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673740.html> Sent from the Octave - General mailing list archive at Nabble.com <http://nabble.com/>.
_______________________________________________ Help-octave mailing list [hidden email] <x-msg://12/user/SendEmail.jtp?type=node&node=4673741&i=2> https://lists.gnu.org/mailman/listinfo/help-octave <https://lists.gnu.org/mailman/listinfo/help-octave>
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 -- Marius Schamschula
_______________________________________________ Help-octave mailing list [hidden email] <x-msg://12/user/SendEmail.jtp?type=node&node=4673741&i=3> https://lists.gnu.org/mailman/listinfo/help-octave <https://lists.gnu.org/mailman/listinfo/help-octave>
If you reply to this email, your message will be added to the discussion below: http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673741.html <http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673741.html> To unsubscribe from octave 3.8.2 : build failed via macports on OS X 10.11, click here <http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4673715&code=eGluc3RlaW54aW5nQDE2My5jb218NDY3MzcxNXwxODUxODM1ODk=>. NAML <http://octave.1599824.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://octave.1599824.n4.nabble.com/octave-3-8-2-build-failed-via-macports-on-OS-X-10-11-tp4673715p4673754.html Sent from the Octave - General mailing list archive at Nabble.com.
_______________________________________________ Help-octave mailing list address@hidden https://lists.gnu.org/mailman/listinfo/help-octave
It sounds like you didn’t install texlive using MacPorts. If you downloaded and installed texlive from TUG, then macports won’t find it.
Marius -- Marius Schamschula
|