Hello

On Tue, Oct 11, 2005 at 06:33:34AM +0300, Delian Krustev wrote:
> On Monday 10 October 2005 22:38, Ola Lundqvist wrote:
> > Hello
> >
> > On Mon, Oct 10, 2005 at 10:01:28PM +0300, Delian Krustev wrote:
> > > On Monday 10 October 2005 21:43, Ola Lundqvist wrote:
> > > > On Mon, Oct 10, 2005 at 09:22:29PM +0300, Delian Krustev wrote:
> > > > > Package: horde3
> > > > > Severity: normal
> > > > >
> > > > > AFAIK horde3 should run just fine when only php5 is installed.
> > > > > The package should probably have a dependency similar to:
> > > > >
> > > > > phpapi-20020918 | phpapi-20041030
> > > > >
> > > > > The later api is probably not fully compatible with the
> > > > > former(otherwise it should have been provided by the php5 packages). 
> > > > > You might need to contact the php5 maintainers to figure out the
> > > > > correct requirement.
> > > > >
> > > > > imp4, and probably the other packages from the horde suit, also have
> > > > > hardcoded php4 depndencies - e.g. php4-imap.
> > > >
> > > > As far as I have understood packages should not depend directly on
> > > > these packages. Only packages that provide a php module should
> > > > do that.
> > >
> > > horde3 has a dependency to phpapi-20020918 anyway. If you are correct
> > > here it should be removed.
> >
> > Hmm, yes probably. I'll check that out.
> >
> > > > So I do not think this is a good solution, or do you have some other
> > > > information on what the current policy is?
> > >
> > > Unfortunately no. I've taken a quick look at the packages/bugs but was
> > > unable to figure this out. That's why I've written you should probably
> > > contact the php maintainers.
> >
> > Ok.
> >
> > > > I think it is pretty good to depend on php4 and php5 directly as
> > > > it has been seen that it is not trivial to switch. You will most
> > > > certainly see a number of problems when switching. That is what
> > > > my experience is anyway. :)
> > >
> > > Don't know here also. May be you'll face some troubles if you have e.g.
> > > heavily modified configs, or apps that depend on functions/flags/config
> > > options/etc. that have changed in php5.
> > > I'm planning the upgrade to php5, so I'll probably find it out anyway ;)
> > > On the other side I've installed several new system with php5 only.
> >
> > In order to test (yes I'm interested if it actually work) it, you can
> > create a dummy package that provide what horde3 depend on (or somply force
> > it in).
> >
> > I got some bugreports about different issues, that may have been fixed by
> > now.
> 
> I've tested with a dummy package which:
> 
> Provides: php4, php4-domxml, php4-imap, phpapi-20020918
> 
> and installed just horde3 and imp4. A bugreport might be fired against 
> php-mail-mime to not depend on php4. Also some other packages do depend
> on php4-pear, which is a transitional pkg at this time.

I was not aware that it has been a transitional package. Interesting.

> The installation went fine and I was able to run horde using mysql5 backend 
> and imp and authenticating against a remote IMAP server. The only error I got 
> was:
> [Tue Oct 11 06:05:05 2005] [error] [client ::1] PHP Fatal error:  Only 
> variables can be passed by reference in /usr/share/horde3/imp/mailbox.php on 
> line 553, referer: 
> http://localhost/horde3/services/portal/sidebar.php?Horde=d8bf4e67adcff2d84d8ae6d3ef88e995
> 
> I've not payed too much attention to configuration though, and might have 
> broken something there. Also I was unable to find php4-domxml replacement and 
> gave it a go w/o it. Not sure whether it's needed anymore(or included 
> somewhere in php5 packages).

This is a problem because php4 and php5 are different and I actually think
that there are some bugs about this already.

> Anyway, the result of the test is that it is runnable within this 
> environment, 
> and your should probably go ahead and change the dependencies.

Not until this error message is gone. Otherwise I would be swamped with
bugreports and I do not really have time for that. :)

> I haven't checked the horde/imp mls for anything on the topic, just the 
> install instructions. A quick search on the archives, or a talk with 
> Chuck/Jan(form horde team) should show you whether there could be any issues.

Ok, thanks.

Regards,

// Ola

> Cheers,
> Delian
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  [EMAIL PROTECTED]                     Annebergsslingan 37      \
|  [EMAIL PROTECTED]                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to