toantv90 / pyssdeep Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/pyssdeep
Automatically exported from code.google.com/p/pyssdeep
What steps will reproduce the problem?
1. Downloaded ssdeep-2.1 source
http://downloads.sourceforge.net/project/ssdeep/ssdeep/ssdeep-2.1/ssdeep-
2.1.tar.gz?use_mirror=voxel
2. extracted to ~/ssdeep-2.1
3. ran ./configure
4. cd pyssdeep
5. python setup.py build FAILS
What is the expected output? What do you see instead?
erik@beatbox:~/ssdeep-2.1/pyssdeep$ python setup.py build
running build
running build_ext
building 'ssdeepmodule' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes
-fPIC -I.. -I/usr/include/python2.4 -c ssdeep.c -o build/temp.linux-i686-
2.4/ssdeep.o
gcc: ssdeep.c: No such file or directory
gcc: no input files
error: command 'gcc' failed with exit status 1
What version of the product are you using? On what operating system?
Latest from SVN as of 8:00P, Sunday Aug 27 CDT.
Please provide any additional information below.
Running on debian 4.0 with gcc 4.1.2 and python 2.4.4
Thanks for the bindings man!! Please let me know how I can help.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2009 at 3:02
ssdeep 2.l also has a method to hash bytes. Often useful instead of writing
out to a file, just use the hash_bytes method from pyrex too. Diff attached.
apply with
patch -p0 < pyssdeep-hash-bytes.diff
Original issue reported on code.google.com by [email protected]
on 24 Feb 2009 at 1:41
Attachments:
Since Google Code is closing could you migrate this project to GitHub or
similar and add URL redirection in admin interface, thanks?
Documentation here:
https://code.google.com/p/support-tools/wiki/MigratingToGitHub#URL_Redirection
It will take just few minutes and this will forward https://code.google.com/
urls from your project to GitHub.
Please contact me in case you need any information, thank you!
Original issue reported on code.google.com by [email protected]
on 4 Jun 2015 at 7:52
What steps will reproduce the problem?
1. ipythoh
In [1]: from ssdeep import ssdeep
In [2]: s = ssdeep()
In [3]: h1 = s.hash_file('ssdeep-2.5.tar.gz')
Segmentation fault
stfu:external ril3y$
What is the expected output? What do you see instead?
I see seg fault. I expected to see the hash for the ran file.
What version of the product are you using? On what operating system?
OS: OSX Snow Leopard
ssdeep version binary: 2.5
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
Perhaps this is an OSX thing but I thought I should let you know. Let me know
if you would like to know anything else.
Riley
Original issue reported on code.google.com by [email protected]
on 28 Jul 2010 at 7:20
What steps will reproduce the problem?
1. make all
2.
3.
What is the expected output? What do you see instead?
$ make all
python setup.py build
running build
running build_ext
building 'ssdeepmodule' extension
gcc -fno-strict-aliasing -ggdb -O2 -pipe
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/build=/usr/src/deb
ug/python-2.7.3-1
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/src/Python-2.7.3=/
usr/src/debug/python-2.7.3-1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I.. -I/usr/include/python2.7 -c ssdeep.c -o
build/temp.cygwin-1.7.20-i686-2.7/ssdeep.o
ssdeep.c: In function ‘__pyx_f_6ssdeep_6ssdeep___init__’:
ssdeep.c:76:3: warning: label ‘__pyx_L1’ defined but not used
[-Wunused-label]
ssdeep.c: In function ‘__pyx_f_6ssdeep_6ssdeep_hash_file’:
ssdeep.c:114:3: warning: implicit declaration of function ‘fuzzy_hash’
[-Wimplicit-function-declaration]
ssdeep.c:114:3: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast [enabled by default]
In file included from /usr/include/python2.7/Python.h:94:0,
from ssdeep.c:3:
/usr/include/python2.7/stringobject.h:63:24: note: expected ‘const char *’
but argument is of type ‘int’
ssdeep.c: In function ‘__pyx_f_6ssdeep_6ssdeep_hash_bytes’:
ssdeep.c:206:3: warning: implicit declaration of function ‘fuzzy_hash_data’
[-Wimplicit-function-declaration]
ssdeep.c:206:3: warning: passing argument 1 of ‘PyString_FromString’ makes
pointer from integer without a cast [enabled by default]
In file included from /usr/include/python2.7/Python.h:94:0,
from ssdeep.c:3:
/usr/include/python2.7/stringobject.h:63:24: note: expected ‘const char *’
but argument is of type ‘int’
ssdeep.c: In function ‘__pyx_tp_new_6ssdeep_ssdeep’:
ssdeep.c:311:36: warning: unused variable ‘p’ [-Wunused-variable]
ssdeep.c: In function ‘__pyx_tp_dealloc_6ssdeep_ssdeep’:
ssdeep.c:316:36: warning: unused variable ‘p’ [-Wunused-variable]
ssdeep.c: In function ‘__pyx_tp_traverse_6ssdeep_ssdeep’:
ssdeep.c:322:36: warning: unused variable ‘p’ [-Wunused-variable]
ssdeep.c:321:7: warning: unused variable ‘e’ [-Wunused-variable]
ssdeep.c: In function ‘__pyx_tp_clear_6ssdeep_ssdeep’:
ssdeep.c:327:36: warning: unused variable ‘p’ [-Wunused-variable]
ssdeep.c: At top level:
ssdeep.c:22:18: warning: ‘__Pyx_UnpackItem’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:23:12: warning: ‘__Pyx_EndUnpack’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:24:12: warning: ‘__Pyx_PrintItem’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:25:12: warning: ‘__Pyx_PrintNewline’ declared ‘static’ but
never defined [-Wunused-function]
ssdeep.c:27:13: warning: ‘__Pyx_ReRaise’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:28:18: warning: ‘__Pyx_Import’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:29:18: warning: ‘__Pyx_GetExcValue’ declared ‘static’ but
never defined [-Wunused-function]
ssdeep.c:30:12: warning: ‘__Pyx_ArgTypeTest’ declared ‘static’ but
never defined [-Wunused-function]
ssdeep.c:31:12: warning: ‘__Pyx_TypeTest’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:32:12: warning: ‘__Pyx_GetStarArgs’ declared ‘static’ but
never defined [-Wunused-function]
ssdeep.c:33:13: warning: ‘__Pyx_WriteUnraisable’ declared ‘static’ but
never defined [-Wunused-function]
ssdeep.c:35:22: warning: ‘__Pyx_ImportType’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:36:12: warning: ‘__Pyx_SetVtable’ declared ‘static’ but never
defined [-Wunused-function]
ssdeep.c:37:12: warning: ‘__Pyx_GetVtable’ declared ‘static’ but never
defined [-Wunused-function]
gcc -fno-strict-aliasing -ggdb -O2 -pipe
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/build=/usr/src/deb
ug/python-2.7.3-1
-fdebug-prefix-map=/home/jt/rel/python-2.7.3-1/python-2.7.3-1/src/Python-2.7.3=/
usr/src/debug/python-2.7.3-1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-I.. -I/usr/include/python2.7 -c ssdeep_util.c -o
build/temp.cygwin-1.7.20-i686-2.7/ssdeep_util.o
gcc -shared -Wl,--enable-auto-image-base -L.
build/temp.cygwin-1.7.20-i686-2.7/ssdeep.o
build/temp.cygwin-1.7.20-i686-2.7/ssdeep_util.o -L../.libs
-L/usr/lib/python2.7/config -lfuzzy -lpython2.7 -o
build/lib.cygwin-1.7.20-i686-2.7/ssdeepmodule.dll
/usr/lib/gcc/i686-pc-cygwin/4.7.3/../../../../i686-pc-cygwin/bin/ld: cannot
find -lfuzzy
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Makefile:2: recipe for target `all' failed
make: *** [all] Error 1
What version of the product are you using? On what operating system?
downloaded and installed ssdeep 2.9 in cygwin 2.7 on windows 8 64bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2013 at 1:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.