09-Jul-2008

PHP_MySQL
Now I got the new sourcekit, I installed it on a separate location – the kit contains all code in separate backup savesets, and I decided to install the whole lot – or better, what think be needed for rebuilding the MYSQL engine – on one particular location. It seems to me that this is the case at HP as well, but there it would have been on a separate disk, something I didn’t choose to.

It meant I needed to reconsider the commandprocedure to build the extention, but it made no difference.. It failed on the same location: the realpath function being off the declaration, for the second parameter, and of type. The latter stopped the compilation.
After consulting Jean Francois Pieronne on his MySQL forum on July 8th), his suggestion was I could do without files located on a location “portlib”, and it meant two files to be changed. Now the code compiled properly and linked without errors (after I did some minor update to the option file, since a shared image was renamed). No real problem either, but using the module causes a severe problem: %SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=0000000030303030, PC=FFFFFFFF80A98508, PS=0000001B

So I had to revert to the older version….

Could it be that the C-compiler matters, or the DECC-library? Examining the kit as delivered by HP, it’s built with C 6.5 on OpenVMS 7.3-1, where I used C 7.3 on openVMS 8.3. It may explain why I have these troubles in compilation: the big issue that the realpath function is differently specified than in the DECC library.