#444 [Bgs]: /usr/local/bin/pear: segmentation fault

From: Date: Wed, 17 Dec 2003 10:10:07 +0000
Subject: #444 [Bgs]: /usr/local/bin/pear: segmentation fault
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24487@lists.php.net to get a copy of this message
ID: 444 User updated by: sw at telemedia dot ch Reported By: sw at telemedia dot ch Status: Bogus Bug Type: Bug System Operating System: OpenBSD PHP Version: Irrelevant New Comment: thanks for your help pierre. maybe this is something for the OpenBSD packager. the problem (imho) is that ppl with few or no knowledge of php/pear (maybe a sys admin who installs the php package) may not find this problem quickly ... >BSD port, even if it is an usefull system, should >actually not be used to install pear (and/or php but >this is another topic). OpenBSD has a very clean directory layout (other than eg. linux). this is the reason why the package will most probably rather be installed trough the package manager than from source (due to the preset installation paths for lib, binm, etc...). since the pear script itself came originally from here (altough its old) i tought i'd mention the problem (with the same version on linux i don't get a segmentation fault, altough the -C option is also not available). Cheers, -S Previous Comments: ------------------------------------------------------------------------ [2003-12-17 05:02:10] pajoye@php.net Sorry, but your problem does not imply a bug in PEAR itself. For a list of more appropriate places to ask for help using PEAR, please visit http://pear.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PEAR. OK, my thought was right. Please upgrade your pear installation using go-pear. See the pear manual for the procedure. BSD port, even if it is an usefull system, should actually not be used to install pear (and/or php but this is another topic). I set it as bogus(not a developer issue) as we not responsible of external packages or installation tools. Contact openBSD php maintainers to get their ports uptodated if you still like to use them. thanks for your interest, pierre ------------------------------------------------------------------------ [2003-12-17 04:57:41] sw at telemedia dot ch --shell <b2-143:/usr/ports/www/php4/extensions/pkg>#php -v 4.2.3 <b2-143:/usr/ports/www/php4/extensions/pkg>#pear -V unrecognized option -- V Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help <command>" to get the help for the specified command. Commands: login logout config-show config-get config-set install uninstall upgrade package package-info package-list package-validate cvstag list-installed shell-test remote-package-info list-upgrades list-remote-packages --shell there is no -V parameter for pear: ---snip foreach ($opts as $opt) { $param = !empty($opt[1]) ? $opt[1] : true; switch ($opt[0]) { case 'd': list($key, $value) = explode('=', $param); $config->set($key, $value, 'user'); break; case 'D': list($key, $value) = explode('=', $param); $config->set($key, $value, 'system'); break; case 's': $store_user_config = true; break; case 'S': $store_system_config = true; break; case 'u': $config->remove($param, 'user'); break; case 'v': $config->set('verbose', $verbose + 1); break; case 'q': $config->set('verbose', $verbose - 1); break; default: // all non pear params goes to the command $cmdopts[$opt[0]] = $param; break; } } --- snip i got this from PEAR.php: $Id: PEAR.php,v 1.32.2.2 2002/04/09 19:04:07 ssb Exp $ Cheers, -S ------------------------------------------------------------------------ [2003-12-17 04:47:32] pajoye@php.net > the latest php package available with OpenBSD is 3.2.3. I do not have BSD installed here. Please run these commands and paste the result here. pierre ------------------------------------------------------------------------ [2003-12-17 04:36:32] sw at telemedia dot ch the latest php package available with OpenBSD is 3.2.3. ------------------------------------------------------------------------ [2003-12-17 04:30:15] pajoye@php.net We need the php version and the pear version. you can get it using the folliwing command: PHP: $> php -v PEAR $> pear -V That said, I doubt BSD port are a good way to install pear (or php ;) ). They are outdated most of the times. pierre ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://pear.php.net/bugs/444 -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=444&edit=1

« previous php.pear.dev (#24487) next »