Using Razor without PXE

229 views
Skip to first unread message

Subodh Kant

unread,
Jun 29, 2015, 1:23:15 PM6/29/15
to puppet...@googlegroups.com
Hi Team,

I am trying to create an ISO embedded with Razor's bootstrap.ipxe So that i can use razor without PXE. I am following these steps (from https://github.com/puppetlabs/razor-server/wiki/Installation#pxe-setup).

curl -o /root/bootstrap.ipxe http://razor-server-hostname:8080/api/microkernel/bootstrap
git clone http://git.ipxe.org/ipxe.git
cd ipxe/src
make EMBED=/root/bootstrap.ipxe bin/ipxe.iso
I am getting this error, when i am running "make EMBED=/root/bootstrap.ipxe bin/ipxe.iso"
[root@subodh src]# make EMBED=/root/bootstrap.ipxe bin/ipxe.iso
  [BUILD] bin/__divdi3.o
  [BUILD] bin/icc.o
  [BUILD] bin/memcpy.o
  [BUILD] bin/__moddi3.o
  [BUILD] bin/__udivdi3.o
  [BUILD] bin/__udivmoddi4.o
  [BUILD] bin/__umoddi3.o
.......................
........................
  [BUILD] bin/acpi.o
  [BUILD] bin/ansicol.o
  [BUILD] bin/undi.ids.o
  [AR] bin/blib.a
ar: creating bin/blib.a
  [HOSTCC] util/zbin
util/zbin.c:7:18: error: lzma.h: No such file or directory
util/zbin.c: In function ‘process_zinfo_pack’:
util/zbin.c:252: error: ‘lzma_options_lzma’ undeclared (first use in this function)
util/zbin.c:252: error: (Each undeclared identifier is reported only once
util/zbin.c:252: error: for each function it appears in.)
util/zbin.c:252: error: expected ‘;’ before ‘options’
util/zbin.c:253: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filters’
util/zbin.c:253: error: ‘filters’ undeclared (first use in this function)
util/zbin.c:253: error: expected expression before ‘]’ token
cc1: warnings being treated as errors
util/zbin.c:271: error: implicit declaration of function ‘lzma_lzma_preset’
util/zbin.c:271: error: ‘options’ undeclared (first use in this function)
util/zbin.c:271: error: ‘LZMA_PRESET_DEFAULT’ undeclared (first use in this function)
util/zbin.c:271: error: ‘LZMA_PRESET_EXTREME’ undeclared (first use in this function)
util/zbin.c:275: error: implicit declaration of function ‘lzma_raw_buffer_encode’
util/zbin.c:277: error: ‘LZMA_OK’ undeclared (first use in this function)
make: *** [util/zbin] Error 1

Please Help on This issue.

Muthu N.C

unread,
Sep 24, 2015, 9:47:53 AM9/24/15
to puppet-razor
I had similar issue and after I installed the package xz-devel (which provides liblzma), it works fine.

Thanks,
Muthu.
Reply all
Reply to author
Forward
0 new messages