Linux, 工作, 生活, 家人

Gentoo

sablotron C compiler cannot create executables See `config.log’ for more details.

emerge php 時會碰到 sablotron compile error ,
這時拿掉 ebuild 內某一行就好了….
forum.gentoo.org 的文章


checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: app-text/sablotron-1.0 failed.
!!! Function econf, Line 365, Exitcode 77
!!! econf failed


it was a stupid "bug-fix" in the ebuild.

remove the line that says -llibstc++ or some shit that's in the ebuild and it will work.

yea...some bug fix.

Code:

# rphillips, fixes bug #3876
# this is fixed for me with apache2, but keeping it in here
# for apache1 users and/or until some clever detection
# is added

發佈留言