Date: Sun, 16 Jan 2005 18:40:05 -0500 From: Adam Weinberger <adamw@FreeBSD.org> To: Jeremie Le Hen <jeremie@le-hen.org> Cc: freebsd-ports@freebsd.org Subject: Re: Bad $PATH for X11 ports Message-ID: <41EAFB55.1090701@FreeBSD.org> In-Reply-To: <20050116231254.GJ36629@obiwan.tataz.chchile.org> References: <20050116225230.GI36629@obiwan.tataz.chchile.org> <20050116231254.GJ36629@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremie Le Hen wrote: >>I already have imake-6 installed on my system but while installing Xorg, >>I saw the following: >> >>===> xorg-libraries-6.8.1_1 depends on executable: imake - not found >> >>In fact, I didn't have /usr/X11R6/bin in my $PATH. I think this is a >>kind of bug, since imake is found when I change my $PATH. >> >>Is it really a correct behaviour to rely on $PATH to look for programs >>used to not be located in standard $PATH directories ? > > > Just to illustrate the problem, here is what I get : > > mplayer# echo $PATH > /root/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin > mplayer# portupgrade -f mplayer\* > [...] > ===> mplayer-0.99.5_6 depends on executable: imake - not found > ===> Verifying install for imake in /usr/ports/devel/imake-6 > ===> Extracting for imake-6.8.1 > [...] > ===> Configuring for imake-6.8.1 > [...] > ===> Installing for imake-6.8.1 > ===> imake-6.8.1 depends on file: /usr/local/bin/perl5.8.5 - found > ===> Generating temporary packing list > ===> Checking if devel/imake-6 already installed > ===> imake-6.8.1 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/imake-6 > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. I don't understand what you're trying to accomplish. Are you proposing that the ports system look for programs outside of your $PATH? Why don't you just add /usr/X11R6/bin to your $PATH? # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41EAFB55.1090701>