PDA

View Full Version : [ubuntu] rarcrack installation error



papaapa
August 13th, 2011, 07:35 PM
Hello!

I get this error when i command "make" on rarcrack which i downloaded from official site.

gcc -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
/bin/sh: xml2-config: not found
In file included from rarcrack.c:21:0:
rarcrack.h:25:48: fatal error: libxml/xmlmemory.h: No such file or directory
compilation terminated.
make: *** [all] Error 1

Can someone help me please ?

Thank you!

raja.genupula
August 14th, 2011, 03:08 AM
hey go with this

http://ubuntuforums.org/showthread.php?t=1341782

papaapa
August 14th, 2011, 10:07 AM
sudo apt-get install libxml2
[sudo] password for dalya:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
dalya@dalya:~$ sudo apt-get install libxml2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libxml2-dev

dino99
August 14th, 2011, 02:17 PM
which distro is used ?
libxml2-dev is in repo

sudo apt-get xml-core

papaapa
August 14th, 2011, 05:13 PM
which distro is used ?
libxml2-dev is in repo

sudo apt-get xml-core

I use Ubuntu 11.04. I did not change anything from repos or something.

sudo apt-get xml-core
E: Invalid operation xml-core

sudo apt-get install xml-core
[sudo] password for dalya:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xml-core is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

b1kkur1
March 26th, 2012, 06:41 AM
sudo apt-get install libxml2-dev libxslt-dev