[clam-devel] Newb Linux compile questions.

Frank Edgley edgley at mnsi.net
Sun Oct 17 09:55:01 PDT 2010


  Hey there,
    I'm trying to compile CLAM on Lucid (for Linux).   I'm following the 
INSTALL file instructions but after checking out the code from 
subversion and installing the dependencies, I'm getting the following 
error when I try to do a 'scons configure':

<quote>
#########################################
### CLAM CORE DEPENDENCIES CHECKING   ###
#########################################
Checking for xerces-c pkg-config file... no
Error: pkg-config could not find xerces-c options.
Check the config.log file for details
</quote>

Checking the config.log file reveals this:

<quote>
file /home/vadmin/clam/CLAM/SConstruct,line 77:
     Configure(confdir = .sconf_temp)
scons: Configure: Checking for xerces-c pkg-config file...
pkg-config --cflags --libs xerces-c
Package xerces-c was not found in the pkg-config search path.
Perhaps you should add the directory containing `xerces-c.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xerces-c' found
scons: Configure: no
</quote>

I can't find a file named 'xerces-c.pc' (using "sudo find / -name 
'xerces-c.pc'") , so I'm wondering what I should do next...  Any 
suggestions?  I'm pretty new to Linux, so go easy on me. ;)  Thanks in 
advance.

Frank Edgley



More information about the clam-devel mailing list