Page 1 of 1

par2cmdline repair tool needed - cannot compile myself

Posted: 05 Mar 2013, 11:48
by att
Hello,

I have a problem. I need "par2" (the file repair tool) all the time, and I wanted to compile the latest version 0.4 for Porteus 2.0.
Naturally, for compiling, I just use Porteus 2.0 64bit XFCE.
When I try to compile, I get the following errors:

Code: Select all

In file included from par2cmdline.h:284:0,
                 from reedsolomon.cpp:20:
verificationhashtable.h: In member function ‘bool VerificationHashEntry::operator<(const VerificationHashEntry&) const’:
verificationhashtable.h:69:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
verificationhashtable.h: In member function ‘bool VerificationHashEntry::operator>(const VerificationHashEntry&) const’:
verificationhashtable.h:73:52: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
verificationhashtable.h: In static member function ‘static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)’:
verificationhashtable.h:186:64: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
verificationhashtable.h:190:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
verificationhashtable.h: In member function ‘const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const’:
verificationhashtable.h:405:126: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
In file included from par2cmdline.h:284:0,
                 from reedsolomon.cpp:20:
verificationhashtable.h:412:128: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
verificationhashtable.h:429:118: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
In file included from par2cmdline.h:289:0,
                 from reedsolomon.cpp:20:
par1fileformat.h: At global scope:
par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field ‘MD5Hash PAR1FILEHEADER::controlhash’ [enabled by default]
par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field ‘MD5Hash PAR1FILEHEADER::sethash’ [enabled by default]
par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field ‘MD5Hash PAR1FILEENTRY::hashfull’ [enabled by default]
par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field ‘MD5Hash PAR1FILEENTRY::hash16k’ [enabled by default]
reedsolomon.cpp:54:6: error: specializing member ‘ReedSolomon<Galois<8u, 285u, unsigned char> >::SetInput’ requires ‘template<>’ syntax
make[1]: *** [reedsolomon.o] Error 1
make[1]: Leaving directory `/root/Downloads/par2cmdline-0.4'
make: *** [all] Error 2
bash-4.2# 
Any help to compile this beast for Porteus 2.0 64bit is, thus, greatly appreciated!

Re: par2cmdline repair tool needed - cannot compile myself

Posted: 06 Mar 2013, 19:01
by Hamza

Re: par2cmdline repair tool needed - cannot compile myself

Posted: 30 Aug 2014, 15:09
by att
Pleeeease heeeeeeeeeeeeeeeeelp once more :-(

I cannot compile this, again, for Porteus 3.0 including all newest compat32 libraries.....

I am getting compile errors...

I need it again..........PLLLLLLLLLLLZZZZZZZ

Here are my feeble attempts of compiling:

Code: Select all

configure: creating ./config.status
config.status: creating stamp-h
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
bash-4.2$ make
make  all-am
make[1]: Entering directory `/home/guest/WORK/par2cmdline-0.4-tbb-20100203'
g++ -DHAVE_CONFIG_H -I.    -Wall -I./../tbb21_009oss/include   -g -O2 -MT par2cmdline.o -MD -MP -MF .deps/par2cmdline.Tpo -c -o par2cmdline.o par2cmdline.cpp
In file included from par2cmdline.cpp:26:0:
par2cmdline.h:457:39: fatal error: tbb/task_scheduler_init.h: No such file or directory
   #include "tbb/task_scheduler_init.h"
                                       ^
compilation terminated.
make[1]: *** [par2cmdline.o] Error 1
make[1]: Leaving directory `/home/guest/WORK/par2cmdline-0.4-tbb-20100203'
make: *** [all] Error 2
Sigh.

And yes, the link above cannot be downloaded.... REAL, Longterm mirror appreciated!!

Re: par2cmdline repair tool needed - cannot compile myself

Posted: 30 Aug 2014, 15:37
by bour59
hello
usm -g par2cmdline gives a tgz package

Re: par2cmdline repair tool needed - cannot compile myself

Posted: 30 Aug 2014, 16:57
by beny
bour59 par2cmdline compile well but not this:/var/lib/sbopkg/SBo/14.1/misc/par2cmdline-tbb att receive the error and i too

Re: par2cmdline repair tool needed - cannot compile myself

Posted: 30 Aug 2014, 22:53
by brokenman
Using usm in this order:

usm -b par2cmdline
usm -b tbb
usm -b par2cmdline-tbb