473,387 Members | 1,495 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

mmap errors when running go-pear

I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:

mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php

There are 20 of these lines. After continuing through the script, it
dies with this error:

Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263

I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.

Thanks in advance.

--df

May 29 '07 #1
5 4494

Dan Fulbright ha scritto:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:

mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php

There are 20 of these lines. After continuing through the script, it
dies with this error:

Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263

I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.

Thanks in advance.

--df
Hello,
exactly the same problem for me...have you solved or have you any
advice?

Thanks,
Paolo

May 30 '07 #2
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:
mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php
There are 20 of these lines. After continuing through the script, it
dies with this error:
Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263
I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.

exactly the same problem for me...have you solved or have you any
advice?
No. If I find a solution, I will post it here.

--df

May 30 '07 #3
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:

mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php

There are 20 of these lines. After continuing through the script, it
dies with this error:

Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263

I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.
I was hoping that with the release of PHP 5.2.3, this problem would go
away. However, it hasn't. I no longer get the mmap cache errors, but
the fatal error at the end is still there with a different line
number:

Beginning install...
PHP Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
274

To make sure there wasn't a problem with the older versions of PHP
installed on this server, I tried installing it on another one that
has never had PHP installed. That's when the error above occurred.

Any clues?

--df

Jun 1 '07 #4
On Jun 1, 12:28 am, Dan Fulbright <dfulbri...@gmail.comwrote:
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:
mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php
There are 20 of these lines. After continuing through the script, it
dies with this error:
Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263
I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.

I was hoping that with the release of PHP 5.2.3, this problem would go
away. However, it hasn't. I no longer get the mmap cache errors, but
the fatal error at the end is still there with a different line
number:

Beginning install...
PHP Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
274

To make sure there wasn't a problem with the older versions of PHP
installed on this server, I tried installing it on another one that
has never had PHP installed. That's when the error above occurred.

Any clues?
I hate to keep replying to my same post, but I find it hard to believe
that no one else is running into this problem. Has anyone successfully
run go-pear.bat on Windows, using PHP 5.2.3?

Thanks.

--df

Jun 5 '07 #5
I'm trying to install PHP 5.2.2 on Windows, but I keep getting errors
when running go-pear.bat:

mmap cache can't open phar://go-pear.phar/index.php
mmap cache can't open phar://go-pear.phar/PEAR/Start/CLI.php
mmap cache can't open phar://go-pear.phar/PEAR/Start.php

There are 20 of these lines. After continuing through the script, it
dies with this error:

Fatal error: Call to undefined method PEAR_Error::set() in
phar://go-pear.phar/PEAR/Start.php on line
263

I can't deploy 5.2.2 until we get this resolved, so we're stuck on
5.2.1.
I finally figured this one out on my own. When the batch file was
asking for the configuration file, I was thinking it was wanting the
location of php.ini, not pear.ini. So, I was typing $prefix\php.ini.
Once I changed that to $prefix\pear.ini, it worked great.

--df

Jun 6 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
7
by: Michael | last post by:
I'm writing an application that decodes a file containing binary records. Each record is a particular event type. Each record is translated into ASCII and then written to a file. Each file contains...
4
by: Fabiano Sidler | last post by:
Hi folks! I created an mmap object like so: --- snip --- from mmap import mmap,MAP_ANONYMOUS,MAP_PRIVATE fl = file('/dev/zero','rw') mm = mmap(fl.fileno(), 1, MAP_PRIVATE|MAP_ANONYMOUS) ---...
13
by: George Sakkis | last post by:
I've been trying to track down a memory leak (which I initially attributed erroneously to numpy) and it turns out to be caused by a memory mapped file. It seems that mmap caches without limit the...
1
by: James T. Dennis | last post by:
I've been thinking about the Python mmap module quite a bit during the last couple of days. Sadly most of it has just been thinking ... and reading pages from Google searches ... and very little...
1
by: koara | last post by:
Hello all, i am using the mmap module (python2.4) to access contents of a file. My question regards the relative performance of mmap.seek() vs mmap.tell(). I have a generator that returns...
1
by: magnus.lycka | last post by:
Does anyone recognize this little Python crasher? I'll file a bug report unless someone notices it as an already documented bug. I found some open mmap bugs, but it wasn't obvious to me that...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 20:19, Akira Kitada wrote: Thanks. The errors you are getting appear to be related to either some missing header files or a missing symbol definition to enable these - looking...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.