Soumyadip Modak <[EMAIL PROTECTED]> writes: > I'm packaging the bengali wordlist for aspell, for Debian. During > dpkg-buildpackage i get the following errors: > > modak:/home/soumyadip/Debian/aspell/aspell-bn-0.50-1# dpkg-buildpackage > dpkg-buildpackage: source package is aspell-bn-0.50 > dpkg-buildpackage: source version is 1-1 > dpkg-buildpackage: source maintainer is Soumyadip Modak > <[EMAIL PROTECTED]> > dpkg-buildpackage: host architecture is i386 > debian/rules clean > dh_testdir > dh_testroot > rm -f build-stamp > # Add here commands to clean up after the build process. > /usr/bin/make distclean > make[1]: Entering directory > `/home/soumyadip/Debian/aspell/aspell-bn-0.50-1' > make[1]: *** No rule to make target `distclean'. Stop. > make[1]: Leaving directory > `/home/soumyadip/Debian/aspell/aspell-bn-0.50-1' > make: [clean] Error 2 (ignored) > cp -f /usr/share/misc/config.sub config.sub > cp -f /usr/share/misc/config.guess config.guess > dh_clean > dpkg-source -b aspell-bn-0.50-1 > dpkg-source: building aspell-bn-0.50 in aspell-bn-0.50_1-1.tar.gz > dpkg-source: building aspell-bn-0.50 in aspell-bn-0.50_1-1.dsc > debian/rules build > dh_testdir > # Add here commands to configure the package. > ./configure --host=i386-linux --build=i386-linux --prefix=/usr > --mandir=\${prefix}/share/man --infodir=\${prefix}/share/infoWarning: > future versions will require --vars before variables are set > : error: invalid variable name: --host > make: *** [config.status] Error 1
The configure script that comes with the aspell dicts is homebrew (not created by autoconf), and thus does not accept most of those options. Edit those out of the debian/rules file. Also, you might want to check out some of the aspell-* packages in the archive for reference. -- You win again, gravity!