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

Re: Libtool problems building New Aspell



On Sat, Oct 05, 2002 at 19:11:10 +0200, Peter Makholm wrote:
> "J.H.M. Dassen (Ray)" <dm@zensunni.demon.nl> writes:
> The symptoms that are described in libtool bugs #57087 and #98342.
> 
> Not being able to do a 
> 
> $ ./configure && make && make install prefix=`pwd`/debian/tmp
> 
> which is needed for building debian-packages. Only libaspell-common
> gets installed and neither libaspell og libpspell gets installed.

Ah. This works for me:

Create a chroot to work in:
	pbuilder create --distribution sid
	pbuilder login
	cp aspell-0.50.2.tar.gz /var/cache/pbuilder/build/[pid of pbuilder]/root

libtool_1.4.2-7.1_i386.deb is a delayed NMU I did today, you can fetch it
from ftp-master. Make it available to the chroot:
	cp libtool_1.4.2-7.1_i386.deb /var/cache/pbuilder/build/[pid of pbuilder]/tmp/

In the chroot:
- Install aspell build dependencies:
	apt-get -y install debhelper libstdc++3-dev libltdl3-dev \
	libncurses-dev libpspell-dev autotools-dev
- Install tools to regenerate auto* generated files:
	dpkg -i /tmp/libtool_1.4.2-7.1_i386.deb
	apt-get -y install automake1.6
- 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)

The resulting debian/tmp contains
	usr/lib/libaspell.so
	usr/lib/libaspell-common.so
	usr/lib/libpspell.so.15.0.1
	usr/lib/libaspell.so.15
	usr/lib/libpspell.so.15
	usr/lib/libpspell.so
	usr/lib/libaspell-common-0.50.2.so
	usr/lib/libaspell.so.15.0.1
which I guess is what you want.

HTH,
Ray
-- 
"I'm just waiting to see `Red Hat to acquire Abominable Snowman & Department
of Defense in Massive Stock Swap.'"
	Hemos in http://slashdot.org/article.pl?sid=99/12/16/1741211 



Reply to: