SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#2 Re: Help & Support (Stable) » [RESOLVED]Issue Compiling Sleuth Kit » 2014-10-25 05:50:58

Die Hard

Thanks for this reply.  I have not used Crunchbang in quite some time and the only Debian machine I'm running right now is a simple DNS so I have limited experience here.  I used the backports installation option you provided and worked through it as follows:

# nano /etc/apt/sources.list
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
#deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main

## Debian Backports
deb http://http.debian.net/debian wheezy-backports main contrib non-free

$ sudo apt-get update
$ sudo apt-get update
$ wget http://ftp.us.debian.org/debian/pool/main/s/sleuthkit/sleuthkit_4.1.3-3~bpo70+1_amd64.deb
$ sudo dpkg -i sleuthkit_4.1.3-3~bpo70+1_amd64.deb
$ sudo apt-get -f install

That resolved all of the issues I was having quite easily.

Thank you!!

#3 Re: Help & Support (Stable) » [RESOLVED]Issue Compiling Sleuth Kit » 2014-10-24 19:51:00

Thanks,  This is a good point.  I am will keep searching.  A few preliminary searches were unsuccessful so I thought I would ask around (see if anybody else has had this or a similar issue.  I don't know a distro with a repo that has the latest TSK files (not even the "forensic" distros like Caine, Deft, ect. are running v4 yet) but there is quite a bit more functionality in the software so hopefully we can find a fix.

#4 Re: Help & Support (Stable) » [RESOLVED]Issue Compiling Sleuth Kit » 2014-10-24 19:41:30

Thanks, I wasn't even thinking about putting it in like that.  Saw the B first I guess hahaha.

#5 Help & Support (Stable) » [RESOLVED]Issue Compiling Sleuth Kit » 2014-10-24 19:26:56

pusselguts
Replies: 9

Hi Everyone,

I am having an issue getting TSK compiled and installed on Crunchbang.  Yes, I am aware that it can be downloaded from the repo with $sudo apt-get install sleuthkit but the repo is a whole major release behind (makes it hard(er)/less fun to review data on split E01's).

Here is where I stand:

configure: WARNING: I have to compile Test.class from scratch
checking if java works... configure: error: The JAVA VM java failed (see config.log, check the CLASSPATH?)

It doesn't look like I can add the config.log file to this so I'm copying over the material above this error in file.

configure:21285: $? = 0
configure:21313: result: none required
configure:21331: checking for gcj
configure:21361: result: no
configure:21331: checking for guavac
configure:21361: result: no
configure:21331: checking for jikes
configure:21361: result: no
configure:21331: checking for javac
configure:21347: found /usr/bin/javac
configure:21358: result: javac
configure:21417: checking if javac works
configure:21431: javac  Test.java
configure:21434: $? = 0
configure:21446: result: yes
configure:21460: checking for javac
configure:21478: found /usr/bin/javac
configure:21491: result: /usr/bin/javac
configure:21508: checking symlink for /usr/bin/javac
configure:21516: result: /etc/alternatives/javac
configure:21508: checking symlink for /etc/alternatives/javac
configure:21516: result: /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
configure:21533: _JTOPDIR=/usr/lib/jvm/java-7-openjdk-amd64/bin
configure:21534: _JINC=/usr/lib/jvm/java-7-openjdk-amd64/bin/include
configure:21588: checking for kaffe
configure:21618: result: no
configure:21588: checking for java
configure:21604: found /usr/bin/java
configure:21615: result: java
configure:21676: checking for uudecode
configure:21706: result: no
configure:21745: WARNING: I have to compile Test.class from scratch
configure:21880: checking if java works
configure:21899: javac  Test.java
configure:21902: $? = 0
configure:21914: java  Test
Exception in thread "main" java.lang.UnsupportedClassVersionError: Test : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: Test. Program will exit.
configure:21917: $? = 1
configure: failed program was:
/* [#]line 21890 "configure" */
public class
Test {
public static void main (String args[]) {
    System.exit(0);
} }
configure:21923: error: The Java VM java failed (see config.log, check the CLASSPATH?)

Let me know if any of you know a fix for this.

Thanks!

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo