Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
roelvdh
Newbie
Newbie
Posts: 24
Joined: January 29th, 2010, 12:13 pm

Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by roelvdh »

Just installed SABnzbd on my Linux server (ClearOS, this is the former ClarkConnect running CentOS). I followed the script for ClarkConnect but seem unable to install PAR2.

The first part:
#    par2cmdline >= 0.4      http://parchive.sourceforge.net/
wget http://garr.dl.sourceforge.net/sourcefo ... 0.4.tar.gz
gzip -d par2cmdline-0.4.tar.gz
tar xf par2cmdline-0.4.tar

works OK. The following line
cd par2cmdline-0.4.tar

doesn't work from the original script untill leaving out the .tar part.
Then:
./configure
make

Configure is OK, but make generates pages of warnings :
ignoring packed attribute because of unpacked non-POD field

and will eventually fail with error message:
too few template-parameter-lists

I am as yet unsure as to what to do next. SABnzbd works like a charm, though.
roelvdh
Newbie
Newbie
Posts: 24
Joined: January 29th, 2010, 12:13 pm

Re: Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by roelvdh »

Should have added the location of the make error:

reedsolomon.cpp:54
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by shypike »

Ask your question on the ClearOS support forum too.
We're not familiar with par2 itself.
roelvdh
Newbie
Newbie
Posts: 24
Joined: January 29th, 2010, 12:13 pm

Re: Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by roelvdh »

Thanks, will do that.

BTW, the offending line (if I counted correctly) reads:

bool ReedSolomon::SetInput(const vector &present)
dalek
Newbie
Newbie
Posts: 12
Joined: December 31st, 2009, 4:54 am

Re: Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by dalek »

Are you using gcc 4? Take a look at the patches: http://slackbuilds.org/repository/13.0/ ... r2cmdline/
roelvdh
Newbie
Newbie
Posts: 24
Joined: January 29th, 2010, 12:13 pm

Re: Cannot install PAR2 on Linux ClearOS 5.1 (= former ClarkConnect)

Post by roelvdh »

Yes, 4.1.2. I just got it working by downloading a script for CentOS5.2. Wil look into the differences now. Thanks for the help.
Post Reply