fredag 1 juni 2012

Gallery3 on FreeBSD 9.0

To get the photo gallery "Gallery3" working on my FreeBSD 9.0 server one needs to patch the code that is in the ports collection www/gallery3 with this patch https://github.com/gallery/gallery3/commit/6b306cddc1f25ecfe054b0a1c9d0dc3536da51f6
(And of course you will need an install of apache and mysql + ImageMagick(or GD))

Then it works.

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=