[Linux-HA] PILS error on Solaris 8

Soffen, Matthew msoffen at iso-ne.com
Fri Mar 19 13:15:56 MST 2004


It appears you installed to /usr/lib/ ( same as me ).

Can you do me a favor, run ./configure (instead of ConfigureMe ) then build
it.  Let the list know what happens.

-----Original Message-----
From: Leece, Doug [mailto:Doug.Leece at bell.ca]
Sent: Friday, March 19, 2004 1:20 PM
To: General Linux-HA mailing list
Subject: RE: [Linux-HA] PILS error on Solaris 8


Wow, talk about great service, Thank you Matt.

I just double checked the Libnet install, I am using the source for 1.1.1
and
it compiled in just fine. We are running Solaris 8 with SparcIII processors
so no need to look into the X86 on our account. I just removed the source
directory and configured everything from scratch one more time, the result
was the same. 

Here is the config.log output you were asking about:

# grep -i libnet config.log
configure:19733: checking for libnet-config
configure:20459: checking for libnet_get_hwaddr in -lnet
configure:20551: checking for libnet_init in -lnet
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
| #define HAVE_LIBNET 1
| #define HAVE_LIBNET_1_1_API 1
config.status:868: creating heartbeat/libnet_util/Makefile
ac_cv_lib_net___libnet_init=yes
ac_cv_lib_net_libnet_get_hwaddr=yes
LIBNETCONFIG=''
LIBNETDEFINES=''
LIBNETLIBS='-lsocket -lnsl  -lnet'
#define HAVE_LIBNET 1
#define HAVE_LIBNET_1_1_API 1
#   


As for the list of "what else do I need" I have been keeping track over here
and we have a second machine to build. Once I get the magic formula for what
worked here I would be happy to document what actually worked and send that
your way. I may not be able to write cool software like you guys but I can
instructional web pages to free your time a little.

Thanks again for all your help.
Doug Leece

-----Original Message-----
From: Soffen, Matthew [mailto:msoffen at iso-ne.com]
Sent: Friday, March 19, 2004 10:46 AM
To: General Linux-HA mailing list
Subject: RE: [Linux-HA] PILS error on Solaris 8


Ok. It would appear that you are missing or have a bad version of LibNet (
http://www.packetfactory.net/packetfactory/libnet/ ) .

I have been running on Solaris 8 with libnet version 1.1.1 .  What version
of Libnet are you using right now ?  Also, is this a Sparc Solaris 9 box or
an X86 Solaris box ( that "may" make a difference - I'll fire up my x86
Solaris box this weekend and build it there too).

Can you do "grep -i libnet config.log" in the directory where you built it ?
This way we can see what libnet information it found when doing the
./configure .

Also, at some point I will attempt to create a "What other software do I
need to build this application" document to help minimize finding out that
you need X other packages/applications to build Heartbeat on Solaris or
FreeBSD.

Matt

-----Original Message-----
From: Leece, Doug [mailto:Doug.Leece at bell.ca]
Sent: Friday, March 19, 2004 12:31 PM
To: linux-ha at lists.linux-ha.org
Subject: [Linux-HA] PILS error on Solaris 8


Hi all, 
I am new to the list and Linux-HA but not new to either Linux or Solaris so
I will try to make the questions as intelligent as possible. The opening
paragraph on the HeartBeat homepage indicates that the heartbeat software
can run on Solaris. After installing many packages and libraries I was able
to get ./ConfigureMe configure to complete without errors. I have added Gnu
Make and symlinked it to gmake and the compiling process fails on the PILS
section. I ran it in debug and tried compiling with /usr/css/bin/make as
well, there seems to be a problem with libpils.la -- it's just not on the
box.
I found a hearbeat-pils rpm file on the site but that won't work for a sparc
box. As a last ditch effort I installed the RPM on a red hat machine I have
and copied the libpils files into /usr/local/lib which is in the library
path. It did not work any better, and I did not find anything in either the
development list or the main list search archives on how to build these
files. Is there some PILS source that I need to compile first or should
everything be in the main heartbeat source tarball? 
Any help you folks could offer would be appreciated, all we really want is
IP fail over for a couple of machines and I don't want to buy a Sun cluster
license since this is only internal. Below is the tail of the results.
Thanks in advance 
Doug Leece 
Calgary Alberta 


inet_ntop                           0x37c
/usr/lib/libnet.a(libnet_resolve.o) 
inet_pton                           0x3d8
/usr/lib/libnet.a(libnet_resolve.o) 
inet_addr                           0x2b4
/usr/lib/libnet.a(libnet_resolve.o) 
getipnodebyaddr                     0x384
/usr/lib/libnet.a(libnet_resolve.o) 
ld: fatal: relocations remain against allocatable but non-writable sections 
collect2: ld returned 1 exit status 
gmake[2]: *** [libpils.la] Error 1 
gmake[2]: Leaving directory `/export/home/dleece/heartbeat-1.2.0/lib/pils' 
gmake[1]: *** [all-recursive] Error 1 
gmake[1]: Leaving directory `/export/home/dleece/heartbeat-1.2.0/lib' 
gmake: *** [all-recursive] Error 1 
# 
_______________________________________________
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
_______________________________________________
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha


More information about the Linux-HA mailing list