[Xymon] Installing 4.3.12 Solaris make install error

Vernon Everett everett.vernon at gmail.com
Fri Jul 26 03:41:20 CEST 2013


Yep, just figured that out at about the same time you must have hit send.
:-)
Standardisation would be so nice. :-/



On 26 July 2013 09:38, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:

> It looks like the make you're using is unable to understand the "ifeq"
> construct.  You could try a different make if you have one installed -
> presumably you have "gmake" if you have "gcc" installed, and if you don't
> have gcc then this makefile won't work for you (it has CC=gcc).
>
> You could try commenting out the "ifeq" stuff and leave one or other of
> the "CFLAGS=" lines (depending on the version of gcc you have).  But
> chances are, a version of make that doesn't work here will fail at many
> other points in the build process.
>
> J
>
>
> On 26 July 2013 11:01, Vernon Everett <everett.vernon at gmail.com> wrote:
>
>> Hi all
>>
>> Anybody seen this yet?
>> Any workaround?
>>
>> Regards
>> Vernon
>>
>> # make install
>> make: Fatal error in reader: build/Makefile.SunOS, line 11: Unexpected
>> end of line seen
>>
>> # cat build/Makefile.SunOS
>> # Xymon compile-time settings for SunOS / Solaris
>>
>> OSDEF = -DSunOS
>>
>> # Solaris need this
>> NETLIBS = -lresolv -lsocket -lnsl
>>
>> # Compile flags for normal build
>> CC = gcc
>> GCCVER := $(shell gcc -dumpversion|cut -d. -f1)
>> ifeq ($(GCCVER),4)
>>    CFLAGS = -g -O2 -Wall -Wno-unused -Wno-pointer-sign -D_REENTRANT
>> $(LFSDEF) $(OSDEF)
>> else
>>    CFLAGS = -g -O2 -Wall -Wno-unused -D_REENTRANT $(LFSDEF) $(OSDEF)
>> endif
>>
>> # This guesswork doesnt work on a lot of systems.
>> # Better have a run-time issue that can easily be fixed with "crle"
>> # or by setting LD_LIBRARY_PATH, than a build-time problem.
>> #LDTYPE := $(shell ld -V 2>&1|head -1|cut -d' ' -f1)
>> #ifeq ($(LDTYPE),GNU)
>> #   RPATH=-Wl,--rpath,
>> #else
>> #   RPATH=-Wl,-R
>> #endif
>>
>> # Compile flags for debugging
>> # CFLAGS = -g -DDEBUG -Wall -D_REENTRANT $(LFSDEF) $(OSDEF)
>>
>> # Mail program: This must support "CMD -s SUBJECT ADDRESS" to send out a
>> mail with a subject
>> # Typically, this will be "mail" or "mailx"
>> MAILPROGRAM="mailx"
>>
>>
>> --
>> "Accept the challenges so that you can feel the exhilaration of victory"
>> - General George Patton
>>
>> _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>>
>


-- 
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130726/13a866bd/attachment.html>


More information about the Xymon mailing list