Hello. I'm trying to compile the latest version from GIT (3.3-16-gaa5c84e) using a Debian squeeze VM under QEMU.
The goal is compiling the binary for the 'armel' processor architecture.
However, I want to
include the HTML files into the binary so I've used this configure command line:
# ./configure --disable-avahi --enable-bundle
Although it configures correctly, I cannot make it:
MKBUNDLE build.linux/bundle.c
Traceback (most recent call last):
File "/root/tvheadends/tvheadend/support/mkbundle", line 156, in <module>
idx = add_entry(ents)
File "/root/tvheadend/tvheadend/support/mkbundle", line 135, in add_entry
tmp = add_entry(ents[k], d, k, idx, p)
File "/root/tvheadend/tvheadend/support/mkbundle", line 129, in add_entry
output_file(d, k, idx+1, p)
File "/root/tvheadend/tvheadend/support/mkbundle", line 69, in output_file
d = open(p, 'rb').read()
IOError: [Errno 21] Is a directory: '/root/tvheadend/tvheadend/data/dvb-scan'
make: *** [build.linux/bundle.c] Error 1
I also tried to leave out
zlib in this way:
./configure --disable-avahi --disable-zlib --enable-bundle
and but the error persists.
So I've tried the same commands on a x86 lenny (so older) VM and they work, thus it must be something in the armel VM that causes the error, but I'm not able to identify it.
VM info:
Linux debian-armel 2.6.32-5-versatile #1 Wed Jan 12 23:05:11 UTC 2011 armv5tejl GNU/Linux
gcc version 4.4.5 (Debian 4.4.5-8)
Python 2.6.6
Please, can you give me some tips on how to fix these errors?
I was able to compile TVHeadend successfully in the past (for example the EricV's branch 9b71601b0) with that VM.
Additionally... what is the
disable-zlib supposed to do? What features will I lose if I leave zlib out?