Installing 4.3.12 Solaris make install error
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
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
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
You need to be using gmake if I'm not mistaken.
Incidentally, I built Xymon 4.3.12 today on both SPARC and x64 -- only the unresolved symbol allow_severity/deny_severity error like before (which I intended to rehash on the list).
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] Sent: Thursday, July 25, 2013 09:38 PM To: Vernon Everett <everett.vernon at gmail.com> Cc: Xymon mailinglist <xymon at xymon.com> Subject: Re: [Xymon] Installing 4.3.12 Solaris make install error
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<mailto: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<mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
Thanks. Got it eventually. Also just moved to 4.3.12 Was a little more complicated for me, because we were on 4.2.3. 4.2.3 was a tricksy version. It was a Xymon/Hobbit chimera, with some things moved to Xymon naming, and other stuff still on Hobbit. But I got there in the end, and the downtime was minimal.
Now I think it's time to upgrade the clients. We are still using 4.2.0 clients. :-)
Cheers Vernon
On 26 July 2013 12:46, Novosielski, Ryan <novosirj at ca.rutgers.edu> wrote:
You need to be using gmake if I'm not mistaken.
Incidentally, I built Xymon 4.3.12 today on both SPARC and x64 -- only the unresolved symbol allow_severity/deny_severity error like before (which I intended to rehash on the list).
*From*: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au] *Sent*: Thursday, July 25, 2013 09:38 PM *To*: Vernon Everett <everett.vernon at gmail.com> *Cc*: Xymon mailinglist <xymon at xymon.com> *Subject*: Re: [Xymon] Installing 4.3.12 Solaris make install error
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
Hi,
Installed 4.3.12 on my Solaris 10 test server today. Compiling was fine, same procedure as 4.3.10
I got a minor error though... To run the client tasks on the server I add include /usr/local/xymon/client/etc/clientlaunch.cfg to [xymonclient] in the servers tasks.cfg If a use lower case include xymonlaunch crashes. 2013-07-26 15:27:37 Task xymonclient terminated by signal 6 If I change to upper case INCLUDE it works fine And I have to drop the xymonlaunch test as it will stay red...
Keep up the awesome work Henrik and other developers.
Roland
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Vernon Everett Sent: Friday, 26 July 2013 3:16 PM To: Novosielski, Ryan Cc: xymon at xymon.com Subject: Re: [Xymon] Installing 4.3.12 Solaris make install error
Thanks. Got it eventually. Also just moved to 4.3.12 Was a little more complicated for me, because we were on 4.2.3. 4.2.3 was a tricksy version. It was a Xymon/Hobbit chimera, with some things moved to Xymon naming, and other stuff still on Hobbit. But I got there in the end, and the downtime was minimal. Now I think it's time to upgrade the clients. We are still using 4.2.0 clients. :-) Cheers Vernon
On 26 July 2013 12:46, Novosielski, Ryan <novosirj at ca.rutgers.edu<mailto:novosirj at ca.rutgers.edu>> wrote: You need to be using gmake if I'm not mistaken.
Incidentally, I built Xymon 4.3.12 today on both SPARC and x64 -- only the unresolved symbol allow_severity/deny_severity error like before (which I intended to rehash on the list).
From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au<mailto:jlaidman at rebel-it.com.au>] Sent: Thursday, July 25, 2013 09:38 PM To: Vernon Everett <everett.vernon at gmail.com<mailto:everett.vernon at gmail.com>> Cc: Xymon mailinglist <xymon at xymon.com<mailto:xymon at xymon.com>> Subject: Re: [Xymon] Installing 4.3.12 Solaris make install error
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<mailto: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<mailto: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
On 26-07-2013 07:38, Roland Soderstrom wrote:
To run the client tasks on the server I add
include /usr/local/xymon/client/etc/clientlaunch.cfgto [xymonclient] in the servers tasks.cfg
If a use lower case include xymonlaunch crashes.
2013-07-26 15:27:37 Task xymonclient terminated by signal 6
If I change to upper case INCLUDE it works fine
An upper-case INCLUDE is a no-op - it doesn't do anything. You can see the result by running "xymoncmd xymoncfg /PATH/TO/tasks.cfg"
It's not xymonlaunch that crashes (at least not from the log message) - it is the program that runs in the [xymonclient] task.
What puzzles me is what could possibly crash in the [xymonclient] task. It's a shell-script - not something that would normally crash like that.
Regards, Henrik
participants (5)
-
everett.vernon@gmail.com
-
henrik@hswn.dk
-
jlaidman@rebel-it.com.au
-
novosirj@ca.rutgers.edu
-
Rolands@logicaltech.com.au