From: Agrapha on
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

Bootstrapping Installer...................
Using previously install ... ok

Extracting installer..................
Using previously installed installer ... ok

Preparing installer..................
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date

Installing selected packages..................
Package: PEAR-stable.............................. already installed ... ok
Package: Structures_Graph-stable.................. already installed ... ok
Package: Archive_Tar-stable....................... already installed ... ok
Package: Console_Getopt-stable.................... already installed ... ok
*** Signal 11

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall20091107-64767-1rrb3k5-0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear (install error)

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Miroslav Lachman on
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
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"