[CLAM] building with fltk-1.1.5

martin rumori lists at rumori.de
Mon Aug 2 19:16:33 PDT 2004


hi,

i am new to list.

i just managed to build CLAM/SMS-tools on debian unstable with
fltk-1.1.5.  attached a small patch which includes fltk-1.1.5 in the
check in aclocal.m4 to get the compiler/linker flags correctly.

in fltk-1.1.5rc2 apparently there is a bug in the src/Makefile
(Fl_lock.cxx missing in CPPFILES) which leeds to unresolved symbols
when building SMS tools (present in debian).  i sent a bug report to
the fltk guys.

the attached patch contains a small change to configure.in as well:
AC_PREREQ(2.50).  otherwise the debian autoconf wrapper chooses
autoconf2.13, which does not work apparently.

bests,

martin

-------------- next part --------------
diff -rpuN CLAM-0.6.1/build/aclocal.m4 CLAM-0.6.1-patched/build/aclocal.m4
--- CLAM-0.6.1/build/aclocal.m4	2004-04-15 07:57:49.000000000 -0600
+++ CLAM-0.6.1-patched/build/aclocal.m4	2004-08-02 18:52:02.000000000 -0600
@@ -248,6 +248,10 @@ if [[ "1.1.4" == "$FLTK_API_VERSION" ]]
 then
 	RAW_FLTK_CFLAGS=`$FLTKCONFIG --use-gl --use-images --cxxflags`
 	RAW_FLTK_LDFLAGS=`$FLTKCONFIG --use-gl --use-images --ldflags`
+elif [[ "1.1.5" == "$FLTK_API_VERSION" ]]
+then
+	RAW_FLTK_CFLAGS=`$FLTKCONFIG --use-gl --use-images --cxxflags`
+	RAW_FLTK_LDFLAGS=`$FLTKCONFIG --use-gl --use-images --ldflags`
 else
 	RAW_FLTK_CFLAGS=`$FLTKCONFIG --cxxflags`
 	RAW_FLTK_LDFLAGS=`$FLTKCONFIG --ldflags`
diff -rpuN CLAM-0.6.1/build/configure.in CLAM-0.6.1-patched/build/configure.in
--- CLAM-0.6.1/build/configure.in	2004-04-15 07:57:49.000000000 -0600
+++ CLAM-0.6.1-patched/build/configure.in	2004-08-02 18:52:11.000000000 -0600
@@ -5,6 +5,8 @@
 #  - Include command line options for
 #      * sound driver choice.
 
+AC_PREREQ(2.50)
+
 AC_INIT(../src/Base/DynamicType.hxx)
 
 AC_SUBST(XERCESC_LIB_PATH)


More information about the clam-users mailing list