[OGo-MacOSX] A useful fix for SOPE 4.5 and OGo beta rock? + final setup questions
Mont Rothstein
macosx@opengroupware.org
Sun, 20 Nov 2005 09:38:41 -0800
I don't want to discourage *anyone* from using AJRDatabase but I feel
I should make it clear that neither AJRDatabase nor GDL2 are required
for OGo. OGo is based on (and includes) GL1 and that is all it needs.
AJRDatabase can be useful if you are doing development because it is a
more complete implementation of EOF than GDL1.
-Mont
On 11/20/05, Tabitha McNerney <tabithamc@gmail.com> wrote:
> I would like to truly thank everyone in this community of users and
> developers of OpenGroupware on Mac OS X for their guidance! I am happy to
> report that a few moments ago I have successfully built OGo 1.0beta.2-roc=
k
> against SOPE 4.5 (from trunk) and PostgreSQL 8.1 on Mac OS X Tiger. For n=
ow
> this is very simple and not using AJR nor GDL 2, and I have yet to run OG=
o
> so that's the next step.
>
> In the process of "sudo make -s install" for OGo, I discovered a workarou=
nd
> for a small problem that might be helpful to the community. This was the
> error I received:
>
>
> > Making all in Main...
> > Making all for tool ogo-webui-1.0...
> > Compiling file main.m ...
> > Compiling file OpenGroupware.m ...
> > Compiling file OpenGroupware+CTI.m ...
> > Compiling file DirectAction.m ...
> > Compiling file WODirectAction+LoginAction.m ...
> > Compiling file SoOGoAuthenticator.m ...
> > Compiling file OGoWebBundleLoader.m ...
> > Linking tool ogo-webui-1.0 ...
> > /usr/bin/ld: warning -L: directory name (/usr/local/apr/lib) does not
> exist
> > Making all in Common...
> > Making all in BaseUI...
> > GNUmakefile:66:
> /usr/local/OGoRoot/Library/Makefiles/wobundle.make: No such
> file or directory
> > make[3]: *** No rule to make target
> `/usr/local/OGoRoot/Library/Makefiles/wobundle.make'.
> Stop.
> > make[2]: *** [internal-all] Error 2
> > make[1]: *** [internal-all] Error 2
> > make: *** [internal-all] Error 2
> >
>
> I looked at my SOPE 4.5 build logs and surely wobundle.make was created,
> like this:
>
>
> >
> > /usr/bin/install -c -m 644 wobundle-gs.make \
> >
> //Users/tab/Desktop/sope/SOPE-4.5/.gsmake/Library/Makefiles/wobundle.make
> >
>
> But it wasn't being copied appropriately. So I manually copied it to my
> OGoROOT as in:
>
>
> > $ cd SOPE-4.5/.gsmake/Library/Makefiles
> > $ sudo cp wobundle.make
> /usr/local/OGoRoot/Library/Makefiles/
> >
>
> Then in my other terminal shell where I was making OGo 1.0 beta 2 rock, I
> resumed with:
>
>
> > $ sudo make -s install
> >
>
> and there was no problem after this except in my case (maybe not applica=
ble
> to others here) I had to create the Templates directory as in:
>
>
> >
> > $ mkdir ~/GNUstep/Library/OpenGroupware.org-1.0
> > $ mkdir ~/GNUstep/Library/OpenGroupware.org-1.0/Templates
> >
> I have a GNUstep directory in my home because its also used by DarwinPor=
ts
> for when I installed Windowmaker for X11.
>
> Another thing I noticed is that the executable I ended up with was named
> "ogo-webui-1.0" no longer "ogo-webui-1.0a" so is this correct?
>
> Moments ago I also tried to make mod_ngobjweb in sope-appserver. It looks=
as
> if I have what I need:
>
>
> > -rw-r--r-- 1 tab tab 68968 Nov 20 14:35 mod_ngobjweb.so
> >
>
> though I noticed the complaint against Apple's gcc 4.0 (not sure if this =
is
> worth addressing further?):
>
>
> > In file included from /usr/include/httpd/httpd.h:29,
> > from common.h:37,
> > from ngobjweb_module.c:22:
> > /usr/include/httpd/ap_config.h:1025:1: warning: this is
> the location of the previous definition
> > gcc -bundle -undefined suppress -flat_namespace -Wl,-bind_at_load -shar=
ed
> -fPIC -o mod_ngobjweb.so globals.o handler.o NGBufferedDescriptor.o
> scanhttp.o sns.o config.o ngobjweb_module.o
> > powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-shared'
> >
>
> On a final note with a few questions, I was wondering if anyone could he=
lp
> clarify Helge's instructions where Helge suggests for setting up the
> environment:
>
>
>
> > You need to set up the Resources/WebServerResources links from
> $GNUSTEP_USER_ROOT to the sources, set up the default, maybe compile
> mod_ngobjweb (contained in SOPE/sope-appserver) and configure Apache. Loa=
d
> the database schema into PostgreSQL. Well, what else? Feel free to commen=
t
> the document or send feedback to helge.hess@opengroupware.org ;-)
> >
>
> In the environment I have set up, when GNUstep is sourced,
> $GNUSTEP_USER_ROOT ends up being ~/GNUstep/ and I am unable to find a
> Resources/ WebServerResources directory. Is this something I need to crea=
te
> manually or is it located elsewhere? I can not find it in my $OGoROOT
> either. What are the target sources that need to be linked to and where
> would they be found? And then my final question, what does Helge mean by
> "set up the default"? Sorry if these are naive questions but this is all
> very new to me. And thank you for any suggestions / pointers. I'm excited=
to
> use OGo very soon now and also looking forward to trying AJR Database!
>
> Best regards,
>
> Tabitha
>