Notes on building OGo on IBM iSeries machines.
Important: Information is for SOPE 4.2 and pre-OGo 1.0a, so it is outdated! Some information on compiling SOPE 4.3 and OGo 1.0a on Debian can be found in the Debian section. It should apply for iSeries as well.
Clean up, write much more ...
Setup some variables used everywhere ...
BASEDIR=$HOME/OpenGroupware.org USERROOT=$HOME/OGo
cd gnustep-make ./configure --prefix=$USERROOT \ --with-library-combo=gnu-fd-nil \ --with-user-root=$USERROOT \ --with-network-root=$USERROOT \ --with-local-root=$USERROOT \ --with-system-root=$USERROOT make install . $USERROOT/Makefiles/GNUstep.sh
cd $BASEDIR/ThirdParty/ cd gnustep-objc; make -s debug=yes install; cd ..
cd libFoundation; cd Foundation; ln -s powerpc/ powerpc64; cd ..; ./configure --with-gnustep; make -s debug=yes install; cd ..
cd libxml2; ./cfg-gnustep.sh make debug=yes install;cd .. cd libical; ./cfg-gnustep.sh make -s install;cd .. cd js-1.5;make -s install;cd .. cd pilot-link; ./cfg-gnustep.sh make -s debug=yes install;cd .. cd nhsc; make all install; cd ..
cd $BASEDIR/SOPE cd skyrix-xml; make -s debug=yes install; cd .. cd skyrix-core; #cd NGStreams; ln -s powerpc/ powerpc64; cd..; make -s debug=yes nosasl=yes nossl=yes iseries=yes install; cd .. cd skyrix-sope; make -s debug=yes install; cd ..
cd $BASEDIR/ThirdParty/gnustep-db cd GDLAccess; make -s debug=yes install; cd .. cd PostgreSQL72; make -s debug=yes install; cd ..
cd $BASEDIR/Database make -s debug=yes install cd $BASEDIR/Logic make -s debug=yes install cd $BASEDIR/DocumentAPI make -s debug=yes install cd $BASEDIR/WebUI make -s debug=yes install cd $BASEDIR/PDA make -s debug=yes install cd $BASEDIR/XmlRpcAPI/Daemon make -s debug=yes install cd $BASEDIR/Tools make -s debug=yes install cd $BASEDIR/Publisher make -s debug=yes install cd $BASEDIR/ZideStore make -s debug=yes install
Well, you should not install that, but anyway ...
cd $BASEDIR/Misc/Invoice/LSInvoice make debug=yes install cd $BASEDIR/Misc/Invoice/SkyInvoiceLib make debug=yes install cd $BASEDIR/Misc/Invoice/SkyInvoice make debug=yes install
Defaults write NSGlobalDomain LSConnectionDictionary \
'{databaseName = skyrix; hostName = localhost;
password = "test"; port = 5432; userName = skyrix}'
Defaults write NSGlobalDomain LSAdaptor PostgreSQL72
Defaults write NSGlobalDomain LSModelName OpenGroupware.org_PostgreSQL
Defaults write NSGlobalDomain NGBundlePath \
$USERROOT/Library/OpenGroupware.org
Defaults write NSGlobalDomain LSAttachmentPath $USERROOT/documents
Defaults write NSGlobalDomain TimeZoneName GMT
Defaults write NSGlobalDomain LSTimeZones \
'(GMT,MET,PST,CET,EET,EST,HST,MST,NZ,"GMT+0100",
"GMT+0200","GMT+0300","GMT+0400","GMT+0500","GMT+0600",
"GMT+0700","GMT+0800","GMT+0900","GMT+1000","GMT+1100",
"GMT+1200","GMT-0100","GMT-0200","GMT-0300","GMT-0400",
"GMT-0500","GMT-0600","GMT-0700",
"GMT-0800","GMT-0900","GMT-1000","GMT-1100","GMT-1200")'
Defaults write NSGlobalDomain WOHttpAllowHost '(localhost,"127.0.0.1")'
Defaults write NSGlobalDomain XMLReader libxmlSAXDriver
Defaults write NSGlobalDomain LSMaxSearchCount 150
Defaults write NSGlobalDomain LSNewsImagesPath $USERROOT/news
Defaults write NSGlobalDomain SkyPalmSync_timeoutCheckSeconds 2
Defaults write NSGlobalDomain LSNewsImagesUrl '/ArticleImages'
Defaults write NSGlobalDomain OGoMinimumActiveSessionCount 0
Defaults write NSGlobalDomain WOPort "localhost:20000"
Defaults write OpenGroupware ShowVacationPanel YES Defaults write OpenGroupware ShowOnlySubscribedInRoot YES Defaults write OpenGroupware ShowOnlySubscribedInSubFolders YES Defaults write OpenGroupware ServerSideSortingDisabled NO Defaults write OpenGroupware WODefaultSessionTimeout 1200 Defaults write OpenGroupware WOCachingEnabled YES Defaults write OpenGroupware WODebuggingEnabled YES
Defaults write ZideStore ZLFolderRefresh 1 Defaults write ZideStore WOPort "localhost:20001" Defaults write ZideStore SxExplain YES Defaults write ZideStore WOCachingEnabled YES Defaults write ZideStore WOHttpTransactionUseSimpleParser YES
Defaults write skyaptnotify AptNotifyBeVerbose NO Defaults write skyaptnotify AptNotifyFromAddress "opengroupware@localhost" Defaults write skyaptnotify AptNotifySentResourcesFile "/var/log/OGosent-resources" Defaults write skyaptnotify AptNotifySkyrixPassword \"\" Defaults write skyaptnotify AptNotifySkyrixUser root
### TODO: the following is outdated for OGo 1.0a cp -ax $BASEDIR/Themes/* $USERROOT/WOApps/OpenGroupware.woa cp -ax $BASEDIR/WebUI/Resources $USERROOT
mkdir -p $USERROOT/documents mkdir -p $USERROOT/news
/etc/init.d/ogo start