PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba compilieren produziert cups n Fehler



zippelmann
14.12.02, 17:08
Moin,
also ich versuche samba 2.2.7a zu compilieren, aber leider bekomme ich bei make immer den folgenden Fehler:


Compiling printing/print_cups.c
printing/print_cups.c:25:23: cups/cups.h: No such file or directory
printing/print_cups.c:26:27: cups/language.h: No such file or directory
printing/print_cups.c: In function `cups_printer_fn':
printing/print_cups.c:79: `http_t' undeclared (first use in this function)
printing/print_cups.c:79: (Each undeclared identifier is reported only once
printing/print_cups.c:79: for each function it appears in.)
printing/print_cups.c:79: `http' undeclared (first use in this function)
printing/print_cups.c:80: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:80: `request' undeclared (first use in this function)
printing/print_cups.c:81: `response' undeclared (first use in this function)
printing/print_cups.c:82: `ipp_attribute_t' undeclared (first use in this function)
printing/print_cups.c:82: `attr' undeclared (first use in this function)
printing/print_cups.c:83: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:83: `language' undeclared (first use in this function)
printing/print_cups.c:125: `CUPS_GET_PRINTERS' undeclared (first use in this function)
printing/print_cups.c:130: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:130: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:133: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:136: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:159: `IPP_TAG_PRINTER' undeclared (first use in this function)
printing/print_cups.c:180: `IPP_TAG_TEXT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_printername_ok':
printing/print_cups.c:216: `http_t' undeclared (first use in this function)
printing/print_cups.c:216: `http' undeclared (first use in this function)
printing/print_cups.c:217: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:217: `request' undeclared (first use in this function)
printing/print_cups.c:218: `response' undeclared (first use in this function)
printing/print_cups.c:219: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:219: `language' undeclared (first use in this function)
printing/print_cups.c:220: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:254: `IPP_GET_PRINTER_ATTRIBUTES' undeclared (first use in this function)
printing/print_cups.c:259: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:259: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:262: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:265: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:271: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:288: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_job_delete':
printing/print_cups.c:311: `http_t' undeclared (first use in this function)
printing/print_cups.c:311: `http' undeclared (first use in this function)
printing/print_cups.c:312: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:312: `request' undeclared (first use in this function)
printing/print_cups.c:313: `response' undeclared (first use in this function)
printing/print_cups.c:314: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:314: `language' undeclared (first use in this function)
printing/print_cups.c:315: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:349: `IPP_CANCEL_JOB' undeclared (first use in this function)
printing/print_cups.c:354: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:354: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:357: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:362: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:364: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:375: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_job_pause':
printing/print_cups.c:401: `http_t' undeclared (first use in this function)
printing/print_cups.c:401: `http' undeclared (first use in this function)
printing/print_cups.c:402: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:402: `request' undeclared (first use in this function)
printing/print_cups.c:403: `response' undeclared (first use in this function)
printing/print_cups.c:404: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:404: `language' undeclared (first use in this function)
printing/print_cups.c:405: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:439: `IPP_HOLD_JOB' undeclared (first use in this function)
printing/print_cups.c:444: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:444: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:447: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:452: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:454: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:465: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_job_resume':
printing/print_cups.c:491: `http_t' undeclared (first use in this function)
printing/print_cups.c:491: `http' undeclared (first use in this function)
printing/print_cups.c:492: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:492: `request' undeclared (first use in this function)
printing/print_cups.c:493: `response' undeclared (first use in this function)
printing/print_cups.c:494: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:494: `language' undeclared (first use in this function)
printing/print_cups.c:495: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:529: `IPP_RELEASE_JOB' undeclared (first use in this function)
printing/print_cups.c:534: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:534: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:537: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:542: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:544: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:555: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_job_submit':
printing/print_cups.c:581: `http_t' undeclared (first use in this function)
printing/print_cups.c:581: `http' undeclared (first use in this function)
printing/print_cups.c:582: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:582: `request' undeclared (first use in this function)
printing/print_cups.c:583: `response' undeclared (first use in this function)
printing/print_cups.c:584: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:584: `language' undeclared (first use in this function)
printing/print_cups.c:585: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:620: `IPP_PRINT_JOB' undeclared (first use in this function)
printing/print_cups.c:625: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:625: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:628: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:634: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:637: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:653: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_queue_get':
printing/print_cups.c:682: `http_t' undeclared (first use in this function)
printing/print_cups.c:682: `http' undeclared (first use in this function)
printing/print_cups.c:683: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:683: `request' undeclared (first use in this function)
printing/print_cups.c:684: `response' undeclared (first use in this function)
printing/print_cups.c:685: `ipp_attribute_t' undeclared (first use in this function)
printing/print_cups.c:685: `attr' undeclared (first use in this function)
printing/print_cups.c:686: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:686: `language' undeclared (first use in this function)
printing/print_cups.c:687: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:697: `ipp_jstate_t' undeclared (first use in this function)
printing/print_cups.c:697: parse error before "job_status"
printing/print_cups.c:754: `IPP_GET_JOBS' undeclared (first use in this function)
printing/print_cups.c:759: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:759: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:762: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:765: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:770: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:785: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c:809: `IPP_TAG_JOB' undeclared (first use in this function)
printing/print_cups.c:846: `job_status' undeclared (first use in this function)
printing/print_cups.c:846: `IPP_JOB_PENDING' undeclared (first use in this function)
printing/print_cups.c:861: `IPP_TAG_INTEGER' undeclared (first use in this function)
printing/print_cups.c:873: `IPP_TAG_ENUM' undeclared (first use in this function)
printing/print_cups.c:906: `IPP_JOB_STOPPED' undeclared (first use in this function)
printing/print_cups.c:907: `IPP_JOB_HELD' undeclared (first use in this function)
printing/print_cups.c:934: `IPP_GET_PRINTER_ATTRIBUTES' undeclared (first use in this function)
printing/print_cups.c:982: `IPP_PRINTER_STOPPED' undeclared (first use in this function)
printing/print_cups.c:989: `IPP_TAG_TEXT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_queue_pause':
printing/print_cups.c:1014: `http_t' undeclared (first use in this function)
printing/print_cups.c:1014: `http' undeclared (first use in this function)
printing/print_cups.c:1015: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:1015: `request' undeclared (first use in this function)
printing/print_cups.c:1016: `response' undeclared (first use in this function)
printing/print_cups.c:1017: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:1017: `language' undeclared (first use in this function)
printing/print_cups.c:1018: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:1052: `IPP_PAUSE_PRINTER' undeclared (first use in this function)
printing/print_cups.c:1057: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:1057: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:1060: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:1066: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:1068: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:1079: `IPP_OK_CONFLICT' undeclared (first use in this function)
printing/print_cups.c: In function `cups_queue_resume':
printing/print_cups.c:1106: `http_t' undeclared (first use in this function)
printing/print_cups.c:1106: `http' undeclared (first use in this function)
printing/print_cups.c:1107: `ipp_t' undeclared (first use in this function)
printing/print_cups.c:1107: `request' undeclared (first use in this function)
printing/print_cups.c:1108: `response' undeclared (first use in this function)
printing/print_cups.c:1109: `cups_lang_t' undeclared (first use in this function)
printing/print_cups.c:1109: `language' undeclared (first use in this function)
printing/print_cups.c:1110: `HTTP_MAX_URI' undeclared (first use in this function)
printing/print_cups.c:1144: `IPP_RESUME_PRINTER' undeclared (first use in this function)
printing/print_cups.c:1149: `IPP_TAG_OPERATION' undeclared (first use in this function)
printing/print_cups.c:1149: `IPP_TAG_CHARSET' undeclared (first use in this function)
printing/print_cups.c:1152: `IPP_TAG_LANGUAGE' undeclared (first use in this function)
printing/print_cups.c:1158: `IPP_TAG_URI' undeclared (first use in this function)
printing/print_cups.c:1160: `IPP_TAG_NAME' undeclared (first use in this function)
printing/print_cups.c:1171: `IPP_OK_CONFLICT' undeclared (first use in this function)
make: *** [printing/print_cups.o] Fehler 1

ich habe mal ./configure --help gemacht, aber dort konnte ich nur cups enablen, was aber auch keinen Erfolg brachte. Cups läuft und hat auch vorher funktioniert.

Was kann ich tun ?

Gnaag
18.12.02, 15:06
Moin,

ich kenne die genaue Option vom configure-script nicht, aber wenn du den cups-Support mit "enable-cups" oder "with-cups" einschalten kannst, dann kannst du ihn mit "disable-cups" bzw. "without-cups" abschalten.

HTH

zippelmann
18.12.02, 15:09
hm.. das hat sich auch erledigt, ich musst irgendein devel installieren, aber leider weiß ich gar nicht mehr welches das war.
thx für die Antwort