sudo port install apache2

Charlse Darwin macports.users at gmail.com
Sun Dec 16 13:05:33 PST 2007


$ env
PATH=/Users/***/Documents/scripts/:/opt/local/bin:/opt/local/sbin:/ 
bin:/sbin:/usr/bin:/usr/sbin:/Library/Frameworks/Python.framework/ 
Versions/Current/bin/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/ 
local/teTeX/bin/powerpc-apple-darwin-current
$

Is my env set up `correctly'?

On Dec 16, 2007, at 3:47 PM, Daniel J. Luke wrote:

> On Dec 16, 2007, at 3:25 PM, Charlse Darwin wrote:
>> It works! Thanks. However still we've got the following:
>> $ which apachectl
>> /usr/sbin/apachectl
>> # as opposed to (which as an example shows my env is set up  
>> correctly)
>
> this doesn't show that your env is set up 'correctly'
>
>> $ which bash
>> /opt/local/bin/bash
>> $
>
>
> I believe the apache2 port installs the apachectl binary that you  
> want in /opt/local/apache2/bin/ so if you want 'apachectl' by  
> itself to run the macports installed one, you need to put that  
> directory in your path before /usr/sbin
>
> ... but again, this isn't a macports problem.
>
> --
> Daniel J. Luke
> +========================================================+
> | *---------------- dluke at geeklair.net ----------------* |
> | *-------------- http://www.geeklair.net -------------* |
> +========================================================+
> |   Opinions expressed are mine and do not necessarily   |
> |          reflect the opinions of my employer.          |
> +========================================================+
>
>
>



More information about the macports-users mailing list