Thread: [sleuthkit-users] Sleuthkit on Cygwin? (make fails: magic.c:192: error: storage size of `utsbuf' is
Brought to you by:
carrier
From: Joseph J. F. <jj...@ic...> - 2004-07-19 09:19:37
|
SSBhbSBydW5uaW5nIHRoZSBsYXRlc3QgYXZhaWxhYmxlIHZlcnNpb24gb2YgY3lnd2luIGFuZCBJ IGFtIHRyeWluZyB0byBjb21waWxlIGFuZCBpbnN0YWxsIHNsZXV0aGtpdCBmb3IgY3lnd2luLiAg QWZ0ZXIgcnVubmluZyBtYWtlLCBJIGdldCB0aGUgZm9sbG93aW5nIGVycm9yOg0KIA0KbWFnaWMu YzogSW4gZnVuY3Rpb24gYGNsb3NlX2FuZF9yZXN0b3JlJzoNCm1hZ2ljLmM6MTkyOiBlcnJvcjog c3RvcmFnZSBzaXplIG9mIGB1dHNidWYnIGlzbid0IGtub3duDQptYWtlWzJdOiAqKiogW21hZ2lj LmxvXSBFcnJvciAxDQptYWtlWzJdOiBMZWF2aW5nIGRpcmVjdG9yeSBgL3Vzci9sb2NhbC9zbGV1 dGhraXQtMS43MC9zcmMvZmlsZS9zcmMnDQptYWtlWzFdOiAqKiogW2luc3RhbGwtcmVjdXJzaXZl XSBFcnJvciAxDQptYWtlWzFdOiBMZWF2aW5nIGRpcmVjdG9yeSBgL3Vzci9sb2NhbC9zbGV1dGhr aXQtMS43MC9zcmMvZmlsZScNCm1ha2U6ICoqKiBbZmlsZV0gRXJyb3IgMg0KIA0KQW55IGlkZWFz Pw0KIA0KVGhhbmtzLA0KIA0KSm9lDQogDQo= |
From: Brian C. <ca...@sl...> - 2004-07-19 12:50:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jul 19, 2004, at 4:19 AM, Joseph J. Farino wrote: > I am running the latest available version of cygwin and I am trying to > compile and install sleuthkit for cygwin. After running make, I get > the following error: > > magic.c: In function `close_and_restore': > magic.c:192: error: storage size of `utsbuf' isn't known > This error is coming from 'file', which I only include and do not maintain. I'll send the maintainer an e-mail about it. To get around this, make a symlink between '/bin/file' on your local system to the sleuthkit bin. # ln -s /bin/file sleuthkit-1.70/bin/file brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA+8N9OK1gLsdFTIsRAkj7AJ9YaeVUQ4lDFGnNhMjQQldESpcCRgCdF0Qd YHt+6oFtXu/Ev7aO/znHoR8= =yUo5 -----END PGP SIGNATURE----- |
From: Charles L. <ch...@lu...> - 2004-07-20 07:15:12
|
You're not the first one to run across this... I found a fix for this = error at = http://archive.netbsd.se/?list=3Dtech-toolchain&a=3D2004-05&mid=3D225006.= Ian Lance was kind enough to provide a patch. Aside from that, it was = a relatively painless installation. I recently created a tutorial on the subject: "Running Sleuthkit and = Autopsy Under Windows", at = http://www.memophage.net/Running_Sleuthkit_and_Autopsy_Under_Windows.pdf -Charles ch...@lu... -----Original Message----- From: sle...@li... = [mailto:sle...@li...] On Behalf Of Joseph = J. Farino Sent: Monday, July 19, 2004 2:19 AM To: sle...@li... Subject: [sleuthkit-users] Sleuthkit on Cygwin? (make fails: = magic.c:192: error: storage size of `utsbuf' isn't known) I am running the latest available version of cygwin and I am trying to = compile and install sleuthkit for cygwin. After running make, I get the = following error: =20 magic.c: In function `close_and_restore': magic.c:192: error: storage size of `utsbuf' isn't known make[2]: *** [magic.lo] Error 1 make[2]: Leaving directory `/usr/local/sleuthkit-1.70/src/file/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/sleuthkit-1.70/src/file' make: *** [file] Error 2 =20 Any ideas? =20 Thanks, =20 Joe =20 N=18HSX=E9=8A=B2u=10=05nZ=C5=AEK=10B+'au =DA=96w*y = =CA=87=10=05l=C5=AEK=1B=CA=A7v vw |
From: Brian C. <ca...@sl...> - 2004-07-20 13:53:53
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jul 20, 2004, at 2:14 AM, Charles Lucas wrote: > You're not the first one to run across this... I found a fix for this > error at > http://archive.netbsd.se/?list=tech-toolchain&a=2004-05&mid=225006. > Ian Lance was kind enough to provide a patch. Aside from that, it was > a relatively painless installation. > > I recently created a tutorial on the subject: "Running Sleuthkit and > Autopsy Under Windows", at > http://www.memophage.net/ > Running_Sleuthkit_and_Autopsy_Under_Windows.pdf Great. I've added a link to this from the documents section of sleuthkit.org. brian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFA/SPoOK1gLsdFTIsRAsZHAJ95NWOFaSNnrsegym3yDAfhWUbnfQCfZO+h bQK+FCZNOYEsxN6QQ/riOr4= =Waqh -----END PGP SIGNATURE----- |
From: <sle...@sh...> - 2004-07-21 19:32:13
|
On Tue, 20 Jul 2004 00:14:43 -0700, "Charles Lucas" <ch...@lu...> said: > You're not the first one to run across this... I found a fix for this > error at > http://archive.netbsd.se/?list=tech-toolchain&a=2004-05&mid=225006. Ian > Lance was kind enough to provide a patch. Aside from that, it was a > relatively painless installation. > > I recently created a tutorial on the subject: "Running Sleuthkit and > Autopsy Under Windows", at > http://www.memophage.net/Running_Sleuthkit_and_Autopsy_Under_Windows.pdf > > -Charles > > ch...@lu... Seeing as no one else is reporting trouble I'm sure it's me doing something silly, but I can't get it to patch. I get: Ben@mungo /usr/local/sleuthkit-1.70/src/file/src $ patch --verbose magic.c patch.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: magic.c |=================================================================== |RCS file: /cvsroot/wasabisrc/src/dist/file/src/magic.c,v |retrieving revision 1.1.1.5 |diff -p -u -r1.1.1.5 magic.c |--- magic.c 10 May 2004 04:18:24 -0000 1.1.1.5 |+++ magic.c 21 May 2004 04:36:05 -0000 -------------------------- Patching file magic.c using Plan A... patch: **** unexpected end of file in patch My patch.txt file looks like: Index: magic.c =================================================================== RCS file: /cvsroot/wasabisrc/src/dist/file/src/magic.c,v retrieving revision 1.1.1.5 diff -p -u -r1.1.1.5 magic.c --- magic.c 10 May 2004 04:18:24 -0000 1.1.1.5 +++ magic.c 21 May 2004 04:36:05 -0000 @@ -44,14 +44,14 @@ #include <sys/mman.h> #endif -#if defined(HAVE_UTIME) +#if defined(HAVE_UTIMES) +# include <sys/time.h> +#elif defined(HAVE_UTIME) # if defined(HAVE_SYS_UTIME_H) # include <sys/utime.h> # elif defined(HAVE_UTIME_H) # include <utime.h> # endif -#elif defined(HAVE_UTIMES) -# include <sys/time.h> #endif #ifdef HAVE_UNISTD_H Can you tell me where I'm going wrong? Thanks, Ben |