From owner-freebsd-questions@FreeBSD.ORG Tue Aug 16 13:09:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C455106566C for ; Tue, 16 Aug 2011 13:09:59 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id 5CA208FC1B for ; Tue, 16 Aug 2011 13:09:59 +0000 (UTC) Received: (qmail invoked by alias); 16 Aug 2011 13:09:57 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.102.210] by mail.gmx.com (mp-us010) with SMTP; 16 Aug 2011 09:09:57 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX18eaxtECMoe93oHmnpJ1d7C8wItQJr7SBUoqEmeZy DEkLXzpbG86VWI Message-ID: <4E4A6C4C.302@mail.com> Date: Tue, 16 Aug 2011 16:10:36 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110625 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: devel/pear doesn't install (segfault) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 13:09:59 -0000 devel/pear doesn't install (segfault) Hi all, When I try to install pear from ports on my server, it spits out a whole bunch of messages like: Preparing installer.................. PHP Deprecated: Assigning the return value of new by reference is deprecated in /go-pear/PEAR/Config.php on line 650 (...) PHP Deprecated: Assigning the return value of new by reference is deprecated in /go-pear/PEAR/Registry.php on line 322 (...) PHP Deprecated: Assigning the return value of new by reference is deprecated in /go-pear/PEAR/Command.php on line 137 (...) PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead in /go-pear/PEAR/Registry.php on line 1012 (...) And then ends up like this: PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /go-pear/PEAR/DependencyDB.php on line 583 install ok: channel://pear.php.net/Console_Getopt-1.2.3 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /go-pear/PEAR/Registry.php on line 1140 PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in /go-pear/PEAR/Registry.php on line 1144 Segmentation fault (core dumped) *** Error code 139 Stop in /basejail/usr/ports/devel/pear. *** Error code 1 Stop in /basejail/usr/ports/devel/pear. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20110816-14452-1w1lpn0-0 env make reinstall ** Fix the installation problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! devel/pear (install error) First, beause the messages start with "PHP Deprecated", I thought it's about my php being outdated. Some extensions really were, so I upgraded them, but nothing changed. I found, on FreeBSD Forums, a thread about "PHP Deprecated" messages, and there the issue was to set open_basedir properly in php.ini. But mine was not set (commented out) -- so, default value (/tmp) which, as they say, doesn't cause problems. Then I tried to install pear on my FreeBSD 8.2 desktop, it again printed all the "PHP Deprecated" messages, but it installed and I even could do "pear upgrade PEAR". Then I tried to install pear from 7-stable packages on my server, pear installed but when I tried to upgrade PEAR: #pear upgrade PEAR Error getting channel info from pear.php.net: No cached content available for "http://pear.php.net/rest/p/packages.xml" Nothing to upgrade Segmentation fault (core dumped) # The server is an ezjail on 7.4-RELEASE. Any ideas of how to get pear installed? Thanks.