Preliminary patch for RC3 brokenness
is available at http://www.hswn.dk/beta/post-RC3.patch
It's been running for an hour now without problems, so I think I've got the embarassing bugs fixed:
- hobbitd_larrd should not crash anymore
- the alert-configuration should load correctly
- runtime-libraries should hopefully be found correctly on Linux and *BSD
- maint.pl should no longer complain about un-initialised variables
In addition, you get:
- A new hobbit-mailack tool was added, so you can acknowledge alerts via e-mail without having to use BB's bb-mailack.sh (see the hobbit-mailack man-page for instructions on setting it up)
- Support for OpenBSD was added
To install the patch, do:
cd hobbit-4.0-RC3 patch -p0 </tmp/post-RC3.patch rm Makefile ./configure make su -c "make install"
Note that you MUST delete the old Makefile, and re-run the configure script.
Regards, Henrik
Hi Henrik,
For my Solaris x86 Hobbit server, I use the Blastwave packages (http://www.blastwave.org) for installing the libraries required for compiliation.
Would it be possible to get the following search directories added to the build scripts to use the Blastwave /opt/csw tree as well?
build/fping.sh: for DIR in /opt/csw/sbin ... build/ldap.sh: for DIR in /opt/csw ... build/pcre.sh: for DIR in /opt/csw ... build/rrd.sh: for DIR in /opt/csw ... build/ssl.sh: for DIR in /opt/csw/ssl ...
Up to now I've been editing these scripts before building each release.
Is anybody else using this platform and package combination?
Regards, Andy.
#####################################################################################
This email is intended for the person to whom it is addressed only. If you are not the intended recipient, do not read, copy or use the contents in any way. The opinions expressed may not necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information contained herein, ZESPRI does not make any representations as to the accuracy of the information or to the performance of any data, information or the products mentioned herein. ZESPRI will not accept liability for any losses, damage or consequence, however, resulting directly or indirectly from the use of this e-mail/attachments. #####################################################################################
On Thu, Feb 24, 2005 at 03:02:44PM +1300, Andy France wrote:
For my Solaris x86 Hobbit server, I use the Blastwave packages (http://www.blastwave.org) for installing the libraries required for compiliation.
Would it be possible to get the following search directories added to the build scripts to use the Blastwave /opt/csw tree as well?
Done.
Henrik
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch
It's been running for an hour now without problems, so I think I've got the embarassing bugs fixed:
- hobbitd_larrd should not crash anymore
- the alert-configuration should load correctly
- runtime-libraries should hopefully be found correctly on Linux and *BSD
- maint.pl should no longer complain about un-initialised variables
In addition, you get:
- A new hobbit-mailack tool was added, so you can acknowledge alerts via e-mail without having to use BB's bb-mailack.sh (see the hobbit-mailack man-page for instructions on setting it up)
- Support for OpenBSD was added
To install the patch, do:
cd hobbit-4.0-RC3 patch -p0 </tmp/post-RC3.patch rm Makefile ./configure make su -c "make install"
May be another silly error :-) . This is what I get while trying to compile
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib -lpcre Undefined first referenced symbol in file recv ../lib/libbbgen.a(sendmsg.o) getservbyname ../lib/libbbgen.a(sendmsg.o) gethostbyname ../lib/libbbgen.a(sendmsg.o) socket ../lib/libbbgen.a(sendmsg.o) getsockopt ../lib/libbbgen.a(sendmsg.o) connect ../lib/libbbgen.a(sendmsg.o) inet_aton ../lib/libbbgen.a(sendmsg.o) inet_ntoa ../lib/libbbgen.a(sendmsg.o) shutdown ../lib/libbbgen.a(sendmsg.o) ld: fatal: Symbol referencing errors. No output written to hobbit-mailack collect2: ld returned 1 exit status make[1]: *** [hobbit-mailack] Error 1 make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd' make: *** [hobbitd-build] Error 2
Thanks
Note that you MUST delete the old Makefile, and re-run the configure script.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin
Asif Iqbal <iqbala-hobbit at qwestip.net> wrote on 24/02/2005 15:24:30:
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch
May be another silly error :-) . This is what I get while trying to compile
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib -lpcre Undefined first referenced symbol in file recv ../lib/libbbgen.a(sendmsg.o) getservbyname ../lib/libbbgen.a(sendmsg.o) gethostbyname ../lib/libbbgen.a(sendmsg.o) socket ../lib/libbbgen.a(sendmsg.o) getsockopt ../lib/libbbgen.a(sendmsg.o) connect ../lib/libbbgen.a(sendmsg.o) inet_aton ../lib/libbbgen.a(sendmsg.o) inet_ntoa ../lib/libbbgen.a(sendmsg.o) shutdown ../lib/libbbgen.a(sendmsg.o) ld: fatal: Symbol referencing errors. No output written to hobbit-mailack collect2: ld returned 1 exit status make[1]: *** [hobbit-mailack] Error 1 make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd' make: *** [hobbitd-build] Error 2
Thanks
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin
Me too :-)
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/export/home/hobbit/src/hobbit-4.0-RC3/include -o hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/opt/csw/lib -lpcre Undefined first referenced symbol in file recv ../lib/libbbgen.a(sendmsg.o) getservbyname ../lib/libbbgen.a(sendmsg.o) gethostbyname ../lib/libbbgen.a(sendmsg.o) socket ../lib/libbbgen.a(sendmsg.o) getsockopt ../lib/libbbgen.a(sendmsg.o) connect ../lib/libbbgen.a(sendmsg.o) inet_aton ../lib/libbbgen.a(sendmsg.o) inet_ntoa ../lib/libbbgen.a(sendmsg.o) shutdown ../lib/libbbgen.a(sendmsg.o) ld: fatal: Symbol referencing errors. No output written to hobbit-mailack collect2: ld returned 1 exit status gmake[1]: *** [hobbit-mailack] Error 1 gmake[1]: Leaving directory `/export/home/hobbit/src/hobbit-4.0-RC3/hobbitd' gmake: *** [hobbitd-build] Error 2
Andy.
#####################################################################################
This email is intended for the person to whom it is addressed only. If you are not the intended recipient, do not read, copy or use the contents in any way. The opinions expressed may not necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information contained herein, ZESPRI does not make any representations as to the accuracy of the information or to the performance of any data, information or the products mentioned herein. ZESPRI will not accept liability for any losses, damage or consequence, however, resulting directly or indirectly from the use of this e-mail/attachments. #####################################################################################
On Wed, Feb 23, 2005 at 09:24:30PM, Asif Iqbal wrote:
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch
[...] To install the patch, do:
cd hobbit-4.0-RC3 patch -p0 </tmp/post-RC3.patch rm Makefile ./configure make su -c "make install"
May be another silly error :-) . This is what I get while trying to compile
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib -lpcre Undefined first referenced symbol in file recv ../lib/libbbgen.a(sendmsg.o) getservbyname ../lib/libbbgen.a(sendmsg.o) gethostbyname ../lib/libbbgen.a(sendmsg.o) socket ../lib/libbbgen.a(sendmsg.o) getsockopt ../lib/libbbgen.a(sendmsg.o) connect ../lib/libbbgen.a(sendmsg.o) inet_aton ../lib/libbbgen.a(sendmsg.o) inet_ntoa ../lib/libbbgen.a(sendmsg.o) shutdown ../lib/libbbgen.a(sendmsg.o) ld: fatal: Symbol referencing errors. No output written to hobbit-mailack collect2: ld returned 1 exit status make[1]: *** [hobbit-mailack] Error 1 make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd' make: *** [hobbitd-build] Error 2
I did a 'man getservbyname' and found out I needed to use -lsocket -lnsl. I added next to -lpcre in the Makefile and my error message shrinked to this
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib -lpcre -lsocket -lnsl Undefined first referenced symbol in file inet_aton ../lib/libbbgen.a(sendmsg.o) ld: fatal: Symbol referencing errors. No output written to hobbit-mailack collect2: ld returned 1 exit status make[1]: *** [hobbit-mailack] Error 1 make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd' make: *** [hobbitd-build] Error 2
Now I did a 'man inet' which also recommeds the socket and nsl library but no go yet.
Let me know if I can go any further.
Thanks
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin
On Wed, Feb 23, 2005 at 11:48:51PM, Asif Iqbal wrote:
On Wed, Feb 23, 2005 at 09:24:30PM, Asif Iqbal wrote:
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch [....] hobbit-mailack collect2: ld returned 1 exit status make[1]: *** [hobbit-mailack] Error 1 make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd' make: *** [hobbitd-build] Error 2
Fixed I had to add -lresolv -lsocket -lnsl next to -lpcre in the Makefile
Now I did a 'man inet' which also recommeds the socket and nsl library but no go yet.
Let me know if I can go any further.
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "It is not the strongest of the species that survives, not the most intelligent, but the one most responsive to change." - Charles Darwin
On Wed, Feb 23, 2005 at 09:24:30PM -0500, Asif Iqbal wrote:
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch May be another silly error :-) . This is what I get while trying to compile
Of course - it needs the net-libraries.
Adding $(NETLIBS) will fix it.
Henrik
participants (3)
-
Andy@zespri.com
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net