silviocesare/PackageCloneDetection — Issue #4: PackageCloneDetectionServer: build failure
Author: sussudio
Created: 2012-03-02 21:17:29+00:00
State: open

Silvio,

An attempt at building PackageCloneDetectionServer on a 32-bit Ubuntu system failed due to the absence of a "fuzzy.h" file. I did a quick find on my clone and it seems no such file was included. Could you please advise?

Thanks
s

Build output follows:

g++ -O3 -Wall -g -I src src/MatchDistro.cpp -o bin/MatchDistro
src/MatchDistro.cpp: In function ‘bool match(const std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >&, const std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >&, double, double&)’:
src/MatchDistro.cpp:59: warning: unused variable ‘overlap’
g++ -O3 -Wall -g -I src src/Find2Cliques.cpp -o bin/Find2Cliques
g++ -O3 -Wall -g -I src src/BasePackage.cpp -o bin/BasePackage
g++ -O3 -Wall -g -I src src/StemMatches.cpp -o bin/StemMatches
src/StemMatches.cpp: In function ‘int main(int, char**)’:
src/StemMatches.cpp:16: warning: comparison between signed and unsigned integer expressions
g++ -O3 -Wall -g -I src src/CheckEmbedded.cpp -o bin/CheckEmbedded
g++ -O3 -Wall -g -I src src/MakePackageVectors.cpp -o bin/MakePackageVectors
g++ -O3 -Wall -g -I src src/FindEmbeddedPackages.cpp -o bin/FindEmbeddedPackages
src/FindEmbeddedPackages.cpp: In function ‘int main(int, char**)’:
src/FindEmbeddedPackages.cpp:204: warning: comparison between signed and unsigned integer expressions
g++ -O3 -Wall -g -I src src/CountDuplicateFilenames.cpp -o bin/CountDuplicateFilenames
g++ -O3 -Wall -g -I src src/ReduceFilenameFeatures.cpp -o bin/ReduceFilenameFeatures
g++ -O3 -Wall -g -I src src/UseTheseFeatures.cpp -o bin/UseTheseFeatures
g++ -O3 -Wall -g -I src src/SSDeepProcessingForDEB.cpp -o bin/SSDeepProcessingForDEB -lfuzzy
src/SSDeepProcessingForDEB.cpp:8: fatal error: fuzzy.h: No such file or directory
compilation terminated.
make: *** [SSDeepProcessingForDEB] Error 1

$ find ../ | grep fuzzy
$

$ uname -a
Linux [..] 2.6.35-32-generic #65-Ubuntu SMP Tue Jan 24 13:48:14 UTC 2012 i686 GNU/Linux