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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



F.Y.I.

---------- Forwarded message ----------
From: Michael Ridinger <infohiodev@xxxxxxxxx>
Date: 29 March 2011 00:47
Subject: Re: [INTERNALS-WIN] Re: php_yaz php5.3.5 windows
To: RQuadling@xxxxxxxxxxxxxx
Cc: Richard Quadling <rquadling@xxxxxxxxx>


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 <rquadling@xxxxxxxxx> wrote:
>
> On 23 March 2011 20:12, Michael Ridinger <infohiodev@xxxxxxxxx> 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




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux