Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 01:35: > Hi, > > Did my sync and upgraded some stuff then ran into this hiccup. I posted > the console output only this time. If someone else has ran into this and > has a fix, then we are good to go. If this is a first timer, I'll post > the rest of the info if needed. > > I looked on bgo and the forums with no luck. I don't recall seeing this > on this list either. > > Ideas? > > Oh, I did run etc-update and then did env-update and source /etc/profile > just in case some other update changed something. No joy there either. Did you by any chance unmask cups-1.5? -- Regards Daniel signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 01:35: > Hi, > > Did my sync and upgraded some stuff then ran into this hiccup. I posted > the console output only this time. If someone else has ran into this and > has a fix, then we are good to go. If this is a first timer, I'll post > the rest of the info if needed. > I looked on bgo and the forums with no luck. I don't recall seeing this > on this list either. > > Ideas? > > Oh, I did run etc-update and then did env-update and source /etc/profile > just in case some other update changed something. No joy there either. Looks like this is an issue with cups-1.5. If you really need it, you can try the attached patch. I have not tested it but it should do the trick. -- Daniel Pielmeier diff -up hplip-3.11.5/prnt/hpps/hppsfilter.c.cups15 hplip-3.11.5/prnt/hpps/hppsfilter.c --- hplip-3.11.5/prnt/hpps/hppsfilter.c.cups15 2011-06-10 11:44:25.933781345 +0100 +++ hplip-3.11.5/prnt/hpps/hppsfilter.c 2011-06-10 11:46:24.474510996 +0100 @@ -38,6 +38,7 @@ #include #include #include +#include #include #include signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Daniel Pielmeier wrote: Dale schrieb am 19.06.2011 01:35: Hi, Did my sync and upgraded some stuff then ran into this hiccup. I posted the console output only this time. If someone else has ran into this and has a fix, then we are good to go. If this is a first timer, I'll post the rest of the info if needed. I looked on bgo and the forums with no luck. I don't recall seeing this on this list either. Ideas? Oh, I did run etc-update and then did env-update and source /etc/profile just in case some other update changed something. No joy there either. Did you by any chance unmask cups-1.5? It appears so. I have net-print/cups-1.5_rc1 installed. Should I go down one version? It seems portage is trying to upgrade to the latest on both. I'm pretty sure it just upgraded cups but hplip failed. Again, if someone needs the bulky info, I can post it. I just hate to post that much if it doesn't matter. ;-) Thanks. Dale :-) ;-)
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Daniel Pielmeier wrote: Dale schrieb am 19.06.2011 01:35: Hi, Did my sync and upgraded some stuff then ran into this hiccup. I posted the console output only this time. If someone else has ran into this and has a fix, then we are good to go. If this is a first timer, I'll post the rest of the info if needed. I looked on bgo and the forums with no luck. I don't recall seeing this on this list either. Ideas? Oh, I did run etc-update and then did env-update and source /etc/profile just in case some other update changed something. No joy there either. Looks like this is an issue with cups-1.5. If you really need it, you can try the attached patch. I have not tested it but it should do the trick. Should I report it as a bug or is it already a known issue? Dale :-) :-)
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
On Sun, 19 Jun 2011 08:18:26 +0800, William Kenworthy wrote: > or can someone point me to a recent overlay thats regularly updated and > works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and > then .25 as its soon to be stable. MythTV have their own overlay, which I've been using all year with no problems, apart from one dodgy release that crashed the front end, but that was months ago and easy to mask. Details here, http://bugs.gentoo.org/show_bug.cgi?id=345271#c34 -- Neil Bothwick Everything else being equal, fat people use more soap. signature.asc Description: PGP signature
Re: [gentoo-user] tethering an htc incredible
On Sat, Jun 18 2011, David Abbott wrote: > If you open up wicd => Preferences => General Settings => Wired > interface the defaultis eth0. That is what I have. Are you suggesting I should change it to usb0? > I did not have to manually create any symlink as I think wicd does any > majic that is needed on its own. > One think to consider is that your phone does not have tethering > enabled, that your carrier has blocked it. Ah. Does this mean that I will not even see the usb0 interface on linux if I have not had my phone and service enabled for tethering? I had thought that I could deal with any phone/verizon issues only after I had the linux setup correct and the usb interface was there. thanks again, allan
Re: [gentoo-user] tethering an htc incredible
On Sun, Jun 19, 2011 at 06:25:00AM -0400, Allan Gottlieb wrote: > On Sat, Jun 18 2011, David Abbott wrote: > > > If you open up wicd => Preferences => General Settings => Wired > > interface the defaultis eth0. > > That is what I have. Are you suggesting I should change it to usb0? > > > I did not have to manually create any symlink as I think wicd does any > > majic that is needed on its own. > > > One think to consider is that your phone does not have tethering > > enabled, that your carrier has blocked it. > > Ah. Does this mean that I will not even see the usb0 interface on linux > if I have not had my phone and service enabled for tethering? > > I had thought that I could deal with any phone/verizon issues > only after I had the linux setup correct and the usb > interface was there. > Unless they've made some changes in the last two months, Verizon just presents you with a EULA for tethering rates before allowing you to access the web. Tethering with a blackberry via USB (using the BB as a USB modem) is extremely easy, not sure why your HTC is so stubborn... -- caveat utilitor ♫ ❤ ♫ ❤ ♫ ❤ ♫
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 11:12: > It appears so. I have net-print/cups-1.5_rc1 installed. cups-1.5 is hard masked so there must be something in your package.unmask to allow portage installing it. > Should I go down one version? It seems portage is trying to upgrade > to the latest on both. I'm pretty sure it just upgraded cups but > hplip failed. If you ask like this, I guess you have no specific reason to use 1.5 so I recommend you to go down to 1.4.x. -- Regards Daniel signature.asc Description: OpenPGP digital signature
[gentoo-user] gentoolkit-0.3.0.4: Digest verification failed
Hi, yesterday I updated gentoolkit to the last stable version (0.3.0.4), but when I tried to update today, I got these messages: === styx / # emerge --ask --update --deep --newuse --verbose world These are the packages that would be merged, in order: Calculating dependencies - * Digest verification failed: * /usr/portage/app-portage/gentoolkit/gentoolkit-0.3.0.4.ebuild * Reason: Filesize does not match recorded size * Got: 2647 * Expected: 2650 ... done! [ebuild UD] app-portage/gentoolkit-0.2.4.6.1-r1 [0.3.0.4] 0 kB [ebuild U ] net-dns/libidn-1.22 [1.20] USE="nls -doc -emacs -java -mono -static-libs" 3,278 kB [ebuild U ] mail-mta/ssmtp-2.64-r2 [2.62-r8] USE="ipv6 mta%* ssl -gnutls% (-maxsysuid%) (-md5sum%)" 56 kB Total: 3 packages (2 upgrades, 1 downgrade), Size of downloads: 3,333 kB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests !!! Digest verification failed: !!! /usr/portage/app-portage/gentoolkit/gentoolkit-0.3.0.4.ebuild !!! Reason: Filesize does not match recorded size !!! Got: 2647 !!! Expected: 2650 styx / # = My question is: how can I fix this? I already tried to re-sync portage tree, but nothing changed, I still get this error... Jarry -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale schrieb am 19.06.2011 11:13: > Daniel Pielmeier wrote: >> >> Looks like this is an issue with cups-1.5. If you really need it, >> you can try the attached patch. I have not tested it but it should >> do the trick. >> > > Should I report it as a bug or is it already a known issue? +*hplip-3.11.5-r1 (19 Jun 2011) + + 19 Jun 2011; Daniel Pielmeier +hplip-3.11.5-r1.ebuild, + +files/hplip-3.11.5-cups-1.5.patch: + Fix build with cups-1.5, thanks to Dale for the report on the gentoo-user + mailing list. Well now that I am aware of it, the issue is known. I have added the patch to hplip-3.11.5-r1. Please sync in a few hours and test if hplip builds correct now. -- Regards Daniel signature.asc Description: OpenPGP digital signature
[gentoo-user] rc runlevel act strangely
Hello everyone. I just buildup a new amd64 gentoo box using latest stage3 tar ball. After installed Gnome things, I used "eselect rc add" command to add some init scripts into default runlevel. The content of /etc/runlevels/default directory is: acpid dbus NetworkManager udev-postmount alsasound local syslog-ng vixie-cron consolekit netmount system-tools-backends xdm But after reboot, only syslog-ng vixie-cron net-mount and local started and the others had just been ignored, and I can successfully run the other init scripts manually after log in as root. Any advise about where I could check?
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
On Sun, 2011-06-19 at 10:51 +0100, Neil Bothwick wrote: > On Sun, 19 Jun 2011 08:18:26 +0800, William Kenworthy wrote: > > > or can someone point me to a recent overlay thats regularly updated and > > works(!) Currently want to go from mythtv .23-gentoo to .24-fixes and > > then .25 as its soon to be stable. > > MythTV have their own overlay, which I've been using all year with no > problems, apart from one dodgy release that crashed the front end, but > that was months ago and easy to mask. Details here, > > http://bugs.gentoo.org/show_bug.cgi?id=345271#c34 > > Thats the one (mythtv-0.24_p20110524.ebuild) that wants libwww-perl-6 - how did you work that? mythtv-0.24_p20110101 (from https://github.com/drscream/mythtv-gentoo) is building for me att. Also ran into a weird problem - everytime I tried to compile any version of .24 it died with svn taking up 100% of one cpu - traced to having PORTAGE_TMP on a btrfs filesystem! - moved it to a reisierfs one and its steaming along fine! - odd ... BillK
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Daniel Pielmeier wrote: Dale schrieb am 19.06.2011 11:13: Daniel Pielmeier wrote: Looks like this is an issue with cups-1.5. If you really need it, you can try the attached patch. I have not tested it but it should do the trick. Should I report it as a bug or is it already a known issue? +*hplip-3.11.5-r1 (19 Jun 2011) + + 19 Jun 2011; Daniel Pielmeier +hplip-3.11.5-r1.ebuild, + +files/hplip-3.11.5-cups-1.5.patch: + Fix build with cups-1.5, thanks to Dale for the report on the gentoo-user + mailing list. Well now that I am aware of it, the issue is known. I have added the patch to hplip-3.11.5-r1. Please sync in a few hours and test if hplip builds correct now. Oh goodie. I get to be a tester today. :-) I'll post back what happens. I usually sync between 5 and 7PM CST. The tree should be settled by then. Thanks much. I'll be back. Dale :-) :-)
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Daniel Pielmeier wrote: Dale schrieb am 19.06.2011 11:12: It appears so. I have net-print/cups-1.5_rc1 installed. cups-1.5 is hard masked so there must be something in your package.unmask to allow portage installing it. Should I go down one version? It seems portage is trying to upgrade to the latest on both. I'm pretty sure it just upgraded cups but hplip failed. If you ask like this, I guess you have no specific reason to use 1.5 so I recommend you to go down to 1.4.x. Most likely KDE or something pulled it in but it is also possible that I unmasked it for some reason and don't recall why. Dale :-) :-)
Re: [gentoo-user] rc runlevel act strangely
On Sunday 19 June 2011 12:56:13 刘勇泰 wrote: > After installed Gnome things, I used "eselect rc add" command to add some > init scripts into default runlevel. The command you should have used is "rc-update add default". -- Rgds Peter
Re: [gentoo-user] rc runlevel act strangely
Peter Humphrey wrote: On Sunday 19 June 2011 12:56:13 刘勇泰 wrote: After installed Gnome things, I used "eselect rc add" command to add some init scripts into default runlevel. The command you should have used is "rc-update add default". Actually, eselect is the new way. I still use the old way myself but eselect should work just as well. I suspect that something failed to start and the other services depend on what failed so it didn't start them. Just a theory. Dale :-) :-)
Re: [gentoo-user] gentoolkit-0.3.0.4: Digest verification failed
On Sun, Jun 19, 2011 at 4:35 AM, Jarry wrote: > Hi, > yesterday I updated gentoolkit to the last stable version > (0.3.0.4), but when I tried to update today, I got these > messages: > > === > styx / # emerge --ask --update --deep --newuse --verbose world > Verifying ebuild manifests > > !!! Digest verification failed: > !!! /usr/portage/app-portage/gentoolkit/gentoolkit-0.3.0.4.ebuild > !!! Reason: Filesize does not match recorded size > !!! Got: 2647 > !!! Expected: 2650 > styx / # > = > > My question is: how can I fix this? I already tried to re-sync > portage tree, but nothing changed, I still get this error... > > Jarry I generally just wait 24 hours for the server to catch up and fix it. If it's a single server issue then you might sync to a different server. - Mark
Re: [gentoo-user] rc runlevel act strangely
Peter Humphrey wrote: On Sunday 19 June 2011 13:40:47 Dale wrote: Peter Humphrey wrote: The command you should have used is "rc-update add default". Actually, eselect is the new way. I still use the old way myself but eselect should work just as well. How so? I've never come across this idea til today. I don't know when it got added but it is on mine. This is in the help page: rcManage /etc/init.d scripts in runlevels It works something like this: root@fireball / # eselect rc add xdm default Adding xdm to following runlevels default [skipped] root@fireball / # It was skipped because it was already there but that's how it works. Neat huh? Dale :-) :-)
Re: [gentoo-user] tethering an htc incredible
On Sun, Jun 19, 2011 at 6:40 AM, Indi wrote: > > Tethering with a blackberry via USB (using the BB as a USB modem) > is extremely easy, not sure why your HTC is so stubborn... > > Yea, I have the Nexus S, and it's pretty much as close to plug-n-play as I've found on linux... These are the steps I take in order to get usb tethering to work: 1) Plug the phone into the computer via usb cable 2) From the Setting->Wireless & netwoks submenu I enable USB Tethering 3) I wait until the device settles (just monitor dmesg) 4) After it's ready, ifconfig will show an available but non-configured device (usb0 in my case) 5) I run "dhclient usb0" and once it pulls an IP, I'm up and running. When you plug in your phone to tether it, do you see any error messages in the logs?
Re: [gentoo-user] rc runlevel act strangely
On Sunday 19 June 2011 13:40:47 Dale wrote: > Peter Humphrey wrote: > > The command you should have used is "rc-update add default". > > Actually, eselect is the new way. I still use the old way myself but > eselect should work just as well. How so? I've never come across this idea til today. -- Rgds Peter
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
On Sun, 19 Jun 2011 20:11:00 +0800, William Kenworthy wrote: > > MythTV have their own overlay, which I've been using all year with no > > problems, apart from one dodgy release that crashed the front end, but > > that was months ago and easy to mask. Details here, > > > > http://bugs.gentoo.org/show_bug.cgi?id=345271#c34 > > > > > > Thats the one (mythtv-0.24_p20110524.ebuild) that wants libwww-perl-6 - > how did you work that? I didn't work anything, it pulled in libwww-perl-6, but I'm still using perl-5.12.3-r1 and libperl-5.10.1 -- Neil Bothwick Top Oxymorons Number 33: American history signature.asc Description: PGP signature
[gentoo-user] emerge package with profiling flags -pg
Hi, I would like to profile my program, so would like to compile it with the -pg flag, to be able to profile it with gprof. Running the emerge like that produce: CFLAGS="$CFLAGS -pg" emerge MY_PROG Gives me the error: -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/i686-pc-linux-gnu-gcc" is not able to compile a simple test program. This problem will not occur if I just emerge the program: emerge MY_PROG Any help will be appreciated. Regards, Kfir
[gentoo-user] Re: emerge package with profiling flags -pg
Ok solved, I run hardened profile, so it adds '-pie'. Cmake will tell that -pie and -pg will not work together. So I added -nopie -pg. I had also needed to delete -fomit-frame-pointer. Regards, Kfir On Sun, Jun 19, 2011 at 7:47 PM, Kfir Lavi wrote: > Hi, > I would like to profile my program, so would like to compile it with the > -pg flag, > to be able to profile it with gprof. > Running the emerge like that produce: > CFLAGS="$CFLAGS -pg" emerge MY_PROG > Gives me the error: > -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc > -- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- broken > CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 > (MESSAGE): > The C compiler "/usr/bin/i686-pc-linux-gnu-gcc" is not able to compile a > simple test program. > > This problem will not occur if I just emerge the program: > emerge MY_PROG > > Any help will be appreciated. > Regards, > Kfir >
[gentoo-user] Changing printing options from within application
Perhaps I'm doing this wrong, but I can't change print settings from within an application, e.g. using Okular, FF, etc. I cannot change from colour to greyscale. I can only change these settings if I login to http://localhost:631 and change the printer default settings there. Is this how it is meant to work - what are plain users meant to do? PS. This is a networked printer. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On Sat, Jun 18, 2011 at 02:46:45AM +0100, Peter Humphrey wrote > Have you tried localepurge? A couple of notes/questions... 1) localepurge deletes the contents of subfolders in /usr/share/locale but leaves the empty subfolders present. Is it OK to delete the empty subfolders? 2) I notice that localepurge did *NOT* delete the contents of LC_MESSAGES in the following subfolders... ast be@latin ca@valencia crh dz en@shaw io kg km lg mai mg my nds si sr@latin uz@cyrillic -- Walter Dnes
[gentoo-user] update-modules obsolete?
For some reason I've never before had to fool with update-modules because all my needed kernel modules just load by magic when I boot. Now I'm fiddling with a virtualbox gentoo guest on a gentoo host, and the vboxvideo kernel module is not loading 'by magic' in the guest machine. So, how to do it? When I edit /etc/conf.d/modules to include the vboxvideo module and run update-modules -f -v I see: "No need to generate modprobe.conf Skipping /etc/modprobe.conf generation (generate-modprobe.conf doesn't exist)" True enough, generate-modprobe.conf doesn't exist any longer on my ~x86 and ~amd64 machines. I'm running openrc-0.8.2-r1, baselayout-2.0.3, and module-init-tools- 3.16-r1. Which HOWTO do I need to read to get myself up-to-date :) Many thanks for any clues.
Re: [gentoo-user] rc runlevel act strangely
On Sunday 19 June 2011 16:38:35 Dale wrote: > I don't know when it got added but it is on mine. This is in the help > page: > >rcManage /etc/init.d scripts in runlevels > > It works something like this: > > root@fireball / # eselect rc add xdm default > Adding xdm to following runlevels >default [skipped] > root@fireball / # > > It was skipped because it was already there but that's how it works. > > Neat huh? The old method did much the same, but with openrc and baselayout-2 we lost the alphabetical ordering of the entries. Now, if I tell it $ eselect rc list I get: Available init scripts acpid default alsasound default apache2 default atom bootmisc boot chronyd default consolefont boot consolekit cpufrequtils default crypto-loop cupsd default dbus default devfs sysinit device-mapper boot dmesg sysinit dmeventd dnsmasq default fancontrol fsck boot fuse git-daemon gkrellmd gpm no-x hdparm hostname boot hwclock boot keymaps boot killprocs shutdown lm_sensorsdefault local default localmountboot lvm boot lvm-monitoring mdadm mdev mdraid modules boot mount-ro shutdown mtab boot mysql default mysqlmanager net.eth0 default net.loboot netmount default network nfs nfsmount default nscd numlock boot pciparm portagexsd procfsboot pwcheck pydoc-2.7 pydoc-3.1 root boot rpc.idmapd rpc.pipefs rpc.statd rpcbind rsyncd saslauthd savecache shutdown smartddefault spamd sshd default staticroute swap boot swclock sysctlboot sysfs syslog-ng default termencoding boot twistd udev sysinit udev-dev-tarball udev-mount udev-postmountdefault urandom boot vixie-crondefault xdm default xdm-setup It's incomplete - what about all the services that are in more than one run- level? It only lists the first run-level a service is in, for some value of "first". This is the old way: $ sudo rc-update -s -v local |default apache2 |default no-x mtab | boot saslauthd | net.eth0 |default no-x procfs | boot urandom | boot rpc.pipefs | mdev | cupsd |default no-x bootmisc | boot nfs | chronyd |default no-x fsck | boot sshd |default no-x vboxweb-service |default killprocs |shutdown lm_sensors |default xdm-setup | nscd |
Re: [gentoo-user] update-modules obsolete?
On Sunday 19 Jun 2011 22:06:12 walt wrote: > For some reason I've never before had to fool with update-modules > because all my needed kernel modules just load by magic when I boot. > > Now I'm fiddling with a virtualbox gentoo guest on a gentoo host, > and the vboxvideo kernel module is not loading 'by magic' in the > guest machine. > > So, how to do it? When I edit /etc/conf.d/modules to include the > vboxvideo module and run update-modules -f -v I see: > > "No need to generate modprobe.conf > Skipping /etc/modprobe.conf generation (generate-modprobe.conf > doesn't exist)" > > True enough, generate-modprobe.conf doesn't exist any longer on > my ~x86 and ~amd64 machines. > > I'm running openrc-0.8.2-r1, baselayout-2.0.3, and module-init-tools- > 3.16-r1. > > Which HOWTO do I need to read to get myself up-to-date :) > > Many thanks for any clues. Have a look at: http://www.gentoo.org/doc/en/openrc-migration.xml It explains how to get your modules configured so that get loaded at start up. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: /etc/locale vs /etc/env.d/02locale?
On Sunday 19 June 2011 21:46:05 Walter Dnes wrote: > 1) localepurge deletes the contents of subfolders in /usr/share/locale > but leaves the empty subfolders present. Is it OK to delete the empty > subfolders? I assume so, though I haven't bothered. Why not try it and see? > 2) I notice that localepurge did *NOT* delete the contents of > LC_MESSAGES in the following subfolders... > ast > be@latin > ca@valencia > crh > dz > en@shaw > io > kg > km > lg > mai > mg > my > nds > si > sr@latin > uz@cyrillic Those don't look like locale names to me: uz@cyrillic? What locale is that? Or en@shaw? Who is shaw? Those two at least don't exist on my system. -- Rgds Peter
Re: [gentoo-user] rc runlevel act strangely
On Sun, Jun 19, 2011 at 10:36:47PM +0100, Peter Humphrey wrote: > On Sunday 19 June 2011 16:38:35 Dale wrote: > > > I don't know when it got added but it is on mine. This is in the help > > page: > > > >rcManage /etc/init.d scripts in runlevels > > > > It works something like this: > > > > root@fireball / # eselect rc add xdm default > > Adding xdm to following runlevels > >default [skipped] > > root@fireball / # > > > > It was skipped because it was already there but that's how it works. > > > > Neat huh? The official way to add or delete services is to use rc-update. I do not know anything about using eselect rc to do this. Thanks, William pgp1kp5meog3f.pgp Description: PGP signature
[gentoo-user] crontab not executing
One of my systems has a crontab like this to clean up and consolidate the output of the video monitoring app "motion": # crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) 50 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.jpg 55 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.avi 59 23 * * * /usr/bin/mencoder /home/motion/$(date +%Y%m%d)*.avi -noidx -o /home/motion/full-$(date +%Y%m%d).avi -ovc copy -oac copy If I execute each command manually, it works great, but nothing happens otherwise. Can someone tell me why this crontab doesn't seem to be executing? - Grant
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
> "WK" == William Kenworthy writes: WK> Thats the one (mythtv-0.24_p20110524.ebuild) that wants WK> libwww-perl-6 "libwww-perl-6" seems to refer to dev-perl/libwww-perl version 6.20.0, as found in the main portage tree. Ie, not libwww-perl for perl6 but rather version 6 of libww-perl for perl5. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6
Re: [gentoo-user] Is it possible to have perl-5 and perl-6 installed and in use concurrently?
Thanks for that - I saw the 6 and panicked :) BillK On Sun, 2011-06-19 at 18:22 -0400, James Cloos wrote: > > "WK" == William Kenworthy writes: > > WK> Thats the one (mythtv-0.24_p20110524.ebuild) that wants > WK> libwww-perl-6 > > "libwww-perl-6" seems to refer to dev-perl/libwww-perl version 6.20.0, > as found in the main portage tree. > > Ie, not libwww-perl for perl6 but rather version 6 of libww-perl for perl5. > > -JimC -- William Kenworthy Home in Perth!
Re: [gentoo-user] crontab not executing
On Sun, 19 Jun 2011 15:37:42 -0700, Grant wrote about [gentoo-user] crontab not executing: > One of my systems has a crontab like this to clean up and consolidate > the output of the video monitoring app "motion": > > # crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010) > # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 > vixie Exp $) 50 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' > +%Y%m%d)*.jpg 55 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' > +%Y%m%d)*.avi 59 23 * * * /usr/bin/mencoder /home/motion/$(date > +%Y%m%d)*.avi -noidx -o /home/motion/full-$(date +%Y%m%d).avi -ovc > copy -oac copy > > If I execute each command manually, it works great, but nothing > happens otherwise. Can someone tell me why this crontab doesn't seem > to be executing? For starters, you don't have any environment variables assigned at the top of your crontab. Here is mine: # Establish environment variables. JAVA_HOME='/etc/java-config-2/current-system-vm' PATH='/home/dwn/bin:/usr/local/bin:/bin:/usr/bin:/etc/java-config-2/current-system-vm/bin:/etc/java-config-2/current-system-vm/jre/bin:/opt/bin' TMPDIR='/tmp' HOME='/home/dwn' SHELL='/bin/zsh' LOGNAME='dwn' LC_ALL='en_GB.UTF-8' http_proxy='http://localhost:8080' ftp_proxy='http://localhost:8080' RSYNC_PROXY='localhost:8080' ZFTP_PREFS='P' PGHOST='' PGPORT='' # Set our priority level. !nice(4) # Clean up old backup files. %daily 38 20 find "$HOME/" \( -name \*~ -o -iname \*.bak -o -iname \*.bak\? \) -print -delete # Clean out the work directory for Lazarus. %daily 18 05 find "$HOME/Lazarus_projects/tmp/" -mindepth 1 -delete # Download the development trunk of Free Pascal compiler. %daily 13 07 fpc_download.zsh # Purge old mailing list messages from Free Pascal. %daily 37 04 mail_purge.py '6d5c5c5a8aa90d8a' # Clear the cache for epiphany. %daily 27 06 cd "$HOME/.gnome2/epiphany/mozilla/epiphany" && rm -rf compreg.dat pluginreg.dat Cache .parentlock # Clean out old GNOME sessions. #%hourly 13 find "$HOME/.config/gnome-session/saved-session/" -mindepth 1 -name \*.desktop -delete # Clean out the cache subdirectories under $HOME. %daily 28 06 cache_clean.zsh # Check Portage for orphans. #%daily 32 06 portage_orphans.zsh -- Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwn...@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* signature.asc Description: PGP signature
Re: [gentoo-user] rc runlevel act strangely
William Hubbs wrote: On Sun, Jun 19, 2011 at 10:36:47PM +0100, Peter Humphrey wrote: On Sunday 19 June 2011 16:38:35 Dale wrote: I don't know when it got added but it is on mine. This is in the help page: rcManage /etc/init.d scripts in runlevels It works something like this: root@fireball / # eselect rc add xdm default Adding xdm to following runlevels default [skipped] root@fireball / # It was skipped because it was already there but that's how it works. Neat huh? The official way to add or delete services is to use rc-update. I do not know anything about using eselect rc to do this. Thanks, William Is this documented somewhere? Using eselect for this I mean. Surely the OP saw it in a doc somewhere. Sort of doubtful that he/she pulled this out of their hat on their own. Dale :-) :-)
Re: [gentoo-user] Changing printing options from within application
Mick wrote: Perhaps I'm doing this wrong, but I can't change print settings from within an application, e.g. using Okular, FF, etc. I cannot change from colour to greyscale. I can only change these settings if I login to http://localhost:631 and change the printer default settings there. Is this how it is meant to work - what are plain users meant to do? PS. This is a networked printer. Are the users in the correct groups? Mine looks like this: root@fireball / # cat /etc/group | grep lp lp::7:lp,dale,dale2 lpadmin:x:106:dale root@fireball / # There could be other groups that are needed but checking those are a good idea too. Dale :-) :-)
Re: [gentoo-user] net-print/hplip-3.11.5 compile fails
Dale wrote: Oh goodie. I get to be a tester today. :-) I'll post back what happens. I usually sync between 5 and 7PM CST. The tree should be settled by then. Thanks much. I'll be back. Dale :-) :-) This is what I got just a few minutes ago. x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\" -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native -O2 -pipe -c -o hpcups-LidilCompress.o `test -f 'prnt/hpcups/LidilCompress.cpp' || echo './'`prnt/hpcups/LidilCompress.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\" -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native -O2 -pipe -c -o hpcups-dj3320ColorMaps.o `test -f 'prnt/hpcups/dj3320ColorMaps.cpp' || echo './'`prnt/hpcups/dj3320ColorMaps.cpp x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\" -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -DAPDK_LITTLE_ENDIAN -march=native -O2 -pipe -c -o hpcups-dj3600ColorMaps.o `test -f 'prnt/hpcups/dj3600ColorMaps.cpp' || echo './'`prnt/hpcups/dj3600ColorMaps.cpp x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\" -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs-march=native -O2 -pipe -c -o hplipjs.o `test -f 'prnt/filters/hplipjs.c' || echo './'`prnt/filters/hplipjs.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.11.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.11.5\" -DPACKAGE_BUGREPORT=\"3.11.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.11.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs-march=native -O2 -pipe -c -o hppsfilter.o `test -f 'prnt/hpps/hppsfilter.c' || echo './'`prnt/hpps/hppsfilter.c x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\
Re: [gentoo-user] crontab not executing
Am 20.06.2011 00:37, schrieb Grant: > One of my systems has a crontab like this to clean up and consolidate > the output of the video monitoring app "motion": > > # crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/home/grant/cron.root.txt installed on Sat Sep 25 10:42:18 2010) > # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) > 50 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.jpg > 55 23 * * * /bin/rm /home/motion/$(date -d 'yesterday' +%Y%m%d)*.avi > 59 23 * * * /usr/bin/mencoder /home/motion/$(date +%Y%m%d)*.avi -noidx > -o /home/motion/full-$(date +%Y%m%d).avi -ovc copy -oac copy > > If I execute each command manually, it works great, but nothing > happens otherwise. Can someone tell me why this crontab doesn't seem > to be executing? > > - Grant > I might be wrong but as I understand it, cron executes your commands in /bin/sh, not /bin/bash. Therefore you should use the `date -d 'yesterday' +%Y%m%d` syntax instead of $(date -d 'yesterday' +%Y%m%d). Additionally, % signs are replaced with newlines. You have to escape them: `date -d 'yesterday' +\%Y\%m\%d` Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature