#31903: octave-devel +docs variant missing dependency on texlive-basic -----------------------------+---------------------------------------------- Reporter: vic@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: octave-devel -----------------------------+---------------------------------------------- Comment(by vic@…): Replying to [comment:1 ryandesign@…]:
A couple things:
1. The +docs variant is clearly missing a dependency on texlive-basic, which is what provides the tex binary. 2. MacPorts does not use your PATH; it uses its own path, as defined by the binpath variable in macports.conf. Editing binpath is usually not advisable, but we do make an exception for tex, so you're welcome to add /usr/texbin to binpath if you'd rather use that tex than the tex that MacPorts would install.
I tried suggestion 2, to the best of my ability. I added the bin path line binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/texbin to both (/opt/local/etc/macports/) macports.conf and macports.conf.default, and ran $ sudo port clean octave-devel $ sudo port install octave-devel +debug +docs again. The changes made no difference. MacPorts still couldn't find tex, which is sitting in /usr/local/texlive/2011/bin/x86_64-darwin which is pointed to by the symbolic link /usr/texbin. This is not a serious problem for me. I don't need the +docs variant to octave-devel. But it does bother me that I can't get the +docs variant simply because MacPorts can't find TeX---which I use every day. And the binary tex file is definitely in /usr/texbin, albeit indirectly. -- Ticket URL: <https://trac.macports.org/ticket/31903#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS