aspell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [aspell-devel] patch to fix for g++ -O3


From: Jose Da Silva
Subject: Re: [aspell-devel] patch to fix for g++ -O3
Date: Fri, 5 Jan 2007 19:23:20 -0800
User-agent: KMail/1.9.4

On Friday 05 January 2007 17:59, you wrote:
> 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.

it is what I saw on the output, so it appeared to be the problem.
If it is supposed to be that there is something else causing problems.

I could succeed in compiling "inside" the directory like this.
tar -xzvf aspell-0.60.5.tar.gz
cd aspell-0.60-5
./configure
make

but I can't compile "outside" the aspell directory like David suggested.
...this is slightly different (learned from sqlite).
tar -xzvf aspell-0.60.5.tar.gz
mkdir build
cd build
../configure --srcdir=../aspell-0.60.5/
make
 the above causes the problem line again...
----------------
 
g++ -DHAVE_CONFIG_H -I. -I./gen -I../aspell-0.60.5 -I../aspell-0.60.5/gen 
-I../aspell-0.60.5/common -I../aspell-0.60.5/interfaces/cc/ 
-I../aspell-0.60.5/modules/speller/default/ -DLOCALEDIR=/usr/local/share/locale 
-g -O2 -fno-exceptions -MT 
common/string_map.lo -MD -MP -MF 
common/.deps/string_map.Tpo -c ../aspell-0.60.5/common/string_map.cpp  -fPIC 
-DPIC -o 
common/.libs/string_map.o
depbase=`echo common/string_list.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
        /bin/sh ./libtool --tag=CXX   --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I./gen -I../aspell-0.60.5  -I../aspell-0.60.5/gen 
-I../aspell-0.60.5/common -I../aspell-0.60.5/interfaces/cc/ 
-I../aspell-0.60.5/modules/speller/default/ 
-DLOCALEDIR="/usr/local/share/locale"   -g -O2 -fno-exceptions -MT 
common/string_list.lo -MD -MP -MF $depbase.Tpo -c -o 
common/string_list.lo ../aspell-0.60.5/common/string_list.cpp &&\
        mv -f $depbase.Tpo $depbase.Plo
 
g++ -DHAVE_CONFIG_H -I. -I./gen -I../aspell-0.60.5 -I../aspell-0.60.5/gen 
-I../aspell-0.60.5/common -I../aspell-0.60.5/interfaces/cc/ 
-I../aspell-0.60.5/modules/speller/default/ -DLOCALEDIR=/usr/local/share/locale 
-g -O2 -fno-exceptions -MT 
common/string_list.lo -MD -MP -MF 
common/.deps/string_list.Tpo -c ../aspell-0.60.5/common/string_list.cpp  -fPIC 
-DPIC -o 
common/.libs/string_list.o
cd gen; perl 
mk-dirs_h.pl /usr/local /usr/local/lib/aspell-0.60 /usr/local/lib/aspell-0.60  
/usr/local/etc 
>  dirs.h
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/build'
make: *** [all-recursive] Error 1
----------------

Thanks,
Jose




reply via email to

[Prev in Thread] Current Thread [Next in Thread]