[CLAM] SMSTools compile problem

David García Garzón vokimon at telefonica.net
Sun Dec 11 06:27:22 PST 2005


Well, the tutorial was intended for 0.8 release and you are trying 0.9 first 
*pre*release. The problem is that 0.9 release will have two main changes:

- At last we have library binary deployment, so, external applications changed 
the header style. That's <CLAM/WhatEver.hxx> instead of "WhatEver.hxx". But 
in order to work, you must install the library before compiling external apps 
such the SMSTools2.

- The build system have been moved to 'scons' (a nice substitute for 'make') 
so the old build system is not updated to such change. And, of course, the 
documentation you are following must be updated.

So, what to do? Three ways: 
- Using 0.8 release. (The one intended for the tutorial)
- Install 0.9-pre1 using scons (cd CLAM/scons/libs; scons; su; scons install)
- Wait a couple of days as we are currently working on having debian packages.

Needless to say that 0.9pre1 is a prerelease for testing, and it is the first 
one with the new build system, so, please, don't hesitate to report any 
problem if you try to build it using scons.


On Dissabte 10 Desembre 2005 20:31, Georg Holzmann wrote:
> Hallo!
>
> I'm new to CLAM (as you might guess ;) and wanted to follow the tutorial,
> but I didn't manage to compile the SMSTools (on debian sid linux).
>
> First I downloaded CLAM-0.9.0-pre1, configured it, build some examples ...
> no problem.
>
> Then I tried to follow the tutorial and didn't find the /examples/SMS
> folder, so I downloaded SMSTools2_CLAM-0.9.0-pre1 but didn't managed to
> compile it:
>
> - the directory structure is like that:
>    CLAM_base
>
>       |-- CLAM
>       |-- SMSTools2-0.9.0-pre1
>
> - I edited SMSTools2-0.9.0-pre1/build/clam-location.cfg (absolute path) and
> make depend was sucesfull
>
> - make CONFIG=release gave me lots of errors, all of not finding headers:
>
> ------8<-------------8<-----------
> root at holzi:/home/holzi/progamming/CLAM_stuff/SMSTools2-0.9.0-pre1/build/Too
>ls# make CONFIG=release == compiling ../..//src/mainSMSTools.cxx
> In file included from ../..//src/SMSBase.hxx:27,
>                  from ../..//src/SMSTools.hxx:4,
>                  from ../..//src/mainSMSTools.cxx:22:
> ../..//src/SerializationController.hxx:22:25: error: CLAM/Enum.hxx: Datei
> oder Verzeichnis nicht gefunden In file included from
> ../..//src/SerializationController.hxx:23,
>                  from ../..//src/SMSBase.hxx:27,
>                  from ../..//src/SMSTools.hxx:4,
>                  from ../..//src/mainSMSTools.cxx:22:
> ../..//src/XMLSerializer.hxx:27:31: error: CLAM/XMLStorage.hxx: Datei oder
> Verzeichnis nicht gefunden In file included from
> ../..//src/SerializationController.hxx:24,
>                  from ../..//src/SMSBase.hxx:27,
>                  from ../..//src/SMSTools.hxx:4,
>                  from ../..//src/mainSMSTools.cxx:22:
> ../..//src/SDIFSerializer.hxx:26:27: error: CLAM/SDIFIn.hxx: Datei oder
> Verzeichnis nicht gefunden ../..//src/SDIFSerializer.hxx:27:28: error:
> CLAM/SDIFOut.hxx: Datei oder Verzeichnis nicht gefunden In file included
> from ../..//src/SMSTools.hxx:4,
>                  from ../..//src/mainSMSTools.cxx:22:
> ../..//src/SMSBase.hxx:29:39: error: CLAM/SMSSynthesisConfig.hxx: Datei
> oder Verzeichnis nicht gefunden ../..//src/SMSBase.hxx:30:38: error:
> CLAM/SMSAnalysisConfig.hxx: Datei oder Verzeichnis nicht gefunden In file
> included from ../..//src/SMSBase.hxx:31,
>                  from ../..//src/SMSTools.hxx:4,
>                  from ../..//src/mainSMSTools.cxx:22:
> ../..//src/SMSAnalysisSynthesisConfig.hxx:25:37: error:
> CLAM/ProcessingConfig.hxx: Datei oder Verzeichnis nicht gefunden
> ../..//src/SMSAnalysisSynthesisConfig.hxx:26:37: error:
> CLAM/EPhaseGeneration.hxx: Datei oder Verzeichnis nicht gefunden
> ../..//src/SMSAnalysisSynthesisConfig.hxx:27:29: error: CLAM/Filename.hxx:
> Datei oder Verzeichnis nicht gefunden
> ../..//src/SMSAnalysisSynthesisConfig.hxx:28:32: error:
> CLAM/GlobalEnums.hxx: Datei oder Verzeichnis nicht gefunden
>
> [...]
> ------8<-------------8<-----------
>
> (sorry, this is german, but it means that the headers are not found !)
>
> So, do you have a suggestion, how I can set the paths correctly ?
> (well, I tried it for some, but there are so many ...)
>
> Thanks for any hint,
> LG
> Georg
>
>
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam

-- 
David ("Vokimon") García Garzón
(Work) dgarcia at iua dot upf anotherdot es
(Home) vokimon at telefonica adot net
http://www.salleurl.edu/~is04069

Hay vida mas alla de Microsoft!
http://www.linux.org
http://www.freebsd.org
http://www.openbsd.org
http://www.netbsd.org 
incluso http://www.mac.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20051211/2056059a/attachment-0002.pgp>


More information about the clam-users mailing list