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

Simon Lewis simon.lewis at slnet-online.de
Mon Apr 26 08:20:36 PDT 2010


Hi

No! Neither Skype nor pulseaudio are installed on this machine - my 
set-up is definitely Jackd based. Anyway, the sound server is not the issue.

There is a hardcoded path to /usr/lib somewhere, that does not 
automatically get changed to /usr/lib64 by the build system.

Anyone who has successfully built the CLAM plug-ins on a 64bit linux 
system will have stumbled across this and knows the workaround - it 
would nice if the knowledge could be passed on to us mortal humans...


Simon




Am 26.04.2010 11:58, schrieb Oļa-la:
> Hi Simon
>
>   I used to have in some way similar problem, difficulties to install 
> CLAM Network editor.
>  Do you have Skype installed on you machine?  In my case it was Skype 
> who cause the problem, because default sound plugin for Skype is 
> Pulse. After I install Skype and removed Pulse I could complete CLAM 
> installation.
>
> Maybe it is not the case, i am having x86 Ubuntu 9.10
>  Good luck, o.
>
> Life is Beautiful, Live it Up!
>
>
> On 25 April 2010 12:21, Simon Lewis <simon.lewis at slnet-online.de 
> <mailto:simon.lewis at slnet-online.de>> wrote:
>
>     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))
>
>
>     _______________________________________________
>     clam-users mailing list
>     clam-users at lists.clam-project.org
>     <mailto:clam-users at lists.clam-project.org>
>     http://clam-project.org
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20100426/107055f9/attachment-0003.htm>


More information about the clam-users mailing list