From: helge Date: Thu, 21 Oct 2004 15:00:43 +0000 (+0000) Subject: fixes X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd7a2711b791e5830620a2402855c59f698ce689;p=sope fixes git-svn-id: http://svn.opengroupware.org/SOPE/trunk@297 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/INSTALL b/INSTALL index 951fbe89..887a2c84 100644 --- a/INSTALL +++ b/INSTALL @@ -6,6 +6,13 @@ TODO: write install guide for SOPE 3.3. Prerequisites ============= +- gstep-make +- libFoundation or gstep-base or Cocoa Foundation +- libxml2/libxml2-dev +- autoconf +- openldap2/openldap2-dev +- postgresql-dev + sope-xml - libxml2/libxml2-dev @@ -17,6 +24,7 @@ sope-ldap sope-ical - libical (eg ThirdParty/libical) + - only for the deprecated iCalSaxDriver! sope-gdl1 - postgresql-dev @@ -53,18 +61,31 @@ Building If the prerequisites are properly fulfilled, building SOPE 4.3 is a simple: - make -s debug=yes strip=yes all + ./configure --enable-debug + make -s strip=yes all (a build takes about 5 minutes on a Debian/Athlon 1.8+) Installation: - make -s debug=yes strip=yes install + make -s strip=yes install Important: ensure that GNUstep.sh from gnustep-make is properly loaded into the shell environment, otherwise you will see errors like "/common.make" not being found. +Troubleshooting +=============== + +* /common.make not found + + If you see errors like "/common.make" not found you either did not configure + your SOPE tree _or_ you did not source GNUstep.sh + +* warning: Foundation/NSObject.h: No such file or directory + + You did not install a Foundation library, eg libFoundation + Building mod_ngobjweb ===================== diff --git a/configure b/configure index 097906b5..347f1823 100755 --- a/configure +++ b/configure @@ -22,6 +22,8 @@ ARG_WITH_DEBUG=0 DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh" DARG_IS_FHS=1 +NGSTREAMS_DIR="./sope-core/NGStreams" + # ******************** usage ******************** function usage() { @@ -254,10 +256,13 @@ function runIt() { else genConfigMake; - if test -f sope-core/NGStreams/configure; then + if test -x $NGSTREAMS_DIR/configure; then if test $ARG_BEQUIET != 1; then echo -n "configuring NGStreams library .." - ./sope-core/NGStreams/configure >config-NGStreams.log + old="$PWD" + cd $NGSTREAMS_DIR + ./configure >$old/config-NGStreams.log + cd $old echo ".. done (log in config-NGStreams.log)." fi fi