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

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
F.Y.I.

---------- Forwarded message ----------
From: Michael Ridinger <[email protected]>
Date: 29 March 2011 00:47
Subject: Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows
To: [email protected]
Cc: Richard Quadling <[email protected]>


Richard,

This was awesome...   I've been out of the office working on related
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 out 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 <[email protected]> wrote:
>
> On 23 March 2011 20:12, Michael Ridinger <[email protected]> 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=1 -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 this DLL
> > dozens of times over the last few days with no success at all.  From 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 exchange 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, unfortunately it
> > does log everything, making my other code seem somewhat illegitmate with 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 invaluable.
> > 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 ...
>
> =====================================================================
> 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 3790 (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
> =====================================================================
> Running selected tests.
> FAIL YAZ CCL test 1 [D:\BuildPHP\php53dev\vc9\x86\pecl\yaz\tests\ccl1.phpt]
> 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]
> =====================================================================
> Number of tests :    5                 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
> =====================================================================
>
> =====================================================================
> 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]
> =====================================================================
>
>
> Once you've done your build, run ...
>
> nmake install
>
> I think you need to use the --with-prefix=C:\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 easily.
>
>
> 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




-- 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.