[MacPorts] #41857: Octave @3.6.4_10: build failure with .texi files
MacPorts
noreply at macports.org
Sat Dec 21 05:35:05 PST 2013
#41857: Octave @3.6.4_10: build failure with .texi files
-----------------------+-------------------------
Reporter: Andrew@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: octave |
-----------------------+-------------------------
Comment (by gnwiii@…):
Replying to [comment:14 Andrew@…]:
> Nope - A lot quicker this time - but failed.
Can you verify that you see the messages indicating that the system
makeinfo is being used and that the
errors are the same as comment #11? If so then Apple's texinfo is too old
and macports's too new. Here is
the key data you need:
{{{
$ /opt/local/bin/kpsewhich texinfo.tex
/opt/local/share/texmf/tex/texinfo/texinfo.tex
$ /opt/local/bin/kpsewhich -expand-var \$TEXMF
{/Users/gwhite/.texlive2013/texmf-config,/Users/gwhite/.texlive2013/texmf-
var,/Users/gwhite/Library/texmf,!!/opt/local/etc/texmf,!!/opt/local/var/db/texmf,!!/opt/local/share
/texmf-local,!!/opt/local/share/texmf,!!/opt/local/share/texmf-texlive}
}}}
On my system, "locate texinfo.tex | wc -l" finds 28 copies of
"texinfo.tex", but only 10 versions:
{{{
$ awk -v FS='\\' '/\\def\\texinfoversion/{print $NF}' $(locate
texinfo.tex) | sort -u
texinfoversion{2006-10-04.17}
texinfoversion{2008-04-18.10}
texinfoversion{2009-01-18.17}
texinfoversion{2009-05-16.16}
texinfoversion{2009-08-14.15}
texinfoversion{2009-11-15.11}
texinfoversion{2012-01-03.09}
texinfoversion{2013-02-01.11}
texinfoversion{2013-09-10.16}
texinfoversion{2013-09-11.11}
}}}
Many programs avoid problems by including the version that works with
their docs. There are more copies on the web. I assume octave can't
easily provide "texinfo.tex" because documentation isn't all in one place.
Try putting yet another "texinfo.tex" version in
"~/Library/texmf/tex/texinfo" and using macport's makeinfo.
I used "/opt/local/share/automake-1.14/texinfo.tex". After you copy the
other version you can verify that it is found using
"/opt/local/bin/kpsewhich" and run the build step (here I'm using the
original Portfile to force use of macports' texinfo):
{{{
$ mkdir -p ~/Library/texmf/tex/texinfo
$ cp -p /opt/local/share/automake-1.14/texinfo.tex
~/Library/texmf/tex/texinfo
$ /opt/local/bin/kpsewhich texinfo.tex
/Users/gwhite/Library/texmf/tex/texinfo/texinfo.tex
$ sudo port build octave +atlas+docs+fltk+gcc48+x11
$ sudo port install octave +atlas+docs+fltk+gcc48+x11
$ rm ~/Library/texmf/tex/texinfo/texinfo.tex
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41857#comment:15>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list