
我想從 CUPS 取得印表機狀態。為此,我嘗試自訂 CUPS 的源代碼。這樣我就可以向我的前端發送訊息。
我已經從 gitub 下載了 CUPS 儲存庫Apple 的 CUPS 儲存庫
然後解壓縮並運行
./configure
我收到以下錯誤。
auth.c:在函數「cups_crypt」:auth.c:2017:5:錯誤:未知型別名稱「_cups_md5_state_t」_cups_md5_state_t狀態; /* 主 MD5 狀態資訊 / ^ auth.c:2018:5: 錯誤:未知型別名稱 '_cups_md5_state_t' _cups_md5_state_t state2; /輔助MD5狀態資訊*/
如果我只是使用yum install cups
它效果很好。
這裡出了什麼問題?
提前致謝。