par2cmdline repair tool needed - cannot compile myself

If you are looking for a specific 64-bit package and you can't find it in any of the 64-bit repos, please post a request for it here
Post Reply
att
Contributor
Contributor
Posts: 131
Joined: 28 Dec 2010, 17:09

par2cmdline repair tool needed - cannot compile myself

Post#1 by att » 05 Mar 2013, 11:48

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!

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: par2cmdline repair tool needed - cannot compile myself

Post#2 by Hamza » 06 Mar 2013, 19:01

NjVFQzY2Rg==

att
Contributor
Contributor
Posts: 131
Joined: 28 Dec 2010, 17:09

Re: par2cmdline repair tool needed - cannot compile myself

Post#3 by att » 30 Aug 2014, 15:09

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!!

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: par2cmdline repair tool needed - cannot compile myself

Post#4 by bour59 » 30 Aug 2014, 15:37

hello
usm -g par2cmdline gives a tgz package

beny
Full of knowledge
Full of knowledge
Posts: 729
Joined: 02 Jan 2011, 11:33
Location: italy

Re: par2cmdline repair tool needed - cannot compile myself

Post#5 by beny » 30 Aug 2014, 16:57

bour59 par2cmdline compile well but not this:/var/lib/sbopkg/SBo/14.1/misc/par2cmdline-tbb att receive the error and i too

User avatar
brokenman
Site Admin
Site Admin
Posts: 5521
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: par2cmdline repair tool needed - cannot compile myself

Post#6 by brokenman » 30 Aug 2014, 22:53

Using usm in this order:

usm -b par2cmdline
usm -b tbb
usm -b par2cmdline-tbb
How do i become super user?
Wear your underpants on the outside and put on a cape.

Post Reply