Re: patch to fix for g++ -O3

Kevin Atkinson <[email protected]> Fri, 5 Jan 2007 18:59:32 -0700 (MST)
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
On Fri, 5 Jan 2007, Jose Da Silva wrote:

> On Friday 05 January 2007 17:15, you wrote:

>> Hi,
>> 	After applying the patch, did you run 'autoreconf' to regenerate
>> Makefile.in?  I've been testing on Mac OS X 10.4.8.  Also, when I
>> configure'd, I didn't have to pass the -srcdir argument, but that should
>> make no difference (configure figures it out).
>>
>> my commands:
>> tar xzvf aspell-0.60.5.tar.gz
>> cd aspell-0.60-5
>> patch -p1 < ../aspell-0.60.5.patch
>> autoreconf
>> mkdir build
>> cd build
>> ../configure CFLAGS="-g -O3" CXXFLAGS="-g -O3" -C
>> make
>> make check
>> ...
>>
>>> This was tried with Mandriva 2007 and it appears to have problems with
>>> the dots where instead of -0.60.5 it sees 0.60 (see mk-dirs line above).
>>> I'm sure you're on the right path towards fixing the srcdir != builddir
>>
>> Does it still fail for you?
>
> Still failed.
> Appears to hit the same error of 0.60 instead of 0.60.5

See below.

> I included some noise before we hit the line where it says cd gen; perl ....
> You'll see the perl line near the bottom of this list....
> -------------------
>
> mk-dirs_h.pl /usr/local /usr/local/lib/aspell-0.60 /usr/local/lib/aspell-0.60  /usr/local/etc
>>  dirs.h

If you mean this it is _suppose_ to be 0.60.

> Can't open perl script "mk-dirs_h.pl": No such file or directory
> make[1]: *** [gen/dirs.h] Error 2
> make[1]: Leaving directory `/home/digital/temp/z/aspell-0.60.5/build'
> make: *** [all-recursive] Error 1
> -------------------
> I took a look and see I'm using autoconf version 2.59 and make 3.81