View FAQ

[ Return To FAQ Index | Search The FAQs ]


FAQ Database : Plugins : Compiling

Title:Problems compiling plugins under Solaris 8 with /usr/ccs/bin/make
FAQ ID:F0078
Submitted By:Jim Carroll 
Last Updated:10/03/2002

Description:

I'm using the default make that comes with Solaris8 (/usr/ccs/bin/make). I'm trying to compile the Nagios plugins (v.1.3-beta1) under Solaris8 and am running into this problem:

$ /usr/ccs/bin/make
Making all in plugins
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /usr/local/src/nagiosplug-1.3-beta1/plugins
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

Help! How can I make it build properly?

 

Solution:

Download and install GNU make from http://www.sunfreeware.com/ for your platform (I've only tested it on Solaris 8). Make sure that /usr/local/bin is at the beginning of your $PATH. Try again to run make.

If you run into the following problem (and you probably will), consult the FAQ for the GNU make/aclocal.m4/Solaris8 problem resolution.

Hope this helps!

 

Related FAQs:
F0077Problems compiling plugins under Solaris 8 with GNU make
Keywords:plugins nagiosplug make /usr/ccs/bin/make solaris