Re: win32 questions - try 2
| From: | Scott MacVicar | Date: | Mon, 18 Aug 2003 13:31:40 +0000 |
| Subject: | Re: win32 questions - try 2 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4065@lists.php.net to get a copy of this message | ||
Hi Vlad,
I got php_pspell.dll compiled without any problems.
If anyone was getting compile errors because pspell.h couldn't be found you
have to remember to set the path to aspell.
Tools > Options
Click Directory tab
for Include files put the path to aspell/include/pspell
for library aspell/lib
once down you can compile without problem.
I hope this makes it into the 4.3.3 release since its a great improvement
for those running Windows.
Regards,
Scott MacVicar
"Vlad Krupin" <vlad@php.net> wrote in message news:3F3AE02F.10201@php.net...
> Edin Kadribasic wrote:
> > Hi Vlad,
> >
> > 1. Where can I get includes and libs for MSVC++?
> http://aspell.net/win32/files/aspell-dev-0-50-3-3.zip
> It has both the headers and the library. Just uncompress it into the
> same directory where 'php-src' is located, and then rename the directory
> to 'aspell' (I followed example of libxml here - same structure).
>
> This should compile and link fine, but some symbols will be unresolved.
> Those can be found in 'aspell-15.dll' which comes in the full installer
> - http://aspell.net/win32/files/Aspell-0-50-3-3-Setup.exe
> We might want to install that so the tests can run properly. Installer
> adds a registry key that is needed by the spellchecker, and gives you
> aspell-15.dll, which needs to go into some directory where php will be
> able to find it, just like iconv.dll for example.
>
>
> That's pretty much it. Currently, there are a couple more small tweaks
> that are needed for aspell to work properly, especially when built in
> Release mode. Nothing major, just annoyances and should be trivial to
> fix in aspell's code (aspell is confused about windows newlines in a
> couple of its own config files - their win32 port is still far from
> perfect). Aspell's author knows about them, and will hopefully fix them
> soon. Meanwhile, I'll document them so people won't be too surprised -
> for some reason that bug doesn't show in Debug mode, but does show in
> Release. Very high WTF.
>
>
> > 2. Snap builder compiles everything it can automatically :)
> Wonderful. I created two targets - Debug_TS and Release_TS. Hopefully,
> that's enough.
>
> Thanks!
>
> Vlad
>
> > 3. We'll do that once we get the extension building on the snaps box.
> >
> > Edin
> >
>