Page 1 of 1

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

Posted: January 29th, 2010, 12:47 pm
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.

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

Posted: January 29th, 2010, 12:56 pm
by roelvdh
Should have added the location of the make error:

reedsolomon.cpp:54

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

Posted: January 29th, 2010, 1:30 pm
by shypike
Ask your question on the ClearOS support forum too.
We're not familiar with par2 itself.

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

Posted: January 29th, 2010, 1:48 pm
by roelvdh
Thanks, will do that.

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

bool ReedSolomon::SetInput(const vector &present)

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

Posted: January 29th, 2010, 7:22 pm
by dalek
Are you using gcc 4? Take a look at the patches: http://slackbuilds.org/repository/13.0/ ... r2cmdline/

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

Posted: January 30th, 2010, 1:20 pm
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.