List Info

Thread: Error during execution of nmakeon makefileinYAZ/windirectory




Error during execution of nmakeon makefileinYAZ/windirectory
user name
2006-11-07 00:37:10
In your README file at http:
//ftp.indexdata.dk/pub/phpyaz/win32/README you
say to "Put php_yaz.dll in the extension directory and
take yaz.dll from a recent YAZ WIN32 installer
(/pub/yaz/win32)."  

I have done that.  I took php_yaz.dll from
http
://ftp.indexdata.dk/pub/phpyaz/win32/4.3.6/.

Are you now saying that I have to use Visual Studio to build
php_yaz.dll?  If
so, is there somewhere to get guidance on building a .dll
file using Visual
Studio?

PHP has its own project files for Windows. And these, in
particular, must
also be used 
to build php_yaz.dll. php_yaz.dll in turn depends on
yaz.dll.

Lawrence Currie

Lawrence Currie
Academy Librarian
California Academy of Sciences
875 Howard St.
San Francisco, CA 94103
(415) 321-8038
fax (415) 321-8633
 

-----Original Message-----
From: yazlist-bounceslists.indexdata.dk
[mailto:yazlist-bounceslists.indexdata.dk] On Behalf Of Adam
Dickmeiss
Sent: Monday, November 06, 2006 3:32 PM
To: Discussion on the YAZ Z39.50 toolkit
Subject: Re: [Yazlist] Error during execution of nmakeon
makefileinYAZ/windirectory

Currie, Larry wrote:
> Mike,
> 
> In one yazlist posting, it was suggested that certain
of the dll files
needed
> to be registered.  I executed the regsvr32 command
against both libxml2.dll
> and yaz.dll and these messages came back:
No. None of these libs must be registered. They must be in
the PATH.
> 
> "libxml2.dll was loaded, but the DllRegsterServer
entry point was not
found.
> This file cannot be registered."
To be expected.
> 
> "yaz.dll was loaded, but the DllRegsterServer
entry point was not found.
> This file cannot be registered."
> 
Ditto.
> I have also noticed that in the extensions section of
php.ini, the line
> extension=php_yaz.dll  has this comment after it:
> 
> "Module makes trouble"
Interesting.
> 
> Does this suggest to you that it is fruitless to try to
pursue a XAMPP
> installation which includes YAZ?
Not as far as I am concerned.
> 
> I am also having a difficult time understanding the
section titled "How to
> make apps using YAZ on WIN32" in chapter 2 of the
YAZ manual (Compilation
and
> Installation), where it says:
> 
> "Some people are confused by the fact that we use
the nmake tool to build
> YAZ.  They think they have to do that too - in order to
make their WIN32
> applications work with YAZ.  The good news is that you
don't have to.  You
> can use the integrated environment of Visual Studio if
desired for your own
> application." 
> 
> What is meant by this?  

These instructions tell how to built YAZ from source on
Windows. There 
is nothing in these instructions regarding PHP/YAZ
(php_yaz.dll) and PHP 
itself.

In my case, I require a running Apache server, a
> running Mysql server, and the ability to execute php
files containing
> yaz_connect commands.  I did install Microsoft Visual
Studio, but only so
> that I could have access to the nmake command when
compiling YAZ.  Is there
> some way I can use Visual Studio instead of what I'm
trying to do with a
> XAMPP system?

You have to use Visual Studio to built php_yaz.dll. PHP has
its own 
project files for Windows. And these, in particular, must
also be used 
to built php_yaz.dll. php_yaz.dll in turn depends on
yaz.dll.

Only yaz.dll is part of the Windows YAZ install .exe . And
yaz.dll 
depends on these DLLs:
   iconv.dll
   libxml2.dll
   libxslt.dll
   zlib1.dll

/ Adam

> Thanks.
>  
> Larry
> 
> Lawrence Currie
> Academy Librarian
> California Academy of Sciences
> 875 Howard St.
> San Francisco, CA 94103
> (415) 321-8038
> fax (415) 321-8633
>  
> 
> -----Original Message-----
> From: yazlist-bounceslists.indexdata.dk
> [mailto:yazlist-bounceslists.indexdata.dk] On
Behalf Of Mike Taylor
> Sent: Monday, November 06, 2006 4:01 AM
> To: Discussion on the YAZ Z39.50 toolkit
> Subject: RE: [Yazlist] Error during execution of nmake
on
> makefileinYAZ/windirectory
> 
> Currie, Larry writes:
>  > Dear Marc and Adam,
>  > 
>  > When I run php.exe, two errors appear:
>  > 
>  > The procedure entry point
xmPXPathCompiledEvalToBoolean could not be
> located
>  > in the dynamic link library libxml2.dll
>  > 
>  > And
>  > 
>  > Unable to load dynamic library C:Program
Filesxamppphpextphp_yaz.dll
>  > Unable to load dynamic library C:Program
Filesxamppphpextyaz.dll
> 
> Hi, Larry.  Bearing in mind that I know nothing of
PHP/YAZ under
> Windows, and am thus busking, here's what I think: the
first error
> message suggests that you need to update your libxml2
installation
> since you have an old version that lacks the specified
entry point.
> And the second error message is probably just caused by
the inability
> to resolve the libxml2 calls that php_yaz.dll wants to
make. 
> 
> With luck, a libxml2 upgrade may solve all your
problems.
> 
> But that's just a pat diagnosis made without first
obtaining your full
> medical history.  I could easily be wrong.
> 
>  _/|_	
____________________________________________________________
_______
> /o ) /  Mike Taylor    <mikeindexdata.com>
http://www.miketaylor.or
g.uk
> )_v__/  Since Oscar Wilde's quote "There is no
sin except stupidity"
> 	 is clearly stupid, we should probably consider it
sinful in
> 	 deference to him.
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> 


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list

_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
Error during execution of nmakeon makefileinYAZ/windirectory
user name
2006-11-07 07:54:53
Currie, Larry wrote:
> In your README file at http:
//ftp.indexdata.dk/pub/phpyaz/win32/README you
> say to "Put php_yaz.dll in the extension directory
and
> take yaz.dll from a recent YAZ WIN32 installer
(/pub/yaz/win32)."  
> 
> I have done that.  I took php_yaz.dll from
> http:
//ftp.indexdata.dk/pub/phpyaz/win32/4.3.6/

Either you use php_yaz.dll built by someone else or you
compile the 
thing yourself (with Visual Studio in this case).

The php_yaz.dll from ub/phpyaz/win32/4.3.6/ is built by us
long time ago 
for PHP 4.3.6. It may work for other PHP 4.3.X versions. It
will 
certainly not work for PHP 5 or and probably not for PHP
4.4.

What PHP are you using and how did you install it (PHP's
win32 installer 
maybe?)

/ Adam

> Are you now saying that I have to use Visual Studio to
build php_yaz.dll?  If
> so, is there somewhere to get guidance on building a
.dll file using Visual
> Studio?
> 
> PHP has its own project files for Windows. And these,
in particular, must
> also be used 
> to build php_yaz.dll. php_yaz.dll in turn depends on
yaz.dll.
> 
> Lawrence Currie
> 
> Lawrence Currie
> Academy Librarian
> California Academy of Sciences
> 875 Howard St.
> San Francisco, CA 94103
> (415) 321-8038
> fax (415) 321-8633
>  
> 
> -----Original Message-----
> From: yazlist-bounceslists.indexdata.dk
> [mailto:yazlist-bounceslists.indexdata.dk] On
Behalf Of Adam Dickmeiss
> Sent: Monday, November 06, 2006 3:32 PM
> To: Discussion on the YAZ Z39.50 toolkit
> Subject: Re: [Yazlist] Error during execution of
nmakeon
> makefileinYAZ/windirectory
> 
> Currie, Larry wrote:
>> Mike,
>>
>> In one yazlist posting, it was suggested that
certain of the dll files
> needed
>> to be registered.  I executed the regsvr32 command
against both libxml2.dll
>> and yaz.dll and these messages came back:
> No. None of these libs must be registered. They must be
in the PATH.
>> "libxml2.dll was loaded, but the
DllRegsterServer entry point was not
> found.
>> This file cannot be registered."
> To be expected.
>> "yaz.dll was loaded, but the DllRegsterServer
entry point was not found.
>> This file cannot be registered."
>>
> Ditto.
>> I have also noticed that in the extensions section
of php.ini, the line
>> extension=php_yaz.dll  has this comment after it:
>>
>> "Module makes trouble"
> Interesting.
>> Does this suggest to you that it is fruitless to
try to pursue a XAMPP
>> installation which includes YAZ?
> Not as far as I am concerned.
>> I am also having a difficult time understanding the
section titled "How to
>> make apps using YAZ on WIN32" in chapter 2 of
the YAZ manual (Compilation
> and
>> Installation), where it says:
>>
>> "Some people are confused by the fact that we
use the nmake tool to build
>> YAZ.  They think they have to do that too - in
order to make their WIN32
>> applications work with YAZ.  The good news is that
you don't have to.  You
>> can use the integrated environment of Visual Studio
if desired for your own
>> application." 
>>
>> What is meant by this?  
> 
> These instructions tell how to built YAZ from source on
Windows. There 
> is nothing in these instructions regarding PHP/YAZ
(php_yaz.dll) and PHP 
> itself.
> 
> In my case, I require a running Apache server, a
>> running Mysql server, and the ability to execute
php files containing
>> yaz_connect commands.  I did install Microsoft
Visual Studio, but only so
>> that I could have access to the nmake command when
compiling YAZ.  Is there
>> some way I can use Visual Studio instead of what
I'm trying to do with a
>> XAMPP system?
> 
> You have to use Visual Studio to built php_yaz.dll. PHP
has its own 
> project files for Windows. And these, in particular,
must also be used 
> to built php_yaz.dll. php_yaz.dll in turn depends on
yaz.dll.
> 
> Only yaz.dll is part of the Windows YAZ install .exe .
And yaz.dll 
> depends on these DLLs:
>    iconv.dll
>    libxml2.dll
>    libxslt.dll
>    zlib1.dll
> 
> / Adam
> 
>> Thanks.
>>  
>> Larry
>>
>> Lawrence Currie
>> Academy Librarian
>> California Academy of Sciences
>> 875 Howard St.
>> San Francisco, CA 94103
>> (415) 321-8038
>> fax (415) 321-8633
>>  
>>
>> -----Original Message-----
>> From: yazlist-bounceslists.indexdata.dk
>> [mailto:yazlist-bounceslists.indexdata.dk] On
Behalf Of Mike Taylor
>> Sent: Monday, November 06, 2006 4:01 AM
>> To: Discussion on the YAZ Z39.50 toolkit
>> Subject: RE: [Yazlist] Error during execution of
nmake on
>> makefileinYAZ/windirectory
>>
>> Currie, Larry writes:
>>  > Dear Marc and Adam,
>>  > 
>>  > When I run php.exe, two errors appear:
>>  > 
>>  > The procedure entry point
xmPXPathCompiledEvalToBoolean could not be
>> located
>>  > in the dynamic link library libxml2.dll
>>  > 
>>  > And
>>  > 
>>  > Unable to load dynamic library C:Program
> Filesxamppphpextphp_yaz.dll
>>  > Unable to load dynamic library C:Program
Filesxamppphpextyaz.dll
>>
>> Hi, Larry.  Bearing in mind that I know nothing of
PHP/YAZ under
>> Windows, and am thus busking, here's what I think:
the first error
>> message suggests that you need to update your
libxml2 installation
>> since you have an old version that lacks the
specified entry point.
>> And the second error message is probably just
caused by the inability
>> to resolve the libxml2 calls that php_yaz.dll wants
to make. 
>>
>> With luck, a libxml2 upgrade may solve all your
problems.
>>
>> But that's just a pat diagnosis made without first
obtaining your full
>> medical history.  I could easily be wrong.
>>
>>  _/|_	
____________________________________________________________
_______
>> /o ) /  Mike Taylor    <mikeindexdata.com>
> http://www.miketaylor.or
g.uk
>> )_v__/  Since Oscar Wilde's quote "There is
no sin except stupidity"
>> 	 is clearly stupid, we should probably consider it
sinful in
>> 	 deference to him.
>>
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlistlists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>>
>> _______________________________________________
>> Yazlist mailing list
>> Yazlistlists.indexdata.dk
>> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>>
>>
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> 


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )