Re: Build problems: C++ code in pspell and new RPM-SPEC files



On Sun, 7 Oct 2001, Pawel Salek wrote:

> What about attached configure? Does it detect properly pspell? (I attach
> the configure.in.diff for completness).

Thank you. Your patch is very helpfull.

In addition I had to change the following things:

1) Running libtoolize (from libtool-1.3.5, SuSE 7.2)

   This changes ltmain.sh and ltconfig, so that "dl_open" and related
   functions can be found. Running

   srcdir=$PWD macros/autogen.sh

   is also ok. But, why it's necessary to run libtoolize or autogen.sh
   on a distribution (balsa-1.2.0.tar.bz2, no CVS version)?

2) Disabling iconv-checks

   I have iconv in glibc-2.2.2. But unfortunately configure doesn't
   detect this.

3) Disabling libesmtp

   No idea. It already worked before.

I don't know, why 2) and 3) is necessary. Probably everything has to
do with incompatibilities of different versions of libtool, autoconf
and automake. I have

libtool-1.3.5-117
autoconf-2.13-339
automake-1.4-334

(all original from SuSE 7.2). But, for instance, libesmtp want's to
have autoconf 2.50 or higher. I would prefer it to find the required
versions of Libc or libiconv, libtool, autoconf, automake and so on in
the README.

Bye, Björn

-- 
Björn Voigt <bjoern@cs.tu-berlin.de>
WWW: http://user.cs.tu-berlin.de/~bjoern/





Index: configure.in
===================================================================
RCS file: /cvs/gnome/balsa/configure.in,v
retrieving revision 1.163
diff -u -r1.163 configure.in
--- configure.in	2001/10/07 19:30:04	1.163
+++ configure.in	2001/10/07 20:53:53
@@ -52,7 +52,7 @@
 
 AC_CHECK_LIB(pspell, new_pspell_manager,,[
 	AC_MSG_ERROR([*** libpspell(-devel) not found.  Please check http://www.balsa.net for information on the required files.])
-])
+], -lstdc++ -lpspell-modules)
 
 dnl Reset
 # LDFLAGS="$balsa_save_LDFLAGS"


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