-
Notifications
You must be signed in to change notification settings - Fork 241
FreeBSD installation
Installing Disco on FreeBSD is not much different than installing it on other platforms. The makefile is using the gnu-make exports for exporting the variables. So you should install gmake and use gmake instead of make for all of the installation instructions. So before installation issue:
# pkg install gmake curl erlang python
The only other thing that has to be done is some modification to the sort function to work correctly with binary inputs.
For fixing the sort, you need the freebsd source (which can be installed at the system installation time). After the disco installation finishes, continue as follows:
# cd /usr/src/usr.bin/sort
# curl https://raw.github.com/pooya/DiscoStuff/master/freebsd_binary_sort.patch > patch
# patch sort.c < patch
# make
# make install
and then you should be able to run disco without any problems.