Installation de HeaderDoc sous Ubuntu 12.04.1
Je n'arrive pas à installer HeaderDoc sous Ubuntu... et il y a très longtemps que je n'ai pas compilé un programme C...
J'ai installé ce que je pensais qu'il manquait:
Code:
1 2 3 4
| sudo apt-get install libxml2-dev
sudo apt-get install libxml2-utils
sudo apt-get install checkinstall
sudo chown -R jack:jack /opt/headerdoc-8.9.14 |
Il n'y a pas de ./configure
Voici le résultat du make:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| $ make
cd xmlman ; make all CC=`if [ "$DEVELOPER_BIN_DIR" != "" -a "0" != "0" ] ; then echo "gcc-4.0" ; else echo "cc"; fi` ARCH=`uname` VERS=`{ echo "10.6"; sw_vers -productVersion | sed 's/\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1.\2/'; } | sort | head -n 1` ; cd ..
/bin/sh: 1: sw_vers: not found
make[1]: Entering directory `/opt/headerdoc-8.9.14/xmlman'
cc -lxml2 -lpthread xml2man.o strcompat.o -o xml2man
xml2man.o: In function `writeData_sub':
/opt/headerdoc-8.9.14/xmlman/xml2man.c:730: undefined reference to `xmlUnlinkNode'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:738: undefined reference to `xmlFreeNode'
xml2man.o: In function `main':
/opt/headerdoc-8.9.14/xmlman/xml2man.c:116: undefined reference to `xmlCheckVersion'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:126: undefined reference to `xmlParseFile'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:147: undefined reference to `xmlParseMemory'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:149: undefined reference to `xmlDocGetRootElement'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:173: undefined reference to `xmlFreeDoc'
/opt/headerdoc-8.9.14/xmlman/xml2man.c:174: undefined reference to `xmlCleanupParser' |
Que puis-je faire pour avancer?