sun solaris 10 make error

i am new to solaris 10 just installed the entire DVD
i have the make and gmake installed in the right postions but even when logged in as root when i run make i get "a command not found "
do i have to specify a sepecial path in solaris am trying to compile postfix for a mail server
i have used these on linux for long
please give me some examples commands on the console solving that!
thanx

You may try to set the PATH to where make/gmake is installed, something like

export PATH=$PATH:/usr/bin:/usr/local/bin

also "/usr/ccs/bin"

The bundled gnu utils are located in /usr/sfw/bin

thanx guys after exporting /usr/local/bin and the others i managed to use the make and gmake
thanx again for your help

please gnu make replace solaris's make

Why?

The make installed by default ( /usr/ccs/make ) is not really used for building software. The one that comes with SunStudio (dmake) is the one that should be used.

The only real reason for using gmake is to compile code which uses gnu makefile which do not always follow proper makefile rules. Often makefiles that require gnu make also require the entire gnu build chain, and these do not comply with standards, where Sun versions do.

That is news to me. :slight_smile:

I wonder what it's for...... :rolleyes:

when I installed nagios-plus,executing make occured error.and I replace gnu make,this problem was been solute.

It's not Solaris's make that's broken, its makefiles that depend on gmake extensions. :slight_smile: