[CLAM] configure-ing CLAM

Xavi Rubio xrubio at iua.upf.es
Tue Sep 23 06:05:12 PDT 2003


On Tue, 23 Sep 2003 14:56:37 +0200
kasper at 303.nu wrote:

> Hi,
> 
> I'm trying to install CLAM 0.5.2 on my Gentoo laptop, but I'm running into 
> some problems.

Hi Kasper, I work on CLAM using Gentoo so maybe I can help you.

> 
> The first problem was that fltk couldn't be found. I hacked a bit in in the 
> configure script and by adding $(fltk-config --cxxflags) $(fltk-config 
> --ldflags) to FLAG_FLTK_LIBS on line 1140 this seems to be fixed.

I solved it creating a local directory 'fltk' at the same level of the CLAM source tree.  Inside fltk, create a link called 'lib' to /usr/lib/fltk-1.1/ and another called 'include' to /usr/include/fltk-1.1.

This is my list of CLAM sandboxes with the fltk directory created:

bash-2.05b$ l
total 1504
drwxr-xr-x    9 xrubio   iua          4096 2003-09-22 11:05 CLAM
drwxr-xr-x    6 xrubio   iua           111 2003-01-14 11:49 CLAM-docs
drwxr-xr-x    9 xrubio   iua          4096 2003-09-23 10:54 CLAM_NEW-devel
drwxr-xr-x    4 xrubio   iua          4096 2003-01-14 11:49 CLAM-project-example
drwxr-xr-x    7 xrubio   iua            82 2003-01-15 10:42 CLAM-rel-doc
drwxr-xr-x    6 xrubio   iua           126 2003-07-29 11:31 CLAM-TestData
drwxr-xr-x    7 xrubio   iua          4096 2003-08-01 11:13 CLAM-web
drwxr-xr-x   28 xrubio   iua          4096 2003-08-20 12:54 cuidado
drwxr-xr-x   11 xrubio   iua          4096 2003-01-16 11:22 exp_vis
drwxr-xr-x    2 xrubio   iua            30 2003-09-05 14:17 fltk
lrwxrwxrwx    1 xrubio   iua            10 2003-09-05 14:13 qt -> /usr/qt/3/
-rw-r--r--    1 xrubio   iua       1514306 2003-01-15 12:05 ReleaseDocumentation.pdf
drwxr-xr-x    3 xrubio   iua            20 2003-02-17 17:48 SaltoDataFolder
drwxr-xr-x    5 xrubio   iua            54 2003-05-08 10:37 xercesc295
drwxr-xr-x    4 xrubio   iua            30 2003-02-26 23:15 xercesc32
bash-2.05b$ cd fltk/
bash-2.05b$ l
total 0
lrwxrwxrwx    1 xrubio   iua            22 2003-09-05 14:17 include -> /usr/include/fltk-1.1/
lrwxrwxrwx    1 xrubio   iua            18 2003-09-05 14:17 lib -> /usr/lib/fltk-1.1/
bash-2.05b$


> 
> Then configure couldn't find Qt, which is located in /usr/qt/3 on my box. The 
> Qt headers are in /usr/qt/3/include.

As you see in the ls above, this problem is solved creating a link 'qt' to /usr/qt/3/

> 
> Then it cannot find xerces, which I haven't installed at the moment. So it 
> continues (./configure --disable-xml)...
> 

Right now we use an old version of xerces-c (1.7), so you would like to download and compile it from the official page.



> checking for std::vector::at() method in libstdc++... no
> checking for standard sstream header in libstdc++... no
> checking for obsolete strstream header in libstdc++... configure: error:
> No standard c++ library String Streams header file found!
> 

This bug is related to the version of autoconf. Try to remove cache data (rm -rf autom4te.cache) and execute autoconf-2.57 (or some 2.5x version).

I hope your problems will be solved with these hints.

Xavi

> And this leaves me in the dark... Here's my gcc -v:
> """
> Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
> Configured with: /var/tmp/portage/gcc-3.2.3-r2/work/gcc-3.2.3/configure 
> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 
> --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include 
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man 
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared 
> --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib 
> --enable-languages=c,c++,f77,objc,java --enable-threads=posix 
> --enable-long-long --disable-checking --enable-cstdio=stdio 
> --enable-clocale=generic --enable-__cxa_atexit 
> --enable-version-specific-runtime-libs 
> --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 
> --with-local-prefix=/usr/local --enable-shared --enable-nls 
> --without-included-gettext
> Thread model: posix
> gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
> """
> 
> bye,
> Kasper
> 
> -- 
> el fútbol es popular porque la estupidez es popular
> 
> 
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam
> 
> 






More information about the clam-users mailing list