Gmake issue on solaris 10
list Holly Lund
HI I am new to hobbit, but have been using Bigbrother for many years I am having problems compiling the server on solaris 10 This is the end of the "make install" process before it stops: cd etcfiles; cp -fp hobbit-apache.conf /usr/local/hobbit_4.2.0/server/etc/hobbit-apache.conf cd /usr/local/hobbit_4.2.0/server; rm -f hobbit.sh; ln -sf bin/hobbit.sh . ln: -sf: No such file or directory gmake[1]: *** [install-cfg] Error 1 gmake[1]: Leaving directory `/home/frankh/src/hobbit-4.2.0/hobbitd' gmake: *** [install-hobbitd] Error 2 The bin/hobbit.sh file is there Any help would be appreciated I intend to create a solaris pkg and install on a zone Holly Lund XXX-XXX-XXXX XXX-XXX-XXXX
list T.J. Yang
▸
From: "Lund, Holly" <user-15ee9e30aac3@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] Gmake issue on solaris 10 Date: Tue, 19 Sep 2006 07:40:31 -0400 HI I am new to hobbit, but have been using Bigbrother for many years
Same here.
I am having problems compiling the server on solaris 10
I am lucky than you, I don't have problem on solaris 10.
▸
This is the end of the "make install" process before it stops: cd etcfiles; cp -fp hobbit-apache.conf /usr/local/hobbit_4.2.0/server/etc/hobbit-apache.conf cd /usr/local/hobbit_4.2.0/server; rm -f hobbit.sh; ln -sf bin/hobbit.sh . ln: -sf: No such file or directory gmake[1]: *** [install-cfg] Error 1 gmake[1]: Leaving directory `/home/frankh/src/hobbit-4.2.0/hobbitd' gmake: *** [install-hobbitd] Error 2
Don't know what you did when configureing. Henrik may be able to help.
▸
The bin/hobbit.sh file is there Any help would be appreciated I intend to create a solaris pkg and install on a zone
This is the exact scenario I hate to see. the packaging process is not in digitation format. A while back , I upload sb and pb files for hobbit 4.0.3 at here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Developer_Guide#The_source_:_hobbit-4.0.3.sb I have upgrade those files to 4.2.0 and works on soalris 10(only have "status not avaiable" issue). I can't release the source without cleanup of my company info. You should be able to compare the configuration steps in .sb file with your own configuration to see if you can find the issue. Good Luck tj
Holly Lund XXX-XXX-XXXX XXX-XXX-XXXX
list Henrik Størner
▸
On Tue, Sep 19, 2006 at 07:40:31AM -0400, Lund, Holly wrote:
I am having problems compiling the server on solaris 10 This is the end of the "make install" process before it stops: cd etcfiles; cp -fp hobbit-apache.conf /usr/local/hobbit_4.2.0/server/etc/hobbit-apache.conf cd /usr/local/hobbit_4.2.0/server; rm -f hobbit.sh; ln -sf bin/hobbit.sh . ln: -sf: No such file or directory
What happens if you run (by hand) cd /usr/local/hobbit_4.2.0/server rm -f hobbit.sh ln -sf bin/hobbit.sh . I cannot think of any reason why that series of commands could fail with such an error. Henrik
list Holly Lund
It works fine Holly XXX-XXX-XXXX 2O2-586-4413
▸
----- Original Message -----
From: user-ce4a2c883f75@xymon.invalid <user-ce4a2c883f75@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid <user-ae9b8668bcde@xymon.invalid>
Sent: Wed Sep 20 16:20:47 2006
Subject: Re: [hobbit] Gmake issue on solaris 10
On Tue, Sep 19, 2006 at 07:40:31AM -0400, Lund, Holly wrote:I am having problems compiling the server on solaris 10 This is the end of the "make install" process before it stops: cd etcfiles; cp -fp hobbit-apache.conf /usr/local/hobbit_4.2.0/server/etc/hobbit-apache.conf cd /usr/local/hobbit_4.2.0/server; rm -f hobbit.sh; ln -sf bin/hobbit.sh . ln: -sf: No such file or directory
What happens if you run (by hand) cd /usr/local/hobbit_4.2.0/server rm -f hobbit.sh ln -sf bin/hobbit.sh . I cannot think of any reason why that series of commands could fail with such an error. Henrik
list Henrik Størner
On Wed, Sep 20, 2006 at 04:31:37PM -0400, Lund, Holly wrote:
It works fine
In that case I'd just consider this an odd fluke and remove that command from the hobbitd/Makefile file (it's around line 154 of that file). Could it be your PATH setting when running make that picks up a different "ln" utility ? Would be most odd but it's the only explanation I can think of. Regards, Henrik
list Werner Michels
▸
HI I am new to hobbit, but have been using Bigbrother for many years I am having problems compiling the server on solaris 10 This is the end of the "make install" process before it stops: cd etcfiles; cp -fp hobbit-apache.conf /usr/local/hobbit_4.2.0/server/etc/hobbit-apache.conf cd /usr/local/hobbit_4.2.0/server; rm -f hobbit.sh; ln -sf bin/hobbit.sh
Two things to look at: 1) if the output above is complete, "ln" is usign the "second" form of linking, where the seccond parameter is not present, and is asumed to be "." (current dir). May be on your system this is not an allowed way of using "ln". 2) using the same use you used to compile, when you time at the shell prompt "ln" (or better 'ln --help') does this work? (I mean is "ln" binary at you PATH?) -wm
list Holly Lund
Henrik Just thought I'd let you know, I did gmake clean and then it worked Who knows? :-)
▸
-----Original Message-----
From: user-ce4a2c883f75@xymon.invalid [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Wednesday, September 20, 2006 5:08 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Gmake issue on solaris 10
On Wed, Sep 20, 2006 at 04:31:37PM -0400, Lund, Holly wrote:It works fine
In that case I'd just consider this an odd fluke and remove that command from the hobbitd/Makefile file (it's around line 154 of that file). Could it be your PATH setting when running make that picks up a different "ln" utility ? Would be most odd but it's the only explanation I can think of. Regards, Henrik