added -pipe for faster compile
creating pid and sock dirs during install
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@556
9efc2488-bf62-4759-914b-
345cdb29e865
function makeMeGo {
- i=$(whoami) && [ "$i" == "root" ] && echo "Cannot run as root. Exiting..." && exit;
+ i=$(whoami) && [ "$i" != "opensrf" ] && echo "Must be run as user 'opensrf'. Exiting..." && exit;
if [ ! -z "$JSERVER" ]; then
echo "Starting Chop Chop, Jabber (jserver-c)...";
function startSystem {
- i=$(whoami) && [ "$i" == "root" ] && echo "Cannot run as root. Exiting..." && exit;
+ i=$(whoami) && [ "$i" != "opensrf" ] && echo "Must be run as user 'opensrf'. Exiting..." && exit;
case $1 in
export LDLIBS +=
export LDFLAGS += -L $(TMPDIR) -L . -L /opt/lib
-export CFLAGS += -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) \
+export CFLAGS += -pipe -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEADERS) \
-I$(LIBXML2_HEADERS)/libxml -I$(TMP) -I$(TMPDIR)
LIBOPENSRF = libopensrf.so