-
Notifications
You must be signed in to change notification settings - Fork 26
Hashdot
aldrinleal edited this page Jul 18, 2012
·
2 revisions
In order to install hashdot, you must:
- have a C Compiler
- Have libapr
- Have a JDK Runtime
In ubuntu, those instructions are:
$ sudo apt-get install build-essential libapr1-dev openjdk-7-jdk
Once you have that, you can download hashdot's source into a folder.
aldrin@ubuntu-imac:$:~/Downloads$ cd ~/work
aldrin@ubuntu-imac:~/work$ tar xzvf ~/Downloads/hashdot-1.4.0-src.tar.gz
aldrin@ubuntu-imac:~/work$ cd hashdot-1.4.0/
aldrin@ubuntu-imac:~/work/hashdot-1.4.0$
Read INSTALL and then edit Makefile, making sure that:
- Your JAVA_HOME points to a valid JDK home (see Makefile if in Doubt)
- Your compiler flags are set correctly (LDFLAGS, specially for Mac Users)
- INSTALL_BIN and PROFILE_DIR points to a suitable path (I suggest $HOME/bin and $HOME/share/hashdot)
Once you're set, do
$ make install
(or sudo make install if you accept the defaults from the Makefile above)