Re: Compiling on Debian Lenny
Adam Tauno Williams <[email protected]> Sat, 11 Jul 2009 21:17:03 -0400
| Newsgroups | gmane.comp.cms.opengroupware.user |
|---|---|
| Message-ID | <1247361423.29334.3.camel@linux-m3mt> |
On Sat, 2009-07-11 at 15:04 +0200, Micha=C5=82 'rysiek' Wo=C5=BAniak wrot=
e:
> Hi guys,
> I am having a hard time compiling OGo and SOPE (both svn trunk versions=
)=20
> on Debian Lenny.
Compile/install should be:
# NOTE: DO NOT INSTALL libobjc-lf2, this is not required or desired.
#
# Install GNUstep make=20
#
curl -o gnustep-make-1.13.0.tar.gz
http://ftp.gnustep.org/pub/gnustep/core/gnustep-make-1.13.0.tar.gz
tar xzf gnustep-make-1.13.0.tar.gz
cd gnustep-make-1.13.0
./configure --prefix=3D/opt/OGo/GNUstep \
--with-library-combo=3Dgnu-fd-nil \
--with-system-root=3D/opt/OGo/GNUstep \
--disable-importing-config-file \
--with-config-file=3D/opt/OGo/GNUstep/GNUstep.conf
make
make install
cd ..
#
# Install libfoundation
#
svn co http://svn.opengroupware.org/SOPE/trunk sope
cd sope/libFoundation/
source /opt/OGo/GNUstep/Library/Makefiles/GNUstep.sh
export CFLAGS=3D-Wno-import
./configure
make
sudo make -j1 INSTALL_ROOT_DIR=3D/ \
GNUSTEP_INSTALLATION_DIR=3D/usr/local \
FHS_INSTALL_ROOT=3D/usr/local install
#
# Install SOPE
#
cd ..
export CFLAGS=3D
./configure --prefix=3D/usr/local \
--enable-debug --disable-strip \
--gsmake=3D/opt/OGo/GNUstep
make -j1
sudo make -j1 install
cd ..
#
# Install OGo
#
svn co http://svn.opengroupware.org/OpenGroupware.org/trunk ogo
cd ogo
./configure --prefix=3D/usr/local/ \
--enable-debug --disable-strip \
--gsmake=3D/opt/OGo/GNUstep
make -j1
sudo make -j1 install
export SHAREDIR=3D/usr/local/share/opengroupware.org-5.5
# make install makes sym-links rather than copies, which is dumb
rm -f "${SHAREDIR}/templates" "${SHAREDIR}/translations"=20
cp -Rp WebUI/Templates "${SHAREDIR}/templates"
cp -Rp WebUI/Resources "${SHAREDIR}/translations"
cp -Rp Themes/WebServerResources "${SHAREDIR}/www"
rm -fr "${SHAREDIR}/templates/ChangeLog"
rm -fr "${SHAREDIR}/templates/GNUmakefile"
rm -fr "${SHAREDIR}/templates/HelpUI"
rm -fr "${SHAREDIR}/translations/COPYRIGHT"
rm -fr "${SHAREDIR}/translations/ChangeLog"
rm -fr "${SHAREDIR}/translations/GNUmakefile"
rm -fr "${SHAREDIR}/www/GNUmakefile"
rm -fr "${SHAREDIR}/www/tools"
#
# Install mod_ngobjweb Apache module
# NOTE: install directory for modules may be distribution specific
#
cd ../sope/sope-appserver/mod_ngobjweb
make apr=3D/usr/bin/apr-1-config
/usr/bin/install -c mod_ngobjweb.so /usr/lib/httpd/modules/
> And here I get errors, main of which is I guess:
> In file included from SaxAttributeList.m:22:
> SaxAttributeList.h:25:32: warning: Foundation/NSObject.h: No such file =
or=20
> directory
Looks like it isn't finding the GNUstep directories; I'd guess the
GNUstep environment isn't sourced as in the line above -=20
source /opt/OGo/GNUstep/Library/Makefiles/GNUstep.sh
> Any help, pointers, ideas? I woild love to get OGo up and running here=20
> (eGW seems very convoluted; phpGW seems very "alpha-quality"), but I ne=
ed=20
> to jump over those problems.
I pretty much agree with your assessment of the other players. To be
fair, I believe phpGW was abandoned a *LONG* time ago; unless someone
has picked it up again. We evaluated it as one of our options back in
2003 and it was stagnant then.
--=20
OpenGroupware developer: [email protected]
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>
--=20
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users