CentOS下編譯比特幣(Bitcoin)用戶端遇到possibly undefined macro: PKG_CONFIG_LIBDIR問題的解決方案

來源:互聯網
上載者:User

最近和老師學習相關課程時需要用到bitcoin用戶端,同學推薦用的CentOS用戶端,確實許多東西不需要配,可是也遇到了許多奇葩的問題,比如這個錯誤:


possibly undefined macro: PKG_CONFIG_LIBDIRIf this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1


找了好久都沒有特別好的解決方案,然後誇讚一下Bing,搜到了gihub上bitcoin源碼上同學的討論,有一個同學的建議稀裡糊塗的過了,嗯……具體原因那個同學也不知道,我也不明白……




就是在bitcoin檔案夾裡找到configure.ac然後修改一下源碼,把這三行注釋了……就好了……

真的是糾結……


後來的步驟還遇到了重定義的問題,我也沒查,直接把源碼注釋了,世界就清靜了……



相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.