[p4] Installing P4d On An Mac OS X Machine

Chuck Karish chuck.karish at gmail.com
Thu Nov 2 06:44:37 PST 2006


On 11/1/06, Michael Amorose <mamorose at spectorsoft.com> wrote:
> I have been trying to install Perforce server 2006 on a Mac OS X 10.4
> machine. I followed the instructions given on Perforce's website for
> installing on UNIX but have been having problems getting the server to start
> using the "p4d &" command.
>
> I am wondering if I did something wrong setting the env variables in my
> profile file. Does anyone have an example profile file with the environment
> variables set for OS X for using Perforce server on OS X 10.4?

#! /bin/sh

P4ROOT=/usr/local/perforce
export P4ROOT

if [ "$(whoami)" != p4 ]; then
    echo "p4d must be run by user p4."
    exit 1
fi

/usr/local/sbin/p4d -d -L errlog

-- 
Chuck Karish   karish at well.com   (415) 317-0182



More information about the perforce-user mailing list