[Tracker] compilation required libs & tracker-extract doesn't compile



Hello,

I just compiled the cvs code after retrieving required libraries. I give the list for the next ones, as it took me 4 compilations to get them all (under Ubuntu Dapper):
apt-get install libmysqlclient15-dev libssl-dev libwrap0-dev libbz2-dev

Nevertheless I must have missed something for tracker-extract does not compile (from fresh CVS checkout), any help is welcome to get it running. 'make's log follows... it has been called after 'make clean' and './configure --prefix=/usr --enable-static --with-pic CFLAGS=-I/usr/include/exiv2'

looks like I miss some extractor.h... which one might it be?

feel free to ask me any information you might need.
Bertrand.


MAKE log:

Making all in tracker-extract
make[2]: entrant dans le répertoire « /home/bertrand/Devel/TrackerCVS/tracker/src/tracker-ext ract » if gcc -DHAVE_CONFIG_H -I. -I. -I../../src/trackerd -pthread -I/usr/include/glib-2.0 -I/usr/l ib/glib-2.0/include -Wall -Wchar-subscripts -Wnested-externs -Wpointer-arith - Wsign-compare -I/usr/include/exiv2 -g -Wall -Wchar-subscripts -Wnested-exte rns -Wpointer-arith -Wsign-compare -I/usr/include/exiv2 -MT tracker-extract.o -MD -MP -M F ".deps/tracker-extract.Tpo" \ -c -o tracker-extract.o `test -f 'tracker-extract.c' || echo './'`tracker-extract.c ; \
       then mv -f ".deps/tracker-extract.Tpo" ".deps/tracker-extract.Po"; \
       else rm -f ".deps/tracker-extract.Tpo"; exit 1; \
       fi
tracker-extract.c:26:23: erreur: extractor.h : Aucun fichier ou répertoire de ce type
tracker-extract.c:44: erreur: syntax error before «EXTRACTOR_KeywordType»
tracker-extract.c:44: attention : pas de point virgule à la fin de la structure ou de l'union
tracker-extract.c:47: erreur: syntax error before «*» token
tracker-extract.c:47: attention : type defaults to «int» in declaration of «plugins» tracker-extract.c:47: attention : la définition de données n'a pas de type ni de classe de st ockage
tracker-extract.c:57: erreur: les éléments du tableau sont de type incomplet
tracker-extract.c:59: erreur: «EXTRACTOR_TITLE» undeclared here (not in a function) tracker-extract.c:60: erreur: «EXTRACTOR_SUBJECT» undeclared here (not in a function) tracker-extract.c:61: erreur: «EXTRACTOR_AUTHOR» undeclared here (not in a function) tracker-extract.c:62: erreur: «EXTRACTOR_KEYWORDS» undeclared here (not in a function) tracker-extract.c:63: erreur: «EXTRACTOR_DESCRIPTION» undeclared here (not in a function) tracker-extract.c:64: erreur: «EXTRACTOR_PAGE_COUNT» undeclared here (not in a function) tracker-extract.c:65: erreur: «EXTRACTOR_CREATION_DATE» undeclared here (not in a function) tracker-extract.c:66: erreur: «EXTRACTOR_UNKNOWN» undeclared here (not in a function)
tracker-extract.c:69: erreur: les éléments du tableau sont de type incomplet
tracker-extract.c:72: erreur: «EXTRACTOR_ARTIST» undeclared here (not in a function) tracker-extract.c:73: erreur: «EXTRACTOR_ALBUM» undeclared here (not in a function) tracker-extract.c:74: erreur: «EXTRACTOR_DATE» undeclared here (not in a function) tracker-extract.c:75: erreur: «EXTRACTOR_COMMENT» undeclared here (not in a function) tracker-extract.c:76: erreur: «EXTRACTOR_GENRE» undeclared here (not in a function) tracker-extract.c:77: erreur: «EXTRACTOR_RESOURCE_TYPE» undeclared here (not in a function) tracker-extract.c:78: erreur: «EXTRACTOR_FORMAT» undeclared here (not in a function)
tracker-extract.c:82: erreur: les éléments du tableau sont de type incomplet
tracker-extract.c:86: erreur: «EXTRACTOR_SIZE» undeclared here (not in a function)
tracker-extract.c:92: erreur: les éléments du tableau sont de type incomplet
tracker-extract.c:97: erreur: «EXTRACTOR_CREATOR» undeclared here (not in a function) tracker-extract.c:100: erreur: «EXTRACTOR_SOFTWARE» undeclared here (not in a function) tracker-extract.c:101: erreur: «EXTRACTOR_CAMERA_MAKE» undeclared here (not in a function) tracker-extract.c:102: erreur: «EXTRACTOR_CAMERA_MODEL» undeclared here (not in a function) tracker-extract.c:103: erreur: «EXTRACTOR_ORIENTATION» undeclared here (not in a function) tracker-extract.c:104: erreur: «EXTRACTOR_EXPOSURE» undeclared here (not in a function) tracker-extract.c:105: erreur: «EXTRACTOR_APERTURE» undeclared here (not in a function) tracker-extract.c:106: erreur: «EXTRACTOR_FLASH» undeclared here (not in a function) tracker-extract.c:107: erreur: «EXTRACTOR_FOCAL_LENGTH» undeclared here (not in a function) tracker-extract.c:108: erreur: «EXTRACTOR_ISO_SPEED» undeclared here (not in a function) tracker-extract.c:109: erreur: «EXTRACTOR_EXPOSURE_MODE» undeclared here (not in a function) tracker-extract.c:110: erreur: «EXTRACTOR_METERING_MODE» undeclared here (not in a function) tracker-extract.c:111: erreur: «EXTRACTOR_WHITE_BALANCE» undeclared here (not in a function) tracker-extract.c:112: erreur: «EXTRACTOR_COPYRIGHT» undeclared here (not in a function)
tracker-extract.c:149: erreur: syntax error before «EXTRACTOR_KeywordType»
tracker-extract.c: Dans la fonction «get_metadata_name» :
tracker-extract.c:153: erreur: «meta_type» undeclared (first use in this function) tracker-extract.c:153: erreur: (Chaque identificateur non déclaré est rapporté une seule fois tracker-extract.c:153: erreur: pour chaque fonction dans laquelle il apparaît.) tracker-extract.c:164: erreur: «keyword» undeclared (first use in this function)
tracker-extract.c: Dans la fonction «tracker_get_file_metadata» :
tracker-extract.c:363: erreur: «EXTRACTOR_KeywordList» undeclared (first use in this function ) tracker-extract.c:363: erreur: «keywords» undeclared (first use in this function) tracker-extract.c:378: attention : implicit declaration of function «EXTRACTOR_getKeywords» tracker-extract.c:378: attention : nested extern declaration of «EXTRACTOR_getKeywords» tracker-extract.c:379: attention : implicit declaration of function «EXTRACTOR_removeEmptyKey words» tracker-extract.c:379: attention : nested extern declaration of «EXTRACTOR_removeEmptyKeyword s» tracker-extract.c:382: attention : implicit declaration of function «EXTRACTOR_extractLast» tracker-extract.c:382: attention : nested extern declaration of «EXTRACTOR_extractLast» tracker-extract.c:382: erreur: «EXTRACTOR_MIMETYPE» undeclared (first use in this function) tracker-extract.c:382: attention : passing argument 1 of «g_strdup» makes pointer from intege r without a cast tracker-extract.c:385: attention : implicit declaration of function «EXTRACTOR_removeKeywords OfType» tracker-extract.c:385: attention : nested extern declaration of «EXTRACTOR_removeKeywordsOfTy pe» tracker-extract.c:393: attention : implicit declaration of function «EXTRACTOR_freeKeywords» tracker-extract.c:393: attention : nested extern declaration of «EXTRACTOR_freeKeywords»
tracker-extract.c: Dans la fonction «main» :
tracker-extract.c:477: attention : implicit declaration of function «EXTRACTOR_loadDefaultLib raries» tracker-extract.c:477: attention : nested extern declaration of «EXTRACTOR_loadDefaultLibrari es» tracker-extract.c:477: attention : assignment makes pointer from integer without a cast tracker-extract.c:490: attention : implicit declaration of function «EXTRACTOR_removeAll» tracker-extract.c:490: attention : nested extern declaration of «EXTRACTOR_removeAll»
make[2]: *** [tracker-extract.o] Erreur 1
make[2]: quittant le répertoire « /home/bertrand/Devel/TrackerCVS/tracker/src/tracker-extract »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/bertrand/Devel/TrackerCVS/tracker/src »
make: *** [all-recursive] Erreur 1





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]