Re: Build problems: C++ code in pspell and new RPM-SPEC files
- From: Ali Akcaagac <ali akcaagac stud fh-wilhelmshaven de>
- To: balsa-list gnome org
- Subject: Re: Build problems: C++ code in pspell and new RPM-SPEC files
- Date: Sun, 7 Oct 2001 17:58:51 +0200
On 2001.10.07 15:00:33 +0200 Bjoern Voigt wrote:
> I compiled balsa-1.2.0 on SuSE Linux 7.2 with Ximian GNOME 1.4. I got
> some curious compilation errors. I fixed the problems with changing to
> source and the RPM-SPEC files. I'd like to discuss about the changes.
>
> 1) configure showed "*** libpspell not found. Please check
> http://www.balsa.net for information on the required files."
>
> But since I installed pspell-0.12.2 this isn't true. Why has pspell
> a version ".12.2" instead of "0.12.2"?
yeah thats a curious versioning thing it remembers me of the lazyness of
maths people they also dont write the leading zero.. cant tell you why.
> 2) make failed to link balsa:
>
> /usr/lib/libpspell.so: undefined reference to `pspell_manager_funs_size'
> /usr/lib/libpspell.so: undefined reference to `ios virtual table'
> /usr/lib/libpspell.so: undefined reference to `ostream::flush(void)'
> /usr/lib/libpspell.so: undefined reference to `pspell_manager_funs'
> /usr/lib/libpspell.so: undefined reference to `istream::ios virtual table'
> /usr/lib/libpspell.so: undefined reference to `ostream::operator<<(char const *)'
> /usr/lib/libpspell.so: undefined reference to `ostream & operator<<<int>(ostream &, smanip<int> const &)'
> /usr/lib/libpspell.so: undefined reference to `ifstream::~ifstream(void)'
> /usr/lib/libpspell.so: undefined reference to `__iomanip_setw(ios &, int)'
> /usr/lib/libpspell.so: undefined reference to `fstreambase::fstreambase(int, char const *, int, int)'
> /usr/lib/libpspell.so: undefined reference to `ifstream::ios virtual table'
> collect2: ld returned 1 exit status
> make: *** [balsa] Error 1
>
> So gcc cannot find the C++ Library and is unable to find some
> symbols in libspell. One fix was, linking with g++ instead of gcc
> and adding "-lpspell-modules".
yeah you commented the previous thing out and then you add -lpspell
afterwards how serious..
but oki its for sure not your fault the problem with many nowadays distros
are that they permanently TWEAK packages with their own patches this often
lead into some incompatibilities.
> I made RPM-SPEC files for libesmtp, pspell and balsa. Here a my
> changes against the original SPEC files
>
> 3) http://www.theochem.kth.se/~pawsa/balsa/libesmtp-0.8.4-1.src.rpm
> from Brian Stafford <brian@stafford.uklinux.net> is ok, but could
> be improved (missing libesmtp-config, no extra devel package). My
> suggestion for a libesmtp.spec file is in the attachment.
>
> 4) A working source RPM for pspell. There are some "Contributed RPMs"
> on http://pspell.sourceforge.net/, but the tested RPMs didn't work
> on my system (see above). I changed a SPEC file from SuSE Linux
> 7.2. The SPEC file uses version 0.2.12 instead of ".2.12" so it
> doesn't work on the original source distribution.
well i really recommend you call up SUSE for this and tell them to
make their packs more compatible with other commercial distributions.
> 5) Many people install balsa in "/opt/gnome" and the system wide
> configuration in /etc/opt/gnome. I would prefer a balsa.spec with
> comments for
thats SUSE who install into /opt/gnome. i for my side dont count myself
as one of the many people.
--
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]