[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell] [Q] Trouble compiling aspell 0.32.6...
From: |
Kevin Atkinson |
Subject: |
Re: [aspell] [Q] Trouble compiling aspell 0.32.6... |
Date: |
Sat, 6 Jan 2001 12:14:41 -0500 (EST) |
On Fri, 5 Jan 2001, Sudhakar Chandra wrote:
> Hi,
>
> I am in the process of packaging aspell 0.32.6 for Debian. And I came
> across a problem with compilation.
>
> If I do a straight ./configure && make, things work fine. But when I do
> the following:
>
> $ ./configure ./configure --prefix=/usr --sysconfdir=/etc
>
> and then run
>
> $ make
>
> it fails with the following error:
>
> make[3]: Entering directory `/u/thaths/tmp/aspell-.32.6/lib'
> /bin/sh ../libtool --mode=compile c++ -DDICTDIR=\"/usr/lib/aspell\"
> -DDATADIR=\"/usr/share/aspell\" -DCONFIGDIR=\"/etc\"
> -I/usr/include -I../ -I../util -I./inc -I../filter -g -O2 -c language.cc
> rm -f .libs/language.lo
> c++ -DDICTDIR=\"/usr/lib/aspell\" -DDATADIR=\"/usr/share/aspell\"
> -DCONFIGDIR=\"/etc\" -I/usr/include -I../ -I../util -I./inc -I../filter -g
> -O2 -c language.cc -fPIC -DPIC
> language.cc: In method `void
> aspell::Language::setup(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> >, aspell::Config *)':
> language.cc:77: implicit declaration of function `int aspell::split(...)'
> language.cc:77: warning: cannot pass objects of type `string' through `...'
> language.cc:77: conversion from `int' to non-scalar type
> `vector<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> >,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> > > > >' requested
> make[3]: *** [language.lo] Error 1
> make[3]: Leaving directory `/u/thaths/tmp/aspell-.32.6/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/u/thaths/tmp/aspell-.32.6/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/u/thaths/tmp/aspell-.32.6'
> make: *** [all-recursive-am] Error 2
>
>
> Any way to get around it? The problem seems to be related to the stuff I
> pass to the configure script.
It could be that it is using the wrong header files for some reason. If
you have previous versions of Aspell installed on your system try removing
uninstalling it, or at lease remove the files is /usr/include/aspell.
---
Kevin Atkinson
kevina at users sourceforge net
http://metalab.unc.edu/kevina/