Bad $PATH for X11 ports

Adam Weinberger adamw at
Sun Jan 16 15:37:38 PST 2005

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 at || adamw at
adamw at    ||   adamw at

More information about the freebsd-ports mailing list