Re: go-pear!

From: Date: Mon, 25 Mar 2002 08:10:11 +0000
Subject: Re: go-pear!
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5095@lists.php.net to get a copy of this message
      Even when you have root access IMO the place should
     be /usr/local/bin/pear.
Come on guys, you can do better than that: php-config --prefix/bin.
                   ^^^-> can't?
debian packages php-config in php4-dev (the development package, not sure about redhat etc.) so it may not be available/installed on all systems.
regards alan
Oh, php-config, why the hell I didn't notice that command before? Oh oh, it's even under php4/pear/scripts/! :-) Well perhaps I should use this php-config instead of the ugly thing I'm doing now in go-pear: prefix=$(type -p php | perl -pe 's/\/bin\/php//; s/\//\\\//g') Also if there is no 'php-config' command it would mean that the users did compile his php with --without-pear. Umm, well, I guess that even with --without-pear the PEAR installer could work if the user use "pear -d php_dir=foo -s" no? Tomas V.V.Cox


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