The configure script in w3m by default does not look into the gentoo-prefix dirctory for gc.h. So even if you have installed boehm-gc into gentoo-prefix, it still cannot find the header file. The solution could be just adding one line to the econf command --with-gc="${EPREFIX}"/usr Cheers, Xiao-Yong
this is on Linux, right? Weird, on Darwin it worked fine. I added the statement nevertheless as it causes no negative effects here. Thanks!