Re: Libtool problems building New Aspell
On Wed, Oct 23, 2002 at 04:23:09PM -0700, Brian Nelson wrote:
> "J.H.M. Dassen (Ray)" <dm@zensunni.demon.nl> writes:
> > Ah. This works for me:
> [ snip make a chroot ]
> > - Unpack tarball:
> > cd /root && tar xfz aspell-0.50.2.tar.gz && cd aspell-0.50.2
> > - Regenerate auto* generated files:
> > aclocal-1.6 && libtoolize --force && automake-1.6 && autoconf
> > - Build and install in temp area:
> > ./configure --prefix=/usr -v && make CC=g++ && \
> > mkdir -p debian/tmp && make install DESTDIR=`pwd`/debian/tmp
> > (The "CC=g++" is to work around an upstream bug; note this uses DESTDIR
> > rather than PREFIX)
>
> I've discovered another problem, however. For some reason, when using
> this approach, the libraries that are built don't get linked against
> libstdc++.
CC=g++ overrides the compiler only. You're still linking with gcc.
'CC=g++ ./configure...' might work, but since you're running the whole
autochain anyway, why not fix it properly?
Regards,
Daniel.
Reply to: