Re: [PHP] PEAR segfaulting

2009-10-19 Thread 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? > >

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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.

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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/Pac

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
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

Re: [PHP] PEAR segfaulting

2009-10-19 Thread 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/Inst

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Eddie Drapkin
On Mon, Oct 19, 2009 at 1:35 PM, Ashley M. Kirchner wrote: > 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" - d

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Eddie Drapkin
On Mon, Oct 19, 2009 at 1:28 PM, Ashley M. Kirchner wrote: > 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)

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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? (

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
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

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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 PE

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
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 fr

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Ashley M. Kirchner
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

Re: [PHP] PEAR segfaulting

2009-10-19 Thread Thodoris
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 we