creationix/nvm — Issue #99: Use gmake instead of make in FreeBSD
Author: moisadoru
Created: 2012-02-04 14:31:35+00:00
State: open

For FreeBSD, it does not work with make, it needs the GNU make (gmake):

# nvm install v0.6.9
######################################################################## 100.0%
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for gcc : ok
Checking for library dl : not found
Checking for library kvm : yes
Checking for library execinfo : yes
Checking for openssl : not found
Checking for function SSL_library_init : yes
Checking for header openssl/crypto.h : yes
Checking for library util : yes
Checking for library rt : yes
Checking for fdatasync(2) with c++ : no
'configure' finished successfully (1.108s)
I need GNU make. Please run `gmake` instead.
make: don't know how to make install. Stop
nvm: install v0.6.9 failed!

When replacing make with gmake, it works fine.