lördag 24 mars 2012

Moving on to FreeBSD 9

Reinstalled the server with FreeBSD. When trying to install SAMBA an error was bugging me. It told me I did not have any working C compiler...

 Fixed it by touching a /etc/make.conf and editing it and adding:
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif
# Don't die on warnings
NO_WERROR=
WERROR=