Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Nov 2009 19:17:18 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Agrapha <freebsd@box201.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports devel/pear
Message-ID:  <4AF5B9AE.9050807@quip.cz>
In-Reply-To: <4AF5A447.2030508@box201.com>
References:  <4AF5A447.2030508@box201.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Agrapha wrote:
> I'm having a very difficult time installing the php pear port.
> and pkd-add only installs pear-1.7
> Could someone either build/compile 1.9 for the postinstall packages for
> FreeBSD 6.2
> or fix the port for pear on FreeBSD 6.2?
>
>  >portinstall devel/pear
> [Gathering depends for devel/pear
> ............................................ done]
> ---> Installing 'pear-1.9.0' from a port (devel/pear)
> ---> Building '/usr/ports/devel/pear'
> ===> Cleaning for pear-1.9.0
> ===> Extracting for pear-1.9.0
> => MD5 Checksum OK for pear-1.9.0.tar.bz2.
> => SHA256 Checksum OK for pear-1.9.0.tar.bz2.
> ===> Patching for pear-1.9.0
> ===> Applying FreeBSD patches for pear-1.9.0
> ===> Configuring for pear-1.9.0
> ---> Installing the new version via the port
> ===> Installing for pear-1.9.0
> ===> pear-1.9.0 depends on file: /usr/local/include/php/main/php.h - found
> ===> pear-1.9.0 depends on file: /usr/local/lib/php/20060613/pcre.so -
> found
> ===> pear-1.9.0 depends on file: /usr/local/lib/php/20060613/xml.so - found
> ===> Generating temporary packing list
> ===> Checking if devel/pear already installed
> PHP Warning: PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20060613/memcache.so' -
> /usr/local/lib/php/20060613/memcache.so: Undefined symbol
> "php_session_create_id" in Unknown on line 0

[...]

It seems you have problem with your current PHP installation, not only 
with PEAR. Do you have memcache extension installed? If not, do you have 
it listed in the /usr/local/etc/php/extensions.ini or php.ini?
Try to commented out or reinstall your PHP and extensions.

Miroslav Lachman



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