mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Updated BUILDING to reflect non-Windows systems
This commit is contained in:
parent
3df81073b2
commit
67ce83bddd
42
BUILDING.txt
42
BUILDING.txt
@ -1,9 +1,9 @@
|
|||||||
Last Updated: June 12, 2012
|
Last Updated: June 18, 2012
|
||||||
|
|
||||||
This file outlines what it takes to build Autopsy from source.
|
This file outlines what it takes to build Autopsy from source.
|
||||||
|
|
||||||
Note that it currently only works out of the box on Windows. We
|
Note that it currently only works out of the box on Windows. We
|
||||||
are working on getting the process working under non-WIndows systems.
|
are working on getting the process working under non-Windows systems.
|
||||||
It generally works, but needs some custom mangling to find the
|
It generally works, but needs some custom mangling to find the
|
||||||
correct C libraries.
|
correct C libraries.
|
||||||
|
|
||||||
@ -35,15 +35,19 @@ command line or by opening the project in NetBeans.
|
|||||||
|
|
||||||
2e) Set TSK_HOME environment variable to the root directory of TSK
|
2e) Set TSK_HOME environment variable to the root directory of TSK
|
||||||
|
|
||||||
|
2f) On Non-Windows systems, you will need to do a 'make install'
|
||||||
|
from the TSK root directory to install the libraries and such in
|
||||||
|
the needed places (i.e. '/usr/local').
|
||||||
|
|
||||||
3) Get gstreamer Setup
|
|
||||||
|
|
||||||
If Autopsy installer is not used, add the following entries to Windows PATH environment variable
|
3) Get gstreamer Setup. gstreamer is used to view video files. You
|
||||||
(replace GSTREAMER_INSTALL_DIR with the location of the gstreamer root directory):
|
can either download it and install it or manually by unziping the
|
||||||
GSTREAMER_INSTALL_DIR\bin\;
|
version that is included in the 'thirdparty/gstreamer' folder. You
|
||||||
GSTREAMER_INSTALL_DIR\lib\gstreamer-0.10\;
|
will need the 'bin' and 'lib/gstreamer-1.0' folders to be in your
|
||||||
If you don't have gstreamer already, you can find a zipped gstreamer distribution in
|
Windows PATH environment variable.
|
||||||
AUTOPSYROOT/thirdparty/gstreamer
|
|
||||||
|
NOTE: This has not been fully tested in non-Windows environments
|
||||||
|
yet, so we don't have instructions for that yet.
|
||||||
|
|
||||||
|
|
||||||
4) Compile Autopsy
|
4) Compile Autopsy
|
||||||
@ -57,15 +61,19 @@ BACKGROUND:
|
|||||||
Here are some notes to shed some light on what is going on during
|
Here are some notes to shed some light on what is going on during
|
||||||
the build process.
|
the build process.
|
||||||
|
|
||||||
- Building the TSK library and JAR file place the files inside of
|
- NetBeans uses ant to build Autopsy. The build target locates TSK
|
||||||
the TSK directory.
|
(and LIBEWF) based on the environment variables and copies the
|
||||||
|
|
||||||
- NetBeans uses ant to build Autopsy. The build target will locate
|
|
||||||
TSK (and LIBEWF) based on the environment variables and copy the
|
|
||||||
needed JAR and library files into the DataModel module in the Autopsy
|
needed JAR and library files into the DataModel module in the Autopsy
|
||||||
project (see build-X.xml for details). If you want to use the
|
project (see build-unix.xml and build-windows.xml in the root
|
||||||
debug version of the TSK dll, then edit the copy line in the
|
directory for details). If you want to use the debug version of
|
||||||
build-windows.xml file to copy from the Debug folder.
|
the TSK dll, then edit the copy line in the build-windows.xml file
|
||||||
|
to copy from the Debug folder.
|
||||||
|
|
||||||
|
- On a Windows system, the ant target copies all needed libraries
|
||||||
|
to the autopsy folder. On a Unix system, the ant taget copies only
|
||||||
|
the JNI library and then relies on the other libraries (libtsk,
|
||||||
|
libewf, zilb, etc.) to be installed on the system in their standard
|
||||||
|
locations (i.e. /usr/local).
|
||||||
|
|
||||||
- Everytime that you do a source code update of TSK, make sure you
|
- Everytime that you do a source code update of TSK, make sure you
|
||||||
rebuild both the dll and the JAR file.
|
rebuild both the dll and the JAR file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user