ports/89049: pear-PEAR install fails
Alexey Kuzmenko
alexey.kuzmenko at undp.org
Mon Dec 5 17:20:16 UTC 2005
The following reply was made to PR ports/89049; it has been noted by GNATS.
From: Alexey Kuzmenko <alexey.kuzmenko at undp.org>
To: bug-followup at FreeBSD.org, ben at flyingwalrus.net
Cc:
Subject: Re: ports/89049: pear-PEAR install fails
Date: Mon, 05 Dec 2005 19:17:26 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have been able to install pear-PEAR by editing adding
@ini_set('memory_limit', '16M'); into the scripts/pearcmd.php
Below you can find edited version of the patch file for this port
/usr/ports/devel/pear-PEAR/files/patch-scripts::pearcmd.php
- --- scripts/pearcmd.php.orig Sun Nov 6 21:17:11 2005
+++ scripts/pearcmd.php Mon Dec 5 19:04:59 2005
@@ -1,3 +1,4 @@
+#!@php_bin@ -nq
<?php
//
// +----------------------------------------------------------------------+
@@ -29,8 +30,10 @@
/**
* @nodep Gtk
*/
+dl('pcre.so');
+dl('xml.so');
if ('@include_path@' != '@'.'include_path'.'@') {
- - ini_set('include_path', '@include_path@');
+ ini_set('include_path', '@include_path@:@include_path@/bootstrap');
$raw = false;
} else {
// this is a raw, uninstalled pear, either a cvs checkout, or php
distro
@@ -44,6 +47,7 @@
@ini_set('track_errors', true);
@ini_set('html_errors', false);
@ini_set('magic_quotes_runtime', false);
+ at ini_set('memory_limit', '16M');
$_PEAR_PHPDIR = '#$%^&*';
set_error_handler('error_handler');
- --
Alexey Kuzmenko GPG KeyID: 0x54DBA461
CCNA nic-hdl: ASK1-RIPE
IT Manager
UN House in Ukraine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFDlHYmZs8eJVTbpGERAnNtAJ9TtqCWGWPdcx5pIO7L1Sl1xIW/ZACbB2cU
fAbSfmgKmS6xoWVcDeJsNXk=
=qn6m
-----END PGP SIGNATURE-----
More information about the freebsd-ports-bugs
mailing list