Saturday, October 31, 2009

libtool

While trying to build soundtouch I ran into more problems:
make[1]: Leaving directory `/var/cache/prevu/src/14938/source'
cd build-tree/soundtouch-1.3.1 && libtoolize -c -f -i
libtoolize: unrecognized option `-i'
Try `libtoolize --help' for more information.
make: *** [debian/stamp-autotools-files] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

I researched libtool a bit and find that the version in hardy is quite old compared to Jaunty (1.5.26-1ubuntu1 vs 2.2.6a-1ubuntu1).

At this point I did what works for me; I walked away again and did some thinking. Guessing that perhaps the '-i' was an argument for a later version I'm going to try to build libtool first before trying to build soundtouch again.

I made sure I was using the Jaunty source repository again.
sudo gedit /etc/apt/sources.list

I made sure the additional source at the bottom referenced Jaunty.
# Adding interpid sources for prevu
deb-src http://archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse

Update prevu.
sudo -E prevu-update


Then I did the usual song and dance.
mkdir libtool
cd libtool
apt-get source libtool
cd libtool-2.6.2a
prevu

Success.

Next I installed the libtool package in the hopes that the '-i' argument was a new feature in the later versions libtool. Next on to building soundtouch again.

[edit: as it turned out, I was right and soundtouch then built correctly]

Note that I had such trouble that I couldn't conclusively determine if I needed to install packages via synaptic or would prevu recognize them from the local repository.

0 comments:

Post a Comment