yum -y install gcc make gperf genisoimage flex bison ncurses ncurses-devel pcre-devel augeas-devel augeas readline-devel
checking for cpio... cpio
checking for gperf... no
configure: error: gperf must be installed
configure: error: Package requirements (augeas >= 1.2.0) were not met:
Requested 'augeas >= 1.2.0' but version of augeas is 1.0.0
yum remove augeas augeas-libs augeas-devel
wget http://download.augeas.net/augeas-1.2.0.tar.gz
tar -zxvf augeas-1.2.0.tar.gz
cd augeas-1.2.0
yum -y install readline-devel
./configure
make
make install
configure: error: Package requirements (augeas >= 1.2.0) were not met:
No package 'augeas' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables AUGEAS_CFLAGS
and AUGEAS_LIBS to avoid the need to call pkg-conf
#fix
#recompile augeas like this:
./configure --prefix=/usr
make;make install
export PKG_CONFIG_PATH=/usr/local/bin/
#
find /usr|grep aug|grep -v share
/usr/bin/augparse
/usr/bin/augtool
/usr/local/bin/augparse
/usr/local/bin/augtool
/usr/local/lib/libaugeas.la
/usr/local/lib/pkgconfig/augeas.pc
/usr/local/lib/libaugeas.so.0.18.0
/usr/local/lib/libaugeas.so.0
/usr/local/lib/libaugeas.a
/usr/local/lib/libaugeas.so
/usr/local/include/augeas.h
/usr/lib/libaugeas.la
/usr/lib/pkgconfig/augeas.pc
/usr/lib/libaugeas.so.0.18.0
/usr/lib/libaugeas.so.0
/usr/lib/libaugeas.a
/usr/lib/libaugeas.so
/usr/include/augeas.h
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/
configure: error: libmagic (part of the "file" command) is required.
Please install the file devel package
yum install file-devel
yum install jansson-devel hivex-devel.x86_64
checking for supermin... no
checking for --with-supermin-packager-config option... not set
checking for --with-supermin-extra-options option... not set
configure: error: supermin >= 5.1 must be installed
#yum -y install febootstrap-*
yum -y install ocaml ocaml-findlib
http://download.libguestfs.org/supermin/5.2-stable/supermin-5.2.0.tar.gz
tar -zxvf supermin-5.2.0.tar.gz
cd supermin-5.2.0
./configure
make
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ-3 -package unix,str -c format_ext2_initrd.ml -o format_ext2_initrd.cmx
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ-3 -package unix,str -c format_ext2_kernel.ml -o format_ext2_kernel.cmx
File "format_ext2_kernel.ml", line 293, characters 12-24:
Error: Unbound value Bytes.create
make[3]: *** [format_ext2_kernel.cmx] Error 2
make[3]: Leaving directory `/root/supermin-5.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/supermin-5.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/supermin-5.2.0'
make: *** [all] Error 2
checking for EXT2FS... no
configure: error: Package requirements (ext2fs) were not met:
No package 'ext2fs' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EXT2FS_CFLAGS
and EXT2FS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
yum -y install e2fsprogs-devel
make
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[2]: *** [init] Error 1
make[2]: Leaving directory `/root/supermin-5.2.0/init'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/supermin-5.2.0'
make: *** [all] Error 2
yum install glibc-static
ocamlfind ocamlopt -warn-error CDEFLMPSUVXYZ-3 -package unix,str -c format_ext2_kernel.ml -o format_ext2_kernel.cmx
File "format_ext2_kernel.ml", line 293, characters 12-24:
Error: Unbound value Bytes.create
make[3]: *** [format_ext2_kernel.cmx] Error 2
make[3]: Leaving directory `/root/supermin-5.2.0/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/supermin-5.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/supermin-5.2.0'
make: *** [all] Error 2
centos, compile, newer, libguestfs, yum, install, gcc, gperf, genisoimage, flex, bison, ncurses, devel, pcre, augeas, readline, cpio, configure, installed, requirements, requested, libs, wget, http, download, tar, gz, zxvf, adjusting, pkg_config_path, variable, software, prefix, alternatively, variables, augeas_cflags, augeas_libs, pkg, conf, recompile, usr, export, bin, grep, aug, augparse, augtool, lib, libaugeas, pkgconfig, pc, libmagic, quot, jansson, hivex, _, supermin, packager, config, febootstrap, ocaml, findlib, org, ocamlfind, ocamlopt, cdeflmpsuvxyz, unix, str, format_ext, _initrd, ml, cmx, _kernel, characters, unbound, bytes, directory, src, recursive, ext, fs, fs_cflags, fs_libs, fsprogs, ld, lc, init, glibc, static,