Re: [gentoo-user] tuning ./configure parameters via emerge
Nicolas Sebrecht schrieb: Justin Findlay [EMAIL PROTECTED] a écrit: You probably just need to set it in your /etc/make.conf. make.conf is just a bunch of bash variables anyway. Hmmm. If I do that, it will be applied to all ebuilds. You can set it in /etc/portage/env/cat/pkg. There you set every variable portage knows and overwrite the default value. I always use this to use package specific CFLAGS, FFLAGS, fortran compiler and else. If it doesn't work directly try to set an export in front. For some strange reason, this has to be done in many cases for switching the F77 variable. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] tuning ./configure parameters via emerge
Justin [EMAIL PROTECTED] a écrit: You can set it in /etc/portage/env/cat/pkg. Thank you. It works good. Is it documented somewhere ? There you set every variable portage knows and overwrite the default value. I always use this to use package specific CFLAGS, FFLAGS, fortran compiler and else. If it doesn't work directly try to set an export in front. For some strange reason, this has to be done in many cases for switching the F77 variable. Ok. -- Nicolas Sebrecht -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] tuning ./configure parameters via emerge
Nicolas Sebrecht schrieb: Justin [EMAIL PROTECTED] a écrit: You can set it in /etc/portage/env/cat/pkg. Thank you. It works good. Is it documented somewhere ? It must (because I found it), but as far as I remember it wasn't a good doc. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] tuning ./configure parameters via emerge
Alan McKinnon [EMAIL PROTECTED] a écrit: man 5 ebuild Search for EXTRA_ECONF I have a new question then. Let's take an example: An ebuild has this line econf --configure-option=foo and my EXTRA_ECONF is set to --configure-option=bar. Is the issue actually known and would it be the same all the time ? The used option will be foo or bar ? portage seems to not deal with this case. I'm afraid of what it could happen if it's depending on the configure script. -- Nicolas Sebrecht -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] tuning ./configure parameters via emerge
Nicolas Sebrecht schrieb: Alan McKinnon [EMAIL PROTECTED] a écrit: man 5 ebuild Search for EXTRA_ECONF I have a new question then. Let's take an example: An ebuild has this line econf --configure-option=foo and my EXTRA_ECONF is set to --configure-option=bar. Is the issue actually known and would it be the same all the time ? The used option will be foo or bar ? I would think, that the command is econf --configure-option=bar --configure-option=foo. econf does: configure --prefix=/usr \ --host=${CHOST} \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --datadir=/usr/share \ --sysconfdir=/etc \ --localstatedir=/var/lib \ $@ \ ${LOCAL_EXTRA_ECONF} Where ${LOCAL_EXTRA_ECONF} is your ${EXTRA_ECONF} plus some more settings and $@ is --configure-option=foo. portage seems to not deal with this case. I'm afraid of what it could happen if it's depending on the configure script. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] tuning ./configure parameters via emerge
On Tue, 10 Jun 2008 09:55:27 +0200, Nicolas Sebrecht wrote: I have a new question then. Let's take an example: An ebuild has this line econf --configure-option=foo and my EXTRA_ECONF is set to --configure-option=bar. Is the issue actually known and would it be the same all the time ? The used option will be foo or bar ? It should be bar, but the most certain way to tell is emerge the ebuild with your settings, hit Ctrl-C when ./configure has finished and check the contents of config.log in portage's temp directory. -- Neil Bothwick WinErr 003: Dynamic linking error - Your mistake is now in every file signature.asc Description: PGP signature
Re: [gentoo-user] Cleaning up installation / two glibc versions
Nicolai Beuermann [EMAIL PROTECTED] a écrit: Again the result was an unbootable system. What is the error exactly ? I cannot remember the exact words right now - when i´m back home i´ll consult the logs. Unmerging the old glibc ends up in an error about commands are no longer found. Back at the prompt I can´t fire any command. Nothing was found. Even shutdown failed. Thanks -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] esound
I'm trying to remove all digital alteration of the sound on my music server before it hits the USB DAC. I have no jack, no pulseaudio, and I think I should remove esound. There doesn't seem to be an /etc/init.d script for it though. I've removed it from my USE flags, and un-emerged it, but now I'm curious. Has it been running on the system even without an /etc/init.d script? - Grant -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] tuning ./configure parameters via emerge
* Nicolas Sebrecht [EMAIL PROTECTED] wrote: Hi, I would like to compile a soft by passing some available options to ./configure. I'm currently pretty sure I have to build my own ebuild. I don't enjoy because of further maintenance. which package and which options are you exactly going to change ? IMHO, it's wise to improve the ebuild and perhaps add some useflag. Is there any way to do it with the classical emerge program ? Beware of such manual tweaking. It's likely to forget it some day, eg. on update. You should be really careful here. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] esound
* Grant [EMAIL PROTECTED] wrote: I'm trying to remove all digital alteration of the sound on my music server before it hits the USB DAC. I have no jack, no pulseaudio, and I think I should remove esound. There doesn't seem to be an /etc/init.d script for it though. At my site it's called /etc/init.d/esound. Perhaps you'd someday removed it accidently ? I've removed it from my USE flags, and un-emerged it, but now I'm curious. That useflag (IMHO) only affects other applications which might be able to feed their audio to esd. So if you disable this useflag (and dont forget to rebuild ;-p), the app won't try to connect to esd anymore. So, if nobody uses esd, you can remove it. BTW: (OT) I'm currently writing an tiny and network agnostic (9P based) audio server which should be capable of being the only application interface (making app-internal driver layers obsolete) and optionally can support other protocols (eg. esound). If anyone's interested in it, just let me know :) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] vixie cron
Hi, Thank you very much. But how I can use @reboot? It might be good if I just run fetchmail once after rebooting. -- Wish you well! Teng Wang -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Cleaning up installation / two glibc versions
* Alan McKinnon [EMAIL PROTECTED] wrote: The definitive way to find out exactly what is going on is to run emerge with the -t option and see from that what is pulling a package in. Is there any way to let emerge assume certain package is not installed (w/o tweaking /var/db/pkg) ? This would be a great way for finding deps to packages you'd like to get rid of. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Cleaning up installation / two glibc versions
* Nicolai Beuermann [EMAIL PROTECTED] wrote: Unmerging the old glibc ends up in an error about commands are no longer found. Back at the prompt I can´t fire any command. Nothing was found. Even shutdown failed. When you're trying to run some binary (which definitively exists and is +x) and you get something like no such file or directory, it probably means that the libc stub in your binary cannot load the libc's dynamic loader. That's because (at least on glibc systems), the dynamic loader itself sits in an shared library (eg. /lib/ld-linux.so) and each executable has an little stub which just loads the dynamic linker. This is then responsible for loading all the required shared libs (eg. by consulting ld.so.conf, ld.so.cache, environment, etc). This all happens much earlier before main() is called. Yes, glibc's stub should be more clear about this ;-o IMHO, you've removed exactly that libc (or at least it's dynamic linker) your binaries are built against, so they can't be executed anymore - you'r system is unbootable. ldd output on these binaries should give your more enlightenment. If you're sure you've rebuilt all of them and they're still built against the old glibc, it's might be a toolchain problem. Try to rebuild gcc and binutils first. BTW: if you don't want to risk an unbootable system, you could have a try in chroot first. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Subversion emerge fails
* Dirk Uys [EMAIL PROTECTED] wrote: Hi everyone. When I emerge subversion, i get the following error: snip checking for availability of Berkeley DB... no configure: error: Berkeley DB 4.0.14 wasn't found. hmm, probably a) broken ebuild (missing bdb dep) b) broken ./configure script (which can't find existing bdb) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] vixie cron
On Tuesday 10 June 2008, Teng Wang wrote: Hi, Thank you very much. But how I can use @reboot? It might be good if I just run fetchmail once after rebooting. I don't understand your question, the man page clearly tells you how to use it: Replace the first five columns in a crontab file with '@reboot' and cron will run the command once when it starts up. So, do make sure that the command actually runs - maybe you are making one of the many classic cron errors and your script is faulty, not cron. Maybe you have an older version of cron that doesn't support @reboot and are reading a newer man page. If this all checks out OK and it still doesn't work, then cron is not behaving the way it's own documentation says it should, this is a bug and should be reported to the cron developers -- Alan McKinnon alan dot mckinnon at gmail dot com -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] esound
I'm trying to remove all digital alteration of the sound on my music server before it hits the USB DAC. I have no jack, no pulseaudio, and I think I should remove esound. There doesn't seem to be an /etc/init.d script for it though. At my site it's called /etc/init.d/esound. Perhaps you'd someday removed it accidently ? I've removed it from my USE flags, and un-emerged it, but now I'm curious. That useflag (IMHO) only affects other applications which might be able to feed their audio to esd. So if you disable this useflag (and dont forget to rebuild ;-p), the app won't try to connect to esd anymore. So, if nobody uses esd, you can remove it. I see it now. Thanks a lot. - Grant BTW: (OT) I'm currently writing an tiny and network agnostic (9P based) audio server which should be capable of being the only application interface (making app-internal driver layers obsolete) and optionally can support other protocols (eg. esound). If anyone's interested in it, just let me know :) -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] My Book® Home Edition™
Hey Was thinking of buying the Western Digital' My Book® Home Edition™, specially because of the eSATA connection... I heard they have an internal USB-hub for making the capacity gauge working. Anyone tried having one of those connected to a gentoo box, and does it work straight out of the box ? -- I just want to be sure, before spending money on something useless Thanks Thomas -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] dspam useflags improvement (was tuning ./configure parameters via emerge)
Enrico Weigelt [EMAIL PROTECTED] a écrit: which package and which options are you exactly going to change ? IMHO, it's wise to improve the ebuild and perhaps add some useflag. I agree. It seems that current useflags doesn't permit enough tuning. Today, I need to use $EXTRA_ECONF with some packages. For example, emerge dspam package to make it run with qmail doesn't work. Here is what the dspam manual says: -BEGIN--/usr/share/doc/dspam-3.8.0-r11/doc/qmair.txt.bz2-- USER-LEVEL INTEGRATION If you are only configuring dspam for a small percentage of your users, this is the best method. Configure dspam to use a standalone local delivery agent like safecat (if you already use procmail or maildrop as an LDA, you should call dspam from those tools directly). First, create a small script called maildir_mod in /usr/local/bin... #!/bin/sh VPOPDOMAINS=/home/vpopmail/domains if [[ $2 = -d ]]; then user=`eval echo $3 | cut -f 1 -d @` domain=`eval echo $3 | cut -f 2 -d @` cd $VPOPDOMAINS/$domain/$user fi /usr/local/bin/safecat $1/tmp $1/new 1/dev/null NOTE: Be sure to configure VPOPDOMAINS to point to the path for your virtual domain directories Now configure DSPAM: ./configure \ --with-dspam-owner=vpopmail \ --with-dspam-group=vchkpw \ --with-delivery-agent=/usr/local/bin/maildir_mod Maildir -d %u \ # Your arguments Next, create a .qmail file in the directory for the user with a line to call dspam, like this: | /usr/local/bin/dspam --deliver=innocent --user [EMAIL PROTECTED] The two environment variables $EXT and $USER are created by the qmail-local program which begins the local delivery process. -END/usr/share/doc/dspam-3.8.0-r11/doc/qmair.txt.bz2-- Here is the ebuild content: -BEGIN--/usr/portage/mail-filter/dspam/dspam-3.8.0-r11.ebuild- econf --with-storage-driver=${STORAGE} \ --with-dspam-home=${DSPAM_HOMEDIR} \ --sysconfdir=${DSPAM_CONFDIR} \ $(use_enable daemon) \ $(use_enable ldap) \ $(use_enable clamav) \ $(use_enable large-domain large-scale) \ $(use_enable !large-domain domain-scale) \ $(use_enable syslog) \ $(use_enable debug) \ $(use_enable debug bnr-debug) \ $(use_enable debug verbose-debug) \ --enable-long-usernames \ --with-dspam-group=dspam \ --with-dspam-home-group=dspam \ --with-dspam-mode=${DSPAM_MODE} \ --with-logdir=${DSPAM_LOGDIR} \ ${myconf} || die econf failed -END/usr/portage/mail-filter/dspam/dspam-3.8.0-r11.ebuild- I run ('\' end-line char added in this mail only): prompt EXTRA_ECONF=--with-dspam-owner=vpopmail \ --with-dspam-group=vchkpw \ --with-delivery-agent=\/usr/local/bin/maildir_mod Maildir \-d %u\ \ emerge -v dspam The compilation failed. I think I will make a bug report... Nevertheless, I guess dspam and qmail integration can be done on various ways and dspam can work with a lot of other MTA (you can see /usr/share/doc/dspam-3.8.0-r11/doc/). In this context, maintain this package (dspam) with useflags fair system only would be a lot of work. Having EXTRA_ECONF is enough (but should be probably more documented). If dspam default ebuild could just compile with extra-parameters, it would be great. I hope I didn't missed something. X-post + Fu2 -- Nicolas Sebrecht -- gentoo-user@lists.gentoo.org mailing list