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 17:54:25 -0800
User-agent: KMail/1.9.4

On Friday 05 January 2007 17:15, you wrote:
> > 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'
> > make: *** [all-recursive] Error 1
>
> 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
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....
-------------------
 
g++ -DHAVE_CONFIG_H -I. -I.. -I./gen -I../gen -I../common -I../interfaces/cc/ 
-I../modules/speller/default/ -DLOCALEDIR=/usr/local/share/locale -g -O3 
-fno-exceptions -MT 
common/file_util.lo -MD -MP -MF 
common/.deps/file_util.Tpo -c ../common/file_util.cpp  -fPIC -DPIC -o 
common/.libs/file_util.o
depbase=`echo common/string_map.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ./libtool --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I.. -I./gen  -I../gen -I../common -I../interfaces/cc/ 
-I../modules/speller/default/ -DLOCALEDIR="/usr/local/share/locale"   -g -O3 
-fno-exceptions -MT 
common/string_map.lo -MD -MP -MF "$depbase.Tpo" -c -o 
common/string_map.lo ../common/string_map.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; 
exit 1; fi
 
g++ -DHAVE_CONFIG_H -I. -I.. -I./gen -I../gen -I../common -I../interfaces/cc/ 
-I../modules/speller/default/ -DLOCALEDIR=/usr/local/share/locale -g -O3 
-fno-exceptions -MT 
common/string_map.lo -MD -MP -MF 
common/.deps/string_map.Tpo -c ../common/string_map.cpp  -fPIC -DPIC -o 
common/.libs/string_map.o
depbase=`echo common/string_list.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
        if /bin/sh ./libtool --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I.. -I./gen  -I../gen -I../common -I../interfaces/cc/ 
-I../modules/speller/default/ -DLOCALEDIR="/usr/local/share/locale"   -g -O3 
-fno-exceptions -MT 
common/string_list.lo -MD -MP -MF "$depbase.Tpo" -c -o 
common/string_list.lo ../common/string_list.cpp; \
        then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; 
exit 1; fi
 
g++ -DHAVE_CONFIG_H -I. -I.. -I./gen -I../gen -I../common -I../interfaces/cc/ 
-I../modules/speller/default/ -DLOCALEDIR=/usr/local/share/locale -g -O3 
-fno-exceptions -MT 
common/string_list.lo -MD -MP -MF 
common/.deps/string_list.Tpo -c ../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/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




reply via email to

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