hi, See the previous discussion about that. Pretty much everything you need, until we got our wiki back online. Cheers, On Wed, Mar 30, 2011 at 12:49 AM, Maciej Jaros <egil@xxxxx> wrote: > Hi. > > I'm trying to compile PHP YAZ on Windows 7 32-bit with Visual Studio 2008 > Express. I've seen some of people on this list were succesful, but archives > seem to be missing some of crucial e-mails... Or maybe just the wiki.php.net > :-(. > > Anyway from various manuals on the web I got the following. > > I have: > * YAZ (4.1.7) - installed (full install with sources) to c:\Program > Files\YAZ > * PHP (5.3.6 TS) sources in c:\PHP\dev > * PHP_YAZ (1.0.14 from Pecl page) in c:\PHP\dev\ext\yaz > * bison and flex in c:\PHP\dev_extra > * and of course Visual Studio Express 2008 installed > > I've changed c:\PHP\dev\ext\yaz\config.w32 so that it checks for yaz4.lib > rather then yaz3.lib > > I run VC9 express console and run: > cd c:\PHP\dev > set PATH=%PATH%;c:\PHP\dev_extra > set PHP_YAZ=c:\Program Files\YAZ\ > buildconf.bat > configure --disable-all --enable-cli --with-yaz=shared > > Still I get: > Checking for yaz/yaz-version.h ... <not found> > Checking for yaz/yaz-version.h ... <not found> > > I've tried setting PHP_YAZ=c:\Program Files\YAZ\include\, but that don't > help either. It does help when I set: > set INCLUDE=%INCLUDE%;c:\Program Files\YAZ\include\ > But then it says: > Problem reading true\yaz\yaz-version.h > So then I change configure.js and manually set (just before > file_get_contents(yaz_h...)): > yaz_h = "c:\\Program Files\\YAZ\\include\\"; > and set (just before CHECK_LIB("yaz4.lib"...)): > PHP_YAZ = "c:\\Program Files\\YAZ\\lib\\"; > > And OK, then nmake works, but then again I know there just have to be a > better way ;-). > > I'd like to make some step-by-step instructions on how to build YAZ for PHP > 5.3 and this just seem to be a bit too much. > > Regards, > Nux. > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php