Re: Pear installation problem under Windows
| From: | Jean-Marc Fontaine | Date: | Tue, 20 May 2003 11:30:59 +0000 |
| Subject: | Re: Pear installation problem under Windows | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5459@lists.php.net to get a copy of this message | ||
Hi Pierre,
as I said in my post, I already tried this way.
Here is the whole ouput I got when I try to install PEAR using the command
line:
---------------------------------------------------------------------
D:\ServeurWeb\PHP\cli>php.exe go-pear.php
Welcome to go-pear!
Go-pear will install the 'pear' command and all the files needed by
it. This command is your tool for PEAR installation and maintenance.
Go-pear also lets you download and install the PEAR packages bundled
with PHP: DB, Net_Socket, Net_SMTP, Mail, XML_Parser, phpUnit.
If you wish to abort, press Control-C now, or press Enter to continue:
HTTP proxy (host:port), or Enter for none:
PHP 4.3.2RC3 (cli) (built: May 16 2003 00:18:38)
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : D:\ServeurWeb\PHP\cli
2. Binaries directory : $prefix
3. PHP code directory ($php_dir) : $prefix\pear
4. Documentation base directory : $php_dir\docs
5. Data base directory : $php_dir\data
6. Tests base directory : $php_dir\tests
7. php.exe path : D:\ServeurWeb\PHP\cli\php.exe
1-7, 'all' or Enter to continue: 1
CSCRIPT: C:/DOCUME~1/JMFONT~1/LOCALS~1/Temp/gop4F8.tmp\bf.vbs
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation prefix : D:\ServeurWeb\PHP\PEAR
2. Binaries directory : $prefix
3. PHP code directory ($php_dir) : $prefix\pear
4. Documentation base directory : $php_dir\docs
5. Data base directory : $php_dir\data
6. Tests base directory : $php_dir\tests
7. php.exe path : D:\ServeurWeb\PHP\cli\php.exe
1-7, 'all' or Enter to continue:
The following PEAR packages are bundled with PHP: DB, Net_Socket, Net_SMTP,
Mail, XML_Parser, phpUnit.
Would you like to install these as well? [Y/n] : y
Loading zlib: ok
Downloading package: PEAR.............ok
Downloading package: Archive_Tar......ok
Downloading package: Console_Getopt....ok
Downloading package: XML_RPC..........ok
Bootstrapping: PEAR...................(remote) <!DOCTYPE HTML PUBLIC
"-//W3C//DT
D HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>Impossible d'afficher la page</TITLE>
<STYLE>A:link {
FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
</STYLE>
<META content=NOINDEX name=ROBOTS>
<META http-equiv=Content-Type content="text-html; charset=Windows-1252">
<SCRIPT>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm
//For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.m
icrosoft.com/bar.htm"
DocURL=document.URL;
//this is where the http or https will be, as found by searching for
://
but skipping the res://
protocolIndex=DocURL.indexOf("://",4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);
//for the href, we need a valid URL to the domain. We search for the
# s
ymbol to find the begining
//of the true URL, and add 1 to skip it - this is the BeginURL
value. We
use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);
//for display, we need to skip after http://, and go to the next
slash
displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);
document.write('<A HREF="' + urlresult + '">' +
displayresult +
"</a>");
}
//-->
</SCRIPT>
<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=5 cellPadding=3 width=410>
<TBODY>
<TR>
<TD vAlign=center align=left width=360>
<H1 style="FONT: 13pt/15pt verdana; COLOR:
#000000"><!--Problem-->Impossib
le
d'afficher la page</H1></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT
style="FONT: 8pt/11pt verdana; COLOR: #000000">Il y a un problÞme au
nivea
u de la
page que vous essayez d'atteindre car elle ne peut pas Ûtre
affichÚe.</FON
T></TD></TR>
<TR>
<TD width=400 colSpan=2><FONT
style="FONT: 8pt/11pt verdana; COLOR: #000000">
<HR color=#c0c0c0 noShade>
<P>Essayez de la maniÞre suivante :</P>
<UL>
<LI>Cliquez sur le bouton <A
href="javascript:location.reload()">Actuali
ser</A>,
ou rÚessayez ultÚrieurement.<BR>
<LI>Ouvrez la page de dÚmarrage
<SCRIPT>
<!--
if (!((window.navigator.userAgent.indexOf("MSIE") > 0) &&
(window.navi
gator.appVersion.charAt(0) == "2")))
{
Homepage();
}
//-->
</SCRIPT>
et recherchez des liens vers les informations voulues.
<LI>Si vous pensez que ce rÚpertoire ou cette page doit normalement
s'af
ficher,
contactez l'administrateur du site Web Ó l'aide de l'adresse de
messager
ie ou du
numÚro de tÚlÚphone rÚpertoriÚ sur la page de dÚmarrage
<SCRIPT> Homepage();</SCRIPT>.</LI></UL>
<H2 style="FONT: 8pt/11pt verdana; COLOR: #000000">403 Interdit - Le
serve
ur ISA refuse l'URL (Uniform Resource Locator) spÚcifiÚe.
(12202)<BR>Internet Se
curity and Acceleration Server</H2>
</FONT></TD></TR></TBODY></TABLE></BODY></HTML>
ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: phpUnit..........ok
Fatal error: Undefined class name 'pear' in
D:\ServeurWeb\PHP\cli\go-pear.php on
line 655
D:\ServeurWeb\PHP\cli>
---------------------------------------------------------------------
I hope it helps.
Regards
Jean-Marc
"Pierre-Alain Joye" <paj@pearfr.org> a écrit dans le message de news:
20030520132747.2cb239b8.paj@pearfr.org...
> On Tue, 20 May 2003 13:23:14 +0200
> "Jean-Marc Fontaine" <jmfontaine@infico.fr> wrote:
>
>
> > Am I the only one to get these errors ? If not this is a *major* PEAR
> > problem since it is impossible to have is installed until it is fixed.
> > :-/
>
> Can you try the command line setup?
>
> Some errors/warning are not visible in the web setup script.
>
>
> pierre