#23410 [Com]: bcompiler on windows error
| From: | yvan dot taviaud at m4am dot net | Date: | Fri, 05 Dec 2003 23:04:41 +0000 |
| Subject: | #23410 [Com]: bcompiler on windows error | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24215@lists.php.net to get a copy of this message | ||
ID: 23410
Comment by: yvan dot taviaud at m4am dot net
Reported By: mike at blueroot dot net
Status: No Feedback
Bug Type: PEAR related
Operating System: Win32
PHP Version: 4.3.1
Assigned To: alan_k
New Comment:
Hello Alan, thanks for the reply.
I've just thought about compiling the class under windows with the PHP
script made under Linux, it seems to work perfectly. So I think I'll
compile the class once under Windows, and then use the linux to
compress/crypt files (so my class just compress/crypts files, which can
be done whatever the OS once the good class has been loaded).
So, thanks a lot Alan, it's a great great lib :o)
Previous Comments:
------------------------------------------------------------------------
[2003-11-28 19:21:17] alan_k@php.net
windows and linux bytecodes are not compatible - From what I remember
the output for an integer(eg. 01 was b1000001 or something on windows,
rather than 00000001 on linux) was very different.
------------------------------------------------------------------------
[2003-11-28 18:09:16] yvan dot taviaud at m4am dot net
So I tried without bz2 or mcrypt, and PHP just complained about missing
bz2, so...
So far I looked to the code of the same bcompiled class, but one with
bcompiler 0.4 (Linux Debian), the other one under Windows (the last
Stable version available on snaps.php.net, I assume it's 0.5). I can't
build the 0.5 under Linux, sorry, I've already post a bug report about
it.
bcompiler 0.4 (linux) :
bcompiler v0.3sÿ¿¿:@ decrypt ,E@ `Å-@
¹& get_real_name
bcompiler 0.5 (windows) :
bcompiler v0.3sÙ¿wU decrypt Âôw °è
¹& get_real_name
The strange thing to me is that both version claim a 0.3 format, but
the code isn't the same ! Any kind of idea ?
------------------------------------------------------------------------
[2003-11-28 15:57:55] yvan dot taviaud at m4am dot net
Hello,
I've experienced the same problem. Thought it was because I transfered
files from Linux to Windows, but retransfering the file from Windows to
Linux and the script works fine on Linux :o(
Had another error, perhaps it's linked : if I try to include a file, I
get the
Warning: bcompiler: unable to open stream
error, and I don't know what this means (so the line where the error
occurs is an include/require, whatever it contains in the file).
My bcompiler DLL is the one available on snaps.php.net
So it's very strange, because some class can be compiled, and some
other can't ! I use mcrypt and bz2 Libraries, perhaps it may helps ?
I'll try it without these 2, and it the results are ok, I'll tell you.
So many bugs then, such as the bcompiler_load() which kills Apache
under Win32, but a so wonderful PECL package !! It works under Linux
fine, and I love it :o)
HTH, Regards,
Yvan.
------------------------------------------------------------------------
[2003-09-15 22:13:41] joel at digitallandmarks dot com
This bug is still arround in the current Snap
Has any progress been made addressing it?
Ive worked for days trying to find a work arround to no avail.
Please Help
--Joel
------------------------------------------------------------------------
[2003-06-11 19:10:58] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
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://bugs.php.net/23410
--
Edit this bug report at http://bugs.php.net/?id=23410&edit=1