Step#1) Install dependencies
zypper in libapr-util1-devel libapr1-devel gcc46-objc libobjc46 postgresql-devel libmysqlclient-devel apache2-utils apache2-devel openldap2-devel libxmlsec1-devel libxmlsec1-gnutls-devel libxml2-devel libxslt-develStep #2) Get GNUstep
svn co http://svn.gna.org/svn/gnustep/modules/coreStep #3) Get SOPE
curl-o sope.tar.gz \Step #4) Get OpenGroupware Legacy
http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-1.3.11.tar.gz
hg clone http://opengroupware.hg.sourceforge.net:8000/hgroot/opengroupware/opengroupwareStep #5) Build and install GNUstep make
cd core/make/Step #6) Build and install GNUstep base
./configure
make
sudo make install
. /usr/local/share/GNUstep/Makefiles/GNUstep.shStep #7) Build and install SOPE
cd ../base
./configure --disable-tls
make
make check
sudo make install
cd ../..Step #8) Build OGo
tar xzvf sope.tar.gz
cd SOPE-1.3.11
./configure
make
sudo make install
sudo /sbin/ldconfig
cd ../opengroupware/opengroupware/Step #9) Configure OGo via defaults
hg pull
hg update
./configure
make APR=/usr/bin/apr-1-config APXS=/usr/sbin/apxs2
sudo make installsudo /sbin/ldconfig
If you have an existing OpenGroupware Legacy installation you probably already have the LSConnectionDictionary default defined appropriately. Note that the command used to editing defaults has changed from "Defaults" to "defaults".
su - ogoStep #9) Fire-up ZideStore
mkdir /var/lib/opengroupware.org/run
defaults write ogo-webui WOPidFile /var/lib/opengroupware.org/run/ogo-webui.pid
defaults write ogo-zidestore WOPidFile /var/lib/opengroupware.org/run/ogo-zidestore.pid
defaults write ogo-xmlrpcd WOPidFile /var/lib/opengroupware.org/run/ogo-xmlrpcd.pid
defaults write ogo-webui WOLogFile /var/lib/opengroupware.org/run/ogo-webui.log
defaults write ogo-zidestore WOLogFile /var/lib/opengroupware.org/run/ogo-zidestore.log
defaults write ogo-xmlrpcd WOLogFile /var/lib/opengroupware.org/run/ogo-xmlrpcd.log
defaults write ogo-webui WOPort 20000
defaults write ogo-zidestore WOPort 21000
defaults write ogo-xmlrpcd WOPort 22000
defaults write NSGlobalDomain imap_host 127.0.0.1
defaults write NSGlobalDomain LSConnectionDictionary \
'{userName="OGo"; databaseName="OGo";hostName="localhost";password="*******";}'
defaults write NSGlobalDomain NGBundlePath "/usr/local/lib64/opengroupware.org-5.5/commands:/usr/local/lib64/opengroupware.org-5.5/webui:/usr/local/lib64/opengroupware.org-5.5/datasources"
defaults write NSGlobalDomain LSModelName OpenGroupware.org_PostgreSQL
ogo-zidestore -WOLogFile - -WONoDetach YES -WOUseWatchDog NOIf it runs then your development build is probably OK!
No comments:
Post a Comment