Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > a4f4394e624f80b54028c473e74fcc9d > files > 19

ipmiutil-1.9.2-1mdv2008.1.x86_64.rpm

-------------------------------------
 INSTALL for ipmiutil source
-------------------------------------
 
The ipmiutil source package provides IPMI-based utilities and kernel 
patches for managing various servers in Linux or Windows.
 
-----------------------
  Build instructions
-----------------------

To add LanDesk IPMI support:
Support for the LanDesk IPMI driver requires a library supplied by 
LanDesk (libipmiapi.a).  After obtaining this library, place it in
lib/libipmiapi.a.  Then you can link ipmiutil to support it by 
specifying the following during configure:
  "configure --enable-landesk=yes"

To build with GNU freeipmi:
Edit util/Makefile.am to uncomment the line with -lfreeipmi and
also comment out the following GNU_STUB line.

To build without IPMI LAN 2.0 and lanplus plugin (due to large size):
Edit util/Makefile.am to comment out the CMDMOD/LDADD lines with lanplus,
and uncomment the CMDMOD += ipmilan2.c line.
This will become a future configure option.

Steps to build for Linux:
# aclocal   (may be needed if automake versions are different)
# autoconf  (may be needed if automake versions are different)
# automake  (may be needed if automake versions are different)
# configure
# make
To install this package, use one of the following:
#  make install
#  make rpm
The make rpm produces a binary rpm, and a source rpm, which can be 
installed with "rpm -i *.rpm".

Steps to build for Windows:
- Install Visual Studio or other Windows SDK.
- Install Windows DDK
- Edit doc/mk*.bat to point to the above DDK & VC/SDK directories
- copy doc/mk.bat, doc/mksel.bat and doc/showsel.mc to util/.
- Get or create your own getopt.c & getopt.h 
- cd util
- Build the ipmiutil *.EXE files:
  call mkutil 
  call mkgetevt 
  call mksel 
  call mk alarms
  call mk bmchealth
  call mk hwreset
  call mk sensor
  call mk wdt
  call mk icmd
  call mk fruconfig
  call mk pefconfig
  call mk tmconfig
- To make showselmsg.dll (included in mksel.bat above):
  mc -U showsel.mc
  rc -r showsel.rc
  link /MACHINE:IX86 -dll -noentry -out:showselmsg.dll showsel.res