Fwd: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows

Fwd: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows

am 29.03.2011 11:50:23 von Richard Quadling

F.Y.I.

---------- Forwarded message ----------
From: Michael Ridinger
Date: 29 March 2011 00:47
Subject: Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows
To: RQuadling@googlemail.com
Cc: Richard Quadling


Richard,

This was awesome...   I've been out of the office working on rela=
ted
issues but this was very helpful.

Interestingly, your php_yaz.dll was exactly the same size as the one I
built but mine didn't work.  I put yours in my PHP/ext directory and
it worked perfectly.  So, this tells me that I have something messed
up with my environment.  This was a great help.  Not only am I ou=
t of
my immediate bind but I now have a way to test my environment while I
continue to try to set one up.

This list has been invaluable.  Thank you very much to all of you who
commented.  I did follow all of your instructions and you were right
on.  My issue appears to be with my initial environment setup.

Thank you

Mike

On Thu, Mar 24, 2011 at 6:11 AM, Richard Quadling wro=
te:
>
> On 23 March 2011 20:12, Michael Ridinger wrote:
> > OK.  I'm at a total loss.  There are no error messages at all=
that tell me
> > what's missing or wrong.  The php --display-startup=3D1 -m command=
shows
> > everything is fine .. but it's not.
> >
> > Does anyone on this list, or can anyone here, build a yaz_dll for PHP5.=
3.5
> > that I could at least try on my systems.  I've literally built thi=
s DLL
> > dozens of times over the last few days with no success at all.  Fr=
om the
> > command line, PHP appears to like it, but when it goes to "really" use =
it
> > ... nada.
> >
> > I've downloaded this DLL before and used it on my server and it worked
> > fine.  But, that was for a different version of PHP and Yaz. =
I'd be willing
> > to send someone a case of whatever they want to eat or drink in exchang=
e for
> > a working copy of the DLL and a hint as to how it was built.
> >
> > Or, does anyone know of a way to get more verbose output in the PHP log=
for
> > this issue ... rather than "The specified module could not be found in
> > Unknown on line 0?"  I've set PHP to log deverything and, unfortun=
ately it
> > does log everything, making my other code seem somewhat illegitmate wit=
h the
> > warnings I get ... but, no additional information about this issue is
> > displayed.
> >
> > I really appreciate the help I've received so far.  It's been inva=
luable.
> > I'm just not quite there yet.
> >
> > Thanks
> >
> > Mike
>
> I've attached my php_yaz.dll. Obviously, please follow all your normal
> procedures for accepting binaries from a third party. I believe the
> file to be clean and use an upto date AV (corporate level Symantec).
>
> I've just built it this morning.
>
> run-tests ../pecl/yaz/tests results are ...
>
> ==================== =====
==================== =====3D=
====================
> PHP         : C:\PHP5\php.exe
> PHP_SAPI    : cli
> PHP_VERSION : 5.3.7-dev
> ZEND_VERSION: 2.3.0
> PHP_OS      : WINNT - Windows NT BV-DEV-SVR-4 5.2 build 37=
90 (Windows
> Server 2003 R2 Standard Edition Service Pack 2) i586
> INI actual  : C:\PHP5\php.ini
> More .INIs  :
> CWD         : D:\BuildPHP\php53dev\vc9\x86\PHP_5_3
> Extra dirs  :
> VALGRIND    : Not used
> ==================== =====
==================== =====3D=
====================
> Running selected tests.
> FAIL YAZ CCL test 1 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\ccl1.php=
t]
> PASS YAZ connect test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect1.phpt]
> FAIL YAZ connect test 2
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect2.phpt]
> PASS YAZ search test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\search1.phpt]
> PASS YAZ update test 1
> [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\update1.phpt]
> ==================== =====
==================== =====3D=
====================
> Number of tests :    5           =C2=
=A0     5
> Tests skipped   :    0 (  0.0%) --------
> Tests warned    :    0 (  0.0%) (  0.0%)
> Tests failed    :    2 ( 40.0%) ( 40.0%)
> Expected fail   :    0 (  0.0%) (  0.0%)
> Tests passed    :    3 ( 60.0%) ( 60.0%)
> ------------------------------------------------------------ ---------
> Time taken      :   19 seconds
> ==================== =====
==================== =====3D=
====================
>
> ==================== =====
==================== =====3D=
====================
> FAILED TEST SUMMARY
> ------------------------------------------------------------ ---------
> YAZ CCL test 1 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\ccl1.phpt]
> YAZ connect test 2 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\connect2.=
phpt]
> ==================== =====
==================== =====3D=
====================
>
>
> Once you've done your build, run ...
>
> nmake install
>
> I think you need to use the --with-prefix=3DC:\PHP5 (or wherever you
> want) so that nmake install will operate.
>
> Add that location to the path and then you should be able to run tests ea=
sily.
>
>
> Do you have VNC installed? I could go through the setup easily enough
> if you want?
>
> Copying the yaz4.dll won't be enough. It has its own dependencies.
>
> If the location is in the path, then can you type the following and
> tell me the output?
>
> FOR %a IN (yaz-client.exe) DO @ECHO %~$Path:a
>
> What output (if any) do you get? Did you install the complete YAZ package=
?
>
>
> Richard.
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY




--=20
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php