2011-08-07 109 views
0

我試圖通過梨在OSX終端安裝predis並收到此錯誤麻煩:有安裝predis梨包OSX

$ pear install pearhub/predis 
Attempting to discover channel "pearhub"... 
Attempting fallback to https instead of http on channel "pearhub"... 
unknown channel "pearhub" in "pearhub/predis" 
invalid package name/package file "pearhub/predis" 
install failed 

你知道我必須做的發現pearhub?

回答

6

PEAR需要知道「pearhub」的含義。在這種情況下,它意味着項目存儲庫「pearhub.org」。發現這樣的:

$ pear channel-discover pearhub.org 
$ pear install pearhub/predis