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: David Fang
Subject: Re: [aspell-devel] patch to fix for g++ -O3
Date: Fri, 5 Jan 2007 21:18:29 -0500 (EST)

> > 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
> > ...
> >
> > 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

Hi,

I'm not convinced that your Makefile.in was regenerated.  My libtool
compile commands look like the following (after patch and regeneration):

if g++ -DHAVE_CONFIG_H -I. -I../aspell-0.60.5 -I./gen  -Igen

Note the very last flag "-Igen".  Part of my patch added "-Igen" in the
AM_CPPFLAGS in Makefile.am (the *builddir's* gen/ dir), which doesn't show
up in any of your compile commands in the log excerpt.

Can you compare the timestamps of Makefile.am and Makefile.in?
After Makefile.in is regenerated "config.status --recheck" should
automatically run when you try to make again.  (Or start from scratch.)

> 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

Do the developers have a preferred way of regenerating files?  I noticed a
maintainer/ directory with scripts like 'autogen'.  (Wasn't mentioned in
the texinfo documentation.)  I only jumped into this today with a quick
fix, so pardon me I'm not familiar with others' habits and conventions.

David





reply via email to

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