Page 1 of 2
Help with unrar on Fedora12 arm5vtel
Posted: October 24th, 2012, 8:36 am
by Flakes
Hi guys,
you are my last beacon of hope. I am pretty much a noob with linux, and i have a problem i just can t figure out on my own.
I m running a NAS (Silverstone DC01) with ARM11 CPU and Fedora12. My goal is sichbeard and sabnzbd and with my limited skills i got pretty far.
- ssh with root
- YUM is running
- Python
- Cheetah
- Sickbeard is running great
- SABnzbd runs
But one last problem. UNRAR. And as you can imagine, the whole setup is pretty useless without unrar.
I can t find a matching packet of unrar for my system. YUM doesn t have it. My source for rpms (
http://ftp.linux.org.uk/pub/linux/arm/f ... /Packages/) has no unrar ether.
Next thing i tried was the rarlab site. There is a ARM version available (
http://www.rarlab.com/rar_add.htm), but that just quits with "lib/ld-linux.so.2: bad ELF interpreter", so i guess it s not compatible to my Fedora12 setup.
I also tried to compile it myself but since it is a small NAS i have only 20MB free space on the 200MB Flash drive and the packets to compile use at least 20MB ...
So i am stuck and i don t know what to do now. I got so far and now give up because unrar? No way. So i need your help. Any ideas?
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 24th, 2012, 9:54 am
by sander
In March this year, I had a FCxyz running on QEMU emulating the Raspi. I then created a unrar in the virtual machine. See the result here:
http://www.appelboor.com/dump/unrar-rpm ... berry-arm/
So ... does that work on your ARM machine ... ?
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 24th, 2012, 12:15 pm
by Flakes
I get "illegal instruction" as the result.
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 26th, 2012, 3:04 pm
by Flakes
No ideas?

Re: Help with unrar on Fedora12 arm5vtel
Posted: October 26th, 2012, 4:01 pm
by sander
Flakes wrote:No ideas?

Are you really looking for "ideas"? If so, read the words in the first line of my post; they should give you hints.
But based on your short reply on 24 Oct 2012, I got the idea you're not too cooperative.
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 26th, 2012, 5:07 pm
by Flakes
Well, it s not that i am not trying. To be exact, i am trying two weeks now.
I considered QEMU but i have zero experience with linux. It is a bit over my head. I don t even know where to start with that. So i was hoping for another solution.
I m willing to try anything but if theres not a good tutorial i will probably fail.
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 27th, 2012, 1:44 am
by sander
I see that you already posted in a Fedora forum. I think that's a better forum than here in SABnzbd's.
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 27th, 2012, 9:48 am
by Flakes
I finally found a working rpm, so if anyone else encounters the same problem, here you go:
http://c.dyndns.org/repo/bs/el5/armv5tel/
Thanks for the help guys!
----
edit
Oh well, it seems i was too quick. Now i get "WARNING::[newsunpack:611] ERROR: Unknown option" whenever sabnzbd tries to unrar anything.
This is just great.
This is the unrar version that works. Don t tell me it s too old.
https://dl.dropbox.com/u/20115178/unrar2.PNG 
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 27th, 2012, 11:59 am
by shypike
Which version of unrar does it claim to be?
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 27th, 2012, 5:13 pm
by Flakes
The file is "unrar-3.9.4-1.rf.armv5tel.rpm"
When i type unrar it says "Unrar 3.90 Beta 3"
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 28th, 2012, 2:28 am
by sander
A few things to do:
The most 'easy' thing: find unrar 4.10.
If you can't:
Turn on +Debug in the logging SABnzbd, and run the download again. With Debug on, the sabnzbd.log will show the exact unrar command that SABnzbd is trying to run (see line 555 of newsunpack.py).
Then try that command from the command line. Post the output here. See if it fails, or that SAB just *thinks* it fails. If it really fails, change the command line option to something that does work. Report it here. From line 520 unwards in newsunpack,py find the failing option. Change it in the source, and see if it works.
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 28th, 2012, 4:21 am
by sander
PS:
As a test, I'm now running SABnzbd 0.7.4 on Ubuntu 8.04 LTS which has UNRAR 3.71, and SAB's main screen says:
Don't you get that warning?
EDIT:
I downloaded a 500 MB post with SAB 0.7.4 with mentioned UNRAR 3.71 beta 1 freeware, and ... no problem at all.
So ... can you try other posts, and see if they work OK with your unrar 3.9?
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 28th, 2012, 1:01 pm
by Flakes
Hey.
First: thanks for your help. I really appreciate it.
The problem seems to be unrar, not sabnzdb. If i try to unrar anything from the command line unrar quits with "segmentation fault". So my unrar seems either to be broken or not compatible at all.
"unrar --help" works fine but as soon as i am trying to unpack anything i get the segmentation fault error.
Back to square one, i guess. :/
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 28th, 2012, 1:46 pm
by sander
Pity.
Can't upgrade the whole NAS to a more recent Fedora that has a supported unrar version?
Re: Help with unrar on Fedora12 arm5vtel
Posted: October 28th, 2012, 3:50 pm
by Flakes
Phew... I did it. Qemu after all.
I am so happy now. Sander do you have paypal? I want to buy you a beer.
