This version of xchat does not compile, it just spits out this error: make[3]: Entering directory `/var/tmp/portage/xchat-1.8.8-r1/work/xchat-1.8.8/src/fe-text' gcc -march=i686 -O3 -pipe -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/python2.2 -Wall -g -o xchat-text fe-text.o ../common/libxchatmain.a -lutil -lpthread -L/usr/lib -rdynamic -lgmodule -lglib -ldl -L/usr/lib/python2.2/config -lpython2.2 -L /usr/lib/python2.2/config -lssl -lcrypto /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o): In function `posix_tmpnam': posixmodule.o(.text+0x2d8d): the use of `tmpnam_r' is dangerous, better use `mkstemp' /usr/lib/python2.2/config/libpython2.2.a(posixmodule.o): In function `posix_tempnam': posixmodule.o(.text+0x2ccc): the use of `tempnam' is dangerous, better use `mkstemp' /usr/lib/python2.2/config/libpython2.2.a(complexobject.o): In function `_Py_c_pow': complexobject.o(.text+0x2dd): undefined reference to `pow' complexobject.o(.text+0x31c): undefined reference to `exp' complexobject.o(.text+0x330): undefined reference to `log' complexobject.o(.text+0x350): undefined reference to `cos' complexobject.o(.text+0x366): undefined reference to `sin' /usr/lib/python2.2/config/libpython2.2.a(floatobject.o): In function `float_pow': floatobject.o(.text+0x10a0): undefined reference to `pow' collect2: ld returned 1 exit status !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 72, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/net-irc/xchat/xchat-1.8.8-r1.ebuild . If you need to know what's on my gentoo linux: >>> emerge net-irc/xchat-1.8.8-r1 to / Building GTK+ Interface .... : yes 1.2.10 Building TEXT Interface .... : yes gnome-libs .......... : yes 1.4.1.6 gnome panel ......... : yes perl ................ : no gdk-pixbuf........... : yes 0.17.0 python .............. : yes 2.2 mmx tinting ......... : yes zvt shell tab ....... : yes nls/gettext ......... : no plugin interface .... : yes glib replace ........ : no link with socks5 .... : no translation tables .. : yes openssl support ..... : yes japanese conversion . : no ipv6 support ........ : no hebrew support ...... : no Thank you. PS: If you need more infos don't esitate to ask.
This should be an easy fix; it's just a missing -lm in the LIBS variable in the Makefile. How does it get triggered? I have no idea. I can take a look at it, though.
Yup, the missing link to the math lib is very likely to be the problem. If you can fix it, well that's good, but then the maintainer of the ebuild ( Daniel Robbins <drobbins@gentoo.org> ) should be warned.
I fixed it changing the line 75 of xchat-1.8.8-r1.ebuild from : emake || die in: make || die don't know why emake was giving those problems.