[Clam-devel] to snollux on #clam irc : clam compilation troubleshooting

Pau Arumi parumi at iua.upf.edu
Fri Mar 30 02:07:59 PDT 2007


snollux,
i've read the #clam irc log of last (european) night. some tips about
your problems:

* double check that you don't have a clam installation in /usr
ls /usr/lib/libclam* should be empty

* you said you where compiling the "examples". you mean CLAM/examples,
right? (or apps like NetworkEditor?)
check that prefixs in both CLAM/examples/options.cache and
CLAM/scons/libs/clam.conf matches

* you had different clam installs. this should not be a problem but just
in case clean up the install (if not already done). i'm not sure if scon
-c works properly so i do it by hand. and then use svn version.
(assuming prefix==/usr/local)

rm /usr/local/lib/libclam*
rm /usr/local/lib/pkgconfig/clam_*.pc
rm -rf /usr/local/include/CLAM


* xamat't tip on touching a .cxx to force recompilation is not valid!
scons is too smart: it does not use timestamps but the content of the
source file to decide  when it has changed.
removing compilation files under CLAM/scons/libs/* doesn't help either
on forcing reinstall.
the only think you can do is clean your installed files.

* more radical things you can do:
scons -c to clean intermediate compilation files
or remove your source tree and do a clean checkout.

good luck!
pau




More information about the clam-devel mailing list