Re: right location for cti bundles in FHS ?

Sebastian Reitenbach <[email protected]> Tue, 27 Jan 2009 08:06:28 +0100
Newsgroups gmane.comp.cms.opengroupware.user
Organization L00 bugdead prods.
Message-ID <[email protected]>
Hi,

On Monday 26 January 2009 10:07:39 pm Helge Hess wrote:
> On 26.01.2009, at 21:29, Adam Tauno Williams wrote:
> >> However, when I start ogo-webui via the snsd start script, then ogo
> >> doesn't
> >> find the cti plugins anymore.
> >> I added an export PATH=$PATH:/usr/local/sbin to the ogo-snsd5
> >> startscript, but that did not worked.
> >> I also tried to source the GNUstep.sh file there, but also no
> >> difference, when
> >
> > PATH seems to mean nothing;  bundle loading is a horrible, arcane, and
> > undocumented GNUStep thing.
>
> PATH is for shell executable lookup, nothing else.
>
> Notably the bundle loading in OGo is implemented in NGBundleManager
> (SOPE). It has little to do with GNUstep (at least in FHS mode).
>
> > I'd guess /usr/local/lib;  for example,  ZideStore bundles land in
> > "/usr/local/lib/zidestore-1.5".  WebUI bundles are in
> > "/usr/local/lib/opengroupware.org-1.1/webui".
>
> That would be correct. But looking at the source (OpenGroupware+CTI),
> I'm not sure that OGo looks for CTI dialers in FHS at all. But I might
> be wrong.
Taking a look there, I had the same impression.


>
> Assuming that, I think you need to setup NGBundlePath to point to the
> directory which contains the CTI bundle.
>
> Just from a quick lock, I could be wrong.
No thats perfectly right, at least that did the trick for me, I moved the *cti 
bundles into /usr/local/lib64/opengroupware-1.1 and did point NGBundlePath to 
that directory. Now ogo finds the cti plugins.

thanks
Sebastian

>
> Greets,
>    Helge
> --
> Helge Hess
> http://helgehess.eu/
-- 
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users