Re: pspell/aspell breaking

From: Date: Fri, 02 Mar 2001 20:25:09 +0000
Subject: Re: pspell/aspell breaking
Groups: php.dev php.general 
Request: Send a blank email to php-dev+get-47822@lists.php.net to get a copy of this message
Thanks for the nice report - I'll know what to suggest to those who ask in the future. I've heard of somewhat similar problems with aspell on other platforms, and yet have to figure out how to work around them:( One thing I noticed after I replied to you: after you compile pspell and aspell, you *need* to go back to pspell and do: cd modules ./add-modules cd .. make make install ldconfig -v That's just the way it works. aspell is dependent on pspell, but pspell needs to know that aspell exists to work with it. Kinda like a circular dependency Vlad ----- Original Message ----- From: Seth Northrop To: php-general@lists.php.net,php-dev@lists.php.net Sent: Fri, 2 Mar 2001 11:16:13 -0800 (PST) Subject: Re: [PHP-DEV] pspell/aspell breaking On Fri, 2 Mar 2001, PHP development @echospace wrote: &gt; I remember being able to compile, but not use pspell on a RH7 machine. Never had time to look into it. Maybe now I will. Compile problems might be due to the fact that gcc 2.96 is behaving oddly - I couldn't compile half the things with it properly. Try recent egcs instead. It looks however that I can't blame compiler only in your case. If you can't get it resolved, could you please submit a bug report with the part of the output where compile fails (not just *that* very line, but like 50 preceding lines too - a larger chunk so I can see) &gt;&gt;&gt; Hmmm. So, I try to recompile to reproduce the error, this time advancing back to .12; I compile; no errors AND the module error goes away (thus, it works great as it always had on RH6.2). Weird.<BR> These are the only two things I can think of. My progression was this; get .12 (it failed to compile; (php+apache - pspell/aspell compiled fine), read php-dev, saw there might be issues so I reverted back to .11.2 (pspell). It compiled, but, with the aspell module issue. Figured perhaps it was the most recent aspell (I had gotten aspell-.33); so, I reverted that back to 32.6; recompiled still got aspell module issues. Noted that RH7 have some glibc issues (and, it had caused some other issues with aspell/pspell); updated both glibc and gcc from redhat (rpm updates), recompiled, still had aspell module issues with PHP. Finally, to replicate the compile error I went BACK to pspell .12, recompiled, everything worked. So, the two things I can think of is: a) the newest aspell libraries are causing problems either in the compile or in the aspell module loading b) redhat's buggy glibc/gcc the only odd thing was that I can't necessarily isolate either of these as the cause. But, aspell 32.6+pspell .12+updated RH glibc 2.2-12 &amp; gcc-2.96-69 + apache 1.3.14 + php-4.0.4pl1 works on RH 7 now. My inclination is that it's aspell, since, the same behavior existed with both stock and updated glibc and gcc. &gt; &gt; &gt; &gt; ----- Original Message ----- &gt; From: Seth Northrop &gt; To: php-general@lists.php.net,php-dev@lists.php.net &gt; Sent: Thu, 1 Mar 2001 18:41:25 -0800 (PST) &gt; Subject: [PHP-DEV] pspell/aspell breaking &gt; &gt; &gt; Setup: &gt; aspell-.32.6 &gt; pspell-.11.2 &gt; php-4.0..4pl1 &gt; apache_1.3.14 &gt; RH 7.0 &gt; glibc 2.2-12 &gt; gcc-2.96-69 &gt; &gt; Procedure: &gt; ./pspell-.11.2/configure &gt; make &amp;&amp; make install &gt; &gt; ./aspell-.32.6/configure &gt; make &amp;&amp; make install &gt; &gt; ./php-4.0.4pl1/configure --without-gd --with-mysql &gt; --with-config-file-path=/usr/local/apache/etc --enable-debug=no &gt; --with-pspell --with-apache=/usr/local/src/apache_1.3.14 &gt; make &amp;&amp; make install &gt; &gt; ./apache_1.3.14/configure --prefix=/usr/local/apache --with-layout=GNU &gt; --disable-module=userdir --disable-module=include &gt; --activate-module=src/modules/php4/libphp4.a &gt; make &amp;&amp; make install &gt; &gt; Results in: &gt; Warning: PSPELL couldn't open the dictionary. reason: Unable to load the &gt; "aspell" module. in foo.inc on line 564 &gt; &gt; Aspell works great on the command line. Am I missing something? &gt; &gt; Incidently, I can't even get php to compile with pspell-.12 &gt; &gt; Ideas? &gt; Seth &gt; &gt; &gt; -- PHP Development Mailing List &lt;http://www.php.net/&gt; To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net <BR> ________________________________________ Finally! Real applications on the web! Free email, contacts, and file storage. http://www.echospace.com

« previous php.dev (#47822) next »