PEAR segfaulting
am 19.10.2009 17:59:45 von Ashley
Typing 'pear segmentation fault' in Google produces tons of
responses so I know I'm not the only one with this issue, but I'll be
damned if I can figure out what the problem is and how to fix it. I
rolled my own PHP 5.3.0 from source. Compilation went fine, no errors.
Installation went without any errors. I can run 'pecl' and install some
packages, but when I try to run 'pear', it segfaults after it downloads
a package:
--------------------
$ pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
..............................done: 132,246 bytes
Segmentation fault
--------------------
Running it with -vvv gives me:
--------------------
$ pear -vvv install DB
Warning: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1510
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
pear/DB: Skipping required dependency "pear/PEAR" version 1.9.0, already
installed as version 1.8.0
Downloading "http://pear.php.net/get/DB-1.7.13.tgz"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
..............................done: 132,246 bytes
Segmentation fault
--------------------
So, is this a known issue?
-- A
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 18:41:31 von Goltsios Theodore
>
> Typing 'pear segmentation fault' in Google produces tons of
> responses so I know I'm not the only one with this issue, but I'll be
> damned if I can figure out what the problem is and how to fix it. I
> rolled my own PHP 5.3.0 from source. Compilation went fine, no
> errors. Installation went without any errors. I can run 'pecl' and
> install some packages, but when I try to run 'pear', it segfaults
> after it downloads a package:
>
> --------------------
> $ pear install DB
> WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
> downloading DB-1.7.13.tgz ...
> Starting to download DB-1.7.13.tgz (132,246 bytes)
> .............................done: 132,246 bytes
> Segmentation fault
> --------------------
>
Was, by any chance, PHP installed as binary before you install it from
source?
If this is the case try uninstalling the binary and then configure and
compile the source again running 'make clean' before.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 18:49:43 von Ashley
Thodoris wrote:
> Was, by any chance, PHP installed as binary before you install it from
> source?
> If this is the case try uninstalling the binary and then configure and
> compile the source again running 'make clean' before.
PHP was not installed at all on this machine. I grabbed the source
from php.net and installed that.
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 18:57:35 von Goltsios Theodore
> Thodoris wrote:
>> Was, by any chance, PHP installed as binary before you install it
>> from source?
>> If this is the case try uninstalling the binary and then configure
>> and compile the source again running 'make clean' before.
> PHP was not installed at all on this machine. I grabbed the source
> from php.net and installed that.
>
Is there a good reason for needing this pear package?
http://pear.php.net/package/DB
It is old and it has been replaced with MDB2 some time ago. Why don't
you use it instead of trying to install DB.
http://pear.php.net/package/MDB2
Just a thought :-)
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:15:33 von Ashley
Thodoris wrote:
> Is there a good reason for needing this pear package?
>
> http://pear.php.net/package/DB
>
> It is old and it has been replaced with MDB2 some time ago. Why don't
> you use it instead of trying to install DB.
The issue here isn't what package is being installed. The issue is
that PEAR segfaults no matter what I try to install. PECL works just
fine (at least I was able to install something with it.)
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:22:54 von Goltsios Theodore
> Thodoris wrote:
>> Is there a good reason for needing this pear package?
>>
>> http://pear.php.net/package/DB
>>
>> It is old and it has been replaced with MDB2 some time ago. Why don't
>> you use it instead of trying to install DB.
> The issue here isn't what package is being installed. The issue is
> that PEAR segfaults no matter what I try to install. PECL works just
> fine (at least I was able to install something with it.)
>
Obviously something went wrong while installing PHP and you will have to
find this because this probably the reason pear segfaults.
Did you run make test before installing? (makes sure everything went well)
You know you don't need pear binary to use a pear's package right? (it's
pure PHP after all)
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:28:46 von Ashley
Thodoris wrote:
> Obviously something went wrong while installing PHP and you will have
> to find this because this probably the reason pear segfaults.
>
> Did you run make test before installing? (makes sure everything went
> well)
>
> You know you don't need pear binary to use a pear's package right?
> (it's pure PHP after all)
I know, I've been doing this for years. This is a new machine, and
the only one where I have PHP 5.3.0 installed on (all the rest are PHP
5.2.x and are all working fine.) So at the moment I'm making the
assumption it's something with 5.3.0 ... I'm in the process of
reinstalling it all from scratch again, see what happens.
It also doesn't help with you search Google and you find, according
to them, some 36,000 hits to 'PEAR segmentation fault' ... obviously
something's up.
-- A
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:30:22 von Eddie Drapkin
On Mon, Oct 19, 2009 at 1:28 PM, Ashley M. Kirchner wro=
te:
> Thodoris wrote:
>>
>> Obviously something went wrong while installing PHP and you will have to
>> find this because this probably the reason pear segfaults.
>>
>> Did you run make test before installing? (makes sure everything went wel=
l)
>>
>> You know you don't need pear binary to use a pear's package right? (it's
>> pure PHP after all)
>
> Â I know, I've been doing this for years. Â This is a new machin=
e, and the
> only one where I have PHP 5.3.0 installed on (all the rest are PHP 5.2.x =
and
> are all working fine.) Â So at the moment I'm making the assumption i=
t's
> something with 5.3.0 ... Â I'm in the process of reinstalling it all =
from
> scratch again, see what happens.
>
> Â It also doesn't help with you search Google and you find, accordin=
g to
> them, some 36,000 hits to 'PEAR segmentation fault' ... obviously
> something's up.
>
> Â -- A
>
> --
> H | It's not a bug - it's an undocumented feature.
> Â +----------------------------------------------------- -------------=
--
>  Ashley M. Kirchner  .  303.4=
42.6410 x130
>  IT Director / SysAdmin       =
      .   800.441.3873 x130
>  Photo Craft Imaging       =C2=
=A0 Â Â Â Â . Â Â Â Â Â 2901 55=
th Street
> Â http://www.pcraft.com ..... . Â . Â Â . Â Â =
 Boulder, CO 80301, U.S.A.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Have you tried running "pear upgrade pear"?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:35:36 von Ashley
Eddie Drapkin wrote:
> Have you tried running "pear upgrade pear"?
Yep, but I'll do it again for you to see:
--------------------
pear -vvv upgrade pear
Warning: file_exists(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1510
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
Warning: is_file(): Unable to find the wrapper "channel" - did you
forget to enable it when you configured PHP? in
PEAR/Downloader/Package.php on line 1520
pear/PEAR: Skipping required dependency "pear/Archive_Tar" version
1.3.3, already installed as version 1.3.3
pear/PEAR: Skipping required dependency "pear/Console_Getopt" version
1.2.3, already installed as version 1.2.3
pear/PEAR: Skipping required dependency "pear/XML_Util" version 1.2.1,
already installed as version 1.2.1
skipping installed package check of "pear/pear", version "1.9.0" will be
downloaded and installed
Downloading "http://pear.php.net/get/PEAR-1.9.0.tgz"
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
............................................................ ..done:
291,634 bytes
Segmentation fault
--------------------
Like I said, it doesn't matter *WHAT* I try to install/upgrade, pear
will always segfault. PECL does not exhibit that behavior.
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 19:47:20 von Eddie Drapkin
On Mon, Oct 19, 2009 at 1:35 PM, Ashley M. Kirchner wro=
te:
> Eddie Drapkin wrote:
>>
>> Have you tried running "pear upgrade pear"?
>
> Â Yep, but I'll do it again for you to see:
>
> --------------------
> pear -vvv upgrade pear
>
> Warning: file_exists(): Unable to find the wrapper "channel" - did you
> forget to enable it when you configured PHP? in PEAR/Downloader/Package.p=
hp
> on line 1510
>
> Warning: is_file(): Unable to find the wrapper "channel" - did you forget=
to
> enable it when you configured PHP? in PEAR/Downloader/Package.php on line
> 1520
>
> Warning: is_file(): Unable to find the wrapper "channel" - did you forget=
to
> enable it when you configured PHP? in PEAR/Downloader/Package.php on line
> 1520
> pear/PEAR: Skipping required dependency "pear/Archive_Tar" version 1.3.3,
> already installed as version 1.3.3
> pear/PEAR: Skipping required dependency "pear/Console_Getopt" version 1.2=
..3,
> already installed as version 1.2.3
> pear/PEAR: Skipping required dependency "pear/XML_Util" version 1.2.1,
> already installed as version 1.2.1
> skipping installed package check of "pear/pear", version "1.9.0" will be
> downloaded and installed
> Downloading "http://pear.php.net/get/PEAR-1.9.0.tgz"
> downloading PEAR-1.9.0.tgz ...
> Starting to download PEAR-1.9.0.tgz (291,634 bytes)
> ............................................................ .done: 291,63=
4
> bytes
> Segmentation fault
> --------------------
>
>
> Â Like I said, it doesn't matter *WHAT* I try to install/upgrade, pe=
ar will
> always segfault. Â PECL does not exhibit that behavior.
>
>
> --
> H | It's not a bug - it's an undocumented feature.
> Â +----------------------------------------------------- -------------=
--
>  Ashley M. Kirchner  .  303.4=
42.6410 x130
>  IT Director / SysAdmin       =
      .   800.441.3873 x130
>  Photo Craft Imaging       =C2=
=A0 Â Â Â Â . Â Â Â Â Â 2901 55=
th Street
> Â http://www.pcraft.com ..... . Â . Â Â . Â Â =
 Boulder, CO 80301, U.S.A.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Try rebuilding PEAR manually.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 20:00:31 von Ashley
Eddie Drapkin wrote:
> Try rebuilding PEAR manually.
No dice. Same segfault. Bunch of deprecated warnings too ...
[ ... snip ... ]
Installing selected packages..................
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 331
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 343
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 1137
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Config.php on line 1026
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Config.php on line 1033
Downloading and installing package: PEAR.............PHP Deprecated:
Assigning the return value of new by reference is deprecated in
/usr/bin/temp/PEAR/Installer.php on line 592
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Installer.php on line 1177
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Installer.php on line 1266
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Installer.php on line 1538
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Installer.php on line 1682
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1385
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1438
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1502
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1587
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/REST/10.php on line 42
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 148
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 166
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 567
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 613
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1853
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1892
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 897
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1178
PHP Deprecated: Assigning the return value of new by reference is
deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1202
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
warning: pear/PEAR requires package "pear/Archive_Tar" (recommended
version 1.3.3)
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
warning: pear/PEAR requires package "pear/Structures_Graph" (recommended
version 1.0.2)
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
warning: pear/PEAR requires package "pear/Console_Getopt" (recommended
version 1.2.3)
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
warning: pear/PEAR requires package "pear/XML_Util" (recommended version
1.2.1)
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1179
PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
/usr/bin/temp/PEAR/Registry.php on line 1183
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.......................................done: 291,634 bytes
Segmentation fault
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 20:09:51 von Goltsios Theodore
O/H Ashley M. Kirchner ÎγÏαÏε:
> Eddie Drapkin wrote:
>> Try rebuilding PEAR manually.
> No dice. Same segfault. Bunch of deprecated warnings too ...
>
> [ ... snip ... ]
>
> Installing selected packages..................
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 331
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 343
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Command/Install.php on line 1137
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Config.php on line 1026
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Config.php on line 1033
> Downloading and installing package: PEAR.............PHP Deprecated:
> Assigning the return value of new by reference is deprecated in
> /usr/bin/temp/PEAR/Installer.php on line 592
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Installer.php on line 1177
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Installer.php on line 1266
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Installer.php on line 1538
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Installer.php on line 1682
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1385
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1438
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1502
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Downloader/Package.php on line 1587
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/REST/10.php on line 42
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 148
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 166
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 567
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 613
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1853
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/PackageFile/v2.php on line 1892
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 897
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1178
> PHP Deprecated: Assigning the return value of new by reference is
> deprecated in /usr/bin/temp/PEAR/Dependency2.php on line 1202
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> warning: pear/PEAR requires package "pear/Archive_Tar" (recommended
> version 1.3.3)
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> warning: pear/PEAR requires package "pear/Structures_Graph"
> (recommended version 1.0.2)
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> warning: pear/PEAR requires package "pear/Console_Getopt" (recommended
> version 1.2.3)
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> warning: pear/PEAR requires package "pear/XML_Util" (recommended
> version 1.2.1)
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1179
> PHP Deprecated: Function set_magic_quotes_runtime() is deprecated in
> /usr/bin/temp/PEAR/Registry.php on line 1183
> downloading PEAR-1.9.0.tgz ...
> Starting to download PEAR-1.9.0.tgz (291,634 bytes)
> ......................................done: 291,634 bytes
> Segmentation fault
>
Manually is the best solution as far as I can tell:
http://pear.php.net/manual/en/installation.getting.php
Eddie is right. Give it a try.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 20:15:45 von Ashley
Thodoris wrote:
> Manually is the best solution as far as I can tell:
>
> http://pear.php.net/manual/en/installation.getting.php
That's exactly what I did. I grabbed http://pear.php.net/go-pear
and saved it, then ran php go-pear.php. The result is what you saw in
my previous e-mail.
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 20:27:55 von Ashley
Ok, we have activity here. Before deleting everything and
re-installing, I decided to just rename my php.ini file. Low and
behold, pear works now. So, now the next task is figuring out where and
why does php.ini cause pear to bomb.
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 19.10.2009 21:09:25 von Ashley
Well, it boiled down to zlib.so causing the segfault. As soon as I
removed that module, everything worked. Recompiling just the zlib.so
module yielded the same result: pear segfaults.
So now the question is: is it zlib's fault, or is it pear?
At this point I've accomplished what I needed, but it doesn't
actually fix the problem: enabling zlib will cause pear to segfault.
--
H | It's not a bug - it's an undocumented feature.
+----------------------------------------------------------- ---------
Ashley M. Kirchner . 303.442.6410 x130
IT Director / SysAdmin . 800.441.3873 x130
Photo Craft Imaging . 2901 55th Street
http://www.pcraft.com ..... . . . Boulder, CO 80301, U.S.A.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 20.10.2009 06:09:46 von Greg Beaver
Ashley M. Kirchner wrote:
>
> Typing 'pear segmentation fault' in Google produces tons of responses
> so I know I'm not the only one with this issue, but I'll be damned if I
> can figure out what the problem is and how to fix it. I rolled my own
> PHP 5.3.0 from source. Compilation went fine, no errors. Installation
> went without any errors. I can run 'pecl' and install some packages,
> but when I try to run 'pear', it segfaults after it downloads a package:
>
> --------------------
> $ pear install DB
> WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
> downloading DB-1.7.13.tgz ...
> Starting to download DB-1.7.13.tgz (132,246 bytes)
> .............................done: 132,246 bytes
> Segmentation fault
> --------------------
>
>
> Running it with -vvv gives me:
>
> --------------------
> $ pear -vvv install DB
>
> Warning: file_exists(): Unable to find the wrapper "channel" - did you
> forget to enable it when you configured PHP? in
> PEAR/Downloader/Package.php on line 1510
>
> Warning: is_file(): Unable to find the wrapper "channel" - did you
> forget to enable it when you configured PHP? in
> PEAR/Downloader/Package.php on line 1520
>
> Warning: is_file(): Unable to find the wrapper "channel" - did you
> forget to enable it when you configured PHP? in
> PEAR/Downloader/Package.php on line 1520
> WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
> pear/DB: Skipping required dependency "pear/PEAR" version 1.9.0, already
> installed as version 1.8.0
> Downloading "http://pear.php.net/get/DB-1.7.13.tgz"
> downloading DB-1.7.13.tgz ...
> Starting to download DB-1.7.13.tgz (132,246 bytes)
> .............................done: 132,246 bytes
> Segmentation fault
> --------------------
>
>
> So, is this a known issue?
Hi,
Most likely your machine has a borked zlib library. Try:
pear install -Z DB
This will download the uncompressed .tar and should work fine. If it
does, look to fix your zlib install and re-build PHP.
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: PEAR segfaulting
am 20.10.2009 06:12:05 von Greg Beaver
Ashley M. Kirchner wrote:
>
> Well, it boiled down to zlib.so causing the segfault. As soon as I
> removed that module, everything worked. Recompiling just the zlib.so
> module yielded the same result: pear segfaults.
>
> So now the question is: is it zlib's fault, or is it pear?
>
> At this point I've accomplished what I needed, but it doesn't
> actually fix the problem: enabling zlib will cause pear to segfault.
Ha, I guess I should wait before replying :).
It is zlib's fault. We've had reported problems for years on some
poorly configured systems (not your problem: several distros decided to
include a borked zlib and apparently some still do for no good reason at
all).
Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php