[CLAM] sconstruct ignores PKG_CONFIG_PATH when trying to build filter plug-ins...

Simon Lewis simon.lewis at slnet-online.de
Sun Apr 25 03:21:06 PDT 2010


Hi

I am trying to build clam 1.4.0 on Fedora 12 x86_64

Using the attached rpm spec file I can successfully build libclam.

However, the build stops when trying to build the plug-ins... See 
Konsole output below...

The CLAM source code is not particularly lib64 savy - 
clam_build_helpers.py has to be modified to build libclam.

How to build the plug-ins on 64bit linux systems?

Simon


+ for i in Filters GuitarEffects MIDI resampling samplebysample sndfile 
spacialization speech osc
+ pushd plugins/Filters
~/rpmbuild/BUILD/CLAM-1.4.0/plugins/Filters ~/rpmbuild/BUILD/CLAM-1.4.0
+ export 
PKG_CONFIG_PATH=/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr/lib64/pkgconfig
+ 
PKG_CONFIG_PATH=/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr/lib64/pkgconfig
+ scons 
clam_prefix=/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr 
prefix=/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr
scons: Reading SConscript files ...
Package clam_core was not found in the pkg-config search path.
Perhaps you should add the directory containing `clam_core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'clam_core' found
OSError: 
'PKG_CONFIG_PATH=/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr/lib/pkgconfig 
pkg-config clam_core --libs --cflags' exited 1:
   File 
"/home/simon/rpmbuild/BUILD/CLAM-1.4.0/plugins/Filters/SConstruct", line 36:
     env.EnableClamModules(clamDependencies, CLAMInstallDir)
   File "/usr/lib/scons/SCons/Environment.py", line 217:
     return apply(self.method, nargs, kwargs)
   File 
"/home/simon/rpmbuild/BUILDROOT/libclam_core1_4-1.4.0-2.sl.fc12.x86_64/usr/share/clam/sconstools/clam.py", 
line 166:
     ' '.join(libs)))
   File "/usr/lib/scons/SCons/Environment.py", line 1447:
     return function(self, self.backtick(command))
   File "/usr/lib/scons/SCons/Environment.py", line 585:
     raise OSError("'%s' exited %d" % (command, status))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20100425/ce0355c9/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libclam.spec
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20100425/ce0355c9/attachment-0001.txt>


More information about the clam-users mailing list