[Bf-committers] FreeBSD compile help

Hans Lambermont bf-committers@blender.org
Tue, 4 May 2004 16:57:31 +0200

Johnny Matthews wrote:

> compileblender_freebsd-4.7-i386.sh seemed to work.

Ah, drat is that still there ? It's no longer needed. I'll remove it
right away. The 'normal' Makefile works fine for FreeBSD.

> I've used 'make release' on cygwin before, but 'make release' on
> FreeBSD gives me 
> jwmbsd# make release
> "/usr/johnny/cvs/blender/Makefile", line 39: Need an operator
> Is there something else I need to do?

FreeBSD comes with its own make, which is a version of pmake.
This make is incompatible with GNU-make, which is what the blender
makefiles are written in. So you have to use GNU-make (from
/usr/ports/devel/gmake) it installs gmake in /usr/local/bin/ .

If you set your environment variable $MAKE to gmake
    for (t)csh : setenv MAKE gmake
    for (ba)sh : export MAKE=gmake

then you can also use my filter and colorizer
blender/source/tools/hmake/hmake as a gmake wrapper.

Succes !

-- Hans