From macosx@opengroupware.org Wed Mar 22 14:08:05 2006 From: macosx@opengroupware.org (william) Date: Wed, 22 Mar 2006 14:08:05 +0000 Subject: [OGo-MacOSX] has any one got it working Message-ID: <239EA043-2F2B-453B-8427-2693DF8EE99B@m-i-s.co.uk> if so (being lazy ) how From macosx@opengroupware.org Wed Mar 22 15:36:40 2006 From: macosx@opengroupware.org (Helge Hess) Date: Wed, 22 Mar 2006 16:36:40 +0100 Subject: [OGo-MacOSX] has any one got it working In-Reply-To: <239EA043-2F2B-453B-8427-2693DF8EE99B@m-i-s.co.uk> References: <239EA043-2F2B-453B-8427-2693DF8EE99B@m-i-s.co.uk> Message-ID: On 22. Mrz 2006, at 15:08 Uhr, william wrote: > if so (being lazy ) how -- Being lazy, yes, by compiling the sources and following the instructions in the INSTALL file. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Thu Mar 23 16:05:12 2006 From: macosx@opengroupware.org (william) Date: Thu, 23 Mar 2006 16:05:12 +0000 Subject: [OGo-MacOSX] Complile error Message-ID: <50C5DB07-09FC-4155-977C-1CE535CD7037@m-i-s.co.uk> failed to link to required library:NGLdap When compiling OpenGroupware From macosx@opengroupware.org Sun Mar 26 17:37:46 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Sun, 26 Mar 2006 18:37:46 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb In-Reply-To: <2B1C1727-7EC3-41F6-AF53-4CB07325C85B@free.fr> References: <2B1C1727-7EC3-41F6-AF53-4CB07325C85B@free.fr> Message-ID: <9F846BEF-8A56-4618-9D7C-593F6A3F3C26@mulle-kybernetik.com> --Apple-Mail-9--272374220 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi Phillipe, thanks for your interest in SOPE! But before I (try to) answer your questions, I have a minor request - please direct all these questions to the macosx mailing list (http://mail.opengroupware.org/pipermail/ macosx/) ... they are interesting for a wider audience and it also straightens the process of responding to such inquiries. On 26.03.2006, at 15:22, Philippe Laval wrote: > Hello, > > I would like to use your project SOPE on a Macintosh running Mac OS > X 10.4.5. > I have good knowledge of Cocoa programming (XCode, ObjC, CoreData) > and WebObject (Java). > I would like to use SOPE because of the use of ObjC and the fact it > is an open LGPL project. > For my small project, the cost of a full WebObject licence is too > expensive. > I would like to use something like your example > "CoreDataBlog" (since I currently have a ObjC CoreData application > and would like to show it's data on the web). > > > For now, I am able to build all frameworks with XCode (seems that > only the wrapper build configuration is working for me). > But I can not build mod_ngobjweb (see below). > You indicated in one of your documentation, that we must use > mod_ngobjweb in order to use SOPE (for now I am only using a direct > connection from a browser at http://localhost:20000/) > > > I have also created two XCode projects for HelloWorld and TestPages > examples. > During this experiments, when running TestPages example, I got this > problems using the two forms : > ZeroLink: unknown symbol '_ASSIGN' > ZeroLink: unknown symbol '_ASSIGNCOPY' > > I had to change common.h to include NGExtensions.h (see below) to > solve these problems. That's right - some of the macros you're using are non standard extensions. > I have several questions : > > 1 - I seen that your are defining a lot of define : > APPLE_RUNTIME=1 NeXT_Foundation_LIBRARY=1 > COCOA_Foundation_LIBRARY=1 NeXT_RUNTIME=1 > Should I define this stuff in all examples using SOPE frameworks ? Yes. Due to the complexity (and portability) of SOPE, some of these defines are necessary. Please have a look at http:// svn.opengroupware.org/SOPE/trunk/sopex/Templates/ - because the setup of a new Xcode project requires quite some work, I have created some Xcode 2.{1,2} templates that you might find useful. Any extensions and improvements to them are welcome of course. > 2 - How can I create an XCode build phase to include the > components (xx.wo directories) in the WebServerResources folder ? > For now, I copy manually the WebServerResources in TestPages.app > (at same level than Contents subfolder). > Did you have planned to move WebServerResources in the Contents > subfolder ? It will be more "Macintosh like". No, we didn't plan this ... having said that I don't know exactly why I didn't do it in the first place, but I think it had something to do with the complexity of the resource manager code. This has been adjusted and taken care of in the past 1 1/2 years, so the initial reasons for not doing it this way might have gone. On the other hand, the current situation is not really problematic at all. I'd propose you just take a look at the existing templates first and familiarize with the way they work. Probably everything that you require for the time being is already in there. > 3 - I have a problem buiding mod_ngobjweb on a G5 (Mac OS X 10.4.5) > with XCode (see below). > I have downloaded this package : sope-4.5.6-morecore-r1212.tar.gz > I suppose that I am missing some libraries related to Apache ? > Could you, please point me to the required code. I can reproduce this problem. I'm looking into it now. > Thanks for your great job building SOPE. I really hope to be able > to fix my > problems and beeing one of your big fan. I could write examples and > documentations too. > For now I am lacking the build and installation of mod_ngobjweb > with Apache on mac OS X. Thanks for the flowers! :-) Cheers, Marcus -- Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-9--272374220 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Hi Phillipe,

thanks for your interest in = SOPE! But before I (try to) answer your questions, I have a minor = request - please direct all these questions to the macosx mailing list = (http://mail.openg= roupware.org/pipermail/macosx/) ... they are interesting for a wider = audience and it also straightens the process of responding to such = inquiries.

On 26.03.2006, at = 15:22, Philippe Laval wrote:

Hello,

I would like to use your project = SOPE on a Macintosh running Mac OS X 10.4.5.
I have good knowledge of Cocoa programming (XCode, = ObjC, CoreData) and WebObject (Java).
I would = like to use SOPE because of the use of ObjC and the fact it is an open = LGPL project.
For my small project, the cost = of a full WebObject licence is too expensive.
I would like to use something like your example = "CoreDataBlog" (since I currently have a ObjC CoreData application and = would like to show it's data on the web).


For now, I am able to build all = frameworks with XCode (seems that only the wrapper build configuration = is working for me).
But I can not build = mod_ngobjweb (see below).
You indicated = in one of your documentation, that we must use mod_ngobjweb in order to = use SOPE (for now I am only using a direct connection from a browser at = http://localhost:20000/)


I have also = created two XCode projects for HelloWorld and TestPages = examples.
During this experiments, when = running TestPages example, I got this problems using the two forms = :
ZeroLink: unknown symbol '_ASSIGN'
ZeroLink: unknown symbol '_ASSIGNCOPY'

I had to = change common.h to include NGExtensions.h (see below) to solve these = problems.

That's right - some of the = macros you're using are non standard = extensions.

I have = several questions :
1 - I seen that your are = defining a lot of define :
Should I define this stuff in all examples using = SOPE frameworks ?

Yes. Due to the complexity (and = portability) of SOPE, some of these defines are necessary. Please have a = look at=A0=A0http://s= vn.opengroupware.org/SOPE/trunk/sopex/Templates/ - because the setup = of a new Xcode project requires quite some work, I have created some = Xcode 2.{1,2} templates that you might find useful. Any extensions and = improvements to them are welcome of course.

2 - How can I=A0 create an XCode build phase = to include the components (xx.wo directories) in the WebServerResources = folder ?
For now, I copy manually the = WebServerResources in TestPages.app (at same level than Contents = subfolder).
Did you have planned to move = WebServerResources in the Contents subfolder ? It will be more = "Macintosh like".

No, we didn't plan this ... = having said that I don't know exactly why I didn't do it in the first = place, but I think it had something to do with the complexity of the = resource manager code. This has been adjusted and taken care of in the = past 1 1/2 years, so the initial reasons for not doing it this way might = have gone. On the other hand, the current situation is not really = problematic at all.

I'd propose you just take a = look at the existing templates first and familiarize with the way they = work. Probably everything that you require for the time being is already = in there.

3 - I have a problem buiding mod_ngobjweb on a G5 = (Mac OS X 10.4.5) with XCode (see below).
I have = downloaded this package : sope-4.5.6-morecore-r1212.tar.gz
I suppose that I am missing some libraries related = to Apache ?
Could you, please point me to = the required code.

I can reproduce this = problem. I'm looking into it now.

Thanks for your great job building SOPE. I really = hope to be able to fix my
problems and = beeing one of your big fan. I could write examples and documentations = too.
For now I am lacking the build = and installation of mod_ngobjweb with Apache on mac OS = X.

Thanks for the flowers! = :-)

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-9--272374220-- From macosx@opengroupware.org Mon Mar 27 00:40:34 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Mon, 27 Mar 2006 01:40:34 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb In-Reply-To: <9F846BEF-8A56-4618-9D7C-593F6A3F3C26@mulle-kybernetik.com> References: <2B1C1727-7EC3-41F6-AF53-4CB07325C85B@free.fr> <9F846BEF-8A56-4618-9D7C-593F6A3F3C26@mulle-kybernetik.com> Message-ID: <54E229AF-22CE-45C0-8745-3B94719C604A@mulle-kybernetik.com> --Apple-Mail-10--247006149 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed On 26.03.2006, at 18:37, Marcus M=FCller wrote: >> 3 - I have a problem buiding mod_ngobjweb on a G5 (Mac OS X =20 >> 10.4.5) with XCode (see below). >> I have downloaded this package : sope-4.5.6-morecore-r1212.tar.gz >> I suppose that I am missing some libraries related to Apache ? >> Could you, please point me to the required code. > > I can reproduce this problem. I'm looking into it now. The XCode project is seriously outdated. I tried to update it ... I =20 tried several schemes ... nothing really worked. This is really =20 frustrating, but it's also a key problem of Xcode's build engine - =20 it's rather inflexible (compared to make). So, the current status is, =20= you can't build an Apache shared module using Xcode currently ... at =20 least I don't know any target type that would work out of the box. Cheers, Marcus --=20 Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-10--247006149 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 26.03.2006, at = 18:37, Marcus M=FCller wrote:

3 - I have a problem buiding mod_ngobjweb on a G5 = (Mac OS X 10.4.5) with XCode (see below).
I have = downloaded this package : sope-4.5.6-morecore-r1212.tar.gz
I suppose that I am missing some libraries related = to Apache ?
Could you, please point me to = the required code.

I can reproduce this = problem. I'm looking into it = now.

The XCode project is = seriously outdated. I tried to update it ... I tried several schemes ... = nothing really worked. This is really frustrating, but it's also a key = problem of Xcode's build engine - it's rather inflexible (compared to = make). So, the current status is, you can't build an Apache shared = module using Xcode currently ... at least I don't know any target type = that would work out of the box.

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-10--247006149-- From macosx@opengroupware.org Mon Mar 27 00:43:03 2006 From: macosx@opengroupware.org (Helge Hess) Date: Mon, 27 Mar 2006 01:43:03 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb In-Reply-To: <54E229AF-22CE-45C0-8745-3B94719C604A@mulle-kybernetik.com> References: <2B1C1727-7EC3-41F6-AF53-4CB07325C85B@free.fr> <9F846BEF-8A56-4618-9D7C-593F6A3F3C26@mulle-kybernetik.com> <54E229AF-22CE-45C0-8745-3B94719C604A@mulle-kybernetik.com> Message-ID: On Mar 27, 2006, at 1:40, Marcus M=FCller wrote: > at least I don't know any target type that would work out of the box. Use a legacy target and trigger make. Just for the mod_ngobjweb, should=20= be ok. Greets, Helge --=20 http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Mon Mar 27 21:22:27 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Mon, 27 Mar 2006 22:22:27 +0200 Subject: [OGo-MacOSX] Problem running WOExtTest from XCode 2.2 Message-ID: <4F9D6AFB-3E1C-4C26-9172-467A2CE1801F@free.fr> I have a problem running WOExtTest from XCode 2.2 I have choosen Project > Edit Active Executable 'WOExtTest' I have set the working directory to "Project directory" as indicated in the README. When clicking on "Build and Go" I got a dialog box indicating : No Launchable executable present at path. WOExtTest.sopex But I just opened the directory SOPE-4.5/sopex/Samples/WOxExtTest/ build/Development and double clicked on the application "WOExtTest.sopex". I got it running... Seems that the indication in the README is not working for me. Any help ? From macosx@opengroupware.org Mon Mar 27 21:38:21 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Mon, 27 Mar 2006 22:38:21 +0200 Subject: [OGo-MacOSX] Just to let you know Message-ID: <9A6D035A-D788-48A7-B9FF-9F7E46B28E83@free.fr> I plan to create some documentation on SOPE. I just have written my experience so far building SOPE, SOPEX and an example. You may found the text at : http://philippe.laval.free.fr/Programmation/SOPE/ How_to_compile_SOPE.html I will probably write some other text describing how to build the current examples. Of course this is just for wannabe SOPE user like me... Cheers Philippe From macosx@opengroupware.org Mon Mar 27 21:45:11 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Mon, 27 Mar 2006 22:45:11 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb with make Message-ID: <635E55F8-49CD-45CF-9937-C0CDB944B589@free.fr> I have a problem building mod_ngobjweb with make. I got "make: no: Command not found" (see below). How can i fix that ??? G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make clean rm -f *.o mod_ngobjweb.so *.so *~ G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make make: no: Command not found gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX - DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 - DEAPI -I/usr/include/httpd -I -c -o globals.o globals.c /usr/bin/ld: Undefined symbols: _main collect2: ld returned 1 exit status make: *** [globals.o] Error 1 Well, let add the required main() to see other compile problems... G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ more globals.c /* Copyright (C) 2000-2005 SKYRIX Software AG This file is part of SOPE. SOPE is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. SOPE is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with SOPE; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #include int HEAVY_LOG = 0; //struct sockaddr *sns = 0; int main() { return 0; } Build again... G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make make: no: Command not found gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX - DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 - DEAPI -I/usr/include/httpd -I -c -o globals.o globals.c make: no: Command not found gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX - DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 - DEAPI -I/usr/include/httpd -I -c -o handler.o handler.c In file included from /usr/include/httpd/ap_config.h:1129, from /usr/include/httpd/httpd.h:29, from common.h:37, from handler.c:22: /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined In file included from /usr/include/httpd/httpd.h:29, from common.h:37, from handler.c:22: /usr/include/httpd/ap_config.h:1025:1: warning: this is the location of the previous definition /usr/bin/ld: Undefined symbols: _main _HEAVY_LOG _NGBufferedDescriptor_flush _NGBufferedDescriptor_free _NGBufferedDescriptor_newWithOwnedDescriptorAndSize _NGBufferedDescriptor_read _NGBufferedDescriptor_safeRead _NGBufferedDescriptor_safeWrite _NGBufferedDescriptor_writeHttpHeader _NGScanHeaders _NGScanResponseLine __sendSNSQuery _ap_bread _ap_ctx_get _ap_log_error _ap_palloc _ap_pcalloc _ap_rflush _ap_rwrite _ap_send_http_header _ap_table_get _ap_table_set collect2: ld returned 1 exit status make: *** [handler.o] Error 1 From macosx@opengroupware.org Mon Mar 27 22:15:15 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Mon, 27 Mar 2006 23:15:15 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates Message-ID: <1D19E1EC-C380-4524-BE00-6C79809BA97A@free.fr> I have installed the templates (in SOPE-4.5/sopex/Templates) after reading the README file. I have also runned the command: find . -type d -name .svn -exec rm -rf {} \; $ pwd /Library/Application Support/Apple/Developer Tools/Project Templates/ SOPE $ ls Web Application (WOx) Web Application (Wrapper) $ pwd /Library/Application Support/Apple/Developer Tools/Project Templates/ SOPE/Web Application (Wrapper) $ ls Application.h DirectAction.m Lori.icns Session.h WebServerResources Application.m English.lproj Main.m Session.m common.h COPYING GNUmakefile Main.wo TODO version.plist COPYRIGHT GNUmakefile.postamble NOTES Version ChangeLog GNUmakefile.preamble PROJECTLEAD WebApp.xcode DirectAction.h Info.plist README WebApp_main.m With the two project templates, I got the same two problems : 1 - For example, using the template "Web Application (Wrapper)" and creating a project nammed "TestSope", I have to create by hand a file named "TestSope_Prefix.pch" wich is required by the project but NOT present on disk. I just used this content : $ more TestSope_Prefix.pch #ifdef __OBJC__ #import #endif 2 - Again, I can not run the program from XCode 2.2 but when double clicking on the file "TestSope.sopex", I can read (in the Console) : 2006-03-27 22:49:12.113 TestSope[27012] Unable to load nib file: MainMenu, exiting Does the template lack the MainMenu.nib too ? From macosx@opengroupware.org Mon Mar 27 22:21:25 2006 From: macosx@opengroupware.org (Helge Hess) Date: Mon, 27 Mar 2006 23:21:25 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb with make In-Reply-To: <635E55F8-49CD-45CF-9937-C0CDB944B589@free.fr> References: <635E55F8-49CD-45CF-9937-C0CDB944B589@free.fr> Message-ID: On 27. Mrz 2006, at 22:45 Uhr, Philippe Laval wrote: > I have a problem building mod_ngobjweb with make. > > I got "make: no: Command not found" (see below). How can i fix > that ??? > > > G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make clean > rm -f *.o mod_ngobjweb.so *.so *~ > G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ make > make: no: Command not found Don't know why this is failing for you, works reasonably fine over here: ---snip--- helge@groove$ make clean rm -f *.o mod_ngobjweb.so *.so *~ helge@groove$ make all gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX - DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 - DEAPI -I/usr/include/httpd -c -o globals.o globals.c gcc -Wall -I. -fPIC -DSHARED_MODULE -DDARWIN -DUSE_HSREGEX - DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe -DHARD_SERVER_LIMIT=2048 - DEAPI -I/usr/include/httpd -c -o handler.o handler.c In file included from /usr/include/httpd/ap_config.h:1129, from /usr/include/httpd/httpd.h:29, from common.h:37, from handler.c:22: /usr/include/httpd/hsregex.h:22:1: warning: "ap_private_extern" redefined ... ---snap--- Prints some warnings, but they don't seem to matter. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Mon Mar 27 22:50:01 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Mon, 27 Mar 2006 23:50:01 +0200 Subject: [OGo-MacOSX] Re: Problem building mod_ngobjweb with make Message-ID: I have compiled latest gnu make 3.80 command (maybe the problem was comming from the make intalled by Apple) I have also do this : $ . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh G5:~/SOPE-4.5/sope-appserver/mod_ngobjweb philippe$ /usr/local/bin/make I got the same problem : make: no: Command not found From macosx@opengroupware.org Mon Mar 27 23:57:15 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Tue, 28 Mar 2006 00:57:15 +0200 Subject: [OGo-MacOSX] I modified the GNUMakefile in order to build mod_ngobjweb.so Message-ID: --Apple-Mail-1--163204824 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Can you type these commands $ which apxs /usr/sbin/apxs $ which apr-config no apr-config in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ local/teTeX/bin/powerpc-apple-darwin-current /usr/local/pgsql/bin / usr/local/teTeX/bin/powerpc-apple-darwin-current ==================== I modified the GNUMakefile in order to build mod_ngobjweb.so I simply removed all things related to locating apr-config and apxs. It then worked for me.... either using make or the XCode project. So I suppose you have the apr-config command on your computer installed and the makefle is buggy. ========= # custom makefile -include ../../config.make -include $(GNUSTEP_MAKEFILES)/common.make # config APACHE = /usr APXS = $(APACHE)/sbin/apxs APR = #APXS = $(APACHE)/sbin/apxs2 ifneq ($(APXS),) ifneq ($(shared),no) APXS_CFLAGS = $(shell $(APXS) -q CFLAGS_SHLIB) $(shell $(APXS) - q CFLAGS) APXS_INCLUDE_DIRS = -I$(shell $(APXS) -q INCLUDEDIR) APXS_LIBS = -l$(shell$ (APXS) -q LIBS_SHLIB) APXS_LDFLAGS = $(shell $(APXS) -q LDFLAGS_SHLIB) else ifneq ($(APXS),) APXS_CFLAGS = $(shell $(APXS) -q CFLAGS) APXS_INCLUDE_DIRS = -I$(shell $(APXS) -q INCLUDEDIR) else APXS_CFLAGS = APXS_INCLUDE_DIRS = endif endif else # no apxs available APXS_CFLAGS="-DSHARED_MODULE -O2 -DEAPI_MM -fPIC -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -DHARD_SERVER_LIMIT=2048 - DDYNAMIC_MODULE_LIMIT=128 -DLINUX=22 -DMOD_SSL=208103 -DEAPI - DUSE_EXPAT" endif ifneq ($(APR),) APR_INCLUDE_DIRS = -I$(shell $(APR) --includedir) endif GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_SYSTEM_ROOT)/Library/WOAdaptors/ Apache CC = gcc LD = gcc SHARED_LIBEXT = .so CFLAGS = -Wall -I. -fPIC \ $(APXS_CFLAGS) $(APXS_INCLUDE_DIRS) $(APR_INCLUDE_DIRS) LDFLAGS = $(APXS_LDFLAGS) -shared -fPIC # adaptor OFILES = \ globals.o \ handler.o \ NGBufferedDescriptor.o \ scanhttp.o \ sns.o \ config.o \ ngobjweb_module.o \ product = mod_ngobjweb$(SHARED_LIBEXT) all :: $(product) clean :: rm -f *.o $(product) *.so *~ distclean :: clean apache-dir : $(MKDIRS) $(GNUSTEP_INSTALLATION_DIR) install :: apache-dir all $(INSTALL_PROGRAM) $(product) $(GNUSTEP_INSTALLATION_DIR) install-usr-libexec :: all $(INSTALL_PROGRAM) $(product) /usr/libexec/httpd/ $(product) : $(OFILES) $(LD) $(LDFLAGS) -o $@ $(OFILES) $(EXTRA_LDFLAGS) --Apple-Mail-1--163204824 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
Can you type these = commands

$ = which apxs
/usr/sbin/apxs

$ which = apr-config
no apr-config in /bin /sbin /usr/bin /usr/sbin = /usr/local/bin /usr/local/teTeX/bin/powerpc-apple-darwin-current = /usr/local/pgsql/bin = /usr/local/teTeX/bin/powerpc-apple-darwin-current


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I modified the GNUMakefile = in order to build=A0mod_ngobjweb.so
I simply removed all things = related to locating=A0apr-config and=A0apxs.

It then worked for me.... = either using make or the XCode project.

So I suppose you have = the=A0apr-config command on your computer installed and the makefle is = buggy.

=3D=3D=3D=3D=3D=3D=3D=3D=3D



# custom = makefile

-include = ../../config.make
-include = $(GNUSTEP_MAKEFILES)/common.make

# config

APACHE =3D = /usr
APXS=A0=A0 =3D $(APACHE)/sbin/apxs
APR=A0 =A0 =3D=


#APXS=A0=A0 =3D = $(APACHE)/sbin/apxs2


ifneq = ($(APXS),)
ifneq ($(shared),no)
APXS_CFLAGS=A0 =A0 = =A0=A0 =3D $(shell $(APXS) -q CFLAGS_SHLIB) $(shell $(APXS) -q = CFLAGS)
APXS_INCLUDE_DIRS =3D -I$(shell $(APXS) -q = INCLUDEDIR)
APXS_LIBS=A0 =A0 =A0 =A0=A0 =3D -l$(shell$ (APXS) = -q LIBS_SHLIB)
APXS_LDFLAGS=A0 =A0 =A0 =3D $(shell $(APXS) -q = LDFLAGS_SHLIB)
else
ifneq = ($(APXS),)
APXS_CFLAGS=A0 =A0 =A0=A0 =3D $(shell $(APXS) -q = CFLAGS)
APXS_INCLUDE_DIRS =3D -I$(shell $(APXS) -q = INCLUDEDIR)
else
APXS_CFLAGS=A0 =A0 =A0=A0 =3D =
APXS_INCLUDE_DIRS =3D =
endif
endif
else # no apxs = available

APXS_CFLAGS=3D"-DSHARED_MODUL= E -O2 -DEAPI_MM -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 = -DHARD_SERVER_LIMIT=3D2048 -DDYNAMIC_MODULE_LIMIT=3D128 -DLINUX=3D22 = -DMOD_SSL=3D208103 -DEAPI -DUSE_EXPAT"

endif

ifneq = ($(APR),)
APR_INCLUDE_DIRS =3D -I$(shell $(APR) = --includedir)
endif

GNUSTEP_INSTALLATION_DIR =3D = $(GNUSTEP_SYSTEM_ROOT)/Library/WOAdaptors/Apache

CC=A0 =A0 =A0 =A0 =A0 =A0 =3D= gcc
LD=A0 =A0 =A0 =A0 =A0 =A0 =3D gcc
SHARED_LIBEXT = =3D .so

CFLAGS=A0= =3D -Wall -I. -fPIC \
$(APXS_CFLAGS) = $(APXS_INCLUDE_DIRS) $(APR_INCLUDE_DIRS)

LDFLAGS =3D $(APXS_LDFLAGS) = -shared -fPIC

#= adaptor

OFILES= =3D \
= globals.o \
= handler.o = \
NGBufferedDescriptor.o = \
scanhttp.o = \
sns.o \
= config.o = \
ngobjweb_module.o = \

product =3D = mod_ngobjweb$(SHARED_LIBEXT)

all :: = $(product)

clean ::
rm -f *.o = $(product) *.so *~

distclean :: = clean


apache-dir = :
= $(MKDIRS) $(GNUSTEP_INSTALLATION_DIR)

install :: apache-dir = all
= $(INSTALL_PROGRAM) $(product) = $(GNUSTEP_INSTALLATION_DIR)

install-usr-libexec :: = all
= $(INSTALL_PROGRAM) $(product) /usr/libexec/httpd/

$(product) : = $(OFILES)
$(LD) $(LDFLAGS) -o $@ $(OFILES) = $(EXTRA_LDFLAGS)

= --Apple-Mail-1--163204824-- From macosx@opengroupware.org Tue Mar 28 01:13:35 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Tue, 28 Mar 2006 02:13:35 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates In-Reply-To: <1D19E1EC-C380-4524-BE00-6C79809BA97A@free.fr> References: <1D19E1EC-C380-4524-BE00-6C79809BA97A@free.fr> Message-ID: --Apple-Mail-13--158625415 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 27.03.2006, at 23:15, Philippe Laval wrote: > With the two project templates, I got the same two problems : > > 1 - For example, using the template "Web Application (Wrapper)" and > creating a project nammed "TestSope", > I have to create by hand a file named "TestSope_Prefix.pch" wich is > required by the project but NOT present on disk. > > I just used this content : > > $ more TestSope_Prefix.pch > #ifdef __OBJC__ > #import > #endif I fixed this in svn (r1232). I changed this to "common.h" in order to stay in sync with SOPE internal conventions. > 2 - Again, I can not run the program from XCode 2.2 but when double > clicking on the file "TestSope.sopex", > I can read (in the Console) : I had to change the extension to "app" instead of "sopex". This seems to be a brand new problem with Xcode 2.2. Sigh. Cheers, Marcus -- Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-13--158625415 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 27.03.2006, at = 23:15, Philippe Laval wrote:

With the two project templates, I got the same two = problems :

1 - For example, using the template "Web Application = (Wrapper)" and creating a project nammed "TestSope",
I have to create by hand a file named = "TestSope_Prefix.pch" wich is required by the project but NOT present on = disk.

I just used this content :

$ more = TestSope_Prefix.pch
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#endif

I fixed this in svn (r1232). I = changed this to "common.h" in order to stay in sync with SOPE internal = conventions.

2 - Again, I can not run the program from XCode 2.2 = but when double clicking on the file "TestSope.sopex",
I can read (in the Console) = :

I = had to change the extension to "app" instead of "sopex". This seems to = be a brand new problem with Xcode 2.2. Sigh.

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-13--158625415-- From macosx@opengroupware.org Tue Mar 28 01:19:38 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Tue, 28 Mar 2006 02:19:38 +0200 Subject: [OGo-MacOSX] Problem running WOExtTest from XCode 2.2 In-Reply-To: <4F9D6AFB-3E1C-4C26-9172-467A2CE1801F@free.fr> References: <4F9D6AFB-3E1C-4C26-9172-467A2CE1801F@free.fr> Message-ID: <3A60D0B4-0E17-49E5-A943-487A2CE9FE8A@mulle-kybernetik.com> --Apple-Mail-14--158262377 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 27.03.2006, at 22:22, Philippe Laval wrote: > Seems that the indication in the README is not working for me. Any > help ? It's an Xcode 2.2 issue - fixed in r1233. Cheers, Marcus -- Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-14--158262377 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 27.03.2006, at = 22:22, Philippe Laval wrote:

Seems that the indication in the README is not = working for me. Any help ?

It's an Xcode 2.2 issue - = fixed in r1233.

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-14--158262377-- From macosx@opengroupware.org Tue Mar 28 10:04:38 2006 From: macosx@opengroupware.org (Marco Scheurer) Date: Tue, 28 Mar 2006 11:04:38 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates In-Reply-To: References: <1D19E1EC-C380-4524-BE00-6C79809BA97A@free.fr> Message-ID: On Mar 28, 2006, at 02:13, Marcus M=FCller wrote: >> 2 - Again, I can not run the program from XCode 2.2 but when =20 >> double clicking on the file "TestSope.sopex", >> I can read (in the Console) : > > I had to change the extension to "app" instead of "sopex". This =20 > seems to be a brand new problem with Xcode 2.2. Sigh. An alternative is to manually add another executable and to choose =20 the actual executable file rather than the bundle ( X.sopex/Contents/=20 MacOS/X ). marco Marco Scheurer Sen:te, Lausanne, Switzerland http://www.sente.ch From macosx@opengroupware.org Tue Mar 28 13:13:02 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Tue, 28 Mar 2006 14:13:02 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates In-Reply-To: References: <1D19E1EC-C380-4524-BE00-6C79809BA97A@free.fr> Message-ID: --Apple-Mail-22--115458372 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed On 28.03.2006, at 11:04, Marco Scheurer wrote: > > On Mar 28, 2006, at 02:13, Marcus M=FCller wrote: > >>> 2 - Again, I can not run the program from XCode 2.2 but when =20 >>> double clicking on the file "TestSope.sopex", >>> I can read (in the Console) : >> >> I had to change the extension to "app" instead of "sopex". This =20 >> seems to be a brand new problem with Xcode 2.2. Sigh. > > An alternative is to manually add another executable and to choose =20 > the actual executable file rather than the bundle ( X.sopex/=20 > Contents/MacOS/X ). Yes, right, that should work as well. On the other hand I chose the extension "sopex" for our own egos' =20 sake in the first place ... nothing we really need to stick with ... =20 and given that this - now - leads to problems, nothing really =20 necessary trying to stick with. Cheers, Marcus --=20 Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-22--115458372 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 28.03.2006, at = 11:04, Marco Scheurer wrote:


On Mar = 28, 2006, at 02:13, Marcus M=FCller wrote:

2 - Again, I can not run the = program from XCode 2.2 but when double clicking on the file = "TestSope.sopex",
I can read (in the Console) = :

I had to change the extension to "app" instead of = "sopex". This seems to be a brand new problem with Xcode 2.2. = Sigh.
An alternative is to manually = add another executable and to choose the actual executable file rather = than the bundle ( X.sopex/Contents/MacOS/X = ).

Yes, right, that should work as = well.

On the other = hand I chose the extension "sopex" for our own egos' sake in the first = place ... nothing we really need to stick with ... and given that this=A0 = - now - leads to problems, nothing really necessary trying to stick = with.

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-22--115458372-- From macosx@opengroupware.org Tue Mar 28 19:22:25 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Tue, 28 Mar 2006 20:22:25 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates Message-ID: Marcus, First, thank you for your modifications of the templates. I have =20 upgraded mine to test them here. The template "Web Application (WOx)" is now working fine now. explicitFileType =3D wrapper.application; path =3D "=AC=B4PROJECTNAME=AC=AA.app"; But you still have to modify the one nammed "Web Application (Wrapper)" It generate an application with .sopex extension. As you known now, =20 it does not work with XCode 2.2. I have checked the template and it contains. explicitFileType =3D wrapper.application; path =3D "=AC=B4PROJECTNAME=AC=AA.sopex"; When changed to .app, the project is working perfectly. Philippe= From macosx@opengroupware.org Tue Mar 28 22:30:57 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Tue, 28 Mar 2006 23:30:57 +0200 Subject: [OGo-MacOSX] Problem with SOPE-4.5/sopex/Templates In-Reply-To: References: Message-ID: <06B99E51-D960-4820-95C7-52EA530F6CE3@mulle-kybernetik.com> --Apple-Mail-26--81983525 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 28.03.2006, at 20:22, Philippe Laval wrote: > When changed to .app, the project is working perfectly. Oh, yeah ... forgot that ... thanks for having a look. :-) Fixed that in r1234 ... that's a good one! :-D Cheers, Marcus -- Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-26--81983525 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 28.03.2006, at = 20:22, Philippe Laval wrote:

When changed to .app, the project is working = perfectly.

Oh, yeah ... forgot that ... = thanks for having a look. :-) Fixed that in r1234 ... that's a good one! = :-D

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-26--81983525-- From macosx@opengroupware.org Thu Mar 30 21:34:20 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Thu, 30 Mar 2006 22:34:20 +0200 Subject: [OGo-MacOSX] How can I have the application running in the background without using the windows server Message-ID: I have a second part of a tutorial showing how to setup SOPE on Mac OS X : http://philippe.laval.free.fr/Programmation/SOPE/ Configuring_Apache_for_SOPE.html http://philippe.laval.free.fr/Programmation/SOPE/index.html I have a question : I am currently using a command like: $ ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest -WOPort 20000 I have read in the archive of the mailing list that I could also use : $ ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest -WOPort 20000 --daemon But this does NOT work. The application icon shows up (with the Appkit window) and dos not run as a daemon process. How can I have the application running in the background without using the windows server (and beeing able to close the session without killing the process) ? Thanks for your responses Philippe From macosx@opengroupware.org Thu Mar 30 21:42:00 2006 From: macosx@opengroupware.org (Helge Hess) Date: Thu, 30 Mar 2006 22:42:00 +0200 Subject: [OGo-MacOSX] How can I have the application running in the background without using the windows server In-Reply-To: References: Message-ID: <356341A5-0224-405E-8B8E-C3ACBD3C8EE1@opengroupware.org> On 30. Mrz 2006, at 22:34 Uhr, Philippe Laval wrote: > I have read in the archive of the mailing list that I could also use : > $ ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest - > WOPort 20000 --daemon Where did you read that? Providing a pointer would be great to get the context. > How can I have the application running in the background without > using the windows server (and beeing able to close the session > without killing the process) ? Don't know how this works with SOPE:X projects, they probably always link AppKit? Marcus will need to answer that. I don't remember how SOPE:X works currently, I think it now uses a thread while it previously forked a daemon (which in turn did not link AppKit). Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Thu Mar 30 22:23:06 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Thu, 30 Mar 2006 23:23:06 +0200 Subject: [OGo-MacOSX] Re: How can I have the application running in the background without using the windows server In-Reply-To: References: Message-ID: Hi, I have read that in the mailing list archive. Here is the text for quick access. I probably have to create a tool application (without link to AppKit). I will do that after reading the examples and the code. That was just a quick question. ================ On 21.08.2004, at 00:49, Mont Rothstein wrote: > Thank you, that was very helpful. =A0I was able to both run the sample > and also use the template to build my own test app. > > Do you have any pointers on how I can move to the next level of=20 > running a Sope app as a Web Application? =A0i.e. via apache without=20 > Cocoa? Actually, this is not very hard to achieve. You need to compile=20 mod_NGObjWeb and install appropriately. I never did this on Mac OS X=20 but I heard that it really works out of the box (it uses apxs, so it's=20= supposed to work out of the box, no surprise here). The README in=20 mod_ngobjweb (located in the SOPE folder) explains the steps how to=20 load the modules with the different Apaches and also contains a simple=20= Apache config. You then need to start your SOPE:X app from the shell with something like /Applications/MyWebApp.sopex/Contents/MacOS/MyWebApp -WOPort 20000 --daemon Note the last argument! (Just for the records: this is really specific to SOPE:X and not required by plain SOPE). The WOPort number can be any free port, presumably above 1024. Note that the port in the Apache config needs to be the same, otherwise the adaptor won't be able to contact the application (of course). Cheers, Marcus From macosx@opengroupware.org Fri Mar 31 15:58:15 2006 From: macosx@opengroupware.org (=?ISO-8859-1?Q?Marcus_M=FCller?=) Date: Fri, 31 Mar 2006 16:58:15 +0200 Subject: [OGo-MacOSX] How can I have the application running in the background without using the windows server In-Reply-To: <356341A5-0224-405E-8B8E-C3ACBD3C8EE1@opengroupware.org> References: <356341A5-0224-405E-8B8E-C3ACBD3C8EE1@opengroupware.org> Message-ID: <8B7F8AB0-068B-433B-AC9C-3158DF69D6E5@mulle-kybernetik.com> --Apple-Mail-2-153654235 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 30.03.2006, at 22:42, Helge Hess wrote: > On 30. Mrz 2006, at 22:34 Uhr, Philippe Laval wrote: >> I have read in the archive of the mailing list that I could also >> use : >> $ ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest - >> WOPort 20000 --daemon This used to work for old SOPE:X applications. SOPE:X used to be implemented using 2 processes per application (one AppKit process for the WebKit frontend, a second process for the SOPE backend) ... this isn't true for the current version which is fully threaded now. There were multiple reasons for this decision, but it's not within the scope of this email. The bottom line here is that the --daemon argument won't work with current SOPE:X. >> How can I have the application running in the background without >> using the windows server (and beeing able to close the session >> without killing the process) ? > > Don't know how this works with SOPE:X projects, they probably > always link AppKit? Marcus will need to answer that. > I don't remember how SOPE:X works currently, I think it now uses a > thread while it previously forked a daemon (which in turn did not > link AppKit). Read above. If you don't want the AppKit frontend, then you don't want SOPE:X ... you just want SOPE for that. (NOTE: SOPE:X is specifically constructed for merging AppKit with SOPE - no wonder it does some very specific stuff here.) I don't have Xcode templates for "plain" SOPE projects, however. Thinking about it I'm not entirely sure whether you can use the GNUmakefiles as a safe template approach on Mac OS X for constructing SOPE projects ... it's very well possible that some assumptions have been hardcoded into WOResourceManager (and similar classes) how the resource lookup is done on Mac OS X, which get triggered during _build_ time. It might be wise to revisit these parts and - if there are any hardcoded assumptions - replace them with a default driven process. SOPE:X would then need to set specific defaults during _runtime_ in order to alter the behavior in a way it requires it ... Cheers, Marcus -- Marcus Mueller . . . crack-admin/coder ;-) Mulle kybernetiK . http://www.mulle-kybernetik.com Current projects: http://www.mulle-kybernetik.com/znek/ --Apple-Mail-2-153654235 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On 30.03.2006, at = 22:42, Helge Hess wrote:

On 30. Mrz 2006, at 22:34 Uhr, Philippe Laval = wrote:
I have read = in the archive of the mailing list that I could also use :
$ = ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest -WOPort 20000 = --daemon

This used to work for old SOPE:X = applications. SOPE:X used to be implemented using 2 processes per = application (one AppKit process for the WebKit frontend, a second = process for the SOPE backend) ... this isn't true for the current = version which is fully threaded now. There were multiple reasons for = this decision, but it's not within the scope of this email. The bottom = line here is that the --daemon argument won't work with current = SOPE:X.

How can I have the application = running in the background without using the windows server (and beeing = able to close the session without killing the process) = ?
Don't know how this works with = SOPE:X projects, they probably always link AppKit? Marcus will need to = answer that.
I don't remember how SOPE:X = works currently, I think it now uses a thread while it previously forked = a daemon (which in turn did not link AppKit).

Read above.

If you don't want the = AppKit frontend, then you don't want SOPE:X ... you just want SOPE for = that. (NOTE: SOPE:X is specifically constructed for merging AppKit with = SOPE - no wonder it does some very specific stuff here.)

=A0I don't have Xcode = templates for "plain" SOPE projects, however. Thinking about it I'm not = entirely sure whether you can use the GNUmakefiles as a safe template = approach on Mac OS X for constructing SOPE projects ... it's very well = possible that some assumptions have been hardcoded into = WOResourceManager (and similar classes) how the resource lookup is done = on Mac OS X, which get triggered during _build_ time. It might be wise = to revisit these parts and - if there are any hardcoded assumptions - = replace them with a default driven process. SOPE:X would then need to = set specific defaults during _runtime_ in order to alter the behavior in = a way it requires it ...

Cheers,


=A0=A0Marcus


--=A0

Marcus Mueller=A0=A0.=A0=A0.=A0=A0.=A0=A0crack-admin/coder = ;-)

Mulle = kybernetiK=A0=A0.=A0=A0http://www.mulle-kybernetik.com

Current = projects:=A0http://www.mulle-kybernetik= .com/znek/


=

= --Apple-Mail-2-153654235-- From macosx@opengroupware.org Fri Mar 31 20:14:05 2006 From: macosx@opengroupware.org (Philippe Laval) Date: Fri, 31 Mar 2006 21:14:05 +0200 Subject: [OGo-MacOSX] How can I have the application running in the background without using the windows server Message-ID: <25592043-C85B-4DD0-8F78-C3A2458DAFD5@free.fr> --Apple-Mail-1-169004692 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Marcus, It's OK for me that the --daemon argument won't work with current SOPE:X. I was just wondering what I could have done someting wrong in my settings. I will investigate the use of XCode for all kind of projects. Yesterday, I have read a lot of code about SOPE XML-RPC implementation and also about how oGo uses of this part of the framework. I am planning to read more code and make some experiments. I will see if I am smart enought to get something working... Thank you. Philippe --Apple-Mail-1-169004692 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Marcus,

It's OK for me=A0that the = --daemon=A0argument won't work with current = SOPE:X.=A0
I was just wondering what I could have done = someting wrong in my settings.

I will investigate = the use of XCode for all kind of projects.

Yesterday, I have = read a lot of code about SOPE XML-RPC implementation and also about how = oGo uses of this part of the framework.
I am planning to = read more code and make some experiments. I will see if I am smart = enought to get something working...

Thank = you.
Philippe
= --Apple-Mail-1-169004692--