Package: hyperestraier
Version: 0.5.4-1
Severity: serious
Tags: patch

hyperestraier fails to build because it is unable to find the qdbm
header files when compiling estseek.fcgi:

> i486-linux-gnu-gcc -Wall -fPIC -fsigned-char -O2 -DNDEBUG -DMYFCGI -o 
> estseek.fcgi estseek.c \
>   -L. -L/tmp/buildd/lib -L/usr/local/lib  -lfcgi -lestraier -lresolv -lnsl  
> -lpthread  -lqdbm -lz -lm -lc 
> In file included from estseek.c:20:
> estraier.h:41:19: error: depot.h: No such file or directory
> estraier.h:42:19: error: curia.h: No such file or directory
> estraier.h:43:19: error: cabin.h: No such file or directory
> estraier.h:44:19: error: villa.h: No such file or directory
> In file included from estseek.c:20:
> estraier.h:66: error: syntax error before 'CBMAP'
> estraier.h:66: warning: no semicolon at end of struct or union
> estraier.h:67: warning: type defaults to 'int' in declaration of 'dtexts'
> estraier.h:67: warning: data definition has no type or storage class
> estraier.h:68: error: syntax error before '}' token
> estraier.h:68: warning: type defaults to 'int' in declaration of 'ESTDOC'
> estraier.h:68: warning: data definition has no type or storage class
> estraier.h:73: error: syntax error before '*' token
> estraier.h:73: warning: type defaults to 'int' in declaration of 'est_doc_new'
> estraier.h:73: warning: data definition has no type or storage class
> estraier.h:79: error: syntax error before '*' token
> estraier.h:79: warning: type defaults to 'int' in declaration of 
> 'est_doc_new_from_draft'
> estraier.h:79: warning: data definition has no type or storage class
> estraier.h:84: error: syntax error before '*' token
> estraier.h:91: error: syntax error before '*' token
> estraier.h:97: error: syntax error before '*' token
> estraier.h:103: error: syntax error before '*' token
> estraier.h:110: error: syntax error before '*' token
> estraier.h:118: error: syntax error before '*' token
> estraier.h:118: error: syntax error before '*' token
> estraier.h:118: warning: type defaults to 'int' in declaration of 
> 'est_doc_attr_names'
> estraier.h:118: warning: data definition has no type or storage class
> estraier.h:126: error: syntax error before '*' token
> estraier.h:133: error: syntax error before '*' token
> estraier.h:133: error: syntax error before '*' token
> estraier.h:133: warning: type defaults to 'int' in declaration of 
> 'est_doc_texts'
> estraier.h:133: warning: data definition has no type or storage class
> estraier.h:141: error: syntax error before '*' token
> estraier.h:149: error: syntax error before '*' token
> estraier.h:164: error: syntax error before '*' token
> estraier.h:206: error: syntax error before 'CBLIST'
> estraier.h:206: warning: no semicolon at end of struct or union
> estraier.h:213: error: syntax error before '}' token
> estraier.h:213: warning: type defaults to 'int' in declaration of 'ESTCOND'
> estraier.h:213: warning: data definition has no type or storage class
> estraier.h:228: error: syntax error before '*' token
> estraier.h:228: warning: type defaults to 'int' in declaration of 
> 'est_cond_new'
> estraier.h:228: warning: data definition has no type or storage class
> estraier.h:233: error: syntax error before '*' token
> estraier.h:239: error: syntax error before '*' token
> estraier.h:245: error: syntax error before '*' token
> estraier.h:251: error: syntax error before '*' token
> estraier.h:258: error: syntax error before '*' token
> estraier.h:269: error: syntax error before '*' token
> estraier.h:283: error: syntax error before 'VILLA'
> estraier.h:283: warning: no semicolon at end of struct or union
> estraier.h:285: error: syntax error before '*' token
> estraier.h:285: warning: type defaults to 'int' in declaration of 'cdb'
> estraier.h:285: warning: data definition has no type or storage class
> estraier.h:286: error: syntax error before '}' token
> estraier.h:286: warning: type defaults to 'int' in declaration of 'ESTIDX'
> estraier.h:286: warning: data definition has no type or storage class
> estraier.h:290: error: syntax error before 'DEPOT'
> estraier.h:290: warning: no semicolon at end of struct or union
> estraier.h:291: warning: type defaults to 'int' in declaration of 'idxdb'
> estraier.h:291: warning: data definition has no type or storage class
> estraier.h:292: error: syntax error before '*' token
> estraier.h:292: warning: type defaults to 'int' in declaration of 'fwmdb'
> estraier.h:292: warning: data definition has no type or storage class
> estraier.h:293: error: syntax error before '*' token
> estraier.h:293: warning: type defaults to 'int' in declaration of 'attrdb'
> estraier.h:293: warning: data definition has no type or storage class
> estraier.h:294: error: syntax error before '*' token
> estraier.h:294: warning: type defaults to 'int' in declaration of 'textdb'
> estraier.h:294: warning: data definition has no type or storage class
> estraier.h:295: error: syntax error before '*' token
> estraier.h:295: warning: type defaults to 'int' in declaration of 'listdb'
> estraier.h:295: warning: data definition has no type or storage class
> estraier.h:301: error: syntax error before '*' token
> estraier.h:301: warning: type defaults to 'int' in declaration of 'idxcc'
> estraier.h:301: warning: data definition has no type or storage class
> estraier.h:304: error: syntax error before '*' token
> estraier.h:304: warning: type defaults to 'int' in declaration of 'outcc'
> estraier.h:304: warning: data definition has no type or storage class
> estraier.h:305: error: syntax error before '*' token
> estraier.h:305: warning: type defaults to 'int' in declaration of 'keycc'
> estraier.h:305: warning: data definition has no type or storage class
> estraier.h:307: error: syntax error before '*' token
> estraier.h:307: warning: type defaults to 'int' in declaration of 'attrcc'
> estraier.h:307: warning: data definition has no type or storage class
> estraier.h:309: error: syntax error before '*' token
> estraier.h:309: warning: type defaults to 'int' in declaration of 'textcc'
> estraier.h:309: warning: data definition has no type or storage class
> estraier.h:311: error: syntax error before '*' token
> estraier.h:311: warning: type defaults to 'int' in declaration of 'spacc'
> estraier.h:311: warning: data definition has no type or storage class
> estraier.h:315: error: syntax error before '*' token
> estraier.h:315: warning: type defaults to 'int' in declaration of 'cbvec'
> estraier.h:315: warning: data definition has no type or storage class
> estraier.h:317: error: syntax error before '*' token
> estraier.h:317: warning: type defaults to 'int' in declaration of 'metacc'
> estraier.h:317: warning: data definition has no type or storage class
> estraier.h:318: error: syntax error before '}' token
> estraier.h:318: warning: type defaults to 'int' in declaration of 'ESTDB'
> estraier.h:318: warning: data definition has no type or storage class
> estraier.h:378: error: syntax error before '*' token
> estraier.h:378: warning: type defaults to 'int' in declaration of 
> 'est_db_open'
> estraier.h:378: warning: data definition has no type or storage class
> estraier.h:385: error: syntax error before '*' token
> estraier.h:391: error: syntax error before '*' token
> estraier.h:397: error: syntax error before '*' token
> estraier.h:405: error: syntax error before '*' token
> estraier.h:411: error: syntax error before '*' token
> estraier.h:420: error: syntax error before '*' token
> estraier.h:431: error: syntax error before '*' token
> estraier.h:440: error: syntax error before '*' token
> estraier.h:449: error: syntax error before '*' token
> estraier.h:449: error: syntax error before '*' token
> estraier.h:449: warning: type defaults to 'int' in declaration of 
> 'est_db_get_doc'
> estraier.h:449: warning: data definition has no type or storage class
> estraier.h:459: error: syntax error before '*' token
> estraier.h:466: error: syntax error before '*' token
> estraier.h:476: error: syntax error before '*' token
> estraier.h:476: error: syntax error before '*' token
> estraier.h:476: warning: type defaults to 'int' in declaration of 
> 'est_db_etch_doc'
> estraier.h:476: warning: data definition has no type or storage class
> estraier.h:482: error: syntax error before '*' token
> estraier.h:489: error: syntax error before '*' token
> estraier.h:496: error: syntax error before '*' token
> estraier.h:502: error: syntax error before '*' token
> estraier.h:508: error: syntax error before '*' token
> estraier.h:514: error: syntax error before '*' token
> estraier.h:529: error: syntax error before '*' token
> estraier.h:540: error: syntax error before '*' token
> estraier.h:547: error: syntax error before '*' token
> estraier.h:574: error: syntax error before 'CBLIST'
> estraier.h:582: error: syntax error before 'CBLIST'
> estraier.h:697: error: syntax error before '*' token
> estraier.h:704: error: syntax error before '*' token
> estraier.h:711: error: syntax error before '*' token
> estraier.h:719: error: syntax error before '*' token
> estraier.h:719: error: syntax error before '*' token
> estraier.h:719: warning: type defaults to 'int' in declaration of 
> 'est_cond_attrs'
> estraier.h:719: warning: data definition has no type or storage class
> estraier.h:727: error: syntax error before '*' token
> estraier.h:734: error: syntax error before '*' token
> estraier.h:740: error: syntax error before '*' token
> estraier.h:747: error: syntax error before '*' token
> estraier.h:753: error: syntax error before '*' token
> estraier.h:760: error: syntax error before '*' token
> estraier.h:767: error: syntax error before '*' token
> estraier.h:775: error: syntax error before '*' token
> estraier.h:775: error: syntax error before '*' token
> estraier.h:775: warning: type defaults to 'int' in declaration of 
> 'est_db_meta_names'
> estraier.h:775: warning: data definition has no type or storage class
> estraier.h:784: error: syntax error before '*' token
> estraier.h:790: error: syntax error before '*' token
> estraier.h:797: error: syntax error before '*' token
> estraier.h:797: error: syntax error before ')' token
> estraier.h:806: error: syntax error before '*' token
> estraier.h:806: error: 'est_db_set_vectorizer' declared as function returning 
> a function
> estraier.h:806: error: syntax error before 'void'
> estraier.h:811: error: syntax error before '*' token
> estraier.h:819: error: syntax error before '*' token
> estraier.h:819: error: syntax error before '*' token
> estraier.h:819: warning: type defaults to 'int' in declaration of 
> 'est_hints_to_words'
> estraier.h:819: warning: data definition has no type or storage class
> In file included from estseek.c:21:
> myconf.h:187:2: error: #error QDBM is required but not found.
> estseek.c:49: error: syntax error before '*' token
> estseek.c:49: warning: type defaults to 'int' in declaration of 'g_replexprs'
> estseek.c:49: warning: data definition has no type or storage class
> estseek.c:54: error: syntax error before '*' token
> estseek.c:54: warning: type defaults to 'int' in declaration of 'g_extattrs'
> estseek.c:54: warning: data definition has no type or storage class
> estseek.c:83: error: syntax error before '*' token
> estseek.c:83: warning: type defaults to 'int' in declaration of 'g_db'
> estseek.c:83: warning: data definition has no type or storage class
> estseek.c:84: error: syntax error before '*' token
> estseek.c:84: warning: type defaults to 'int' in declaration of 'g_kwdb'
> estseek.c:84: warning: data definition has no type or storage class
> estseek.c:94: error: syntax error before '*' token
> estseek.c:94: warning: type defaults to 'int' in declaration of 
> 'getparameters'
> estseek.c:94: warning: data definition has no type or storage class
> estseek.c:95: error: syntax error before '*' token
> estseek.c:97: error: syntax error before '*' token
> estseek.c:97: warning: type defaults to 'int' in declaration of 'vectorizer'
> estseek.c:97: warning: data definition has no type or storage class
> estseek.c:102: error: syntax error before '*' token
> estseek.c:103: error: syntax error before '*' token
> estseek.c: In function 'main':
> estseek.c:115: warning: implicit declaration of function 'cbggcsweep'
> estseek.c: In function 'realmain':
> estseek.c:139: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:139: error: (Each undeclared identifier is reported only once
> estseek.c:139: error: for each function it appears in.)
> estseek.c:139: error: 'lines' undeclared (first use in this function)
> estseek.c:139: error: 'rlist' undeclared (first use in this function)
> estseek.c:139: warning: left-hand operand of comma expression has no effect
> estseek.c:139: error: 'alist' undeclared (first use in this function)
> estseek.c:139: warning: left-hand operand of comma expression has no effect
> estseek.c:139: warning: statement with no effect
> estseek.c:140: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:140: error: 'params' undeclared (first use in this function)
> estseek.c:145: warning: implicit declaration of function 'cbstdiobin'
> estseek.c:150: warning: implicit declaration of function 'cbmalloc'
> estseek.c:150: warning: assignment makes pointer from integer without a cast
> estseek.c:152: warning: implicit declaration of function 'cbglobalgc'
> estseek.c:156: warning: implicit declaration of function 'cbreadlines'
> estseek.c:157: error: 'cblistclose' undeclared (first use in this function)
> estseek.c:158: warning: implicit declaration of function 'cblistopen'
> estseek.c:162: warning: implicit declaration of function 'cblistnum'
> estseek.c:163: warning: implicit declaration of function 'cblistval'
> estseek.c:163: warning: assignment makes pointer from integer without a cast
> estseek.c:164: warning: implicit declaration of function 'cbstrfwimatch'
> estseek.c:181: warning: implicit declaration of function 'cblistpush'
> estseek.c:183: warning: implicit declaration of function 'cbstricmp'
> estseek.c:232: error: 'cbmapclose' undeclared (first use in this function)
> estseek.c:233: warning: implicit declaration of function 'cbmapget'
> estseek.c:233: warning: assignment makes pointer from integer without a cast
> estseek.c:237: warning: assignment makes pointer from integer without a cast
> estseek.c:241: warning: assignment makes pointer from integer without a cast
> estseek.c:245: warning: implicit declaration of function 'cbstrfwmatch'
> estseek.c:253: warning: assignment makes pointer from integer without a cast
> estseek.c:257: warning: assignment makes pointer from integer without a cast
> estseek.c:259: warning: assignment makes pointer from integer without a cast
> estseek.c:261: warning: assignment makes pointer from integer without a cast
> estseek.c:263: warning: assignment makes pointer from integer without a cast
> estseek.c:265: warning: assignment makes pointer from integer without a cast
> estseek.c:285: warning: implicit declaration of function 'cbreadfile'
> estseek.c:285: warning: assignment makes pointer from integer without a cast
> estseek.c:288: warning: assignment makes pointer from integer without a cast
> estseek.c: At top level:
> estseek.c:331: error: syntax error before '*' token
> estseek.c:331: warning: return type defaults to 'int'
> estseek.c: In function 'getparameters':
> estseek.c:333: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:333: error: 'map' undeclared (first use in this function)
> estseek.c:333: error: 'attrs' undeclared (first use in this function)
> estseek.c:333: warning: left-hand operand of comma expression has no effect
> estseek.c:333: warning: statement with no effect
> estseek.c:334: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:334: error: 'pairs' undeclared (first use in this function)
> estseek.c:334: error: 'parts' undeclared (first use in this function)
> estseek.c:334: warning: left-hand operand of comma expression has no effect
> estseek.c:334: warning: statement with no effect
> estseek.c:338: warning: implicit declaration of function 'cbmapopenex'
> estseek.c:344: warning: assignment makes pointer from integer without a cast
> estseek.c:354: warning: implicit declaration of function 'cbmemdup'
> estseek.c:354: warning: assignment makes pointer from integer without a cast
> estseek.c:361: warning: assignment makes pointer from integer without a cast
> estseek.c:363: warning: implicit declaration of function 'cbmimeparts'
> estseek.c:365: warning: assignment makes pointer from integer without a cast
> estseek.c:366: warning: implicit declaration of function 'cbmapopen'
> estseek.c:367: warning: implicit declaration of function 'cbmimebreak'
> estseek.c:367: warning: assignment makes pointer from integer without a cast
> estseek.c:368: warning: assignment makes pointer from integer without a cast
> estseek.c:369: warning: implicit declaration of function 'cbmapput'
> estseek.c:370: warning: implicit declaration of function 'cbsprintf'
> estseek.c:370: warning: assignment makes pointer from integer without a cast
> estseek.c:371: warning: assignment makes pointer from integer without a cast
> estseek.c:376: warning: implicit declaration of function 'cbmapclose'
> estseek.c:378: warning: implicit declaration of function 'cblistclose'
> estseek.c:381: warning: implicit declaration of function 'cbsplit'
> estseek.c:383: warning: assignment makes pointer from integer without a cast
> estseek.c:386: warning: implicit declaration of function 'cburldecode'
> estseek.c:386: warning: assignment makes pointer from integer without a cast
> estseek.c:387: warning: assignment makes pointer from integer without a cast
> estseek.c: At top level:
> estseek.c:403: error: syntax error before '*' token
> estseek.c: In function 'myestdbclose':
> estseek.c:405: error: 'db' undeclared (first use in this function)
> estseek.c: At top level:
> estseek.c:486: error: syntax error before '*' token
> estseek.c:486: warning: return type defaults to 'int'
> estseek.c: In function 'vectorizer':
> estseek.c:487: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:487: error: 'kwords' undeclared (first use in this function)
> estseek.c:490: warning: implicit declaration of function 'crget'
> estseek.c:490: error: 'CURIA' undeclared (first use in this function)
> estseek.c:490: error: syntax error before ')' token
> estseek.c:490: warning: left-hand operand of comma expression has no effect
> estseek.c:490: warning: left-hand operand of comma expression has no effect
> estseek.c:490: warning: left-hand operand of comma expression has no effect
> estseek.c:490: warning: left-hand operand of comma expression has no effect
> estseek.c:490: error: syntax error before ')' token
> estseek.c:491: warning: implicit declaration of function 'cbmapload'
> estseek.c: In function 'setsimilarphrase':
> estseek.c:499: error: 'doc' undeclared (first use in this function)
> estseek.c:500: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:500: error: 'svmap' undeclared (first use in this function)
> estseek.c:501: error: 'CBDATUM' undeclared (first use in this function)
> estseek.c:501: error: 'datum' undeclared (first use in this function)
> estseek.c:511: warning: assignment makes pointer from integer without a cast
> estseek.c:512: warning: implicit declaration of function 'cropen'
> estseek.c:512: error: 'CR_OREADER' undeclared (first use in this function)
> estseek.c:512: warning: assignment makes pointer from integer without a cast
> estseek.c:513: error: 'crclose' undeclared (first use in this function)
> estseek.c:526: warning: implicit declaration of function 'cbdatumopen'
> estseek.c:527: warning: implicit declaration of function 'cbmapiterinit'
> estseek.c:528: warning: implicit declaration of function 'cbmapiternext'
> estseek.c:528: warning: assignment makes pointer from integer without a cast
> estseek.c:529: warning: assignment makes pointer from integer without a cast
> estseek.c:530: warning: implicit declaration of function 'cbdatumcat'
> estseek.c:535: warning: implicit declaration of function 'cbdatumtomalloc'
> estseek.c:535: warning: assignment makes pointer from integer without a cast
> estseek.c: In function 'showpage':
> estseek.c:544: error: 'cond' undeclared (first use in this function)
> estseek.c:545: error: 'docs' undeclared (first use in this function)
> estseek.c:546: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:546: error: 'hints' undeclared (first use in this function)
> estseek.c:547: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:547: error: 'elems' undeclared (first use in this function)
> estseek.c:561: warning: assignment makes pointer from integer without a cast
> estseek.c:595: warning: assignment makes pointer from integer without a cast
> estseek.c:599: error: syntax error before ')' token
> estseek.c:633: warning: implicit declaration of function 'cbxmlbreak'
> estseek.c:635: warning: assignment makes pointer from integer without a cast
> estseek.c: In function 'showform':
> estseek.c:663: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:663: error: 'list' undeclared (first use in this function)
> estseek.c:680: warning: assignment makes pointer from integer without a cast
> estseek.c: At top level:
> estseek.c:758: error: syntax error before '*' token
> estseek.c: In function 'showresult':
> estseek.c:759: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:759: error: 'cnames' undeclared (first use in this function)
> estseek.c:760: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:760: error: 'words' undeclared (first use in this function)
> estseek.c:765: error: 'hints' undeclared (first use in this function)
> estseek.c:765: warning: passing argument 1 of 'atoi' makes pointer from 
> integer without a cast
> estseek.c:765: error: 'miss' undeclared (first use in this function)
> estseek.c:778: warning: implicit declaration of function 'cbmaprnum'
> estseek.c:782: warning: assignment makes pointer from integer without a cast
> estseek.c:797: error: 'docs' undeclared (first use in this function)
> estseek.c: At top level:
> estseek.c:839: error: syntax error before '*' token
> estseek.c: In function 'showdoc':
> estseek.c:840: error: 'CBMAP' undeclared (first use in this function)
> estseek.c:840: error: 'kwords' undeclared (first use in this function)
> estseek.c:841: error: 'CBLIST' undeclared (first use in this function)
> estseek.c:841: error: 'names' undeclared (first use in this function)
> estseek.c:841: error: 'lines' undeclared (first use in this function)
> estseek.c:841: warning: left-hand operand of comma expression has no effect
> estseek.c:841: warning: statement with no effect
> estseek.c:845: error: 'doc' undeclared (first use in this function)
> estseek.c:863: error: 'detail' undeclared (first use in this function)
> estseek.c:866: warning: assignment makes pointer from integer without a cast
> estseek.c:880: warning: assignment makes pointer from integer without a cast
> estseek.c:890: warning: assignment makes pointer from integer without a cast
> estseek.c:904: error: 'words' undeclared (first use in this function)
> estseek.c:908: warning: assignment makes pointer from integer without a cast
> estseek.c:912: warning: assignment makes pointer from integer without a cast
> estseek.c:913: error: 'cnames' undeclared (first use in this function)
> estseek.c:913: warning: assignment makes pointer from integer without a cast
> estseek.c: In function 'makeshownuri':
> estseek.c:939: error: 'CBDATUM' undeclared (first use in this function)
> estseek.c:939: error: 'nuri' undeclared (first use in this function)
> estseek.c:947: warning: assignment makes pointer from integer without a cast
> estseek.c:953: warning: assignment makes pointer from integer without a cast
> estseek.c:972: warning: assignment makes pointer from integer without a cast

Adding $(CPPFLAGS) to that command fixes the problem.

-- 
Matt
diff -u hyperestraier-0.5.4/Makefile.in hyperestraier-0.5.4/Makefile.in
--- hyperestraier-0.5.4/Makefile.in
+++ hyperestraier-0.5.4/Makefile.in
@@ -455,7 +455,7 @@
 
 
 estseek.fcgi : estseek.c libestraier.a
-       $(LDENV) $(CC) $(CFLAGS) -DMYFCGI -o $@ estseek.c \
+       $(LDENV) $(CC) $(CPPFLAGS) $(CFLAGS) -DMYFCGI -o $@ estseek.c \
          $(LDFLAGS) -lfcgi -lestraier $(SKLIBS) $(MTLIBS) $(LIBS)
 
 

Attachment: signature.asc
Description: Digital signature

Reply via email to