[Fedora-Bangladesh] Problem compiling rarcrack

Junayeed Ahnaf Nirjhor zombiegenerator at gmail.com
Fri May 28 07:48:11 UTC 2010


On Fri, 2010-05-28 at 14:01 +0700, Salahuddin Pasha wrote: 
> > 
> > I've installed glibc,libxml2, unrar, unzip but failed to find anything
> > named pthreads.............. 
> 
> Did you install the development library ?
> 
> (In Debian/Ubuntu "libxml2-dev" something like this).

OH YES!!!!!!!!!! Got it. "yum install libxml2-devel" did it. You're the
great!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

> 
> 
> I am not sure rarcrack have "./configure" option.
> The "./configure" generally finds and remember the necessary path for the required tool in in your system.
> 
> Otherwise you may need to edit the Makefile (and change the  path for your system).
> 
> 
> On May 28, 2010, at 11:43 AM, Junayeed Ahnaf Nirjhor wrote:
> 
> > Hello,
> > 
> > I have a password protected zip file which I'd like to crack. I need a
> > soft named rarcrack for this. I've downloaded the code and extracted it.
> > Problem is, I can't make it. Error is following:
> > 
> > 
> > [Nirjhor at localhost ~]$ cd rarcrack-0.2
> > [Nirjhor at localhost rarcrack-0.2]$ make
> > gcc -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
> > /bin/sh: xml2-config: command not found
> > In file included from rarcrack.c:21:
> > rarcrack.h:25:48: error: libxml/xmlmemory.h: No such file or directory
> > rarcrack.h:26:27: error: libxml/parser.h: No such file or directory
> > rarcrack.h:27:36: error: libxml/parserInternals.h: No such file or
> > directory
> > rarcrack.h:28:25: error: libxml/tree.h: No such file or directory
> > rarcrack.h:29:28: error: libxml/threads.h: No such file or directory
> > rarcrack.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> > before ‘pwdMutex’
> > rarcrack.c:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> > before ‘status’
> > rarcrack.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> > before ‘finishedMutex’
> > rarcrack.c: In function ‘savestatus’:
> > rarcrack.c:46: error: ‘xmlNodePtr’ undeclared (first use in this
> > function)
> > rarcrack.c:46: error: (Each undeclared identifier is reported only once
> > rarcrack.c:46: error: for each function it appears in.)
> > rarcrack.c:46: error: expected ‘;’ before ‘root’
> > rarcrack.c:47: error: expected ‘;’ before ‘node’
> > rarcrack.c:48: error: ‘xmlChar’ undeclared (first use in this function)
> > rarcrack.c:48: error: ‘tmp’ undeclared (first use in this function)
> > rarcrack.c:49: error: ‘status’ undeclared (first use in this function)
> > rarcrack.c:50: error: ‘root’ undeclared (first use in this function)
> > rarcrack.c:52: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > rarcrack.c:53: error: ‘node’ undeclared (first use in this function)
> > rarcrack.c:55: error: ‘pwdMutex’ undeclared (first use in this function)
> > rarcrack.c:56: error: expected ‘)’ before ‘xmlChar’
> > rarcrack.c:66: error: expected ‘)’ before ‘xmlChar’
> > rarcrack.c: In function ‘loadstatus’:
> > rarcrack.c:87: error: ‘xmlNodePtr’ undeclared (first use in this
> > function)
> > rarcrack.c:87: error: expected ‘;’ before ‘root’
> > rarcrack.c:88: error: expected ‘;’ before ‘node’
> > rarcrack.c:89: error: ‘xmlParserCtxtPtr’ undeclared (first use in this
> > function)
> > rarcrack.c:89: error: expected ‘;’ before ‘parserctxt’
> > rarcrack.c:96: error: ‘status’ undeclared (first use in this function)
> > rarcrack.c:99: error: ‘root’ undeclared (first use in this function)
> > rarcrack.c:103: error: ‘parserctxt’ undeclared (first use in this
> > function)
> > rarcrack.c:104: error: ‘node’ undeclared (first use in this function)
> > rarcrack.c:108: error: ‘XML_SUBSTITUTE_BOTH’ undeclared (first use in
> > this function)
> > rarcrack.c:127: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > rarcrack.c: In function ‘nextpass’:
> > rarcrack.c:170: error: ‘pwdMutex’ undeclared (first use in this
> > function)
> > rarcrack.c: In function ‘status_thread’:
> > rarcrack.c:182: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > rarcrack.c:188: error: ‘pwdMutex’ undeclared (first use in this
> > function)
> > rarcrack.c: In function ‘crack_thread’:
> > rarcrack.c:206: warning: comparison between pointer and integer
> > rarcrack.c:208: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > rarcrack.c: In function ‘init’:
> > rarcrack.c:250: error: ‘pwdMutex’ undeclared (first use in this
> > function)
> > rarcrack.c:251: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > rarcrack.c: In function ‘main’:
> > rarcrack.c:351: error: ‘status’ undeclared (first use in this function)
> > rarcrack.c:353: error: ‘pwdMutex’ undeclared (first use in this
> > function)
> > rarcrack.c:354: error: ‘finishedMutex’ undeclared (first use in this
> > function)
> > make: *** [all] Error 1
> > [Nirjhor at localhost rarcrack-0.2]$ 
> > 
> > 
> > It's stated in the readme file that I need the following packages to
> > compile it: 
> > 
> > Software requirements:
> >    * > glibc 2.4
> >    * any POSIX compatible operating system [sorry Window$ isn't]
> >    * pthreads
> >    * libxml2
> >    * and finally: 7zip, unrar, unzip
> > 
> > I've installed glibc,libxml2, unrar, unzip but failed to find anything
> > named pthreads.............. 
> > 
> > 
> > Please help me out.
> > 
> > -- 
> > Regards-
> > Junayeed Ahnaf Nirjhor
> > Documentation Team,
> > Linux Mint Bangladesh,
> > Bogra.
> > 
> > _______________________________________________
> > bangladesh-users mailing list
> > bangladesh-users at lists.fedoraproject.org
> > https://admin.fedoraproject.org/mailman/listinfo/bangladesh-users
> 
> _______________________________________________
> bangladesh-users mailing list
> bangladesh-users at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/bangladesh-users

-- 
Regards-
Junayeed Ahnaf Nirjhor
Documentation Team,
Linux Mint Bangladesh,
Bogra.




More information about the bangladesh-users mailing list