dependency style bin: not working
mark abney
maabney2 at yahoo.com
Thu May 17 13:22:51 PDT 2007
--- Chris Pickel <chpickel at stwing.upenn.edu> wrote:
> On 17 May, 2007, at 11:45, markd at macports.org wrote:
> > mark abney <maabney2 at yahoo.com> on Thursday, May 17, 2007 at 8:33
> > AM -0800
> > wrote:
> >> It's not a case sensitivity issue. The file that's in my PATH is
> >> 'tex'
> >> and the filename as specified in the dependency is also 'tex', but
> >> port
> >> simply refuses to find it. Where does it search? Or, if it does
> >> actually
> >> find it, ignores it and still tries to install teTeX. Any ideas
> >> where in
> >> all the tcl code these decisions are made? I haven't tried the
> >> path: form of dependency yet; I'll need to do more experimentation.
> >> Thanks for the suggestion.
> >>
> > I can't answer that. I changed the subject line in hopes that someone
> > else will chime in.
>
> My understanding of darwinports.tcl:526 is that MacPorts doesn't ever
> use the user's PATH. If ports.conf does not include a "binpath"
> statement, port will construct one for its own use. The PATH it
> constructs doesn't include /usr/local/bin, however, which is I assume
> where tex is. Maybe if you edit /opt/local/etc/ports/ports.conf and
> add a binpath statement, e.g.:
>
> binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/
> usr/X11R6/bin:/usr/local/bin
>
> ...it could find it. Obviously this line will be different if it's
> not /usr/local. Make sure you add things last, though, because
> otherwise you could potentially get weird bugs that no one else does.
>
Thanks, this works and solves my problem. My understanding of how things
work, although still very limited, is now much greater than before.
Mark A
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
More information about the macports-users
mailing list