Re: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
Alan McKinnon wrote: On Sunday 18 January 2009 06:38:15 Richard Watson wrote: I'm sorry about the delay in closing this. I finally figured out if I remove -pipe from my /etc/make.conf CFLAGS that all my compile errors go away. Looking at the reference on the subject this option tells GCC not to create temporary files when compiling but to turn this off if low on RAM. Not sure why this happens as I have a 1GB Ram. Maybe this is not enough these days. Anyway problem solved. That's an interesting result, but I can't help thinking it's the wrong solution to the wrong problem. One of my machines has had merely 1G for 2 years, before that it had 512M for 3 years and it has never shown this symptom. I have servers at work with 512M - same thing, even when building current packages. Gut feel is telling me that removing -pipe is simply revealing a deeper symptom somewhere - 1G is actually an enormous amount of memory for compilation purposes. If you feel like digging deeper, I'd be very interested to see where this one leads. I would like to write my first post here just to inform you that I also had this problem with avahi and pygtk. Avahi failed to emerge and I had to remove pygtk from my use flags, than it compiled OK. I was just interested if removing -pipe from CFLAGS makes any difference, and I tried remove it and emerge avahi with pygtk, but it does not compile. For me it compiles only without pygtk and changing -pipe doesn't work at all. I checked this because I have 512M. I don't know why I might need avahi with pygtk...disabling pygtk use flag for avahi works fine and other packages compile well. Wojtek
Re: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
On Sunday 18 January 2009 23:57:24 Wojtek Dalętka wrote: I would like to write my first post here just to inform you that I also had this problem with avahi and pygtk. Avahi failed to emerge and I had to remove pygtk from my use flags, than it compiled OK. I was just interested if removing -pipe from CFLAGS makes any difference, and I tried remove it and emerge avahi with pygtk, but it does not compile. For me it compiles only without pygtk and changing -pipe doesn't work at all. I checked this because I have 512M. I don't know why I might need avahi with pygtk...disabling pygtk use flag for avahi works fine and other packages compile well. Are you running stable or testing? avahi does not have a pygtk USE flag. In fact, there isn't one in portage at all: ~ $ euse -i pygtk global use flags (searching: pygtk) no matching entries found local use flags (searching: pygtk) no matching entries found So whether you have it or not should make no difference at all. The latest avahi ebuild contains this interesting snippet though: src_compile() { ... # We need to unset DISPLAY, else the configure script might have problems detecting the pygtk module unset DISPLAY econf \ I'm not really in a position to help you further as I don't have avahi (or any zeroconf packages) - mostly because the only place I ever use this notebook is on properly configured networks -- alan dot mckinnon at gmail dot com
RE: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
I'm sorry about the delay in closing this. I finally figured out if I remove -pipe from my /etc/make.conf CFLAGS that all my compile errors go away. Looking at the reference on the subject this option tells GCC not to create temporary files when compiling but to turn this off if low on RAM. Not sure why this happens as I have a 1GB Ram. Maybe this is not enough these days. Anyway problem solved. Regards, Richard === Try to find out why this strange configure command line is being called (take a look at the ebuild) Also, there are other logs you can post. I don't remember exactly the names, but I think there are multiple configure log files like configure.log and configure.error (or something like that) that says exactly why did configure concluded that a certain feature is missing. The log you provided does not say why configure concluded there is no pygtk, but configure usually *does* explain this (is specific log files. Do a little search). Regards, Jorge Peixoto -- Software is like sex: it is better when it is free - Linus Torvalds No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.10.8/1899 - Release Date: 17/01/2009 5:50 PM
Re: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
On Sunday 18 January 2009 06:38:15 Richard Watson wrote: I'm sorry about the delay in closing this. I finally figured out if I remove -pipe from my /etc/make.conf CFLAGS that all my compile errors go away. Looking at the reference on the subject this option tells GCC not to create temporary files when compiling but to turn this off if low on RAM. Not sure why this happens as I have a 1GB Ram. Maybe this is not enough these days. Anyway problem solved. That's an interesting result, but I can't help thinking it's the wrong solution to the wrong problem. One of my machines has had merely 1G for 2 years, before that it had 512M for 3 years and it has never shown this symptom. I have servers at work with 512M - same thing, even when building current packages. Gut feel is telling me that removing -pipe is simply revealing a deeper symptom somewhere - 1G is actually an enormous amount of memory for compilation purposes. If you feel like digging deeper, I'd be very interested to see where this one leads. -- alan dot mckinnon at gmail dot com
RE: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
Hi, Avahi keeps failing with what looks like a Python gtk module error that I can't seem to figure out. I've done the obvious by re-emerging python (with running python-updater) and pygtk but it still fails. Any help would be appreciated. Thanks, Richard The configure failure message is: checking for python module gtk... no configure: error: Could not find Python module gtk Yet emerge confirms pygtk is installed.
Re: [gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
On Sat, Nov 15, 2008 at 8:05 PM, Richard Watson [EMAIL PROTECTED] wrote: Hi, Avahi keeps failing with what looks like a Python gtk module error that I can't seem to figure out. I've done the obvious by re-emerging python (with running python-updater) and pygtk but it still fails. I attach the build log below and would really appreciate some assistance. Thanks, Richard === BEGIN OUTPUT This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by avahi configure 0.6.22, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --localstatedir=/var --with-distro=gentoo --disable-python-dbus --disable-pygtk --disable-xmltoman --disable-monodoc --enable-glib --disable-tests --disable-autoipd --disable-compat-libdns_sd --disable-compat-howl --disable-doxygen-doc --disable-mono --enable-dbus --enable-python --enable-gtk --disable-qt3 --disable-qt4 --enable-gdbm --enable-python-dbus --enable-pygtk --build=i686-pc-linux-gnu This configure line is strange. Look at what it says about gtk: ./configure otheroptions --disable-python-dbus --disable-pygtk otheroptions --enable-gtk otheroptions --enable-python-dbus --enable-pygtk --build=i686-pc-linux-gnu Try to find out why this strange configure command line is being called (take a look at the ebuild) Also, there are other logs you can post. I don't remember exactly the names, but I think there are multiple configure log files like configure.log and configure.error (or something like that) that says exactly why did configure concluded that a certain feature is missing. The log you provided does not say why configure concluded there is no pygtk, but configure usually *does* explain this (is specific log files. Do a little search). Regards, Jorge Peixoto -- Software is like sex: it is better when it is free - Linus Torvalds
[gentoo-user] Avahi Keeps failing on Emerge - Maybe a Python Error?
Hi, Avahi keeps failing with what looks like a Python gtk module error that I can't seem to figure out. I've done the obvious by re-emerging python (with running python-updater) and pygtk but it still fails. Any help would be appreciated. Thanks, Richard