Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jul 2004 13:10:52 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Nagilum <freebsd@nagilum.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: IMP breakage?
Message-ID:  <20040725121052.GA14398@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <41038F96.1020709@nagilum.org>
References:  <1090701499.4102c8bbbc3d7@mrna.ist.utl.pt> <20040724231324.GB7816@happy-idiot-talk.infracaninophile.co.uk> <20040724222455.U915@ganymede.hub.org> <41038F96.1020709@nagilum.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 25, 2004 at 12:46:46PM +0200, Nagilum wrote:
> Marc G. Fournier wrote:
> >On Sun, 25 Jul 2004, Matthew Seaman wrote:

> >>  ii) PEAR modules -- in order to use PEAR at all, you need to
> >>      install the devel/php4-pear port, as well as whichever pear-*
> >>      ports are required.  Ports that require PEAR modules should be
> >>      modified to set the WANT_PHP_PEAR option, but that hasn't been
> >>      appied to many of them yet.  Setting it in /etc/make.conf for
> >>      the time being is a good workaround.

> From my own experience I can only advice against setting WANT_PHP_PEAR=20
> in /etc/make.conf!
> http://groups.google.de/groups?q=3DFreeBSD+php4-pear+broken&hl=3Dde&lr=3D=
&ie=3DUTF-8&selm=3Dcdt34h%241g4o%241%40FreeBSD.csie.NCTU.edu.tw&rnum=3D1
> ..and other php related threads right now.
> In fact I removed all my old php specific stuff from /etc/make.conf.

Ah -- good call.  Does it work to use WANT_PHP_PEAR on the make
command line instead?  I'm beginning to think the WANT_PHP_FOO
variables maybe should be divided up a bit further into more clearly
demarkated porter-only USE_PHP_FOO and user-only WITH_PHP_FOO or
WANT_PHP_FOO versions.

> >'k, since I'm kinda hitting the exact same thing here, if I want to=20
> >'mimic' what I had installed before this whole re-org, I just need to=20
> >uninstall:
> >
> >php4-4.3.7_1
> >
> >And then install:
> >
> >lang/php4-extensions
> >devel/php4-pear
> >
> >And I'll be back in business?

> What I did was pkg_delete pear\* and then reinstall php4, php4-pear,=20
> php-extensions (do a "make config" there) pear-PEAR and all required=20
> pear modules (try http://yourside/horde/test.php and=20
> http://yourside/horde/imp/test.php !)
> Unfortunately this means imp will be offline for a few hours it takes to=
=20
> build all this stuff.
> After that everything should be swell again, I'm still running=20
> horde-2.2.5 + imp, because the php update was enough for one weekend=20
> .-). Maybe I'll update horde/imp when both have been updated but so far=
=20
> I see no need as everthing works fine (even pkgdb -F has nothing to=20
> complain).

Ho hum.  I'm not running Imp, but I hit the same sort of problems with
some code of my own.  Installing lang/php4-pear was required, and I
have a feeling I had to tweak some settings in php.ini to get the pear
stuff to work -- independent of the tweaks required to make the php
extensions load up properly.  But YMMV.

As I said, supplying the extra pieces by hand generally works.
There's a couple of things I've seen mentioned on the lists which
can't be fixed like that -- fsockopen() needing OpenSSL support to be
compiled in before it will do TLS or SSL tbased transports is probably
the worst. (I think, although I can't confirm it, that may not be a
problem any more in PHP5).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBA6NMiD657aJF7eIRAie6AKCgSZsTf7lDMbv4Wj6xhi8zBTPesgCeJuXC
V6ZJIgSCyEI5N6PP9Fn3LRM=
=BXLE
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040725121052.GA14398>