HOWTO Install from sources on a RPM based system

From SystemImager

Jump to: navigation, search

Contents


Building and/or Installing SystemImager from source

SystemImager should build cleanly on most distributions, and should work any distribution.

Dependencies

  • docbook-utils
  • dos2unix
  • e2fsprogs-devel
  • flex
  • gcc
  • gcc-c++
  • gettext
  • libtool
  • ncurses
  • ncurses-devel
  • openssl
  • openssl-devel
  • perl
  • python
  • python-devel
  • readline-devel
  • rsync
  • util-linux
  • wget
  • zlib
  • zlib-devel

Make

  • download SystemImager source tar.bz2 from the SourceForge repository or directly from SVN.
  • To install SystemImager on a image-server:
 # make && make install_server_all
  • To install SystemImager on a client:
 # make && make install_client_all

Tips

If you must build SystemImager yourself, here are a few tips:

  • Refer to the Makefile for details
  • Makefile targets you are probably most interested in:
       all
       install_client_all
       install_server_all
       install_boel_binaries_tarball
       install_initrd
  • For a list of all possible Makefile targets, you can try this command:
       make show_targets


Using RPMs

WARNING: The above does not describe how to install on an RPM based system. It describes how to screw up an RPM based system. If you invoke 'make install' etc., the RPM manager will not know what you have installed and will eventually screw things up by later installing something incompatible.

To install something on an RPM-based system, you need RPMs. You need to either find some existing RPMs, or you need to build your own RPMs, and then you need to use an RPM-savvy tool to install them.

I found some existing RPMs at source forge. There are seven RPMs for the i386, I suspect you have to install them all. I tried just installing server and client and common, but there is no si_prepareclient, so I must've missed something.

There's a tool called rpmbuild for making RPMs. Hope I don't have learn how to use it. I guess you would go through the make procedure described in the sections above (but not make install ... probably), then package up the resulting binaries as an RPM, then use RPM or yum or apt-get to actually install it.

If I get the RPMs from sourceforge working, I will probably come back here and update this rant.

NOTE: As of 7/18/2007, the systemimager*3.8.1 RPMs work, at least on Fedora Core 4 and CentOS 5 -- WH.

  • on server: systemimager-server, systemimager-i386boot-standard and systemimager-common
  • on client: systemimager-i386initrd_template, systemimager-client, systemimager-common

Personal tools