A couple of problems and one solution [MDK]

Luís Pedro Coelho <luis-lDyIkTiGk8zrZ44/[email protected]>
Newsgroups gmane.network.instant-messaging.ayttm.user
Message-ID <[email protected]>
Hi,

Just managed to compile ayttm on Mandrake 10 with kde from CVS (don't know if 
it matters, but it might bc of arts).

Anyway, I needed to 

./configure --disable-arts

otherwise there would be a mixture between libglib-1.2 and libglib-2.0 and 
crash on startup.

Furthermore, since I am passing --with-jasper-prefix=DIR I needed to edit 
configure as follows:

change line 29047 to read:

        CFLAGS="$CFLAGS -I$with_jasper_prefix/include"

(notice the added "-I").

This problem probably comes from configure.ac and, therefore the attached 
patch probably fixes it.

(Now it compiles and starts up -- Haven't actually *used* it, though). 

Hope that helps,
luis
http://luispedro.org
kmail-attach.MuhoOl (text/x-diff, 678 B)
Index: configure.ac
===================================================================
RCS file: /cvsroot/ayttm/ayttm/configure.ac,v
retrieving revision 1.502
diff -u -3 -p -b -r1.502 configure.ac
--- configure.ac	28 Jun 2004 14:55:36 -0000	1.502
+++ configure.ac	8 Jul 2004 13:36:35 -0000
@@ -194,7 +194,7 @@ if test "$enable_webcam" != "no"; then
     ac_check_lib_save_CFLAGS=$CFLAGS
     LIBS="-ljasper -lm -ljpeg -L $with_jasper_prefix/lib $LIBS"
     if test -n "$with_jasper_prefix"; then
-        CFLAGS="$CFLAGS $with_jasper_prefix/include"
+        CFLAGS="$CFLAGS -I$with_jasper_prefix/include"
     fi
     AC_TRY_LINK([#include <jasper/jasper.h>],
 	[jas_init()],
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.