Forum
[PROBLEM] Unable to compile unrar-nonfree because of man - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: [PROBLEM] Unable to compile unrar-nonfree because of man (/thread-2505.html)



Unable to compile unrar-nonfree because of man - pix3l - 1st Oct, 2014 08:31 AM

Hi,

I'm unable to compile unrar-nonfree.
The process quits with the following error:

Code:
g++  -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DUNRAR -c scantree.cpp
g++ -o unrar  rar.o strlist.o strfn.o pathfn.o savepos.o smallfn.o global.o file.o filefn.o filcreat.o archive.o arcread.o unicode.o system.o isnt.o crypt.o crc.o rawread.o encname.o resource.o match.o timefn.o rdwrfn.o consio.o options.o ulinks.o errhnd.o rarvm.o rijndael.o getbits.o sha1.o extinfo.o extract.o volume.o list.o find.o unpack.o cmddata.o filestr.o recvol.o rs.o scantree.o
strip unrar
make[1]: Leaving directory `/tmp/unrar-nonfree-4.1.4'
debian/rules binary
dh_testdir
make -f makefile.unix
make[1]: Entering directory `/tmp/unrar-nonfree-4.1.4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/unrar-nonfree-4.1.4'
dh_testdir
dh_testroot
dh_prep
dh_installdirs
install -o root -g root -s -m 0755 unrar debian/unrar/usr/bin/unrar-nonfree
dh_installdocs
dh_installman debian/unrar-nonfree.1
man: unrecognized option '--version'
BusyBox v1.22.0.git (2013-12-25 06:52:05 CET) multi-call binary.

Usage: man [-aw] [MANPAGE]...

Format and display manual page

        -a      Display all pages
        -w      Show page locations

man: unrecognized option '--recode'
BusyBox v1.22.0.git (2013-12-25 06:52:05 CET) multi-call binary.

Usage: man [-aw] [MANPAGE]...

Format and display manual page

        -a      Display all pages
        -w      Show page locations

dh_installman: man --recode UTF-8 ./unrar\-nonfree\.1 > unrar\-nonfree\.1\.new returned exit code 1
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Build command 'cd unrar-nonfree-4.1.4 && dpkg-buildpackage -b -uc' failed.
E: Child process failed

To me, it seems like the make process needs the full version of man and not the BusyBox version of it.
Is there a way to install the full man, so I can finally compile unrar?


RE: Unable to compile unrar-nonfree because of man - menakite - 1st Oct, 2014 10:10 AM

Technically, yes - but it seems we already have it packaged:
Code:
xbian@xbian ~ $ apt-cache policy unrar
unrar:
  Installed: (none)
  Candidate: 1:4.1.4-1
  Version table:
     1:4.1.4-1 0
        500 http://xbian.brantje.com/ stable/main armhf Packages



Re: Unable to compile unrar-nonfree because of man - f1vefour - 1st Oct, 2014 12:54 PM

unrar-free can't extract multipart archives.

@pix3l
See this: http://raspberrypi.stackexchange.com/questions/3617/how-to-install-unrar-nonfree


RE: Unable to compile unrar-nonfree because of man - josch - 2nd Oct, 2014 12:39 AM

As menakite has already implied: You don't need to compile it by yourself and you even don't need to follow the how-to posted by f1vefour.

All you have to do is:
Terminal
sudo apt-get install unrar

and you will get the nonfree version....


RE: Unable to compile unrar-nonfree because of man - pix3l - 3rd Oct, 2014 08:14 PM

(2nd Oct, 2014 12:39 AM)josch Wrote:  As menakite has already implied: You don't need to compile it by yourself and you even don't need to follow the how-to posted by f1vefour.

All you have to do is:
Terminal
sudo apt-get install unrar

and you will get the nonfree version....

Thanks, this actually helped.. haha so simple.. Big Grin


RE: Unable to compile unrar-nonfree because of man - f1vefour - 3rd Oct, 2014 09:20 PM

He did need to follow the instructions if he wanted to compile it himself.

I assumed he had already tried unrar in the repository and it failed to work.