From macosx@opengroupware.org Thu Dec 1 16:23:22 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Thu, 1 Dec 2005 06:23:22 -1000 Subject: [OGo-MacOSX] OGo beta can't find Postgres Adaptor Bundle (this one's perplexing) Message-ID: <7fccb3000512010823k7d6d0e56k227f4a4ceb099d34@mail.gmail.com> ------=_Part_36969_8455388.1133454202598 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all, After successfully configuring, making and installing OGo 1.0 beta 2 rock several days ago with SOPE 4.5 alpha and PostgreSQL 8.1 (where Postgres was installed from raw sources in /usr/local following the recommendations of Marc Liyanage but not using his pre-built pacakge for Postgres 8.0), I wanted to take the next step and move my entire installation off of my Mac OS X Server's boot disk. In other words, instead of installing into /usr/local, I just wanted to put everything on an external volume (a Firewire disk) that is mounted when my server boots. I followed my notes very precisely and all of the helpful recommendations from Helge and others and for some reason when I go to run OGo today, I end up with the error that the adaptor bundle PostgreSQL can not be found: macintosh:~ ogo$ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPor= t > 20000 -WOHttpAllowHost '("127.0.0.1", localhost)' > 2005-12-01 15:41:01.560 ogo-webui-1.0[9009] EOAdaptor: cannot find adapto= r > bundle: 'PostgreSQL' > 2005-12-01 15:41:01.560 ogo-webui-1.0[9009] ERROR(-[OGoContextManager > setupAdaptor]): could not instantiate adaptor for model OGoModel ! > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| Could not setup > OGoContextManager (DB probably not yet configured)! > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| CTI Dialers: > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| OpenGroupware.orgin= stance initialized. > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| WOHttpAdaptor > listening on address *:20000 > For sure, I would think this has to do with the bundle paths in defaults, but I'm not so sure this time because here's what I've got for my defaults (thanks to Helge's previous clarification): macintosh:~ ogo$ defaults read NSGlobalDomain > { > LSAttachmentPath =3D "/Volumes/vol1/MachineAgents/ogo/OGoDocs"; > LSConnectionDictionary =3D { > databaseName =3D ogodb; > hostName =3D localhost; > password =3D 12233445; > port =3D 5433; > userName =3D ogouser; > }; > LSNewsImagesPath =3D "/Volumes/vol1/MachineAgents/ogo/OGoNews"; > NGBundlePath =3D > "/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > /Commands/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > /DataSources/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- > 1.0/WebUI/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/= "; > > WOHttpAllowHost =3D ("127.0.0.1", localhost, macintosh); > "skyrix_id" =3D "OGo@macintosh"; > } > The bundle paths are complete (not using dollar signs "$") and I double checked that everything was installed as expected in the paths as follows: macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 ogo= $ > ls -altr > total 0 > drwxr-xr-x 4 ogo staff 136 Dec 1 13:38 OGo.model > drwxr-xr-x 15 ogo staff 510 Dec 1 14:02 Commands > drwxr-xr-x 11 ogo staff 374 Dec 1 14:02 DataSources > drwxr-xr-x 32 ogo staff 1088 Dec 1 14:02 WebUI > and macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/OG= o.model/Contents/Resources > ogo$ ls -altr > total 584 > -rw-r--r-- 1 ogo staff 1788 Dec 1 14:02 pg-update-schema.psql > -rw-r--r-- 1 ogo staff 6531 Dec 1 14:02 > pg-build-schema.psql.constraints > -rw-r--r-- 1 ogo staff 42679 Dec 1 14:02 pg-build-schema.psql > -rw-r--r-- 1 ogo staff 71 Dec 1 14:02 Version > -rw-r--r-- 1 ogo staff 235703 Dec 1 14:02 > OpenGroupware.org_PostgreSQL.eomodel > > and macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/Da= taSources > ogo$ ls -altr > total 0 > drwxr-xr-x 3 ogo staff 102 Dec 1 13:39 OGoRawDatabase.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoProject.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoContacts.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoBase.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoAccounts.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoScheduler.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoJobs.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoFileSystemProject.ds > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoDatabaseProject.ds > > So, what about the PostgreSQL database connection? Well, looking at the LSConnectionDictionary, I have: LSConnectionDictionary =3D { > databaseName =3D ogodb; > hostName =3D localhost; > password =3D 12233445; > port =3D 5433; > userName =3D ogouser; > }; > > While the database name and user name are not standard as in "OGo" and "OGo", this doesn't matter because several days ago I had the same settings for my system when it was running just fine. But to double check, I connected to the postmaster daemon on port 5433 as the Mac OS X user "ogo" and the user name "ogouser" and database named "ogodb" just fine, like this= : macintosh:~ ogo$ psql -h localhost -p 5433 ogodb ogouser > Welcome to psql 8.1.0, the PostgreSQL interactive terminal. > > Type: \copyright for distribution terms > \h for help with SQL commands > \? for help with psql commands > \g or terminate with semicolon to execute query > \q to quit > > and this shows that I had correctly loaded the schema during my configuration earlier today: ogodb=3D> \d > List of relations > Schema | Name | Type | Owner > --------+----------------------------+----------+--------- > public | address | table | ogouser > public | appointment_resource | table | ogouser > public | article | table | ogouser > public | article_category | table | ogouser > public | article_unit | table | ogouser > public | company | table | ogouser > public | company_assignment | table | ogouser > etc., etc. > Could it be that I missed some important step from my earlier notes? Something really subtle? Is it possible that there might be some hard codin= g in OGo to expect PostgreSQL to be installed in /usr/local ? Has anyone trie= d with Postgres installed on a mounted volume rather than /usr/local ? I'm quite sure that all my read/write privileges have been chmod'ed ok (if not then I wouldn't be able to get to the data base via $ psql -h localhost -p 5433 ogodb ogouser Is it possible there might be a bug in today's builds? I pulled down both SOPE 4.5 alpha an OGo 1.0 beta 2 rock out of subversion like this earlier today (forgive me, I forgot to write down the build numbers): $ svn co http://svn.opengroupware.org/SOPE/trunk/ SOPE-4.5 $ svn co http://svn.opengroupware.org/OpenGroupware.org/releases/1.0beta.2-rock/ OGo-1.0b2 Any suggestions are appreciated, and I'd be happy to help debug this situation if that's what might be required. Best regards, Tabitha P.S. (Separately, I was able to build the module for Apache 2 by circumventing apxs and I'll post the instructions on the mailing list later today.) ------=_Part_36969_8455388.1133454202598 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all,

After successfully configuring, making and installing OGo 1.0 beta 2 rock several days ago with SOPE 4.5 alpha and PostgreSQL 8.1 (where Postgres was installed from raw sources in /usr/local following the recommendations of Marc Liyanage but not= using his pre-built pacakge for Postgres 8.0), I wanted to take the next step and move my entire installation off of my Mac OS X Server's boot disk. In other words, instead of installing into /usr/local, I just wanted to put everything on an external volume (a Firewire disk) that is mounted when my server boots.

I followed my notes very precisely and all of the helpful recommendations from Helge and others and for some reason when I go to run OGo today, I end up with the error that the adaptor bundle PostgreSQL can not be found:

= macintosh:~ ogo$ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPor= t 20000 -WOHttpAllowHost '(" 127.0.0.1", localhost)'
2005-12-01 15:41:01.560 ogo-webui-1.0[9009] EOAdaptor: cannot find adaptor = bundle: 'PostgreSQL'
2005-12-01 15:41:01.560 ogo-webui-1.0[9009] ERROR(-[OGoContextManager setupAdaptor]): could not instantiate adaptor for model OGoModel !
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| Could not setup OGoCo= ntextManager (DB probably not yet configured)!
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| CTI Dialers:
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| OpenGroupware.org ins= tance initialized.
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| WOHttpAdaptor listeni= ng on address *:20000


For sure, I would think this has to do with the bundle paths in defaults, but I'm not so sure this time because here's what I've got for my defaults (thanks to Helge's previous clarification):

= macintosh:~ ogo$ defaults read NSGlobalDomain     =        
{
    LSAttachmentPath =3D "/Volumes/v= ol1/MachineAgents/ogo/OGoDocs";
    LSConnectionDictionary =3D {         databaseName = =3D ogodb;
        hostName =3D = localhost;
        password =3D = 12233445;
        port =3D 5433= ;
        userName =3D = ogouser;
    };
    LSNewsImagesPath =3D "/Volumes/v= ol1/MachineAgents/ogo/OGoNews";
    NGBundlePath =3D "/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/Command= s/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/DataSource= s/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/WebUI/:/Vo= lumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- 1.0/";
    WOHttpAllowHost =3D ("127.0.0.1", localhost, macintosh);
    "skyrix_id" =3D "OGo@m= acintosh";
}

The bundle paths are complete (not using dollar signs "$") and I = double checked that everything was installed as expected in the paths as follows:

macintosh:/Volume= s/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 ogo$ ls -altr
total 0
drwxr-xr-x    4 ogo  staff   136 Dec  1 = 13:38 OGo.model
drwxr-xr-x   15 ogo  staff   510 Dec  1 14:02= Commands
drwxr-xr-x   11 ogo  staff   374 Dec  1 14:02= DataSources
drwxr-xr-x   32 ogo  staff  1088 Dec  1 14:02 WebU= I

and


macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupwa= re.org-1.0/OGo.model/Contents/Resources ogo$ ls -altr
total 584
-rw-r--r--   1 ogo  staff    1788 Dec  1= 14:02 pg-update-schema.psql
-rw-r--r--   1 ogo  staff    6531 Dec  1= 14:02 pg-build-schema.psql.constraints
-rw-r--r--   1 ogo  staff   42679 Dec  1 14:0= 2 pg-build-schema.psql
-rw-r--r--   1 ogo  staff      71 D= ec  1 14:02 Version
-rw-r--r--   1 ogo  staff  235703 Dec  1 14:02 Ope= nGroupware.org_PostgreSQL.eomodel

and

macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupwa= re.org-1.0/DataSources ogo$ ls -altr
total 0
drwxr-xr-x    3 ogo  staff  102 Dec  1 13:39 = OGoRawDatabase.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoProject.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoContacts.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoBase.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoAccounts.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoScheduler.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoJobs.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoFileSystemProject.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoDatabaseProject.ds

So, what about the PostgreSQL database connection? Well, looking at the LSC= onnectionDictionary, I have:

    LSConnectionDictionary =3D {
        databaseName =3D ogodb;
        hostName =3D localhost;
        password =3D 12233445;
        port =3D 5433;
        userName =3D ogouser;
    };

While the database name and user name are not standard as in "OGo"= ; and "OGo", this doesn't matter because several days ago I had the sam= e settings for my system when it was running just fine. But to double check, I connected to the postmaster daemon on port 5433 as the Mac OS X user "ogo" and the user name "ogouser" and database n= amed "ogodb" just fine, like this:

macintosh:~ ogo$ psql -h localhost -p 5433 ogodb ogouser
Welcome to psql 8.1.0, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to exec= ute query
       \q to quit
and this shows that I had correctly loaded the schema during my configurati= on earlier today:


ogodb=3D> \d             &nb= sp;       List of relations
 Schema |            Name            |   Type   |  Owner 
--------+----------------------------+----------+---------
 public | address           &n= bsp;        | table    | ogouser
 public | appointment_resource       | t= able    | ogouser
 public | article           &n= bsp;        | table    | ogouser
 public | article_category       &n= bsp;   | table    | ogouser
 public | article_unit          &nb= sp;    | table    | ogouser
 public | company           &n= bsp;        | table    | ogouser
 public | company_assignment       =   | table    | ogouser
            &nb= sp; etc., etc.

Could it be that I missed some important step from my earlier notes? Something really subtle? Is it possible that there might be some hard coding in OGo to expect PostgreSQL to be installed in /usr/local ? Has anyone tried with Postgres installed on a mounted volume rather than /usr/local ? I'm quite sure that all my read/write privileges have been chmod'ed ok (if not then I wouldn't be able to get to the data base via $ psql -h localhost -p 5433 ogodb ogouser

Is it possible there might be a bug in today's builds? I pulled down both SOPE 4.5 alpha an OGo 1.0 beta 2 rock out of subversion like this earlier today (forgive me, I forgot to write down the build numbers):

$ svn co http://svn.op= engroupware.org/SOPE/trunk/ SOPE-4.5
$ svn co http://svn.opengroupware.org/OpenGroupware.org/releases/1= .0beta.2-rock/ OGo-1.0b2

Any suggestions are appreciated, and I'd be happy to help debug this situat= ion if that's what might be required.

Best regards,

Tabitha

P.S. (Separately, I was able to build the module for Apache 2 by circumventing apxs and I'll post the instructions on the mailing list later today.)


------=_Part_36969_8455388.1133454202598-- From macosx@opengroupware.org Thu Dec 1 21:15:54 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Thu, 1 Dec 2005 11:15:54 -1000 Subject: [OGo-MacOSX] Re: OGo beta can't find Postgres Adaptor Bundle (this one's perplexing) In-Reply-To: <7fccb3000512010823k7d6d0e56k227f4a4ceb099d34@mail.gmail.com> References: <7fccb3000512010823k7d6d0e56k227f4a4ceb099d34@mail.gmail.com> Message-ID: <7fccb3000512011315o40e173cdlaa2672e3c9db2cf@mail.gmail.com> ------=_Part_41391_32659858.1133471754322 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Furthering my own message here, the build of SOPE 4.5 alpha checked out of subversion is 1190 and the build for OGo 1.0 beta 2 rock is 1478 Moments ago I just finished re-installing everything from scratch (with PostgreSQL and OGoRoot living on my boot drive under /usr/local) and it worked perfectly. So the question is -- am I making a mistaking in my bundle paths (or something else) or is there a possible bug in OGo / SOPE where there is a possible built-in expectation of Postgres living under /usr/local ? Maybe its my buggy eyes? Best regards, Tabitha On 12/1/05, Tabitha McNerney wrote: > > Hello all, > > After successfully configuring, making and installing OGo 1.0 beta 2 rock > several days ago with SOPE 4.5 alpha and PostgreSQL 8.1 (where Postgres > was installed from raw sources in /usr/local following the recommendation= s > of Marc Liyanage but not using his pre-built pacakge for Postgres 8.0), I > wanted to take the next step and move my entire installation off of my Ma= c > OS X Server's boot disk. In other words, instead of installing into > /usr/local, I just wanted to put everything on an external volume (a > Firewire disk) that is mounted when my server boots. > > I followed my notes very precisely and all of the helpful recommendations > from Helge and others and for some reason when I go to run OGo today, I e= nd > up with the error that the adaptor bundle PostgreSQL can not be found: > > macintosh:~ ogo$ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0-WOPo= rt 20000 -WOHttpAllowHost '(" > > 127.0.0.1", localhost)' > > 2005-12-01 15:41:01.560 ogo-webui-1.0[9009] EOAdaptor: cannot find > > adaptor bundle: 'PostgreSQL' > > 2005-12-01 15:41:01.560 ogo-webui-1.0[9009] ERROR(-[OGoContextManager > > setupAdaptor]): could not instantiate adaptor for model OGoModel ! > > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| Could not setup > > OGoContextManager (DB probably not yet configured)! > > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| CTI Dialers: > > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| OpenGroupware.org= instance initialized. > > Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| WOHttpAdaptor > > listening on address *:20000 > > > > For sure, I would think this has to do with the bundle paths in defaults, > but I'm not so sure this time because here's what I've got for my default= s > (thanks to Helge's previous clarification): > > macintosh:~ ogo$ defaults read NSGlobalDomain > > { > > LSAttachmentPath =3D "/Volumes/vol1/MachineAgents/ogo/OGoDocs"; > > LSConnectionDictionary =3D { > > databaseName =3D ogodb; > > hostName =3D localhost; > > password =3D 12233445; > > port =3D 5433; > > userName =3D ogouser; > > }; > > LSNewsImagesPath =3D "/Volumes/vol1/MachineAgents/ogo/OGoNews"; > > NGBundlePath =3D > > "/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > > /Commands/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.= 0 > > /DataSources/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org= - > > 1.0/WebUI/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- > > 1.0/"; > > WOHttpAllowHost =3D ("127.0.0.1", localhost, macintosh); > > "skyrix_id" =3D "OGo@macintosh"; > > } > > > > The bundle paths are complete (not using dollar signs "$") and I double > checked that everything was installed as expected in the paths as follows= : > > macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0og= o$ ls -altr > > total 0 > > drwxr-xr-x 4 ogo staff 136 Dec 1 13:38 OGo.model > > drwxr-xr-x 15 ogo staff 510 Dec 1 14:02 Commands > > drwxr-xr-x 11 ogo staff 374 Dec 1 14:02 DataSources > > drwxr-xr-x 32 ogo staff 1088 Dec 1 14:02 WebUI > > > > and > > > macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/= OGo.model/Contents/Resources > > ogo$ ls -altr > > total 584 > > -rw-r--r-- 1 ogo staff 1788 Dec 1 14:02 pg-update-schema.psql > > -rw-r--r-- 1 ogo staff 6531 Dec 1 14:02 > > pg-build-schema.psql.constraints > > -rw-r--r-- 1 ogo staff 42679 Dec 1 14:02 pg-build-schema.psql > > -rw-r--r-- 1 ogo staff 71 Dec 1 14:02 Version > > -rw-r--r-- 1 ogo staff 235703 Dec 1 14:02 > > OpenGroupware.org_PostgreSQL.eomodel > > > > > and > > macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/= DataSources > > ogo$ ls -altr > > total 0 > > drwxr-xr-x 3 ogo staff 102 Dec 1 13:39 OGoRawDatabase.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoProject.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoContacts.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoBase.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoAccounts.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoScheduler.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoJobs.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoFileSystemProject.ds > > drwxr-xr-x 4 ogo staff 136 Dec 1 14:02 OGoDatabaseProject.ds > > > > > So, what about the PostgreSQL database connection? Well, looking at the > LSConnectionDictionary, I have: > > LSConnectionDictionary =3D { > > databaseName =3D ogodb; > > hostName =3D localhost; > > password =3D 12233445; > > port =3D 5433; > > userName =3D ogouser; > > }; > > > > > While the database name and user name are not standard as in "OGo" and > "OGo", this doesn't matter because several days ago I had the same settin= gs > for my system when it was running just fine. But to double check, I > connected to the postmaster daemon on port 5433 as the Mac OS X user "ogo= " > and the user name "ogouser" and database named "ogodb" just fine, like th= is: > > macintosh:~ ogo$ psql -h localhost -p 5433 ogodb ogouser > > Welcome to psql 8.1.0, the PostgreSQL interactive terminal. > > > > Type: \copyright for distribution terms > > \h for help with SQL commands > > \? for help with psql commands > > \g or terminate with semicolon to execute query > > \q to quit > > > > and this shows that I had correctly loaded the schema during my > configuration earlier today: > > > ogodb=3D> \d > > List of relations > > Schema | Name | Type | Owner > > --------+----------------------------+----------+--------- > > public | address | table | ogouser > > public | appointment_resource | table | ogouser > > public | article | table | ogouser > > public | article_category | table | ogouser > > public | article_unit | table | ogouser > > public | company | table | ogouser > > public | company_assignment | table | ogouser > > etc., etc. > > > > Could it be that I missed some important step from my earlier notes? > Something really subtle? Is it possible that there might be some hard cod= ing > in OGo to expect PostgreSQL to be installed in /usr/local ? Has anyone tr= ied > with Postgres installed on a mounted volume rather than /usr/local ? I'm > quite sure that all my read/write privileges have been chmod'ed ok (if no= t > then I wouldn't be able to get to the data base via $ psql -h localhost -= p > 5433 ogodb ogouser > > Is it possible there might be a bug in today's builds? I pulled down both > SOPE 4.5 alpha an OGo 1.0 beta 2 rock out of subversion like this earlier > today (forgive me, I forgot to write down the build numbers): > > $ svn co http://svn.opengroupware.org/SOPE/trunk/ SOPE-4.5 > $ svn co > http://svn.opengroupware.org/OpenGroupware.org/releases/1.0beta.2-rock/ > OGo-1.0b2 > > Any suggestions are appreciated, and I'd be happy to help debug this > situation if that's what might be required. > > Best regards, > > Tabitha > > P.S. (Separately, I was able to build the module for Apache 2 by > circumventing apxs and I'll post the instructions on the mailing list lat= er > today.) > > > ------=_Part_41391_32659858.1133471754322 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Furthering my own message here, the build of SOPE 4.5 alpha checked out of subversion is 1190 and the build for OGo 1.0 beta 2 rock is 1478

Moments ago I just finished re-installing everything from scratch (with PostgreSQL and OGoRoot living on my boot drive under /usr/local) and it worked perfectly.

So the question is -- am I making a mistaking in my bundle paths (or something else) or is there a possible bug in OGo / SOPE where there is a possible built-in expectation of Postgres living under /usr/local ?

Maybe its my buggy eyes?

Best regards,

Tabitha

On 12/1/05, Tabitha McNerney <tabithamc@gmail.com> wrote:
Hello all,

After successfully configuring, making and installing OGo 1.0 beta 2 rock several days ago with SOPE 4.5 alpha and PostgreSQL 8.1 (where Postgres was installed from raw sources in /usr/local following the recommendations of Marc Liyanage but not= using his pre-built pacakge for Postgres 8.0), I wanted to take the next step and move my entire installation off of my Mac OS X Server's boot disk. In other words, instead of installing into /usr/local, I just wanted to put everything on an external volume (a Firewire disk) that is mounted when my server boots.

I followed my notes very precisely and all of the helpful recommendations from Helge and others and for some reason when I go to run OGo today, I end up with the error that the adaptor bundle PostgreSQL can not be found:

= macintosh:~ ogo$ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPor= t 20000 -WOHttpAllowHost '(" 127.0.0.1", localhost)'
2005-12-01 15:41:01.560 ogo-webui-1.0[9009] EOAdaptor: cannot find adaptor = bundle: 'PostgreSQL'
2005-12-01 15:41:01.560 ogo-webui-1.0[9009] ERROR(-[OGoContextManager setupAdaptor]): could not instantiate adaptor for model OGoModel !
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| Could not setup OGoCo= ntextManager (DB probably not yet configured)!
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| CTI Dialers:
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| OpenGroupware.org ins= tance initialized.
Dec 01 15:41:01 ogo-webui-1.0 [9009]: |ogo-webui-1.0| WOHttpAdaptor listeni= ng on address *:20000


For sure, I would think this has to do with the bundle paths in defaults, but I'm not so sure this time because here's what I've got for my defaults (thanks to Helge's previous clarification):

= macintosh:~ ogo$ defaults read NSGlobalDomain     =        
{
    LSAttachmentPath =3D "/Volumes/v= ol1/MachineAgents/ogo/OGoDocs";
    LSConnectionDictionary =3D {         databaseName = =3D ogodb;
        hostName =3D = localhost;
        password =3D = 12233445;
        port =3D 5433= ;
        userName =3D = ogouser;
    };
    LSNewsImagesPath =3D "/Volumes/v= ol1/MachineAgents/ogo/OGoNews";
    NGBundlePath =3D "/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/Command= s/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/DataSource= s/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/WebUI/:/Vo= lumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- 1.0/";
    WOHttpAllowHost =3D ("127.0.0.1", localhost, macintosh);
    "skyrix_id" =3D "OGo@m= acintosh";
}

The bundle paths are complete (not using dollar signs "$") and I = double checked that everything was installed as expected in the paths as follows:

macintosh:/Volume= s/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 ogo$ ls -altr
total 0
drwxr-xr-x    4 ogo  staff   136 Dec  1 = 13:38 OGo.model
drwxr-xr-x   15 ogo  staff   510 Dec  1 14:02= Commands
drwxr-xr-x   11 ogo  staff   374 Dec  1 14:02= DataSources
drwxr-xr-x   32 ogo  staff  1088 Dec  1 14:02 WebU= I

and


macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupwa= re.org-1.0/OGo.model/Contents/Resources ogo$ ls -altr
total 584
-rw-r--r--   1 ogo  staff    1788 Dec  1= 14:02 pg-update-schema.psql
-rw-r--r--   1 ogo  staff    6531 Dec  1= 14:02 pg-build-schema.psql.constraints
-rw-r--r--   1 ogo  staff   42679 Dec  1 14:0= 2 pg-build-schema.psql
-rw-r--r--   1 ogo  staff      71 D= ec  1 14:02 Version
-rw-r--r--   1 ogo  staff  235703 Dec  1 14:02 Ope= nGroupware.org_PostgreSQL.eomodel

and

macintosh:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupwa= re.org-1.0/DataSources ogo$ ls -altr
total 0
drwxr-xr-x    3 ogo  staff  102 Dec  1 13:39 = OGoRawDatabase.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoProject.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoContacts.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoBase.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoAccounts.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoScheduler.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoJobs.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoFileSystemProject.ds
drwxr-xr-x    4 ogo  staff  136 Dec  1 14:02 = OGoDatabaseProject.ds

So, what about the PostgreSQL database connection? Well, looking at the LSC= onnectionDictionary, I have:

    LSConnectionDictionary =3D {
        databaseName =3D ogodb;
        hostName =3D localhost;
        password =3D 12233445;
        port =3D 5433;
        userName =3D ogouser;
    };

While the database name and user name are not standard as in "OGo"= ; and "OGo", this doesn't matter because several days ago I had the sam= e settings for my system when it was running just fine. But to double check, I connected to the postmaster daemon on port 5433 as the Mac OS X user "ogo" and the user name "ogouser" and database n= amed "ogodb" just fine, like this:

macintosh:~ ogo$ psql -h localhost -p 5433 ogodb ogouser
Welcome to psql 8.1.0, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to exec= ute query
       \q to quit
and this shows that I had correctly loaded the schema during my configurati= on earlier today:


ogodb=3D> \d             &nb= sp;       List of relations
 Schema |            Name            |   Type   |  Owner 
--------+----------------------------+----------+---------
 public | address           &n= bsp;        | table    | ogouser
 public | appointment_resource       | t= able    | ogouser
 public | article           &n= bsp;        | table    | ogouser
 public | article_category       &n= bsp;   | table    | ogouser
 public | article_unit          &nb= sp;    | table    | ogouser
 public | company           &n= bsp;        | table    | ogouser
 public | company_assignment       =   | table    | ogouser
            &nb= sp; etc., etc.

Could it be that I missed some important step from my earlier notes? Something really subtle? Is it possible that there might be some hard coding in OGo to expect PostgreSQL to be installed in /usr/local ? Has anyone tried with Postgres installed on a mounted volume rather than /usr/local ? I'm quite sure that all my read/write privileges have been chmod'ed ok (if not then I wouldn't be able to get to the data base via $ psql -h localhost -p 5433 ogodb ogouser

Is it possible there might be a bug in today's builds? I pulled down both SOPE 4.5 alpha an OGo 1.0 beta 2 rock out of subversion like this earlier today (forgive me, I forgot to write down the build numbers):

$ svn co http://svn.op= engroupware.org/SOPE/trunk/ SOPE-4.5
$ svn co http://svn.opengroupware.org/OpenGroupware.org/releases/1= .0beta.2-rock/ OGo-1.0b2

Any suggestions are appreciated, and I'd be happy to help debug this situat= ion if that's what might be required.

Best regards,

Tabitha

P.S. (Separately, I was able to build the module for Apache 2 by circumventing apxs and I'll post the instructions on the mailing list later today.)



------=_Part_41391_32659858.1133471754322-- From macosx@opengroupware.org Fri Dec 2 13:21:02 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Fri, 2 Dec 2005 03:21:02 -1000 Subject: [OGo-MacOSX] Why does SOPE 4.5 depend on /usr/local/lib ? Message-ID: <7fccb3000512020521y33793782tb60cd077d40c8413@mail.gmail.com> ------=_Part_4978_11229438.1133529662729 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all, In my non-stop attempt to build my entire OpenGroupware system on a Mac OS = X volume that is not sitting on my boot disk, I was re-building my system (an= d had previously removed the subdirectories within /usr/local) and doing a "make all" after configuring SOPE 4.5 like this: $ ./configure --enable-debug --with-gnustep At the end of make all, I got this complaint: Compiling file NGLdapFileManager.m ... > Linking library libNGLdap ... > ld: warning -L: directory name (/usr/local/lib) does not exist > Making all in samples... > Making all for tool ldapls... > Compiling file ldapls.m ... > Linking tool ldapls ... > /usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist > Making all for tool ldap2dsml... > Compiling file ldap2dsml.m ... > Linking tool ldap2dsml ... > /usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist > Making all for tool ldapchkpwd... > Compiling file ldapchkpwd.m ... > Linking tool ldapchkpwd ... > /usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist > mac:~/SOPE-4.5 ogo$ ls /usr/local/ > mac:~/SOPE-4.5 ogo$ ./configure --enable-debug --with-gnustep > Does anyone know why there would be a dependency on something being within /usr/local/lib ? There is nothing in that directory so I'm curious. For now I will ignore the warning, but for the next build of SOPE it might be a goo= d idea to remove this dependency. Best regards, Tabitha ------=_Part_4978_11229438.1133529662729 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all,

In my non-stop attempt to build my entire OpenGroupware system on a Mac OS X volume that is not sitting on my boot disk, I was re-building my system (and had previously removed the subdirectories within /usr/local) and doing a "make all" after configuring SOPE 4.5 lik= e this:

$ ./configure --enable-debug --with-gnustep

At the end of make all, I got thi= s complaint:

 Compiling f= ile NGLdapFileManager.m ...
 Linking library libNGLdap ...
ld: warning -L: directory name (/usr/local/lib) does not exist
Making all in samples...
Making all for tool ldapls...
 Compiling file ldapls.m ...
 Linking tool ldapls ...
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
Making all for tool ldap2dsml...
 Compiling file ldap2dsml.m ...
 Linking tool ldap2dsml ...
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
Making all for tool ldapchkpwd...
 Compiling file ldapchkpwd.m ...
 Linking tool ldapchkpwd ...
/usr/bin/ld: warning -L: directory name (/usr/local/lib) does not exist
mac:~/SOPE-4.5 ogo$ ls /usr/local/  
mac:~/SOPE-4.5 ogo$ ./configure --enable-debug --with-gnustep

Does anyone know why there would be a dependency on something being within /usr/local/lib ? There is nothing in that directory so I'm curious. For now I will ignore the warning, but for the next build of SOPE it might be a good idea to remove this dependency.

Best regards,

Tabitha



------=_Part_4978_11229438.1133529662729-- From macosx@opengroupware.org Fri Dec 2 13:27:23 2005 From: macosx@opengroupware.org (Helge Hess) Date: Fri, 2 Dec 2005 14:27:23 +0100 Subject: [OGo-MacOSX] Why does SOPE 4.5 depend on /usr/local/lib ? In-Reply-To: <7fccb3000512020521y33793782tb60cd077d40c8413@mail.gmail.com> References: <7fccb3000512020521y33793782tb60cd077d40c8413@mail.gmail.com> Message-ID: On 2. Dez 2005, at 14:21 Uhr, Tabitha McNerney wrote: > At the end of make all, I got this complaint: > ld: warning -L: directory name (/usr/local/lib) does not exist You can ignore those. Its exactly what the warning says, /usr/local/ lib does not exist (its in the library search path of the makefiles). > Does anyone know why there would be a dependency on something being > within /usr/local/lib ? There is no such dependency. > There is nothing in that directory so I'm curious. For now I will > ignore the warning, but for the next build of SOPE it might be a > good idea to remove this dependency. IMHO its an unnecessary (/useless) warning of the Darwin ld and should be fixed there. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Fri Dec 2 13:34:39 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Fri, 2 Dec 2005 03:34:39 -1000 Subject: [OGo-MacOSX] Why does SOPE 4.5 depend on /usr/local/lib ? In-Reply-To: References: <7fccb3000512020521y33793782tb60cd077d40c8413@mail.gmail.com> Message-ID: <7fccb3000512020534x4d3d1e4emce0dec53faac897e@mail.gmail.com> ------=_Part_5118_25633657.1133530479424 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanank you Helge for the expedient feedback on this. I will definitely ignore it and maybe Apple will change the Darwin ld in the future from generating useless noise that causes people like me (without a deep enough background) to generate more noise by asking useless questions :-) Best regards, Tabitha On 12/2/05, Helge Hess wrote: > > On 2. Dez 2005, at 14:21 Uhr, Tabitha McNerney wrote: > > At the end of make all, I got this complaint: > > ld: warning -L: directory name (/usr/local/lib) does not exist > > You can ignore those. Its exactly what the warning says, /usr/local/ > lib does not exist (its in the library search path of the makefiles). > > > Does anyone know why there would be a dependency on something being > > within /usr/local/lib ? > > There is no such dependency. > > > There is nothing in that directory so I'm curious. For now I will > > ignore the warning, but for the next build of SOPE it might be a > > good idea to remove this dependency. > > IMHO its an unnecessary (/useless) warning of the Darwin ld and > should be fixed there. > > Greets, > Helge > -- > http://docs.opengroupware.org/Members/helge/ > OpenGroupware.org > > -- > OpenGroupware.org MacOS X > macosx@opengroupware.org > http://mail.opengroupware.org/mailman/listinfo/macosx > ------=_Part_5118_25633657.1133530479424 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanank you Helge for the expedient feedback on this. I will definitely ignore it and maybe Apple will change the Darwin ld in the future from generating useless noise that causes people like me (without a deep enough background) to generate more noise by asking useless questions :-)

Best regards,

Tabitha

On 12/2/05, Helge Hess <helge.hess@opengroupware.org> wrote:
On 2. Dez 2005, at 14:21 Uhr, Tabitha McNerney wrote:
> At the end of= make all, I got this complaint:
>  ld: warning -L: directo= ry name (/usr/local/lib) does not exist

You can ignore those. Its ex= actly what the warning says, /usr/local/
lib does not exist (its in the library search path of the makefiles).
> Does anyone know why there would be a dependency on something be= ing
> within /usr/local/lib ?

There is no such dependency.

> There is nothing in that directory so I'm curious. For now I w= ill
> ignore the warning, but for the next build of SOPE it might be = a
> good idea to remove this dependency.

IMHO its an unnecessa= ry (/useless) warning of the Darwin ld and
should be fixed there.

Greets,
   Helge
--
http://docs.opengrou= pware.org/Members/helge/
OpenGroupware.org

--
OpenGroupwar= e.org MacOS X
macosx@opengroupware.org

http= ://mail.opengroupware.org/mailman/listinfo/macosx

------=_Part_5118_25633657.1133530479424-- From macosx@opengroupware.org Fri Dec 2 16:05:06 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Fri, 2 Dec 2005 06:05:06 -1000 Subject: [OGo-MacOSX] A way to debug with ogo-webui-1.0 (to find out why it can't see the adptor bundle for PostgreSQL)? Message-ID: <7fccb3000512020805n2f4cdf63w4a8aef96d8471613@mail.gmail.com> ------=_Part_6983_20025582.1133539506809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Does anyone know if there is a way to debug problems when starting OGo with ogo-webui-1.0? I have tried several times now to build OGo on a volume other than /usr/local and when I start up OGo with ogo-webui-1.0 I am still getting this error: $ /Volumes/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPort 20000 > -WOHttpAllowHost '("127.0.0.1", localhost)' > 2005-12-02 15:50:51.368 ogo-webui-1.0[7290] EOAdaptor: cannot find adapto= r > bundle: 'PostgreSQL' > 2005-12-02 15:50:51.368 ogo-webui-1.0[7290] ERROR(-[OGoContextManager > setupAdaptor]): could not instantiate adaptor for model OGoModel ! > Its crazy because my bundle paths are correct: server:~ ogo$ defaults read NSGlobalDomain NGBundlePath > /Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > /Commands/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > /DataSources/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- > 1.0/WebUI/:/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0 > > and my LSConnectionDictionary is just fine: server:~ ogo$ defaults read NSGlobalDomain LSConnectionDictionary > { > databaseName =3D ogodb; > hostName =3D localhost; > password =3D 12345678; > port =3D 5433; > userName =3D ogouser; > } > and my postgresql version 8.1 is running fine (postmaster is waiting for connections on port 5433) and the tables have all been created and loaded: server:~ ogo$ psql -h localhost -p 5433 ogodb ogouser < ~/OGo-1.0b2 > /Database/PostgreSQL/pg-build-schema.psql > so I can connect no problem: server:~ ogo$ psql -h localhost -p 5433 ogodb ogouser > How can I get ogo-webui-1.0 to give me more information about why it can't find the adaptor bundle for PostgreSQL? Best regards, Tabitha ------=_Part_6983_20025582.1133539506809 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Does anyone know if there is a way to debug problems when starting OGo with= ogo-webui-1.0?

I have tried several times now to build OGo on a vol= ume other than /usr/local and when I start up OGo with ogo-webui-1.0 I am s= till getting this error:

$ /Volume= s/vol1/usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPort 20000 -WOHttpAllowHost= '(" 127.0.0.1", localhost)'
2005-12-02= 15:50:51.368 ogo-webui-1.0[7290] EOAdaptor: cannot find adaptor bundle: 'P= ostgreSQL'
2005-12-02 15:50:51.368 ogo-webui-1.0[7290] ERROR(-[OGoContex= tManager setupAdaptor]): could not instantiate adaptor for model OGoModel !

Its crazy because my bundle paths are correct:

=
serve= r:~ ogo$ defaults read NSGlobalDomain NGBundlePath
/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/Commands/= :/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/DataSources/= :/Volumes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org-1.0/WebUI/:/Volu= mes/vol1/usr/local/OGoRoot/Library/OpenGroupware.org- 1.0
and my LSConnectionDictionary is just fine= :

server:~= ogo$ defaults read NSGlobalDomain LSConnectionDictionary
{
    databaseName =3D ogodb;
    = hostName =3D localhost;
    password =3D 12345678;
&= nbsp;   port =3D 5433;
    userName =3D ogouse= r;
}

and my postgresql version 8.1 is running fine = (postmaster is waiting for connections on port 5433) and the tables have al= l been created and loaded:

server:~ = ogo$ psql -h localhost -p 5433 ogodb ogouser < ~/OGo-1.0b2/Database/Post= greSQL/pg- build-schema.psql

so I can connect no problem:

<= blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt = 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">server:~ ogo$ psql= -h localhost -p 5433 ogodb ogouser

How can I get ogo-webui-1.0  to give me more info= rmation about why it can't find the adaptor bundle for PostgreSQL?

B= est regards,

Tabitha






------=_Part_6983_20025582.1133539506809-- From macosx@opengroupware.org Mon Dec 5 11:20:07 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Mon, 5 Dec 2005 01:20:07 -1000 Subject: [OGo-MacOSX] Starting ogo-webui at boot time on OS X Message-ID: <7fccb3000512050320k4a251bf2wa53c6fe42616f593@mail.gmail.com> ------=_Part_32179_4377761.1133781607814 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all, I just wrote a launchd property list and named it "ogo-webui.plist" (for those who are unfamiliar with launchd and launchctl, which is new to Mac OS X beginning with Tiger, please refer to this excellent article < http://www.afp548.com/article.php?story=3D20050620071558293 > ). I included the property list in this email message (see below). The motivation in doing so is to run ogo-webui when the Mac OS X server machine boots up. The general recommendation from Apple's man pages for launchd is to place user applications that the administrator should launch on behalf of the user in /Library/LaunchAgents ... which I did. I run OpenGroupware as a user named "ogo" so I logged into my server as ogo and dumped out the environment variables with "$ env" and also looked at my GNUstep.sh file to make sure that what is sourced into the environment ends up being copied into the launchd plist as EnvironmentVariables. I also direct standard out put and error to a log file (appends automatically with launchd). I had no problem running (and ogo-webui appeared to read the defaults just fine because there were no complains about not finding anything), but when = I would try to hit ogo-webui via Apache, I'd get the error below about "ACCES= S DENIED" and it looks like apache's trying to speak to ogo-webuin on a different port other than 20000 for some weird reason (not the case however if I log in as user ogo and run ogo-webui manually from a shell). Its a bit perplexing and I'm wondering what I may have missed? Anyone else try this before? If not launchd, what options are there in Mac OS X / Tiger for running ogo-webui automatically at startup up time? Would I have to create a StartupItem or an rc script? Best regards, Tabitha -------------------------------------------- ogo$ cat logfile Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-webui-1.0| CTI Dialers: 2005-12-05 11:06:25.309 ogo-webui-1.0[872] WARNING: disabled login spaces which are unsupported on this Foundation library. Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-webui-1.0| root has no password, you need to assign one! Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-webui-1.0| OpenGroupware.orginstance initialized. Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-webui-1.0| WOHttpAdaptor listenin= g on address *:20000 Dec 05 11:07:17 ogo-webui-1.0 [872]: [ERROR] <0x02C0FC90[WOHttpAdaptor]> ACCESS DENIED: <0x02C10880[NGInternetSocketAddress]: host=3Dlocalhost port=3D49703> -------------------------------------------- UserName ogo Label org.opengroupware.ogo-webui OnDemand ProgramArguments /usr/local/OGoRoot/Tools/ogo-webui-1.0 -WOPort 20000 -WOHttpAllowHost '("127.0.0.1", localhost)' EnvironmentVariables GNUSTEP_LOCAL_ROOT /usr/local/OGoRoot GNUSTEP_HOST powerpc-apple-darwin8.2.0 GUILE_LOAD_PATH /Volumes/vol1/Users/ogo/GNUstep/Library/Libraries/Guile:/usr/local/= OGoRoot/Library/Libraries/Guile GNUSTEP_NETWORK_ROOT /usr/local/OGoRoot GNUSTEP_MAKEFILES /usr/local/OGoRoot/Library/Makefiles GNUSTEP_ROOT /usr/local/OGoRoot OGoROOT /usr/local/OGoRoot GNUSTEP_FLATTENED yes GNUSTEP_HOST_OS darwin8.2.0 GNUSTEP_HOST_VENDOR apple GNUSTEP_HOST_CPU powerpc GNUSTEP_USER_ROOT /Volumes/vol1/Users/ogo/GNUstep GNUSTEP_SYSTEM_ROOT /usr/local/OGoRoot LIBRARY_COMBO apple-apple-nil GNUSTEP_PATHLIST /Volumes/vol1/Users/ogo/GNUstep:/usr/local/OGoRoot DYLD_FRAMEWORK_PATH /Volumes/vol1/Users/ogo/GNUstep/Library/Frameworks:/usr/local/OGoRo= ot/Library/Frameworks DYLD_LIBRARY_PATH /Volumes/vol1/Users/ogo/GNUstep/Library/Libraries:/usr/local/OGoRoo= t/Library/Libraries LANG en_US.UTF-8 CLASSPATH .:/usr/local/share/postgresql/java/postgresql.jar:/Volumes/vol1/Use= rs/ogo/GNUstep/Library/Libraries/Java:/usr/local/OGoRoot/Library/Libraries/= Java PATH /Volumes/vol1/Users/ogo/GNUstep/Tools:/usr/local/OGoRoot/Tools:/bin= :/sbin:/usr/bin:/usr/sbin:/usr/local/bin StandardOutPath /usr/local/OGoRoot/logs/logfile StandardErrorPath /usr/local/OGoRoot/logs/logfile ServiceDescription The OpenGroupware (OGo) main listener app ------=_Part_32179_4377761.1133781607814 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all,

I just wrote a launchd property list and named it "o= go-webui.plist"  (for those who are unfamiliar with launchd and l= aunchctl, which is new to Mac OS X beginning with Tiger, please refer to th= is excellent article < =20 htt= p://www.afp548.com/article.php?story=3D20050620071558293 > ). I incl= uded the property list in this email message (see below).

The motiva= tion in doing so is to run ogo-webui when the Mac OS X server machine boots= up. The general recommendation from Apple's man pages for launchd is to pl= ace user applications that the administrator should launch on behalf of the= user in /Library/LaunchAgents ... which I did.=20

I run OpenGroupware as a user named "ogo" so I logged int= o my server as ogo and dumped out the environment variables with "$ en= v" and also looked at my GNUstep.sh file to make sure that what is sou= rced into the environment ends up being copied into the launchd plist as En= vironmentVariables. I also direct standard out put and error to a log file = (appends automatically with launchd).=20

I had no problem running (and ogo-webui appeared to read the defaul= ts just fine because there were no complains about not finding anything), b= ut when I would try to hit ogo-webui via Apache, I'd get the error below ab= out "ACCESS DENIED" and it looks like apache's trying to speak to= ogo-webuin on a different port other than 20000 for some weird reason (not= the case however if I log in as user ogo and run ogo-webui manually from a= shell).

Its a bit perplexing and I'm wondering what I may have missed? Anyo= ne else try this before? If not launchd, what options are there in Mac OS X= / Tiger for running ogo-webui automatically at startup up time? Would I ha= ve to create a StartupItem or an rc script?

Best regards,

Tabitha
-----------------------------------= ---------

ogo$ cat logfile
Dec 05 11:06:25 ogo-webui-1.0 [872]: = |ogo-webui-1.0| CTI Dialers:
2005-12-05 11:06:25.309 ogo-webui-1.0[872]= WARNING: disabled login spaces which are unsupported on this Foundation li= brary.
Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-webui-1.0| root has no passwo= rd, you need to assign one!
Dec 05 11:06:25 ogo-webui-1.0 [872]: |ogo-we= bui-1.0| OpenGroupware.org instance initialized.
Dec 05 11:06:25 ogo-web= ui-1.0 [872]: |ogo-webui-1.0| WOHttpAdaptor listening on address *:20000
Dec 0= 5 11:07:17 ogo-webui-1.0 [872]: [ERROR] <0x02C0FC90[WOHttpAdaptor]> A= CCESS DENIED: <0x02C10880[NGInternetSocketAddress]: host=3Dlocalhost por= t=3D49703>
--------------------------------------------

<?xml version=3D= "1.0" encoding=3D"UTF-8"?>
<!DOCTYPE plist PUB= LIC "-//Apple Computer//DTD PLIST 1.0//EN" " http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist v= ersion=3D"1.0">
<dict>
    <key&= gt;UserName</key>
        <string= >ogo</string>
    <key>Label</key>
        <string>org.opengroupware.o= go-webui</string>
    <key>OnDemand</key&g= t;
        <false/>
  &= nbsp; <key>ProgramArguments</key>
    <arr= ay>
        <string>/usr/local/OG= oRoot/Tools/ogo- webui-1.0</string>
        <strin= g>-WOPort</string>
        <st= ring>20000</string>
        <s= tring>-WOHttpAllowHost</string>
      =   <string>'(" 127.0.0.1", localhost)'</string>
    </= array>
   <key>EnvironmentVariables</key>
&n= bsp;  <dict>
     <key>GNUSTEP_LOCA= L_ROOT</key>
       <string>/u= sr/local/OGoRoot</string>
     <key>GNUSTEP_HOST</key>
 &= nbsp;     <string>powerpc-apple-darwin8.2.0</s= tring>
        <key>GUILE_LOAD_PA= TH</key>
            = <string>/Volumes/vol1/Users/ogo/GNUstep/Library/Libraries/Guile:/usr/= local/OGoRoot/Library/Libraries/Guile</string>
        <key>GNUSTEP_NETWORK_ROOT&l= t;/key>
            <= string>/usr/local/OGoRoot</string>
     &nb= sp;  <key>GNUSTEP_MAKEFILES</key>
    &n= bsp;       <string>/usr/local/OGoRoot/Librar= y/Makefiles</string>
        <key>GNUSTEP_ROOT</key&g= t;
            <string&g= t;/usr/local/OGoRoot</string>
       = ; <key>OGoROOT</key>
        &= nbsp;   <string>/usr/local/OGoRoot</string>
 =        <key>GNUSTEP_FLATTENED</key>
            <string>= yes</string>
        <key>GNUS= TEP_HOST_OS</key>
         &nbs= p;  <string>darwin8.2.0</string>
    &nb= sp;   <key>GNUSTEP_HOST_VENDOR</key>
  &= nbsp;         <string>apple</string&= gt;
        <key>GNUSTEP_HOST_CPU</k= ey>
            <stri= ng>powerpc</string>
        <k= ey>GNUSTEP_USER_ROOT</key>
       = ;     <string>/Volumes/vol1/Users/ogo/GNUstep</stri= ng>
        <key>GNUSTEP_SYSTEM_ROOT<= ;/key>
            <s= tring>/usr/local/OGoRoot</string>
     &nbs= p;  <key>LIBRARY_COMBO</key>
     &= nbsp;      <string>apple-apple-nil</string>
        <key>GNUSTEP_PATHLIST</k= ey>
            <stri= ng>/Volumes/vol1/Users/ogo/GNUstep:/usr/local/OGoRoot</string>
=         <key>DYLD_FRAMEWORK_PATH</ke= y>
            <strin= g>/Volumes/vol1/Users/ogo/GNUstep/Library/Frameworks:/usr/local/OGoRoot/= Library/Frameworks</string>
        <key>DYLD_LIBRARY_PATH</= key>
            <str= ing>/Volumes/vol1/Users/ogo/GNUstep/Library/Libraries:/usr/local/OGoRoot= /Library/Libraries</string>
        = <key>LANG</key>
            <string>= en_US.UTF-8</string>
        <key= >CLASSPATH</key>
    <string>.:/usr/local/= share/postgresql/java/postgresql.jar:/Volumes/vol1/Users/ogo/GNUstep/Librar= y/Libraries/Java:/usr/local/OGoRoot/Library/Libraries/Java</string>
        <key>PATH</key>
&n= bsp;           <string>/Volum= es/vol1/Users/ogo/GNUstep/Tools:/usr/local/OGoRoot/Tools:/bin:/sbin:/usr/bi= n:/usr/sbin:/usr/local/bin</string>
   </dict>
=
    <key>StandardOutPath</key>
        <string>/usr/local/OGoRoot/= logs/logfile</string>
    <key>StandardErrorP= ath</key>
        <string>/usr= /local/OGoRoot/logs/logfile</string>
    <key>= ;ServiceDescription</key>
        <string>The OpenGroupware (= OGo) main listener app</string>
</dict>
</plist>





------=_Part_32179_4377761.1133781607814-- From macosx@opengroupware.org Tue Dec 6 14:27:03 2005 From: macosx@opengroupware.org (Helge Hess) Date: Tue, 6 Dec 2005 15:27:03 +0100 Subject: [OGo-MacOSX] OGo beta can't find Postgres Adaptor Bundle (this one's perplexing) In-Reply-To: <7fccb3000512010823k7d6d0e56k227f4a4ceb099d34@mail.gmail.com> References: <7fccb3000512010823k7d6d0e56k227f4a4ceb099d34@mail.gmail.com> Message-ID: <83a8c17ee2cf36d756bea8040afdc65b@opengroupware.org> On Dec 1, 2005, at 17:23, Tabitha McNerney wrote: > After successfully configuring, making and installing OGo 1.0 beta 2 > rock several days ago with SOPE 4.5 alpha Hm, this might work. But usually OGo 1.0 requires SOPE 4.4 while SOPE 4.5 corresponds to OGo 1.1. I suggest the latter for OSX. > In other words, instead of installing into /usr/local, I just wanted > to put everything on an external volume (a Firewire disk) that is > mounted when my server boots. Si. >> 2005-12-01 15:41:01.560 ogo-webui-1.0[9009] EOAdaptor: cannot find >> adaptor bundle: 'PostgreSQL' ... > For sure, I would think this has to do with the bundle paths in > defaults, Hm, no, I think lookup of EOAdaptors is not using NGBundleManager but the GNUstep environment (or FHS). In GNUstep the adaptor should be living in $(GSROOT)/Library/GDLAdaptors-4.5/ and in FHS: /usr[/local]/lib/sope-4.5/dbadaptors > but I'm not so sure this time because here's what I've got for my > defaults (thanks to Helge's previous clarification): I don't think defaults play a role here. Did you source GNUstep.sh prior starting OGo? Does the adaptor live in the mentioned directory? > P.S. (Separately, I was able to build the module for Apache 2 by > circumventing apxs and I'll post the instructions on the mailing list > later today.) Thanks. It would be best if you would upload the instructions on http://docs.opengroupware.org/ and just post the link. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Wed Dec 7 22:44:49 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Wed, 7 Dec 2005 12:44:49 -1000 Subject: [OGo-MacOSX] SOPE 4.5 alpha build 1195 (configure rejects "--without-system-root" arg) Message-ID: <7fccb3000512071444o593acd7fja07ae3ae4fe49794@mail.gmail.com> ------=_Part_19809_30712628.1133995489883 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all, I tried to configure SOPE 4.5 alpha (fetched via subversion) today, build 1195. I am using the same configure args that I've always used with previous builds of SOPE 4.5 alpha. The previous build, 1190, had no problem= s but build 1195 doesn't accept the "--without-system-root" argument. I am wondering why this would have changed? What are the implications? Please refer to my configure output below (platform: Mac OS X Tiger Server 10.4.2)= . Best Regards, Tabitha mac:~/SOPE-4.5 ogo$ ./configure --prefix=3D$OGoROOT --without-system-root > --with-user-root=3D$OGoROOT --with-local-root=3D$OGoROOT > --with-network-root=3D$OGoROOT --with-library-combo=3Dapple-apple-nil > > error: cannot process argument: --without-system-root > ------=_Part_19809_30712628.1133995489883 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello all,

I tried to configure SOPE 4.5 alpha (fetched via subversi= on) today, build 1195. I am using the same configure  args that I've a= lways used with previous builds of SOPE 4.5 alpha. The previous build, 1190= , had no problems but build 1195 doesn't accept the "--without-system-= root" argument. I am wondering why this would have changed? What are t= he implications? Please refer to my configure output below (platform: Mac O= S X Tiger Server=20 10.4.2).

Best Regards,

Tabitha

mac:~/SOPE-4.5 ogo$ ./configure --prefix= =3D$OGoROOT --without-system-root --with-user-root=3D$OGoROOT --with-local-root=3D$OGoROOT --with-network-root=3D$OGoROOT --with-library-combo=3Dapple-apple-nil
error: cannot process argument: --without-system-root


------=_Part_19809_30712628.1133995489883-- From macosx@opengroupware.org Wed Dec 7 22:50:56 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Wed, 7 Dec 2005 12:50:56 -1000 Subject: [OGo-MacOSX] Re: SOPE 4.5 alpha build 1195 (configure rejects "--without-system-root" arg) In-Reply-To: <7fccb3000512071444o593acd7fja07ae3ae4fe49794@mail.gmail.com> References: <7fccb3000512071444o593acd7fja07ae3ae4fe49794@mail.gmail.com> Message-ID: <7fccb3000512071450h513925e7i255b6c9f50933bed@mail.gmail.com> ------=_Part_19901_17685937.1133995856911 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline With apologies, please ignore the first message of this thread. I want trying to make gnustep-make and I moments later realized I was in the wrong directory when trying to run configure. Best regards, Tabitha On 12/7/05, Tabitha McNerney wrote: > > Hello all, > > I tried to configure SOPE 4.5 alpha (fetched via subversion) today, build > 1195. I am using the same configure args that I've always used with > previous builds of SOPE 4.5 alpha. The previous build, 1190, had no > problems but build 1195 doesn't accept the "--without-system-root" argume= nt. > I am wondering why this would have changed? What are the implications? > Please refer to my configure output below (platform: Mac OS X Tiger Serve= r > 10.4.2). > > Best Regards, > > Tabitha > > mac:~/SOPE-4.5 ogo$ ./configure --prefix=3D$OGoROOT --without-system-root > > --with-user-root=3D$OGoROOT --with-local-root=3D$OGoROOT > > --with-network-root=3D$OGoROOT --with-library-combo=3Dapple-apple-nil > > > > error: cannot process argument: --without-system-root > > > > > ------=_Part_19901_17685937.1133995856911 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline With apologies, please ignore the first message of this thread. I want tryi= ng to make gnustep-make and I moments later realized I was in the wrong dir= ectory when trying to run configure.

Best regards,

Tabitha

On 12/7/05, Tabitha McNerney <tab= ithamc@gmail.com> wrote:
Hello all,

I tried to configure SOPE 4.5 alpha (fetched via subversi= on) today, build 1195. I am using the same configure  args that I've a= lways used with previous builds of SOPE 4.5 alpha. The previous build, 1190= , had no problems but build 1195 doesn't accept the "--without-system-= root" argument. I am wondering why this would have changed? What are t= he implications? Please refer to my configure output below (platform: Mac O= S X Tiger Server=20 10.4.2).

Best Regards,

Tabitha

mac:~/SOPE-4.5 ogo$ ./configure --prefix= =3D$OGoROOT --without-system-root --with-user-root=3D$OGoROOT --with-local-root=3D$OGoROOT --with-network-root=3D$OGoROOT --with-library-combo=3Dapple-apple-nil
error: cannot process argument: --without-system-root



------=_Part_19901_17685937.1133995856911-- From macosx@opengroupware.org Thu Dec 8 03:53:46 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Wed, 7 Dec 2005 17:53:46 -1000 Subject: [OGo-MacOSX] Building OGo 1.1 on OS X (strip error) Message-ID: <7fccb3000512071953m74e962cbl198b09335566c251@mail.gmail.com> ------=_Part_23169_19684549.1134014026091 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have built SOPE 4.5 alpha and now trying OGo 1.1 move on (checked out revision 1480 today -- note that I checked out what was in the subversion URL OGo 1.1.2 but it appears to be actually version 1.1.3). After running configure as in: mac:~/OGo-1.1 ogo$ ./configure --enable-debug --with-gnustep I then ran: mac:~/OGo-1.1 ogo$ make -s install I am encountering this error below. I had not encountered this error previously when making OGo 1.0 beta 2 rock. As far as I can tell, all of my environment variables are set up correctly ($OGoROOT, sourcing GNUstep.sh, etc.). Any suggestions are appreciated. I searched around in the mailing list achives and couldn't find much about this error. Best regards, Tabitha Making install in LSBase... > Making install for bundle LSBase... > Installing bundle directory... > Stripping object file... > strip: symbols referenced by relocation entries that can't be stripped in= : > /usr/local/OGoRoot/Library/OpenGroupware.org-1.1 > /Commands/LSBase.cmd/Contents/MacOS/LSBase > __NSConstantStringClassReference > _objc_msgSendSuper > _crypt > _objc_msgSend > _rand > _time > _srand > _free > _NSMapInsert > _NSCreateMapTable > _objc_msgSend_stret > _NSFreeMapTable > _NSLog > _calloc > _NSMapGet > _LSCommandRunV > make[3]: *** [internal-bundle-install_] Error 1 > make[2]: *** [LSBase.install.bundle.variables] Error 2 > make[1]: *** [internal-install] Error 2 > make: *** [internal-install] Error 2 > ------=_Part_23169_19684549.1134014026091 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

I have built SOPE 4.5 alpha and now trying OGo 1.1 move on (chec= ked out revision 1480 today -- note that I checked out what was in the subv= ersion URL OGo 1.1.2 but it appears to be actually version 1.1.3). After ru= nning configure as in:

mac:~/OGo-1.1 ogo$ ./configure --enable-debug --with-gnustep
I then ran:

mac:~/OGo-1.1 ogo$ make -s install

I am encounte= ring this error below. I had not encountered this error previously when mak= ing OGo=20 1.0 beta 2 rock. As far as I can tell, all of my environment variables are = set up correctly ($OGoROOT, sourcing GNUstep.sh, etc.).

Any suggesti= ons are appreciated. I searched around in the mailing list achives and coul= dn't find much about this error.

Best regards,

Tabitha

Making install in LSBase...
Making install fo= r bundle LSBase...
 Installing bundle directory...
 Stripping object file...<= br>strip: symbols referenced by relocation entries that can't be stripped i= n: /usr/local/OGoRoot/Library/OpenGroupware.org-1.1/Commands/LSBase.cmd/Con= tents/MacOS/LSBase
__NSConstantStringClassReference
_objc_msgSendSuper
_crypt
_ob= jc_msgSend
_rand
_time
_srand
_free
_NSMapInsert
_NSCreat= eMapTable
_objc_msgSend_stret
_NSFreeMapTable
_NSLog
_calloc
_NSMapGet
_LSCommandRunV
make[3]: *** [internal-bundle-install_] = Error 1
make[2]: *** [LSBase.install.bundle.variables] Error 2
make[1= ]: *** [internal-install] Error 2
make: *** [internal-install] Error 2


------=_Part_23169_19684549.1134014026091-- From macosx@opengroupware.org Thu Dec 8 17:25:54 2005 From: macosx@opengroupware.org (Elim Qiu) Date: Thu, 8 Dec 2005 10:25:54 -0700 Subject: [OGo-MacOSX] SOPE on Tiger Message-ID: <009e01c5fc1c$71dba0f0$6500a8c0@grace> This is a multi-part message in MIME format. ------=_NextPart_000_009B_01C5FBE1.C4F96820 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Dear list, I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger (OS = X 1.4.3). Since WebObject 4.5.1 is not supported, I'm thinking of SOPE instead. = Could anyone advise me how to get this started? Without IDE is ok, I = just need the info for set up the env, install the frameworks and data = connections etc. Thanks in advance for your help. Elim ------=_NextPart_000_009B_01C5FBE1.C4F96820 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Dear list,
I'm trying to develop ObjC Web Apps = (like WebObject=20 4.5.1) on Tiger (OS X 1.4.3).
Since WebObject 4.5.1 is not supported, = I'm=20 thinking of SOPE instead. Could anyone advise me how to get this = started?=20 Without IDE is ok, I just need the info for set up the env, install the=20 frameworks and data connections etc.
Thanks in advance for your = help.
Elim
------=_NextPart_000_009B_01C5FBE1.C4F96820-- From macosx@opengroupware.org Thu Dec 8 21:43:30 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Thu, 8 Dec 2005 11:43:30 -1000 Subject: [OGo-MacOSX] SOPE on Tiger In-Reply-To: <009e01c5fc1c$71dba0f0$6500a8c0@grace> References: <009e01c5fc1c$71dba0f0$6500a8c0@grace> Message-ID: <7fccb3000512081343r319769a6v5f81ff857e4f25f@mail.gmail.com> ------=_Part_997_23377671.1134078210356 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Elim, I'm a relative newcomer to SOPE and OpenGroupware myself (there are others who much better versed than I am), but I can tell you that I have been able to have successfully build SOPE 4.5 alpha on Mac OS X Server version 10.4.2without any problems (version 10.4.3 I have not yet tried but I doubt there would be any problems). The build instructions are available on the SOPE site if I'm not mistaken, however if you need some help I can send you my own customized build notes (I also use Darwin Ports in my environment) if that would be useful to you. I have found the OpenGroupware community for Mac OS X to be very helpful an= d friendly (in particular Helge has been quite knowledgeable). Best regards, Tabitha On 12/8/05, Elim Qiu wrote: > > Dear list, > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger (OS X > 1.4.3). > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE instead. > Could anyone advise me how to get this started? Without IDE is ok, I just > need the info for set up the env, install the frameworks and data > connections etc. > Thanks in advance for your help. > Elim > ------=_Part_997_23377671.1134078210356 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Elim,

I'm a relative newcomer to SOPE and OpenGroupware myself= (there are others who much better versed than I am), but I can tell you th= at I have been able to have successfully build SOPE 4.5 alpha on Mac OS X S= erver version=20 10.4.2 without any problems (version 10.4.3 I have not yet tried but I doub= t there would be any problems).

The build instructions are available= on the SOPE site if I'm not mistaken, however if you need some help I can = send you my own customized build notes (I also use Darwin Ports in my envir= onment) if that would be useful to you.

I have found the OpenGroupware community for Mac OS X to be very he= lpful and friendly (in particular Helge has been quite knowledgeable).
<= br>Best regards,

Tabitha

On = 12/8/05,=20 Elim Qiu <elim@elinkage.net> wrote:
Dear list,
I'm trying to develop ObjC Web Apps (l= ike WebObject=20 4.5.1) on Tiger (OS X 1.4.3).
Since WebObject 4.5.1 is not supported= , I'm=20 thinking of SOPE instead. Could anyone advise me how to get this started?= =20 Without IDE is ok, I just need the info for set up the env, install the=20 frameworks and data connections etc.
Thanks in advance for your help.
Elim

------=_Part_997_23377671.1134078210356-- From macosx@opengroupware.org Thu Dec 8 23:08:12 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Thu, 8 Dec 2005 15:08:12 -0800 Subject: [OGo-MacOSX] Re: [OGo-Developer] SOPE on Tiger In-Reply-To: <009e01c5fc1c$71dba0f0$6500a8c0@grace> References: <009e01c5fc1c$71dba0f0$6500a8c0@grace> Message-ID: <467a83630512081508j48c7fce8o9b220e08c8a99d52@mail.gmail.com> ------=_Part_24483_7193131.1134083292394 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline If you haven't already seen these then. fetch it http://sope.opengroupware.org/en/source/index.html build it http://sope.opengroupware.org/en/build/index.html If you are also interested in EOF functionality then what is in SOPE is ver= y limited. You may be interested in using AJRDatabase. It takes a little work to integrate it to SOPE (there are some conflicts since SOPE has some EOF functionality) but it works and is much closer to a complete EOF implementation (though not yet complete). Disclaimer I work on AJRDatabase http://sourceforge.net/projects/ajrdatabase If you choose to use AJRDatabase please feel free to post to the Developers forum with questions. -Mont On 12/8/05, Elim Qiu wrote: > > Dear list, > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger (OS X > 1.4.3). > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE instead. > Could anyone advise me how to get this started? Without IDE is ok, I just > need the info for set up the env, install the frameworks and data > connections etc. > Thanks in advance for your help. > Elim > ------=_Part_24483_7193131.1134083292394 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline If you haven't already seen these then.

fetch it htt= p://sope.opengroupware.org/en/source/index.html
build it http= ://sope.opengroupware.org/en/build/index.html

If you are also interested in EOF functionality then what is in SOPE is very limited.  You may be interested in using AJRDatabase.  It takes a little work to integrate it to SOPE (there are some conflicts since SOPE has some EOF functionality) but it works and is much closer to a complete EOF implementation (though not yet complete).  Disclaimer I work on AJRDatabase

http://sourceforge.= net/projects/ajrdatabase

If you choose to use AJRDatabase please feel free to post to the Developers= forum with questions.

-Mont


On 12/8/05, Elim Qiu <elim@elinkage= .net> wrote:
Dear list,
I'm trying to develop ObjC Web Apps (l= ike WebObject=20 4.5.1) on Tiger (OS X 1.4.3).
Since WebObject 4.5.1 is not supported= , I'm=20 thinking of SOPE instead. Could anyone advise me how to get this started?= =20 Without IDE is ok, I just need the info for set up the env, install the=20 frameworks and data connections etc.
Thanks in advance for your help.
Elim

------=_Part_24483_7193131.1134083292394-- From macosx@opengroupware.org Fri Dec 9 01:34:12 2005 From: macosx@opengroupware.org (elim) Date: Thu, 8 Dec 2005 18:34:12 -0700 Subject: [OGo-MacOSX] Re: [OGo-Developer] SOPE on Tiger In-Reply-To: <467a83630512081508j48c7fce8o9b220e08c8a99d52@mail.gmail.com> References: <009e01c5fc1c$71dba0f0$6500a8c0@grace> <467a83630512081508j48c7fce8o9b220e08c8a99d52@mail.gmail.com> Message-ID: --Apple-Mail-1--981453850 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Thanks Tabitha and Mont for your friendly advises. Really appreciate your help: I'll document things after I go through this, for those very new like me. I definitely need EOF (kind of funny: I've to use WebObjects4.5.1/EOF on Win2k now.) and will try AJR (this is also a suggestion by Helge). I got a SOPE4.5.5 package for osx 10.4.2, should I use it or build my own from source? And how to verify the installation? Thanks again. On Dec 8, 2005, at 4:08 PM, Mont Rothstein wrote: > If you haven't already seen these then. > > fetch it http://sope.opengroupware.org/en/source/index.html > build it http://sope.opengroupware.org/en/build/index.html > > If you are also interested in EOF functionality then what is in > SOPE is very limited. You may be interested in using AJRDatabase. > It takes a little work to integrate it to SOPE (there are some > conflicts since SOPE has some EOF functionality) but it works and > is much closer to a complete EOF implementation (though not yet > complete). Disclaimer I work on AJRDatabase > > http://sourceforge.net/projects/ajrdatabase > > If you choose to use AJRDatabase please feel free to post to the > Developers forum with questions. > > -Mont > On Dec 8, 2005, at 2:43 PM, Tabitha McNerney wrote: > Hello Elim, > > I'm a relative newcomer to SOPE and OpenGroupware myself (there are > others who much better versed than I am), but I can tell you that I > have been able to have successfully build SOPE 4.5 alpha on Mac OS > X Server version 10.4.2 without any problems (version 10.4.3 I have > not yet tried but I doubt there would be any problems). > > The build instructions are available on the SOPE site if I'm not > mistaken, however if you need some help I can send you my own > customized build notes (I also use Darwin Ports in my environment) > if that would be useful to you. > > I have found the OpenGroupware community for Mac OS X to be very > helpful and friendly (in particular Helge has been quite > knowledgeable). > > Best regards, > > Tabitha > > On 12/8/05, Elim Qiu wrote: > Dear list, > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger > (OS X 1.4.3). > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE > instead. Could anyone advise me how to get this started? Without > IDE is ok, I just need the info for set up the env, install the > frameworks and data connections etc. > Thanks in advance for your help. > Elim > > > On 12/8/05, Elim Qiu wrote: > Dear list, > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger > (OS X 1.4.3). > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE > instead. Could anyone advise me how to get this started? Without > IDE is ok, I just need the info for set up the env, install the > frameworks and data connections etc. > Thanks in advance for your help. > Elim > --Apple-Mail-1--981453850 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Thanks=A0Tabitha and Mont for = your friendly advises.=A0Really appreciate your help: I'll document = things after I go through this, for those very new like me.=A0

I=A0definitely need EOF = (kind of funny: I've to use WebObjects4.5.1/EOF on Win2k now.) and will = try AJR (this is also a suggestion by Helge).=A0

I got a SOPE4.5.5 package = for osx 10.4.2, should I use it or build my own from = source?
And=A0 how to verify the installation?

Thanks again.


On Dec 8, = 2005, at 4:08 PM, Mont Rothstein wrote:

If you = haven't already seen these then.

fetch it http://sope.op= engroupware.org/en/source/index.html
build it http://sope.ope= ngroupware.org/en/build/index.html

If you are also = interested in EOF functionality then what is in SOPE is very limited.=A0 = You may be interested in using AJRDatabase.=A0 It takes a little work to = integrate it to SOPE (there are some conflicts since SOPE has some EOF = functionality) but it works and is much closer to a complete EOF = implementation (though not yet complete).=A0 Disclaimer I work on = AJRDatabase

http://sourceforge.ne= t/projects/ajrdatabase

If you choose to use AJRDatabase = please feel free to post to the Developers forum with questions.
=
-Mont



On Dec 8, 2005, at = 2:43 PM, Tabitha McNerney wrote:
Hello = Elim,

I'm a relative newcomer to SOPE and = OpenGroupware myself (there are others who much better versed than I = am), but I can tell you that I have been able to have successfully build = SOPE 4.5 alpha on Mac OS X Server version 10.4.2 without any problems = (version 10.4.3 I have not yet tried but I doubt there would be any = problems).

The build instructions are = available on the SOPE site if I'm not mistaken, however if you need some = help I can send you my own customized build notes (I also use Darwin = Ports in my environment) if that would be useful to you.

I have found the OpenGroupware community for = Mac OS X to be very helpful and friendly (in particular Helge has been = quite knowledgeable).

Best regards,

Tabitha

On 12/8/05, Elim Qiu = <elim@elinkage.net> = wrote:
Dear = list,
I'm trying to develop ObjC Web Apps (like = WebObject 4.5.1) on Tiger (OS X 1.4.3).
Since WebObject 4.5.1 is not supported, I'm thinking of SOPE = instead. Could anyone advise me how to get this started? Without IDE is = ok, I just need the info for set up the env, install the frameworks and = data connections etc.
Thanks in advance = for your help.
Elim




On 12/8/05, Elim Qiu <elim@elinkage.net> = wrote:
Dear list,
=
I'm trying to develop ObjC Web Apps = (like WebObject 4.5.1) on Tiger (OS X 1.4.3).
Since WebObject 4.5.1 is not supported, I'm = thinking of SOPE instead. Could anyone advise me how to get this = started? Without IDE is ok, I just need the info for set up the env, = install the frameworks and data connections etc.
Thanks in advance for your = help.
Elim
=


= --Apple-Mail-1--981453850-- From macosx@opengroupware.org Fri Dec 9 04:55:22 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Thu, 8 Dec 2005 20:55:22 -0800 Subject: [OGo-MacOSX] Re: [OGo-Developer] SOPE on Tiger In-Reply-To: References: <009e01c5fc1c$71dba0f0$6500a8c0@grace> <467a83630512081508j48c7fce8o9b220e08c8a99d52@mail.gmail.com> Message-ID: <467a83630512082055y224b67d5k85449a3b53ac94de@mail.gmail.com> You will need to bulid SOPE from source so that you can modify it to work with AJRDatabase. There are a few files you need to make SOPE work with AJRDatabase. I just went to add them to cvs and screwed up. I have to wait until Source Forge staff can fix my screw up before I can add them. If you get to where you need them email me and I'll send them to you. Also, there are instructions on the Source Forge project on how to make SOPE and AJRDatabase work together. Please send any error/corrections to me. -Mont On 12/8/05, elim wrote: > Thanks Tabitha and Mont for your friendly advises. Really appreciate your > help: I'll document things after I go through this, for those very new li= ke > me. > > I definitely need EOF (kind of funny: I've to use WebObjects4.5.1/EOF on > Win2k now.) and will try AJR (this is also a suggestion by Helge). > > I got a SOPE4.5.5 package for osx 10.4.2, should I use it or build my own > from source? > And how to verify the installation? > > Thanks again. > > > > > On Dec 8, 2005, at 4:08 PM, Mont Rothstein wrote: > If you haven't already seen these then. > > fetch it > http://sope.opengroupware.org/en/source/index.html > build it http://sope.opengroupware.org/en/build/index.html > > If you are also interested in EOF functionality then what is in SOPE is > very limited. You may be interested in using AJRDatabase. It takes a > little work to integrate it to SOPE (there are some conflicts since SOPE = has > some EOF functionality) but it works and is much closer to a complete EOF > implementation (though not yet complete). Disclaimer I work on AJRDataba= se > > http://sourceforge.net/projects/ajrdatabase > > If you choose to use AJRDatabase please feel free to post to the Develop= ers > forum with questions. > > -Mont > > > > > On Dec 8, 2005, at 2:43 PM, Tabitha McNerney wrote: > Hello Elim, > > I'm a relative newcomer to SOPE and OpenGroupware myself (there are other= s > who much better versed than I am), but I can tell you that I have been ab= le > to have successfully build SOPE 4.5 alpha on Mac OS X Server version 10.4= .2 > without any problems (version 10.4.3 I have not yet tried but I doubt the= re > would be any problems). > > The build instructions are available on the SOPE site if I'm not mistaken= , > however if you need some help I can send you my own customized build note= s > (I also use Darwin Ports in my environment) if that would be useful to yo= u. > > I have found the OpenGroupware community for Mac OS X to be very helpful = and > friendly (in particular Helge has been quite knowledgeable). > > Best regards, > > Tabitha > > On 12/8/05, Elim Qiu wrote: > > > > Dear list, > > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger (OS= X > 1.4.3). > > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE instead. > Could anyone advise me how to get this started? Without IDE is ok, I just > need the info for set up the env, install the frameworks and data > connections etc. > > Thanks in advance for your help. > > Elim > > > > > On 12/8/05, Elim Qiu wrote: > > > > Dear list, > > I'm trying to develop ObjC Web Apps (like WebObject 4.5.1) on Tiger (OS= X > 1.4.3). > > Since WebObject 4.5.1 is not supported, I'm thinking of SOPE instead. > Could anyone advise me how to get this started? Without IDE is ok, I just > need the info for set up the env, install the frameworks and data > connections etc. > > Thanks in advance for your help. > > Elim > > > From macosx@opengroupware.org Sat Dec 10 09:42:18 2005 From: macosx@opengroupware.org (Tabitha McNerney) Date: Fri, 9 Dec 2005 23:42:18 -1000 Subject: [OGo-MacOSX] Help making OGo 1.1 on Tiger (OS X) Message-ID: <7fccb3000512100142wf2d0494p7b658764dec08b18@mail.gmail.com> ------=_Part_23198_234648.1134207738235 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sorry to be a pest, but if there is anyone experienced building OpenGroupware 1.1 on Mac OS X (Tiger), or if there is any more additional documentation specific to 1.1 (besides the INSTALL document included with the source) that I may have missed, it would be greatly appreciated as I've searched the mailing lists on this subject to try and figure out how to get around this crazy make error. I had posted about this a few days ago and apologize if I didn't provide enough supporting material. When doing a "mak= e -s install" of OGo 1.1, eventually I end up with a strip error that start out like this: Making install in LSBase... > Making install for bundle LSBase... > Installing bundle directory... > Stripping object file... > strip: symbols referenced by relocation entries that can't be stripped in= : > /usr/local/OGoRoot/Library > > > > /OpenGroupware.org-1.1/Commands/LSBase.cmd/Contents/MacOS/LSBase > > I ran some Google searching on this strip error and OpenGroupware and only one person had a strip problem (but not for the LSBase bundle) back in Marc= h of 2005 when making SOPE, not OGo. Helge had suggested earlier that SOPE 4.5 alpha and OGo 1.1 are recommended for OS X ... I really would like to take up this recommendation rather than revert to SOPE 4.4 with OGo 1.0 beta 2 rock. I understand that there are more Linux OGo deployment systems than OS X although I'm not sure why since OS X seems just as capable of Linux. Much thanks to anyone who can offer a suggestion. I'd be glad to contribute in any way I can to help others avoid these challenges in the future such a= s contributing more documentation to the OGo site. Best regards, Tabitha ------=_Part_23198_234648.1134207738235 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sorry to be a pest, but if there is anyone experienced building OpenGroupwa= re 1.1 on Mac OS X (Tiger), or if there is any more additional documentatio= n specific to 1.1 (besides the INSTALL document included with the source) t= hat I may have missed, it would be greatly appreciated as I've searched the= mailing lists on this subject to try and figure out how to get around this= crazy make error. I had posted about this a few days ago and apologize if = I didn't provide enough supporting material. When doing a "make -s ins= tall" of OGo=20 1.1, eventually I end up with a strip error that start out like this:
Making install = in LSBase...
Making install for bundle LSBase...
 Installing bundle directory...
 Stripping object file...<= br>strip: symbols referenced by relocation entries that can't be stripped i= n: /usr/local/OGoRoot/Library
/OpenGroupware.org-1.1/Commands/LSBase.cmd/Contents/MacOS/LSBase

I ran some Google searching on this strip err= or and OpenGroupware and only one person had a strip problem (but not for t= he LSBase bundle) back in March of 2005 when making SOPE, not OGo.

Helge had suggested earlier that SOPE 4.5 alpha and OGo 1.1 are recomme= nded for OS X ... I really would like to take up this recommendation rather= than revert to SOPE 4.4 with OGo 1.0 beta 2 rock.

I understand that= there are more Linux OGo deployment systems than OS X although I'm not sur= e why since OS X seems just as capable of Linux.=20

Much thanks to anyone who can offer a suggestion. I'd be glad to co= ntribute in any way I can to help others avoid these challenges in the futu= re such as contributing more documentation to the OGo site.

Best reg= ards,

Tabitha

=20 ------=_Part_23198_234648.1134207738235-- From macosx@opengroupware.org Sat Dec 10 18:34:51 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Sat, 10 Dec 2005 10:34:51 -0800 Subject: [OGo-MacOSX] Successful build of Sope on Panther (1 bug) Message-ID: <467a83630512101034v4fd76362u48b334081781026f@mail.gmail.com> I thought it might be helpful to report that I successfully built Sope on pather (with one bug detailed below). This is of note because I haven't personally updated Sope since the switch to Xcode 2 and have never used gnustep-make before. Configuration: Mac OS X 10.3.9 PostgreSQL 7.4.3 (installed from source, not using Entropy package) Sope 4.5 1195 Setup gnustep-make as per: http://sope.opengroupware.org/en/build/thirdparty.html Built and installed sope as per: http://sope.opengroupware.org/en/build/sope.html My configure command line: ./configure --enable-debug --frameworks=3D$HOME/Library/Frameworks The one bug I hit was that the sopex subproject does not seem to exist. To work around this I comment out the following line in sope/GNUmakefile: SUBPROJECTS +=3D sopex I couldn't figure out how/where to report this bug using Bugzilla.=20 Perhaps a component is needed for SOPE/gnustep-make? The ThirdParty/gnustep-make component seemded to be for the gnustep-make engine and not the various GNUmakefile files. Anyway thanks to everyone that helped to make this build so smooth on OS X. -Mont From macosx@opengroupware.org Mon Dec 12 23:17:40 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Mon, 12 Dec 2005 15:17:40 -0800 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther Message-ID: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> ------=_Part_1149_32253130.1134429460166 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am about to upgrade my development machine to Tiger. My server will stil= l be Panther based for the forseable future. Does anyone know if there will be any issues, or if I need to do anything special, so that I can compile Sope on Tiger and run in on Panther. Thanks, -Mont ------=_Part_1149_32253130.1134429460166 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am about to upgrade my development machine to Tiger.  My server will= still be Panther based for the forseable future.

Does anyone know if there will be any issues, or if I need to do anything special, so that I can compile Sope on Tiger and run in on Panther.

Thanks,
-Mont

------=_Part_1149_32253130.1134429460166-- From macosx@opengroupware.org Tue Dec 13 03:54:21 2005 From: macosx@opengroupware.org (Helge Hess) Date: Tue, 13 Dec 2005 04:54:21 +0100 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther In-Reply-To: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> References: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> Message-ID: On 13. Dez 2005, at 00:17 Uhr, Mont Rothstein wrote: > I am about to upgrade my development machine to Tiger. My server > will still be Panther based for the forseable future. > > Does anyone know if there will be any issues, or if I need to do > anything special, so that I can compile Sope on Tiger and run in on > Panther. I'm not sure what you want to do. Do you want to compile on the Tiger machine and deploy the binary on Panther? This won't work if you use a gstep-make setup. Xcode supports "development kits" which allow you to compile for previous OS versions. I've never used this, but I suppose it should work for SOPE. Personally I would recommend to compile on the target platform. Greets, Helge PS: SOPE does not use Tiger features except for EOCoreData which is deactivated if you are not compiling on Tiger. -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Tue Dec 13 17:02:27 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Tue, 13 Dec 2005 09:02:27 -0800 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther In-Reply-To: References: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> Message-ID: <467a83630512130902i33655a27k3dca337164b3ec67@mail.gmail.com> ------=_Part_19343_18817050.1134493347037 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK, thanks. Yes, I want to build on Tiger and deploy on Panther. I'll use Xcode to build Sope with the target OS stuff. I agree that it would be preferred to build and deploy on the same platform but I don't have the budget to upgrade my server and this weekend my attemp= t to integrate AJRDatabase with the gnustep-make build routines for Sope met with significant frustration. Using Xcode the integration is much easier. The integration issues are ones that can be overcome but they require a re-org of the AJRDatabase EOControl project and I just don't have the time to bite that off right now. Thanks again for steering me away from gnustep-make this purpose. -Mont On 12/12/05, Helge Hess wrote: > > On 13. Dez 2005, at 00:17 Uhr, Mont Rothstein wrote: > > I am about to upgrade my development machine to Tiger. My server > > will still be Panther based for the forseable future. > > > > Does anyone know if there will be any issues, or if I need to do > > anything special, so that I can compile Sope on Tiger and run in on > > Panther. > > I'm not sure what you want to do. Do you want to compile on the Tiger > machine and deploy the binary on Panther? This won't work if you use > a gstep-make setup. > > Xcode supports "development kits" which allow you to compile for > previous OS versions. I've never used this, but I suppose it should > work for SOPE. > > Personally I would recommend to compile on the target platform. > > Greets, > Helge > > PS: SOPE does not use Tiger features except for EOCoreData which is > deactivated if you are not compiling on Tiger. > -- > http://docs.opengroupware.org/Members/helge/ > OpenGroupware.org > > -- > OpenGroupware.org MacOS X > macosx@opengroupware.org > http://mail.opengroupware.org/mailman/listinfo/macosx > ------=_Part_19343_18817050.1134493347037 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK, thanks.  Yes, I want to build on Tiger and deploy on Panther.  I'll use Xcode to build Sope with the target OS stuff.

I agree that it would be preferred to build and deploy on the same platform but I don't have the budget to upgrade my server and this weekend my attempt to integrate AJRDatabase with the gnustep-make build routines for Sope met with significant frustration.  Using Xcode the integration is much easier.

The integration issues are ones that can be overcome but they require a re-org of the AJRDatabase EOControl project and I just don't have the time to bite that off right now.

Thanks again for steering me away from gnustep-make this purpose.

-Mont


On 12/12/05, Helge Hess <helge.hess@opengroupware.org> wrote:
On 13. Dez 2005, at 00:17 Uhr, Mont Rothstein wrote:
> I am about to = upgrade my development machine to Tiger.  My server
> will = still be Panther based for the forseable future.
>
> Does anyon= e know if there will be any issues, or if I need to do
> anything special, so that I can compile Sope on Tiger and run in o= n
> Panther.

I'm not sure what you want to do. Do you want to = compile on the Tiger
machine and deploy the binary on Panther? This won'= t work if you use
a gstep-make setup.

Xcode supports "development kits" = which allow you to compile for
previous OS versions. I've never used thi= s, but I suppose it should
work for SOPE.

Personally I would reco= mmend to compile on the target platform.

Greets,
   Helge

PS: SOPE does not use Tiger fe= atures except for EOCoreData which is
deactivated if you are not compili= ng on Tiger.
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

--
OpenGroupware.org MacOS X
macosx@opengroupware.org
http://mail.ope= ngroupware.org/mailman/listinfo/macosx

------=_Part_19343_18817050.1134493347037-- From macosx@opengroupware.org Wed Dec 14 00:32:37 2005 From: macosx@opengroupware.org (Helge Hess) Date: Wed, 14 Dec 2005 01:32:37 +0100 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther In-Reply-To: <467a83630512130902i33655a27k3dca337164b3ec67@mail.gmail.com> References: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> <467a83630512130902i33655a27k3dca337164b3ec67@mail.gmail.com> Message-ID: On 13. Dez 2005, at 18:02 Uhr, Mont Rothstein wrote: > OK, thanks. Yes, I want to build on Tiger and deploy on Panther. > I'll use Xcode to build Sope with the target OS stuff. > > I agree that it would be preferred to build and deploy on the same > platform but I don't have the budget to upgrade my server and this > weekend my attempt to integrate AJRDatabase with the gnustep-make > build routines for Sope met with significant frustration. Using > Xcode the integration is much easier. Remember that non-legacy Xcode support might not be available forever. Now that PCH works with gstep-make there is little reason to use the Xcode build system and I forecast that it will be removed. So integrating AJR with gstep-make _is_ worth the frustration (though I can't say where that is rooted). > The integration issues are ones that can be overcome but they > require a re-org of the AJRDatabase EOControl project and I just > don't have the time to bite that off right now. Understandable. > Thanks again for steering me away from gnustep-make this purpose. You got me wrong here. My recommendation is to stay at equal or lower soname versions in dev systems and my recommendation is to go for gstep-make. Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Wed Dec 14 00:53:59 2005 From: macosx@opengroupware.org (Mont Rothstein) Date: Tue, 13 Dec 2005 16:53:59 -0800 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther In-Reply-To: References: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> <467a83630512130902i33655a27k3dca337164b3ec67@mail.gmail.com> Message-ID: <467a83630512131653j55b767a3h8951ae93d5228e5d@mail.gmail.com> ------=_Part_2218_27432191.1134521639641 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK, thanks for the heads up. I believe the primary difficulty with gnustep-make is that AJRDatabase uses sub-directories to organize code files, and not sub-projects. With Xcode all classes in the project can access all of the files in the project via a #import"file.h" even if it is in a sub-directory. When I tried to swap the AJRDatabase EOControl for the Sope one (creating a custom GNUmake) it complained about not having build rules (or was it make rules) for the files that were in sub-directories. So, at the least it looks like I would need to modify AJRDatabase's EOControl to use sub-projects or to flatten the file storage :-( I'm not against using sub-projects, but I really need to get some things implemented on my live system before I bite off that project. Of course I may run into additional issues, being that I have never used gnustep-make before. And now that the ability to build Sope with Xcode potentially going away sinks in, I may have to re-think everything. That means I won't be able to use Xcode's stuff for building for a particular version. Which means I may not be able to build on Tiger and run on Panther at all. Well, I may just have to stick with my 6 mo old version of Sope for quite some time. Ugh. This is all turning into a royal pain. Back to the drawing board. Thanks for the warning. -Mont On 12/13/05, Helge Hess wrote: > > On 13. Dez 2005, at 18:02 Uhr, Mont Rothstein wrote: > > OK, thanks. Yes, I want to build on Tiger and deploy on Panther. > > I'll use Xcode to build Sope with the target OS stuff. > > > > I agree that it would be preferred to build and deploy on the same > > platform but I don't have the budget to upgrade my server and this > > weekend my attempt to integrate AJRDatabase with the gnustep-make > > build routines for Sope met with significant frustration. Using > > Xcode the integration is much easier. > > Remember that non-legacy Xcode support might not be available > forever. Now that PCH works with gstep-make there is little reason to > use the Xcode build system and I forecast that it will be removed. > > So integrating AJR with gstep-make _is_ worth the frustration (though > I can't say where that is rooted). > > > The integration issues are ones that can be overcome but they > > require a re-org of the AJRDatabase EOControl project and I just > > don't have the time to bite that off right now. > > Understandable. > > > Thanks again for steering me away from gnustep-make this purpose. > > You got me wrong here. My recommendation is to stay at equal or lower > soname versions in dev systems and my recommendation is to go for > gstep-make. > > Greets, > Helge > -- > http://docs.opengroupware.org/Members/helge/ > OpenGroupware.org > > -- > OpenGroupware.org MacOS X > macosx@opengroupware.org > http://mail.opengroupware.org/mailman/listinfo/macosx > ------=_Part_2218_27432191.1134521639641 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK, thanks for the heads up.

I believe the primary difficulty with gnustep-make is that AJRDatabase uses sub-directories to organize code files, and not sub-projects. 

With Xcode all classes in the project can access all of the files in the project via a #import"file.h" even if it is in a sub-directory.  When I tried to swap the AJRDatabase EOControl for the Sope one (creating a custom GNUmake) it complained about not having build rules (or was it make rules) for the files that were in sub-directories.

So, at the least it looks like I would need to modify AJRDatabase's EOControl to use sub-projects or to flatten the file storage :-(

I'm not against using sub-projects, but I really need to get some things implemented on my live system before I bite off that project.

Of course I may run into additional issues, being that I have never used gn= ustep-make before.

And now that the ability to build Sope with Xcode potentially going away sinks in, I may have to re-think everything.  That means I won't be able to use Xcode's stuff for building for a particular version.  Which means I may not be able to build on Tiger and run on Panther at all.

Well, I may just have to stick with my 6 mo old version of Sope for quite s= ome time.  Ugh.

This is all turning into a royal pain.

Back to the drawing board.  Thanks for the warning.

-Mont


On 12/13/05, Helge Hess <helge.hess@opengroupware.org> wrote:
On 13. Dez 2005, at 18:02 Uhr, Mont Rothstein wrote:
> OK, thanks.&nb= sp; Yes, I want to build on Tiger and deploy on Panther.
> I'll = use Xcode to build Sope with the target OS stuff.
>
> I agree t= hat it would be preferred to build and deploy on the same
> platform but I don't have the budget to upgrade my server and this=
> weekend my attempt to integrate AJRDatabase with the gnustep-make<= br>> build routines for Sope met with significant frustration. &nbs= p;Using
> Xcode the integration is much easier.

Remember that non-leg= acy Xcode support might not be available
forever. Now that PCH works wit= h gstep-make there is little reason to
use the Xcode build system and I = forecast that it will be removed.

So integrating AJR with gstep-make _is_ worth the frustration (thou= gh
I can't say where that is rooted).

> The integration issues= are ones that can be overcome but they
> require a re-org of the AJR= Database EOControl project and I just
> don't have the time to bite that off right now.

Understanda= ble.

> Thanks again for steering me away from gnustep-make this p= urpose.

You got me wrong here. My recommendation is to stay at equal= or lower
soname versions in dev systems and my recommendation is to go for
gs= tep-make.

Greets,
   Helge
--
http://docs.opengroupware.org/Members= /helge/
OpenGroupware.org

--
OpenGroupware.org MacOS X
macosx@opengroupware.org
http://mail.opengro= upware.org/mailman/listinfo/macosx

------=_Part_2218_27432191.1134521639641-- From macosx@opengroupware.org Wed Dec 14 01:02:37 2005 From: macosx@opengroupware.org (Helge Hess) Date: Wed, 14 Dec 2005 02:02:37 +0100 Subject: [OGo-MacOSX] Sope built on Tiger running on Panther In-Reply-To: <467a83630512131653j55b767a3h8951ae93d5228e5d@mail.gmail.com> References: <467a83630512121517o38657d46leb6bf410ab490f1b@mail.gmail.com> <467a83630512130902i33655a27k3dca337164b3ec67@mail.gmail.com> <467a83630512131653j55b767a3h8951ae93d5228e5d@mail.gmail.com> Message-ID: <3127E1F3-F04F-4E24-9289-0E65AE10514D@opengroupware.org> On 14. Dez 2005, at 01:53 Uhr, Mont Rothstein wrote: > I believe the primary difficulty with gnustep-make is that > AJRDatabase uses sub-directories to organize code files, and not > sub-projects. Why is that a problem? > With Xcode all classes in the project can access all of the files > in the project via a #import"file.h" even if it is in a sub-directory. Just add -I for all subdirectories. Shouldn't be hard. > And now that the ability to build Sope with Xcode potentially going > away sinks in, I may have to re-think everything. That means I > won't be able to use Xcode's stuff for building for a particular > version. Which means I may not be able to build on Tiger and run > on Panther at all. That might be the case, yes. Of course there is always the option to add devkit support to gstep-make, but then, I suppose nobody will do. > Well, I may just have to stick with my 6 mo old version of Sope for > quite some time. Ugh. > > This is all turning into a royal pain. I honestly fail to see your issue. Why do you upgrade your dev machine to Tiger if your deployment machine is Panther. This is against all recommendations in _any_ scenario. Just stick with Panther on the dev machine or rebuild on the deployment machine (whats the problem with this btw?) Greets, Helge -- http://docs.opengroupware.org/Members/helge/ OpenGroupware.org From macosx@opengroupware.org Wed Dec 14 16:45:06 2005 From: macosx@open