Compiling on Debian Lenny

View: New views
3 Messages — Rating Filter:   Alert me  

Compiling on Debian Lenny

by Michał 'rysiek' Woźniak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I am having a hard time compiling OGo and SOPE (both svn trunk versions)
on Debian Lenny.

I have downloaded gnustep-make 1.10.0, exectuted ./configure and make, and
then sudo make install. All went well, so I assume gnustep-make is
installed AOK.

Now, I have checked out the latest SOCO:
svn co http://svn.opengroupware.org/SOPE/trunk SOCO_trunk

and went on to install libFoundation:
cd SOCO_trunk/libFoundation
./configure
make
sudo make install

All went well, too, so I guess libFoundation is installed properly.

Now, the SOCO framework:
cd ../
./configure (output given below)
make (output below)

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
directory

Now, I can add ADDITIONAL_INCLUDE_DIRS to my make invocation, like this:
make
ADDITIONAL_INCLUDE_DIRS='-I/usr/GNUstep/System/Library/Headers/libFoundation/\
 -I/usr/GNUstep/System/Library/Headers/libFoundation/ix86/linux-gnu/GNU/\
 -I/home/rysiek/OGo/SOPE_trunk/sope-xml/'
Which allows the compilation to begin, but it also fails at some point -
full output at the very end of this e-mail. Problems start at:

(...)
Making all for tool saxxml...
 Compiling file saxxml.m ...
 Linking tool saxxml ...
./shared_debug_obj/saxxml.o: In function `main':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:140: undefined
reference to `_NSAddHandler'
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:142: undefined
reference to `_NSRemoveHandler'
(...)

Any help, pointers, ideas? I woild love to get OGo up and running here
(eGW seems very convoluted; phpGW seems very "alpha-quality"), but I need
to jump over those problems.

Cheers
Mike aka rysiek


/* --- SOCO: ./configure -------------------------------------------- */
$ ./configure
GNUstep environment:
  system: /usr/GNUstep/System
  local:  /usr/GNUstep/Local
  user:   /home/rysiek/GNUstep
  path:   /home/rysiek/GNUstep:/usr/GNUstep/Local:/usr/GNUstep/System
  flat:   yes
  arch:   i686-pc-linux-gnu
  combo:  gnu-gnu-gnu

Note: will install in default location: /usr/local/

Configuration:
  FHS:    install in FHS root
  debug:  yes
  strip:  yes
  prefix:     /usr/local/
  frameworks:
  gstep:      /usr/GNUstep/System/Library/Makefiles
  config:     /home/rysiek/OGo/SOPE_trunk/config.make
  script:     /usr/GNUstep/System/Library/Makefiles/GNUstep.sh

creating: /home/rysiek/OGo/SOPE_trunk/config.make
optional library found: xml2
optional library found: ldap
required library found: ssl
optional library found: pq
optional library found: sqlite3
failed to link optional library: mysqlclient
configuring NGStreams library .... done (log in config-NGStreams.log).


/* --- SOCO: make --------------------------------------------------- */
$ make
Making all in sope-xml...
make[1]: Wejście do katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml'
Making all in SaxObjC...
make[2]: Wejście do katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/SaxObjC'
Making all for library libSaxObjC...
 Compiling file SaxAttributeList.m ...
In file included from SaxAttributeList.m:22:
SaxAttributeList.h:25:32: warning: Foundation/NSObject.h: Nie ma takiego
pliku ani katalogu
In file included from SaxAttributeList.m:22:
SaxAttributeList.h:43: error: cannot find interface declaration
for ‘NSObject’, superclass of ‘SaxAttributeList’
SaxAttributeList.h:43: error: cannot find protocol declaration
for ‘NSCopying’
In file included from SaxAttributeList.h:64,
                 from SaxAttributeList.m:22:
../SaxObjC/SaxAttributes.h:63: error: cannot find interface declaration
for ‘NSObject’, superclass of ‘SaxAttributes’
../SaxObjC/SaxAttributes.h:63: error: cannot find protocol declaration
for ‘NSCopying’
In file included from SaxAttributeList.m:24:
common.h:25:34: warning: Foundation/Foundation.h: Nie ma takiego pliku ani
katalogu
SaxAttributeList.m: In function ‘-[SaxAttributeList init]’:
SaxAttributeList.m:29: warning: no ‘+alloc’ method found
SaxAttributeList.m:29: warning: (Messages without a matching method
signature
SaxAttributeList.m:29: warning: will be assumed to return ‘id’ and accept
SaxAttributeList.m:29: warning: ‘...’ as arguments.)
SaxAttributeList.m:30: warning: no ‘+alloc’ method found
SaxAttributeList.m:31: warning: no ‘+alloc’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList
initWithAttributeList:]’:
SaxAttributeList.m:39: warning: no ‘-addObject:’ method found
SaxAttributeList.m:40: warning: no ‘-addObject:’ method found
SaxAttributeList.m:41: warning: no ‘-addObject:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList initWithAttributes:]’:
SaxAttributeList.m:52: warning: no ‘-addObject:’ method found
SaxAttributeList.m:53: warning: no ‘-addObject:’ method found
SaxAttributeList.m:54: warning: no ‘-addObject:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList dealloc]’:
SaxAttributeList.m:61: warning: no ‘-release’ method found
SaxAttributeList.m:62: warning: no ‘-release’ method found
SaxAttributeList.m:63: warning: no ‘-release’ method found
SaxAttributeList.m:64: error: no super class declared in @interface
for ‘SaxAttributeList’
SaxAttributeList.m: In function ‘-[SaxAttributeList setAttributeList:]’:
SaxAttributeList.m:75: warning: no ‘-addObject:’ method found
SaxAttributeList.m:76: warning: no ‘-addObject:’ method found
SaxAttributeList.m:77: warning: no ‘-addObject:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList clear]’:
SaxAttributeList.m:81: warning: no ‘-removeAllObjects’ method found
SaxAttributeList.m:82: warning: no ‘-removeAllObjects’ method found
SaxAttributeList.m:83: warning: no ‘-removeAllObjects’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList
addAttribute:type:value:]’:
SaxAttributeList.m:90: error: ‘nil’ undeclared (first use in this
function)
SaxAttributeList.m:90: error: (Each undeclared identifier is reported only
once
SaxAttributeList.m:90: error: for each function it appears in.)
SaxAttributeList.m:90: error: cannot find interface declaration
for ‘NXConstantString’
SaxAttributeList.m:92: warning: no ‘-addObject:’ method found
SaxAttributeList.m:93: warning: no ‘-addObject:’ method found
SaxAttributeList.m:94: warning: no ‘-addObject:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList removeAttribute:]’:
SaxAttributeList.m:100: warning: no ‘-indexOfObject:’ method found
SaxAttributeList.m:100: warning: assignment makes integer from pointer
without a cast
SaxAttributeList.m:100: error: ‘NSNotFound’ undeclared (first use in this
function)
SaxAttributeList.m:103: warning: no ‘-removeObjectAtIndex:’ method found
SaxAttributeList.m:104: warning: no ‘-removeObjectAtIndex:’ method found
SaxAttributeList.m:105: warning: no ‘-removeObjectAtIndex:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList nameAtIndex:]’:
SaxAttributeList.m:111: warning: no ‘-objectAtIndex:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList typeAtIndex:]’:
SaxAttributeList.m:114: warning: no ‘-objectAtIndex:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList valueAtIndex:]’:
SaxAttributeList.m:117: warning: no ‘-objectAtIndex:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList typeForName:]’:
SaxAttributeList.m:123: warning: no ‘-indexOfObject:’ method found
SaxAttributeList.m:123: warning: assignment makes integer from pointer
without a cast
SaxAttributeList.m:123: error: ‘NSNotFound’ undeclared (first use in this
function)
SaxAttributeList.m:124: error: ‘nil’ undeclared (first use in this
function)
SaxAttributeList.m: In function ‘-[SaxAttributeList valueForName:]’:
SaxAttributeList.m:131: warning: no ‘-indexOfObject:’ method found
SaxAttributeList.m:131: warning: assignment makes integer from pointer
without a cast
SaxAttributeList.m:131: error: ‘NSNotFound’ undeclared (first use in this
function)
SaxAttributeList.m:132: error: ‘nil’ undeclared (first use in this
function)
SaxAttributeList.m: At top level:
SaxAttributeList.m:143: error: expected ‘)’ before ‘NSZone’
SaxAttributeList.m: In function ‘-[SaxAttributeList copyWithZone:]’:
SaxAttributeList.m:144: warning: ‘SaxAttributeList’ may not respond
to ‘-class’
SaxAttributeList.m:144: warning: no ‘-allocWithZone:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList propertyList]’:
SaxAttributeList.m:154: warning:
no ‘+dictionaryWithObjects:forKeys:count:’ method found
SaxAttributeList.m: In function ‘-[SaxAttributeList description]’:
SaxAttributeList.m:158: error: ‘NSMutableString’ undeclared (first use in
this function)
SaxAttributeList.m:158: error: ‘s’ undeclared (first use in this function)
SaxAttributeList.m:163: warning: implicit declaration of
function ‘NSStringFromClass’
SaxAttributeList.m:163: warning: ‘SaxAttributeList’ may not respond
to ‘-class’
SaxAttributeList.m:175: warning: no ‘-isEqualToString:’ method found
SaxAttributeList.m:185: warning: no ‘-autorelease’ method found
make[3]: *** [shared_debug_obj/SaxAttributeList.o] Błąd 1
make[2]: *** [libSaxObjC.all.library.variables] Błąd 2
make[2]: Opuszczenie katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/SaxObjC'
make[1]: *** [internal-all] Błąd 2
make[1]: Opuszczenie katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml'
make: *** [internal-all] Błąd 2


/* --- SOCO: make ADDITIONAL_INCLUDE_DIRS=(...) --------------------- */
$ make
ADDITIONAL_INCLUDE_DIRS='-I/usr/GNUstep/System/Library/Headers/libFoundation/ -I/usr/GNUstep/System/Library/Headers/libFoundation/ix86/linux-gnu/GNU/ -I/home/rysiek/OGo/SOPE_trunk/sope-xml/'
Making all in sope-xml...
make[1]: Wejście do katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml'
Making all in SaxObjC...
make[2]: Wejście do katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/SaxObjC'
Making all for library libSaxObjC...
 Compiling file SaxAttributeList.m ...
 Compiling file SaxAttributes.m ...
 Compiling file SaxDefaultHandler.m ...
 Compiling file SaxException.m ...
 Compiling file SaxHandlerBase.m ...
 Compiling file SaxLocator.m ...
 Compiling file SaxMethodCallHandler.m ...
 Compiling file SaxNamespaceSupport.m ...
 Compiling file SaxObjectDecoder.m ...
 Compiling file SaxObjectModel.m ...
 Compiling file SaxXMLFilter.m ...
 Compiling file SaxXMLReaderFactory.m ...
 Linking library libSaxObjC ...
make[2]: Opuszczenie katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/SaxObjC'
Making all in DOM...
make[2]: Wejście do katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml/DOM'
Making all for library libDOM...
 Compiling file DOMSaxBuilder.m ...
 Compiling file DOMSaxHandler.m ...
 Compiling file DOMXMLOutputter.m ...
 Compiling file DOMPYXOutputter.m ...
 Compiling file DOMNodeWalker.m ...
 Compiling file NSObject+DOM.m ...
 Compiling file DOMNode+Enum.m ...
 Compiling file DOMNode+QueryPath.m ...
 Compiling file DOMQueryPathExpression.m ...
 Compiling file NSObject+QPEval.m ...
 Compiling file DOMNode+QPEval.m ...
 Compiling file NSObject+StringValue.m ...
 Compiling file DOMAttribute.m ...
 Compiling file DOMCDATASection.m ...
 Compiling file DOMCharacterData.m ...
 Compiling file DOMComment.m ...
 Compiling file DOMDocument.m ...
 Compiling file DOMElement.m ...
 Compiling file DOMEntity.m ...
 Compiling file DOMEntityReference.m ...
 Compiling file DOMImplementation.m ...
 Compiling file DOMNode.m ...
 Compiling file DOMNodeWithChildren.m ...
 Compiling file DOMNotation.m ...
 Compiling file DOMProcessingInstruction.m ...
 Compiling file DOMText.m ...
 Compiling file DOMDocument+factory.m ...
 Compiling file DOMDocumentType.m ...
 Compiling file DOM+JS.m ...
 Compiling file DOMBuilderFactory.m ...
 Compiling file DOMTreeWalker.m ...
 Compiling file DOMNodeFilter.m ...
 Compiling file DOMNodeIterator.m ...
 Linking library libDOM ...
make[2]: Opuszczenie katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml/DOM'
Making all in XmlRpc...
make[2]: Wejście do katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml/XmlRpc'
Making all for library libXmlRpc...
 Compiling file XmlRpcEncoder.m ...
 Compiling file XmlRpcDecoder.m ...
 Compiling file XmlRpcMethodCall.m ...
 Compiling file XmlRpcMethodResponse.m ...
 Compiling file XmlRpcSaxHandler.m ...
 Compiling file XmlRpcValue.m ...
 Compiling file NSMutableString+XmlRpcDecoder.m ...
 Compiling file NSArray+XmlRpcCoding.m ...
 Compiling file NSData+XmlRpcCoding.m ...
 Compiling file NSDate+XmlRpcCoding.m ...
 Compiling file NSDictionary+XmlRpcCoding.m ...
 Compiling file NSException+XmlRpcCoding.m ...
 Compiling file NSHost+XmlRpcCoding.m ...
 Compiling file NSNotification+XmlRpcCoding.m ...
 Compiling file NSNumber+XmlRpcCoding.m ...
 Compiling file NSObject+XmlRpc.m ...
 Compiling file NSString+XmlRpcCoding.m ...
 Compiling file NSURL+XmlRpcCoding.m ...
 Linking library libXmlRpc ...
make[2]: Opuszczenie katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/XmlRpc'
Making all in samples...
make[2]: Wejście do katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/samples'
Making all for tool saxxml...
 Compiling file saxxml.m ...
 Linking tool saxxml ...
./shared_debug_obj/saxxml.o: In function `main':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:140: undefined
reference to `_NSAddHandler'
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:142: undefined
reference to `_NSRemoveHandler'
./shared_debug_obj/saxxml.o: In function `handler':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:142: undefined
reference to `_NSRemoveHandler'
./shared_debug_obj/saxxml.o: In function `-[MySAXHandler(Documents)
characters:length:]':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:257: undefined
reference to `NSLog'
./shared_debug_obj/saxxml.o: In function `-[MySAXHandler(Errors)
warning:]':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:321: undefined
reference to `NSLog'
./shared_debug_obj/saxxml.o: In function `-[MySAXHandler(Errors) error:]':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:328: undefined
reference to `NSLog'
./shared_debug_obj/saxxml.o: In function `-[MySAXHandler(Errors)
fatalError:]':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:335: undefined
reference to `NSLog'
./shared_debug_obj/saxxml.o: In function `-[MySAXHandler(DTD)
notationDeclaration:publicId:systemId:]':
/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:350: undefined
reference to `NSLog'
./shared_debug_obj/saxxml.o:/home/rysiek/OGo/SOPE_trunk/sope-xml/samples/saxxml.m:358:
more undefined references to `NSLog' follow
./shared_debug_obj/saxxml.o:(.data.rel+0x4): undefined reference to
`__objc_class_name_NSAutoreleasePool'
./shared_debug_obj/saxxml.o:(.data.rel+0x8): undefined reference to
`__objc_class_name_NSProcessInfo'
./shared_debug_obj/saxxml.o:(.data.rel+0xc): undefined reference to
`__objc_class_name_NSFileManager'
./shared_debug_obj/saxxml.o:(.data.rel+0x1c): undefined reference to
`__objc_class_name_NSString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSSelectorFromString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSFreeMapTable'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSClassFromString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSBundle'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSAssertionHandler'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSException'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSStringFromClass'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSMutableArray'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSObjectMapKeyCallBacks'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSObject'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSDictionary'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSMutableDictionary'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSArray'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSMutableString'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSUserDefaults'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`__objc_class_name_NSNull'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSMapInsert'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSMapGet'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSNonOwnedPointerMapValueCallBacks'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSStandardLibraryPaths'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSSearchPathForDirectoriesInDomains'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSCreateMapTable'
./../SaxObjC/shared_debug_obj/libSaxObjC_d.so: undefined reference to
`NSResetMapTable'
collect2: ld returned 1 exit status
make[3]: *** [shared_debug_obj/saxxml] Błąd 1
make[2]: *** [saxxml.all.tool.variables] Błąd 2
make[2]: Opuszczenie katalogu
`/home/rysiek/OGo/SOPE_trunk/sope-xml/samples'
make[1]: *** [internal-all] Błąd 2
make[1]: Opuszczenie katalogu `/home/rysiek/OGo/SOPE_trunk/sope-xml'
make: *** [internal-all] Błąd 2
--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: Compiling on Debian Lenny

by Adam Tauno Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-07-11 at 15:04 +0200, Michał 'rysiek' Woźniak wrote:
> Hi guys,
> I am having a hard time compiling OGo and SOPE (both svn trunk versions)
> on Debian Lenny.

Compile/install should be:

# NOTE: DO NOT INSTALL libobjc-lf2, this is not required or desired.
#
# Install GNUstep make
#
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=/opt/OGo/GNUstep \
   --with-library-combo=gnu-fd-nil \
   --with-system-root=/opt/OGo/GNUstep \
   --disable-importing-config-file \
   --with-config-file=/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=-Wno-import
./configure
make
sudo make -j1 INSTALL_ROOT_DIR=/   \
             GNUSTEP_INSTALLATION_DIR=/usr/local  \
             FHS_INSTALL_ROOT=/usr/local  install

#
# Install SOPE
#
cd ..
export CFLAGS=
./configure --prefix=/usr/local \
            --enable-debug --disable-strip \
            --gsmake=/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=/usr/local/ \
            --enable-debug --disable-strip \
            --gsmake=/opt/OGo/GNUstep

make -j1
sudo make -j1 install
export SHAREDIR=/usr/local/share/opengroupware.org-5.5
# make install makes sym-links rather than copies, which is dumb
rm -f "${SHAREDIR}/templates" "${SHAREDIR}/translations"
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=/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
> directory

Looks like it isn't finding the GNUstep directories;  I'd guess the
GNUstep environment isn't sourced as in the line above -
source /opt/OGo/GNUstep/Library/Makefiles/GNUstep.sh

> Any help, pointers, ideas? I woild love to get OGo up and running here
> (eGW seems very convoluted; phpGW seems very "alpha-quality"), but I need
> 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.
--
OpenGroupware developer: awilliam@...
<http://whitemiceconsulting.blogspot.com/>
OpenGroupare & Cyrus IMAPd documenation @
<http://docs.opengroupware.org/Members/whitemice/wmogag/file_view>

--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users

Re: Compiling on Debian Lenny

by Michał 'rysiek' Woźniak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dnia niedziela 12 lipiec 2009, Adam Tauno Williams napisał(a):
> On Sat, 2009-07-11 at 15:04 +0200, Michał 'rysiek' Woźniak wrote:
> > Hi guys,
> > I am having a hard time compiling OGo and SOPE (both svn trunk
> > versions) on Debian Lenny.
>
> Compile/install should be:
> (...)
Yup, those directions worked like a charm, thanks!

> #
> # Install mod_ngobjweb Apache module
> # NOTE: install directory for modules may be distribution specific
> #
> cd ../sope/sope-appserver/mod_ngobjweb
> make apr=/usr/bin/apr-1-config
> /usr/bin/install -c mod_ngobjweb.so /usr/lib/httpd/modules/
For the record, the following additional packages were needed:
libapr1-dev, apache2-prefork-dev

Apache module installation dir on Debian is:
/usr/lib/apache2/modules

And there is a ngobjweb.load file in the sources that can be safely copied
to /etc/apache2/mods-available, so that the module is enabled The Debian
Way:
sudo a2enmod ngobjweb
sudo /etc/init.d/apache2 restart

> > 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 directory
>
> Looks like it isn't finding the GNUstep directories;  I'd guess the
> GNUstep environment isn't sourced as in the line above -
> source /opt/OGo/GNUstep/Library/Makefiles/GNUstep.sh
I forgot to mention it, though I did source that file.

> > Any help, pointers, ideas? I woild love to get OGo up and running
> > here (eGW seems very convoluted; phpGW seems very "alpha-quality"),
> > but I need 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.
It must have been picked up after your last encounter with it, although
the last stable release (0.9.16.012) is from 2007. And it feels like much
less polished eGroupWare (I think they even share some code).

Well, anywhoo, starting to play with OGo now, thanks for your much needed
help.

Cheers
Mike aka rysiek
--
OpenGroupware.org Users
users@...
http://mail.opengroupware.org/mailman/listinfo/users