Re: [gentoo-user] Gentoo minimal CD not runable on 64MB RAM machine
Hi I think that any of the live CDs are going to give you problems with 64MB RAM. I think the minimal ISO is a live CD that allows you to install Gentoo from there. You can try installing another distro on the harddrive and then installing gentoo using that distro. Compiling Gentoo on such an old machine is very brave, I hope you intend to use distcc. Regards Dirk On Fri, Feb 18, 2011 at 10:32 AM, Sharuzzaman Ahmat Raslan sharuzza...@gmail.com wrote: Hi, I have an old Pentium machine with 64MB RAM that I planned to install Gentoo. I download Gentoo x86 minimal ISO and burn it to disk. The disk was able to boot, but not able to give the command prompt, with error cp: write error: No space left on device during copying to tempfs This symptom is reproducible in Virtualbox with 64MB RAM. Any idea how to overcome this issue? Gentoo documentation mention that Gentoo should be installable on 64MB RAM machine. Thanks. -- Sharuzzaman Ahmat Raslan
Re: [gentoo-user] Re: kde 4.6.x going stable?
On Thu, Feb 17, 2011 at 8:07 AM, James wirel...@tampabay.rr.com wrote: Now that Nokia is going darkside (Microsoft) it seems that KDE (QT) has been promoted on my list of things to watch(worry) about. http://conversations.nokia.com/nokia-strategy-2011/ I hope QT survives Microsoft's ownership of Nokia. Or that the KDE devs successfully fork (and maintain) QT! cheers! James Please read this: http://www.kde.org/community/whatiskde/kdefreeqtfoundation.php It would seem that KDE fate is not entirely in Nokia's hands Regards Dirk
[gentoo-user] Freemind - big can of worms
Hi Everyone I wanted to install freemind, did a emerge -uavNDt freemind, this is what I get: [ebuild N] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex 14,714 kB [ebuild N] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source 14,798 kB [ebuild N] dev-java/batik-1.7-r2 USE=python -doc -tcl 14,708 kB [ebuild N]dev-java/rhino-1.7.2-r2 USE=-doc -examples -source 2,946 kB [ebuild N] dev-java/xml-xmlbeans-1.0.4_pre20041217 USE=-doc -source 2,380 kB [nomerge ] dev-java/xml-xmlbeans-1.0.4_pre20041217 USE=-doc -source [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [nomerge ] dev-java/jdom-1.0-r4 USE=-doc -examples -source [ebuild N]dev-java/jdom-jaxen-1.0-r1 3,489 kB [ebuild N] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test 265 kB [ebuild N] dev-java/jdom-1.0-r4 USE=-doc -examples -source 0 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [nomerge ] dev-java/ant-trax-1.8.1 [ebuild N] dev-java/ant-apache-xalan2-1.8.1 0 kB [ebuild N]dev-java/ant-trax-1.8.1 0 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] dev-java/avalon-framework-4.2.0-r1 USE=-doc -source 68 kB [ebuild N] dev-java/avalon-logkit-2.1-r4 USE=-doc -source -test 59 kB [ebuild N]java-virtuals/jms-1.1 0 kB [ebuild N] dev-java/glassfish-jms-api-1.1.2.2.04 USE=-doc -source 38,884 kB [ebuild N]java-virtuals/javamail-1.0-r1 0 kB [ebuild N] dev-java/sun-javamail-1.4.3 USE=-doc -source 1,148 kB [ebuild N] java-virtuals/jaf-1.1-r1 0 kB [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [ebuild N] dev-java/xom-1.0-r7 USE=-doc -examples -source 3,317 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/simplyhtml-0.13.1 USE=-doc -source 463 kB [ebuild N] dev-java/gnu-regexp-1.1.4-r2 USE=-doc -source 161 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] java-virtuals/servlet-api-2.2 0 kB [ebuild N] dev-java/tomcat-servlet-api-3 USE=-doc -source 64 kB [ebuild N] dev-java/xmlgraphics-commons-1.3.1 USE=jpeg -doc -examples -source -test 734 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/xsd2jibx-0.2a_beta-r2 USE=-doc -source 939 kB [ebuild N] dev-java/jibx-1.1.5-r1 USE=-doc -source 6,630 kB [ebuild N]dev-java/dom4j-1.6.1-r3 USE=-doc -source -test 9,463 kB [ebuild N] dev-java/msv-20050627-r2 USE=-doc -source 3,703 kB [ebuild N] dev-java/iso-relax-20050331-r2 USE=-source 681 kB [ebuild N] dev-java/jsr173-1.0-r1 USE=-doc -source 625 kB [ebuild N] dev-java/jaxme-0.5.2 USE=-doc -source 5,351 kB [ebuild N] dev-db/hsqldb-1.8.1.2-r1 USE=-doc -source -test 3,435 kB [ebuild N]java-virtuals/servlet-api-2.3 0 kB [ebuild N] dev-java/tomcat-servlet-api-4.1.36 USE=-doc -source 3,629 kB [ebuild N] dev-java/antlr-2.7.7 USE=cxx java python -debug -doc -examples -mono -script -source 0 kB [ebuild N] dev-java/xmldb-2001-r1 USE=-doc -source 36 kB [ebuild N] dev-java/xpp2-2.1.10-r1 USE=-doc -source 2,257 kB [ebuild N]java-virtuals/stax-api-1-r1 0 kB [ebuild N] dev-java/jgoodies-forms-1.3.0 USE=-doc -examples -source 1,290 kB [nomerge ] dev-java/jdom-jaxen-1.0-r1 [nomerge ] dev-java/jdom-1.0-r4 USE=-doc -examples -source [ebuild N] dev-java/saxpath-1.0-r2 USE=-doc -source -test 2,116 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/javahelp-2.0.02_p46 USE=-doc -examples -source 6,367 kB [ebuild N] dev-java/servletapi-2.4-r5 USE=-doc -source 4,684 kB [nomerge ] dev-java/fop-0.95 USE=-doc -examples -hyphenation -jai -jimi -source [ebuild N] dev-java/commons-io-1.4 USE=-doc -source -test 231 kB [nomerge ] dev-java/jaxen-1.1.1 USE=-doc -examples -source -test [nomerge ] dev-java/dom4j-1.6.1-r3 USE=-doc -source -test [ebuild N] dev-java/xsdlib-20050627-r2 USE=-doc -source 786 kB [nomerge ] app-misc/freemind-0.9.0_rc7 USE=pdf svg -doc -groovy -latex [ebuild N] dev-java/ant-nodeps-1.8.1 0 kB [ebuild N] dev-java/commons-lang-2.4 USE=-doc -source -test 511 kB [nomerge ] dev-java/dom4j-1.6.1-r3 USE=-doc -source -test [ebuild N] dev-java/relaxng-datatype-1.0-r1 USE=-doc -source 73 kB [ebuild N] dev-java/xpp3-1.1.4c-r1 USE=-doc -source -test 938 kB The indentation is a little weird in the pasted output, but as far as I can deduce freemind wants dev-java/fop, fop wants dev-java/avalon-framework and avalon-framework want dev-java/avalon-logkit, avalon-logkit wants
Re: [gentoo-user] Freemind - big can of worms
On Wed, Nov 3, 2010 at 10:23 PM, Alan McKinnon alan.mckin...@gmail.comwrote: [snip mind-boggling amount of emerge output...] Sorry about that :) Can you get by without pdf and svg support in freemind? You will lose jms but still need to install half of Sun's (oops, sorry - Oracle's) public repos just for java. $ USE=-pdf -svg emerge -pvt freemind Thanks, I think I will most likely go this route. First prize would be to get a mindmapper simular to freemind for KDE or Qt. Any suggestions? Regards Dirk
Re: [gentoo-user] svn tools only
2010/7/20 fajfu...@wp.pl: Hello Is it possible to emerge svn tools only. I mean I want to check out sources, commit modifications. I don't want to have the repository intalled on my machine. If it is possible what package should I install ? thanks for help Hi You can disable apache and webdav useflags, but I don't think you can avoid installing svnserve? You can choose to not use it and not create repositories on your local machine (I can't remember if portage automatically creates a repository in /var/svn, but even if it does, you do not have to use it. An empty repository takes like 150K of which 44K is example hooks that you can delete. I'm sure portage itself will also not explode if you delete the contents /var/svn? Unless you have very stringent size restrictions on your install, emerge subversion and only use what you need. Regards Dirk
Re: [gentoo-user] Udev error and how to fix it.
On Tue, Mar 16, 2010 at 10:42 AM, Dale rdalek1...@gmail.com wrote: Guess it's a keyboard error? Regards d
Re: [gentoo-user] Re: CUPS-PDF failing
On Tue, Mar 9, 2010 at 9:29 PM, Jörg Schaible joerg.schai...@gmx.de wrote: Look into /etc/cups/cups-pdf. The individual spool directories must have proper access rights (like .ssh in your home) and match the UserUMask setting. Otherwise cups-pdf will not generate the PDF, simply because others might access the directory also. With all settings as default, it should look like this: $ ll /var/spool/cups-pdf/ drwxr-xr-x 6 root root 54 2007-10-01 19:01 ./ drwxr-xr-x 7 root root 78 2007-08-25 16:50 ../ drwx-- 2 jdoe lp 6 2007-10-01 19:01 jdoe/ drwxr-x--x 2 root lp 6 2010-03-01 13:41 SPOOL/ - Jörg I changed my permission to match those above, but I get the same error in the logs. Pardon my ignorance, but what do you mean and match the UserUMask? My umask is currently set to 0022. Regards Dirk
[gentoo-user] CUPS-PDF failing
Hi I'm getting the following error from /var/log/cups/cups-pdf_log when I try to print to a PDF printer: [ERROR] failed to set file mode for PDF file (non fatal) (/var/spool/cups-pdf/dc_u/HOWTO__Install_Cups-PDF_-_Page_4_-_Ubuntu_Forums.pdf) I tried changing permission of /var/spool/cups-pdf/dc_u to a+rwx, but that made no difference. There are a bunch of emails and bugs about this on Ubuntu related forums, but it seems that the problem is related to AppAmor? Does anyone have any suggestions to resolve the problem? Regards Dirk
Re: [gentoo-user] Re: Looong delays
On Wed, Dec 2, 2009 at 3:50 PM, Nikos Chantziaras rea...@arcor.de wrote: On 12/02/2009 01:22 PM, Dirk Uys wrote: Hi This has been bothering me for some time now. I have a Dell PC at work, Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk access, the PC slows down to a halt? I remember some issue between Firefox and the kernel causing long pauses, but I've had several different kernel versions running. [...] It's a known problem. I have the same issue. But there is a solution: start disk I/O heavy tasks with ionice -c3. For emerge, this can be done automatically by putting this in your make.conf: PORTAGE_IONICE_COMMAND=ionice -c 3 -p \${PID} ionice is in sys-apps/util-linux so it should be installed already. Thanx, I don't have time at the moment to test it, but I will surely try this. Regards Dirk
Re: [gentoo-user] Looong delays
2009/12/2 Jesús Guerrero i92gu...@terra.es On Wed, 2 Dec 2009 13:22:38 +0200, Dirk Uys dirkc...@gmail.com wrote: Hi This has been bothering me for some time now. I have a Dell PC at work, Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk access, the PC slows down to a halt? I remember some issue between Firefox and the kernel causing long pauses, but I've had several different kernel versions running. I also use the ntfs-3g driver for write access to a doze partition, but although the degradation in performance more severe with the ntfs-3g driver, access to the native (ext3) partition also drags the system down for a while. I checked obvious things like whether or not I enable SMP in the kernel. I tried changing the kernel pre-emption from low latency desktop to desktop, but the problem persist. The application that is mostly involved when I get these long delays is FireFox, VMWare and emerge (emerge --sync). Everything is compiled 64bit but I have the 32bit emulation libs. Can anyone point me into some direction? Regards Dirk I know I am hitting at the obvious, but I can't be sure you already checked that. Since the applications you are using can be quite intensive in memory usage, did you check whether you are hitting swap or not? -- Jesús Guerrero It's possible, but I don't remember running into swap that much. If I ran VMWare, I normally use a machine with 2GB memory. But still, my system at home which use to have 512mb didn't run into swap with firefox running a similar amount of tabs (I normally have about 12 tabs open of which most is static HTML - reference docs) I'll try to see if there is something else eating RAM and causing me to go into swap. Thanks Dirk
[gentoo-user] Looong delays
Hi This has been bothering me for some time now. I have a Dell PC at work, Intel Core2 Duo with 4gb ram etc. Whenever something does a lot of disk access, the PC slows down to a halt? I remember some issue between Firefox and the kernel causing long pauses, but I've had several different kernel versions running. I also use the ntfs-3g driver for write access to a doze partition, but although the degradation in performance more severe with the ntfs-3g driver, access to the native (ext3) partition also drags the system down for a while. I checked obvious things like whether or not I enable SMP in the kernel. I tried changing the kernel pre-emption from low latency desktop to desktop, but the problem persist. The application that is mostly involved when I get these long delays is FireFox, VMWare and emerge (emerge --sync). Everything is compiled 64bit but I have the 32bit emulation libs. Can anyone point me into some direction? Regards Dirk
[gentoo-user] Strange X behaviour
I'm experiencing some interesting things when X starts. I have a dual-screen setup I recently upgraded to KDE4.3.1. When X starts, KDM is showed on the side of the screen. It seems like it's cut off in the middel and my desktop can scroll to the side (like having a virtual desktop). When KDE starts, the display returns to normal, but the screens are cloned and the desktop size is exactly the resolution size. If I log out of KDE, kdm shows up split across my two monitors and when i log in KDE uses the screens like I had one with w*2xh resolution. I guess kdm is calling some XrandR functions when I log out, but how do I find out what and get it to do so at the start? I'm using the ati-driver for my Radeon HD 2400 XT Sorry if my description is a bit unclear. Regards Dirk
Re: [gentoo-user] Re: mplayer configure weirdness
On Wed, Oct 7, 2009 at 9:56 AM, Igor Nemilentsev trez...@gmail.com wrote: On 06-10-2009, Dirk Uys dirkc...@gmail.com wrote: I was busy doing a system upgrade which failed halfway (due to the libxcb upgrade thing). This left my mplayer broken since ffmpeg was upgraded i guess. No problem, just emerge mplayer again. Tried it, and the emerge got stuck at Checking for freetype = 2.0.9 It just hanged there. http://bugs.gentoo.org/show_bug.cgi?id=286866 I had this problem. I then successfully compiled with USE=-openal but about couple days ago I tried with USE=openal and all went smoothly. I use media-video/mplayer-. -- Whatever you do will be insignificant, but it is very important that you do it. -- Gandhi Thanks. that solved the problem for me!
Re: [gentoo-user] gimp-2.6.4 fails with libxcb 1.4
I am experiencing the same problem as you described. Will probably only be able to further look at it tonight or tomorrow night. Regards Dirk
[gentoo-user] mplayer configure weirdness
Hi I had a lot of strange problems with mplayer the last two days. I was busy doing a system upgrade which failed halfway (due to the libxcb upgrade thing). This left my mplayer broken since ffmpeg was upgraded i guess. No problem, just emerge mplayer again. Tried it, and the emerge got stuck at Checking for freetype = 2.0.9 It just hanged there. So I tried to emerge a previous version of mplayer with the same results. Next I read the abuild and disabled all the use flags pulling in freetype. Then it got stuck on libmp3-lame, so I also disabled the mp3 use flag and tried again. This time configure succeeded and it is now busy compiling. revdep-rebuild tells me that everything except mplayer is fine? Has anyone else experienced this? Regards Dirk
[gentoo-user] Gentoo server profile
Hi everyone I'm busy installing Gentoo on a local server. I'm using default/linux/amd64/2008.0/server as the profile. I noticed that I get a nice little warning every time I emerge a package saying that the profile is untested. My main concern for using the current server profile is to get a minimal install, not security. Should I be using a different profile (like hardened) or is the one I'm using fine? Regards Dirk Uys
Re: [gentoo-user] python2.4 directory
On Thu, Mar 5, 2009 at 3:45 PM, Daniel Pielmeier daniel.pielme...@googlemail.com wrote: 2009/3/5 Evgeniy Bushkov z...@dotcomltd.ru: He already told us that he unmerged python. If you have successfully migrated to python 2.5 you should normally be able to remove this directory as this are probably leftovers from the old install where portage can do nothing about. To be save, what are the contents of this directory? Just site-packages with byte compiled python modules? -- Regards, Daniel The only remaining contents was two broken symlinks in the site-packages directory. I proceeded and manually removed the directory. I'm not expecting any problems, was just wondering why portage didn't remove this empty directories for me? Guess the broken symlinks may have played a role. Thanks for the suggestions Regards Dirk
[gentoo-user] python2.4 directory
Hi I noticed that I still had python-2.4 on my system. Did a quick run of python-updater, to make sure nothing is using python-2.4 anymore and then unmerged python2.4. Should I manually remove /usr/lib64/python2.4, or is there a way to make portage do it? Regards Dirk
Re: [gentoo-user] MonetBD on portage?
On Mon, Feb 23, 2009 at 5:41 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Mon, Feb 23, 2009 at 9:36 AM, laurent laur...@logiquefloue.org wrote: Apparently monetdb maintainer requested it to be removed from Portage. You can still access the prior ebuilds at: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/monetdb/?hideattic=0 Good luck Paul The maintainer of the ebuild or the maintainer of the monetDB project? Regards Dirk
Re: [gentoo-user] perfect IDE
I have been searching for an open source c++ IDE for some time now. I have not yet found a single IDE that is a perfect fit. When you develop something small, an editor like vim/kate/emacs can be sufficient, but when you work with larger projects created by other people, things become a litte awkward (or at least for me). ctag can help. Using doxygen to generate browsable code can also help a great deal. Create a config file to generate all documentation even for uncommented code and that includes the source in the generated documentation. Monodevelop has a c++ component in the IDE, but for some reason (mono,novell,microsoft deals) I have lost interest in it. My criticism may not be valid though, it is political. I would suggest looking at CMake. You can use CMake scripts to configure the build for a project independant of an IDE. CMake can also generate project files for Eclipse CDT, KDevelop and some other very popular c++ IDE that will not be mentioned here. KDevelop is undergoing a complete rewrite. Looks like something commond to projects with a name starting with K. It may take some time, but when finished it may be worthwhile? Eclipse is not that bad. Make sure that you get a version of Eclipse without any java plugins installed, they normally add a bunch of useless stuff. Creating an IDE is no small task. If you would like to dedecate some time, have a look at the current efforts going into kdevelop. I have heard of people that mainly target linux using the IDE which name will not be mentioned. Guess that's an indication that there is a need for a better open source linux IDE. A good step may be to ask the guys on the KDE lists (or some other big project) what IDE they are using? But, you may get a lot of frowns and the answer of emacs/vim. Regards Dirk
Re: [gentoo-user] problems running doxygen from cron
On Sat, Feb 14, 2009 at 5:22 PM, Alex Schuster wo...@wonkology.org wrote: Dirk Uys wrote: I have a problem when running doxygen from a cron job. It seems like doxygen is simply aborting at an arbitrary point during execution. I tried to search on the internet, but could not find anything similar reported. [...] My cron entry is 45 * * * * /home/user/script.sh /home/user/debug.log I would add a 21 to the cron entry in order to get stderr output logged, too. Maybe there are error messages you are missing. My cron problems usually come from the PATH being restricted, anthough this shoudl not matter in your case with the script, I think. Anyway, I'd start it with #!/bin/bash -l in order to open a login shell, and I would include the env command in the script so I can spot differences in the environment. Just some ideas, Wonko Thanks! I actually solved this one some time ago. It turned out that because I omitted 21 the stderr stream weren't created. The program tried to write to stderr and terminated because it didn't exist. Strange, but that's what happened. Regards Dirk
Re: [gentoo-user] KDE-meta 4.2 upgrade
On Wed, Feb 11, 2009 at 9:19 PM, Alan McKinnon alan.mckin...@gmail.com wrote: gotten out of the starting blocks, never mind actually there yet) and you may run into trouble building system-settings (I didn't but others have). If you are using an older compiler (like gcc-4.1.1-r3) you may get a linker error. Have a look at bug 256827. Regards Dirk
Re: [gentoo-user] KDE4.2 compile problem
On Tue, Feb 10, 2009 at 8:41 AM, Dirk Uys dirkc...@gmail.com wrote: After some more struggling I managed to get kde-base/systemsettings compiled: If I unmerge x11-libs/libxkbfile and then emerge systemsettings, it compiles fine (without support for the xkb settings). After that I did an emerge -DuvaN world and this pulls in libxkbfile again. But when I try to start KDE4.2 (using kdm), the screen blanks out a few times while kde is loading (the spash screen being displayed) and then I briefly see a malformed desktop (the bottom of the taskbar wraps around to the top of the screen) and then just a black screen. In /var/log/messages, something about plasma crashing is reported, can't remember and I'm not at the PC now, but nothing very informative. I feel like going back to my good old days of windowmaker. Regards Dirk I found bug #256827, upgraded gcc, and everything is fine and well again! Regards Dirk
Re: [gentoo-user] KDE4.2 compile problem
After some more struggling I managed to get kde-base/systemsettings compiled: If I unmerge x11-libs/libxkbfile and then emerge systemsettings, it compiles fine (without support for the xkb settings). After that I did an emerge -DuvaN world and this pulls in libxkbfile again. But when I try to start KDE4.2 (using kdm), the screen blanks out a few times while kde is loading (the spash screen being displayed) and then I briefly see a malformed desktop (the bottom of the taskbar wraps around to the top of the screen) and then just a black screen. In /var/log/messages, something about plasma crashing is reported, can't remember and I'm not at the PC now, but nothing very informative. I feel like going back to my good old days of windowmaker. Regards Dirk
Re: [gentoo-user] KDE4.2 compile problem
On Thu, Feb 5, 2009 at 8:22 AM, Dirk Uys dirkc...@gmail.com wrote: Thanks everyone for all the suggestions. I am currently waiting for emerge -DuvaNe systemsettings to finish, Ill keep the list up to date on my success. Regards Dirk Even re-emerging half of my system didn't resolve the problem. I feel like I should file a bug, but it doens't seem like it is something that will be easy to reproduce on any other machine but mine. Regards Dirk
Re: [gentoo-user] Re: Gentoo's advantage: optimized for your system -- huh?
On Thu, Feb 5, 2009 at 12:12 PM, Steven Lembark lemb...@wrkhors.com wrote: How painful is it, really, to run the job when you are asleep or away from the machine? Cron the update or use at to get the changes you want when you are away from the console. Not painful, uncomfortable: When I get back home my room will be hot and the current build would probably fail again on kde-base/systemsettings :) Regards Dirk
Re: [gentoo-user] Re: Gentoo's advantage: 'optimized for your system' -- huh?
On Thu, Feb 5, 2009 at 1:36 PM, Nikos Chantziaras rea...@arcor.de wrote: Volker Armin Hemmann wrote: wrong. The installation needs a certain difficulty to keep idiots away. Nobody needs idiots (except maybe ubuntu). That is insulting. My mother uses Ubuntu. Thanks for calling her an idiot. Obviously if someone wants to use his computer in order to get something done without doing a Ph.D on Portage and /etc first, then that person is an idiot. Great thinking. Fortunately, there are people (like the Ubuntu folks) who don't think that way and are trying to make Linux more popular to people who need a computer to do tasks that are not related to the computer itself. Idiot is such a strong word (I should probably get another name for my dog). The type of user I don't like is the ignorant type. Innocent users are ok, they don't know, but ignorant users choose not to know. And so often these ignorant users demand that they should be able to do anything on a computer. If you wish to benefit from using computers, you should be prepared to spend some time to get to know how the stuff works. The more you want to do, the more you need to know. Not: I want amarok without mysql and xyz plugin running all silky and smooth, but don't give me any command line run-arounds or lots of talk about USE flags. Regards Dirk
Re: [gentoo-user] KDE4.2 compile problem
On Wed, Feb 4, 2009 at 1:02 PM, Joost Roeleveld jo...@antarean.org wrote: Hi Dirk, Did you try fully removing the entire KDE-chain? Eg. emerge -C all the kde packages in the /var/lib/portage/world file and then removing the remaining packages using emerge --depclean ? This is what I did when moving from 3.5.10 to 4.2.0. -- Joost Thanks everyone for all the suggestions. I am currently waiting for emerge -DuvaNe systemsettings to finish, Ill keep the list up to date on my success. Regards Dirk
Re: [gentoo-user] KDE4.2 compile problem
On Tue, Feb 3, 2009 at 11:34 PM, J. Roeleveld jo...@antarean.org wrote: Today succesfully installed kde4.2 on amd64. I first removed my old KDE completely and then installed it on a clean system. Only reinstalling the old kde libs for programs that have not yet been ported to kde4.2. Not run into any problems so far. Did have to unmask (~amd64) quite a few packages to get it to install. -- Joost I should have mentioned in my original email that I run ~x86 and that I upgraded from KDE4.1. I had a few blockers which I had to emerge -C, but other than that, everything except the systemsetting and startkde package emerge fine. I tried looking at the order of the emerges, but nothing seems out of the ordinary as far as my knowledge goes. I tried rebuilding the dependacies of systemsettings, but that did not resolve the problem. What can I do about this? No one else seem to have this problem? Regards Dirk
Re: [gentoo-user] hal - what's the benefit of using it
http://www.ometer.com/hardware.html
[gentoo-user] KDE4.2 compile problem
Hi I'm trying to emerge kde-4.2, but the kde-base/systemsettings-4.2.0 ebuild fails: Scanning dependencies of target kdeinit_kxkb [ 23%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kdeinit_kxkb_automoc.o [ 24%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/rules.o Linking CXX shared module ../../lib/kcm_keyboard_layout.so CMakeFiles/kcm_keyboard_layout.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)': x11helper.cpp:(.text+0x21): undefined reference to `_XiGetDevicePresenceNotifyEvent(_XDisplay*)' collect2: ld returned 1 exit status make[2]: *** [lib/kcm_keyboard_layout.so] Error 1 make[1]: *** [kcontrol/kxkb/CMakeFiles/kcm_keyboard_layout.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs [ 24%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbconfig.o [ 24%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/extension.o [ 25%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/x11helper.o [ 25%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/pixmap.o [ 26%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/xklavier_adaptor.o [ 26%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbcore.o [ 27%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/layoutmap.o [ 27%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbapp.o [ 27%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkbwidget.o [ 28%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkb_adaptor.o [ 28%] Building CXX object kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/kxkb_part.o /var/tmp/portage/kde-base/systemsettings-4.2.0/work/systemsettings-4.2.0/kcontrol/kxkb/kxkb_part.cpp:37: warning: unused parameter 'args' Linking CXX shared library ../../lib/libkdeinit4_kxkb.so CMakeFiles/kdeinit_kxkb.dir/x11helper.o: In function `X11Helper::registerForNewDeviceEvent(_XDisplay*)': x11helper.cpp:(.text+0x21): undefined reference to `_XiGetDevicePresenceNotifyEvent(_XDisplay*)' collect2: ld returned 1 exit status make[2]: *** [lib/libkdeinit4_kxkb.so] Error 1 make[1]: *** [kcontrol/kxkb/CMakeFiles/kdeinit_kxkb.dir/all] Error 2 make: *** [all] Error 2 I have the latest version of libXi (1.2.0). I tried searching the net, but the only answer I got was that some guy on the kde forums had the same problem and resolved it by installing the latest version of libXi from the repository. Have anyone else successfully built kde4.2? Regards Dirk
Re: [gentoo-user] Re: games-fps without blood
On Tue, Feb 3, 2009 at 5:39 AM, Andrew Gaydenko a...@gaydenko.com wrote: Ups.. He-he... :-) I have thought it is frame per second - is related to 3D reality reconstruction, where GL, *fps* and such are needed, used, told about. Fine! Probably there are not-FPS :-) beauty (rich 3D) games for little boy, are not they? I would recommend Tower Toppler (http://toppler.sourceforge.net/) and Kiki The Nanobot (http://kiki.sourceforge.net/). I think both of them are in the portage tree. I enjoyed playing them alot and according to some the differences between me and a 7 year old is not that big :) Regards Dirk
Re: [gentoo-user] KDE 4.2: Emerge of ksysguard and ksmserver failed
On Thu, Jan 29, 2009 at 10:03 AM, Tomas Linhart tomas.linh...@gmail.com wrote: 2009/1/29 Volker Armin Hemmann volkerar...@googlemail.com: re-emerge the qt packages in the right order. then emerge kdelibs again, then the rest. Stuff like this happens when qt is updated after kdelibs is built against it. Thanks for your answer. I not at my box just now so I will try that later today. But I have re-emerge all qt packages and also kdelibs yesterday but I am not sure in which order... Before I start again - what is the right order for emerging the qt packages? Tomas I would assume that the right order is to emerge all the qt libraries, and then kdelibs? Regards Dirk
[gentoo-user] /usr/share/config permissions
Hi What are the permission supposed to be for the /usr/share/config directory? On my system only root had access to this directory causing kdm to fail when it tries to run /usr/share/kdm/Xsession. I fixed the error by changing the permission with chmod a+rx /usr/share/config. Are /usr/share/config supposed to be readable by any user, or have I opened up a big security whole on my system? I saw a simular old bug about this with kde 3.3 (http://bugs.gentoo.org/65392) where the permissions of /usr/kde/3.3/share/config/kdm/Xsession was wrong. Regards Dirk
[gentoo-user] problems running doxygen from cron
Hi I have a problem when running doxygen from a cron job. It seems like doxygen is simply aborting at an arbitrary point during execution. I tried to search on the internet, but could not find anything similar reported. I have the following script: script #!/bin/bash echo `date` /home/user/cron.log /usr/bin/svn update /home/user/source/ /bin/cp /home/user/live_doc /home/user/source/ echo == Start Doxygen == /usr/bin/doxygen /home/user/source/live_doc echo == Doxygen completed == /bin/cp -R /home/user/source-doxy/html/* /home/www/source-doxy/ echo == Copy completed == /script My cron entry is 45 * * * * /home/user/script.sh /home/user/debug.log When I run the script from the command line it works fine and doxygen executes successfully, but when cron executes the script, doxygen simply aborts at some point: snip from debug.log Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.cpp... Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h... Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionlist.h... Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp... Parsing file /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.cpp... Preprocessing /home/dcuys/vgd_m/gripentactics/source/titles/grdetectionvolumes.h... Par == Doxygen completed == == Copy completed == /snip from debug.log I'm using vixie-cron-4.1-r10 and doxygen-1.5.4 Regards Dirk
Re: [gentoo-user] emerge -U?
On Tue, Jan 13, 2009 at 10:49 PM, Dale rdalek1...@gmail.com wrote: Willie Wong wrote: Come on, I am only 25! I can't be the only *old-timer* who remembers this option! W You are not alone. I remember it too. I even used it a couple times. I can't say it was worth it tho. Oh, I'm 41. Dale :-) :-) I used to use -U round about 2004. Reason I used it was because I emerge unstable packages by setting the ACCEPT_KEYWORDS environment variable. I learnt better ways of doing it and started using the ~x86 branch, so my need for it disappeared. I remember seeing deprecated warnings about it soon after I started using it, but I'm not sure when it was removed. I'd rather not go into my age :) Regards Dirk
Re: [gentoo-user] Re: KDE build problem (shifted)
On Sat, Nov 22, 2008 at 4:56 PM, Christian Apeltauer [EMAIL PROTECTED] wrote: Look at bug #246568. There you will find a patch which worked for me. Someone has also posted an ebuild integrating that patch. But it does not work for everybody and the bug was closed as a problem with upstream. But perhaps the patch works for you. Good luck Christian Thanks, but this problem has disappeared leaving me with the original problem again. My work on my home gentoo install is being spread other long periods of time, so I seem to forget what I do/have done. Regards Dirk
[gentoo-user] KDE build problem (shifted)
I posted yesterday about a problem with building kdelibs. I did an emerge --sync and tried again. This is the error I get: [ 51%] Building CXX object kio/CMakeFiles/kio.dir/kio/kdirlister.o /var/tmp/portage/kde-base/kdelibs-4.1.3-r1/work/kdelibs-4.1.3/kio/kio/kdirlister.h: In member function 'void KDirListerCache::DirectoryData::moveListersWithoutCachedItemsJob()': /var/tmp/portage/kde-base/kdelibs-4.1.3-r1/work/kdelibs-4.1.3/kio/kio/kdirlister.h:636: error: 'KDirLister::Private* const KDirLister::d' is private /var/tmp/portage/kde-base/kdelibs-4.1.3-r1/work/kdelibs-4.1.3/kio/kio/kdirlister.cpp:2527: error: within this context [ 51%] Building CXX object kio/CMakeFiles/kio.dir/kio/kdirmodel.o Where to go from here? Regards Dirk
Re: [gentoo-user] openoffice emerge failing
On Thu, Nov 20, 2008 at 2:59 PM, Dirk Heinrichs [EMAIL PROTECTED] wrote: Am Donnerstag 20 November 2008 13:49:51 schrieb ext deface: Just an IMO, compiling OO is idiotic, use the -bin Here's another one: using a binary package that most likely doesn't fit into your otherwise self-compiled system is even more idiotic. Bye... -- Dirk Heinrichs Saying compiling OO is idiotic is a bit harsh and a generalization, but there are merit to the underlying idea. First off, as far as I can remember, compiling OO from source and installing the binary version is not exactly the same. The source one install OO from go-oo.org while the binary package is the normal Sun OO. Another reason is that OO is reputed for having a very complicated build system that takes up a lot of resources to complete. Depending on the hardware you are doing this on using a binary package that most likely doesn't fit into your otherwise self-compiled system may not be that idiotic. Regards Dirk
[gentoo-user] KDE build problem
Hi I'm trying emerge the new KDE4, but I get the following problem with kde-base/kdelibs-4.1.3-r1 [ 50%] Building CXX object nepomuk/core/CMakeFiles/nepomuk.dir/nepomuk_automoc.o Linking CXX shared library ../../lib/libnepomuk.so [ 50%] Built target nepomuk make: *** [all] Error 2 This is from the build.log and I can't seem to find any other or more verbose error. I tried emerging nepomuk first, but it pulls in kdelibs as a dependancy. Where can I look to get more detail on the error? Regards Dirk
Re: [gentoo-user] KDE build problem
On Fri, Nov 21, 2008 at 8:56 AM, Dirk Heinrichs [EMAIL PROTECTED] wrote: If I remember right, I have seen this already on this list a while back, but since I didn't knew a solution, I didn't follow it. However, it may be worth searching the list archive, maybe that former thread can give you more info. HTH... Dirk -- Dirk Heinrichs I think I found that post in the list archives ([gentoo-user] Another error when emerging kdelibs-4.1.3-r1]). It is as Dale said, but I noticed something strange. On one archive I only saw the original post and then the request for more info, but in another archive, I find this: http://marc.info/?l=gentoo-userm=122710777022556w=2 Anyway, the mail describes my own problem very accurately. I really hope someone can help. Regards Dirk
Re: [gentoo-user] Getting rid of all kde components
On Tue, Nov 18, 2008 at 8:14 AM, Harry Putnam [EMAIL PROTECTED] wrote: I've decided to stop using KDE after yrs of use... given that gentoo compiles everything from scratch, its just getting to much time lost jacking around with kde during upgrades. But also I'd forgotten what the oldtime linux desktops were like. fvwm was the main one in use when I started circa 1997. I see blackbox is even a bit more stark... but since I am mainly command line oriented it doesn't present a problem. ... I don't know if you have all the KDE stuff installed, because that does take ages, and pulls in the whole KDE kitchen sync. When I install kde I emerge kdesktop (or startkde, cant remember now) and let it pull all its dependencies. This normally results in a very cut down kde - no sound mixer, games, kmail, moonphase applets, etc. (a lot less time spent updating) Or try WindowMaker, I used to use it and I'm still very fond of it. Regards Dirk
Re: [gentoo-user] Headless gentoo install
On Fri, Nov 14, 2008 at 2:05 PM, Momesso Andrea [EMAIL PROTECTED] wrote: I need to install gentoo on an headless server. The problem is that I cannot attach a video on it at all, neither for the installation. I asked the seller to setup the bios for cd boot as main option, so that I can use a live distro for the gentoo installation. I know for sure that both the gentoo livecd and systemrescuecd need user interaction to setup ssh (at least I have to choose a root password). I think it won't be too difficoult to do it blind: - Insert cd - Poweron the machine - Wait a while - Type passwd ** ** /etc/init.d/net.sshd restart But I'm sure somewhere there are livecds with a fixed root password, that start dhcp and sshd on boot. Possibly x86_64. Does anyone know such a livedistro, or can anybody suggest a different method for my installation? This is the machine: http://cgi.ebay.it/ws/eBayISAPI.dll?ViewItemssPageName=STRK:MEWNX:ITitem=280282897816 Have you considered using one of the usb distros available. I think it's easy to configure ssh with a know password. Have a look at http://www.pendrivelinux.com/. Haven't booted a linux from usb myself, but I think it should work? Regards Dirk
Re: [gentoo-user] vwmare-player block
On Thu, Nov 13, 2008 at 10:01 AM, Neil Bothwick [EMAIL PROTECTED] wrote: Each vmware package depends on a specific modules version. In order to update vmware-player, you must first update vmware-modules,but that version is blocked by the existing player. There are two alternatives Unmerge vmware-player then reemerge it. Upgrade to the latest portage, which handles these blocks for you. -- Neil Bothwick Thanks, problem fixed. ps. Will it be ok if I upgrade portage to an unstable version while running a stable portage tree? Regards Dirk
Re: [gentoo-user] Transferring an existing install to new disk
On Wed, Nov 12, 2008 at 4:54 PM, Alan Mackenzie [EMAIL PROTECTED] wrote: Hi, Dirk, Hi, List! On Wed, Nov 12, 2008 at 09:59:09AM +0200, Dirk Uys wrote: - Update the grub.conf to pass the correct root. (btw, does anyone use anything other than grub these days?) Yes. I use LILO. My lilo.conf traces its ancestry back to my original Linux installation, SuSE 5.3. Why? Because learning grub would take time. Maybe not very much time, but it would take some. By contrast, although learning LILO took a very great deal of time, that time is already spent, and can never more be got back. Putting an extra entry into lilo.conf and regenerating the boot loader now takes, at most, a few minutes. But if the motivation of your question is simplifying Gentoo by leaving out LILO, that wouldn't bother me at all. While I've still got a Debian on my PC, I can use it to lie low, and when I need to learn grub, no big deal. In fact, by the time I get to learn grub, it will, in its turn, probably have been superseded by something else. :-) Regards Dirk -- Alan Mackenzie (Nuremberg, Germany). I was just curious. I like having choices, so I wouldn't opt for leaving out LILO from gentoo. Regards Dirk
Re: [gentoo-user] Re: How to fix a hefty (emerge) blocking problem
On Fri, Nov 14, 2008 at 12:38 AM, Volker Armin Hemmann [EMAIL PROTECTED] wrote: On Thursday 13 November 2008, Dan Wallis wrote: On 13/11/2008, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 7:05 PM, Dan Wallis [EMAIL PROTECTED] wrote: On 12/11/2008, Volker Armin Hemmann [EMAIL PROTECTED] wrote: as root: lspci Why as root? I get exactly the same output when I run it as my own user as when I run it as root. Or have I got my system set up different to everyone else? $ lspci bash: lspci: command not found echo ${PATH} /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1. 2:/opt/sun-jre-bin-1.5.0.06/bin:/opt/sun-jre-bin-1.5.0.06/javaws:/usr/game s/bin At least in my system, the lspci binary resides in /usr/sbin, which is not in ${PATH} So you should either call lspci as root or issue the explicit command /usr/sbin/lspci Yes, I do have that directory in my PATH. That said, if you want to use the -v flag of lspci (for extra verbosity), you should be root, or you will see some fields filled with access denied Thanks for the tip; I didn't know about the verbose flag. It looks like that'll come in useful when I do my next build in a few weeks. not really. For an enduser --verbose isn't very helpfull. Don't know if I qualify as an end-user, but I find: Kernel driver in use: very usefull.
[gentoo-user] vwmare-player block
Hi I'm running a stable gentoo installation and getting a block on vmware-player: [ebuild U ] app-emulation/vmware-player-2.5.0.118166 [2.0.5.109488] 61,559 kB [ebuild N] app-emulation/vmware-modules-1.0.0.23 478 kB [blocks B ] =app-emulation/vmware-modules-1.0.0.23 (is blocking app-emulation/vmware-player-2.0.5.109488) I have the following in /etc/package.keyworkds/vmware-player file /etc/package.keyworkds/vmware-player app-emulation/vmware-player ~amd64 app-emulation/vmware-modules ~amd64 dev-cpp/libsexymm ~amd64 x11-libs/libview ~amd64 /file Is this just a consequence of mixing stable and unstable, or is there a way I can get around this? Regards Dirk
Re: [gentoo-user] Transferring an existing install to new disk
On Wed, Nov 12, 2008 at 9:35 AM, Harry Putnam [EMAIL PROTECTED] wrote: I should know how to do this but so many changes have happened recently and I haven't done anything like this for a very long time. My desktop version of gentoo is pretty far out of date. And I think there have been enough changes that I don't even want to try to get it cleaned up. Rather, I'd like to build up a newly installed gentoo to the point where it has all the stuff I want. But do it inside a vmware virtual machine. I'm trying to keep my working desktop in place until such time as the vmware gentoo setup is ready Once that install is up to speed with all my preferred apps in place. And any kinks worked out... Only then use it to overwrite my desktop OS. Or reformat that disk and move the vmware gentoo version to it. The vmware gentoo would be guest on a windows XP pro machine. I'd like to hear any comments concerning what problems I might run into or whether the plan is likely to be a serious mess. Also wouldn't mind seeing a rough outline of how to make that kind of move. I've thought about this myself, but I think there are some issues. The hardware that vmware can simulate are limited and may not match your actual hardware. This does not mean it's impossible, but you may need to set network, graphics ,etc up again once the system is transferred. Guess the steps will be pretty much the same as for transferring between partitions or similar machines - make sure all the required modules for the target system is compiled in the kernel. - Update /etc/fstab to point to the correct devices. - Update the grub.conf to pass the correct root. (btw, does anyone use anything other than grub these days?) - Use tar (with appropriate flags to keep permissions and symlinks in place) to transfer all the files - Install the bootloader on the target MBR I may have missed a few things, but that's everything I currently remember. Regards Dirk
Re: [gentoo-user] Installing software without an internet connection
On Wed, Nov 5, 2008 at 5:01 AM, Lorenzu Hewa, Gayan Neomal [EMAIL PROTECTED] wrote: Hi I was able to complete the Gentoo installation and boot into my system successfully. I only downloaded the Live CD, But the live CD only contains a limited number of packages and... I do not have an internet connection at home since its very expensive for us. Is their any possible way that i can get a Software collection downloaded for my Gentoo box . I have a P3 with 256 RAM when xfce is combined with Gnome my PC runs slow. I am not much of a xfce/Gnome /KDE fan but since I have no way of getting packages in to my PC I am facing difficulties. Also my gentoo root partition (/) is only 5GB But it has already consumed almost 50% of the partition space. Is their a possible way of getting more spacxe freed in the PC . Thanks Regards, Gayan Lorenzu Hewa | Sub Officer | Wholesale Banking Corporate Service Center | Standard Chartered Bank (: 0115-397335): 0773-652003 6: 0115-397337 *: [EMAIL PROTECTED] Did you get the minimal live CD? If possible, try to get the live cd that at least contains a stage3 tarbal, a portage snapshot, and some precompiled packages. As a side note: for a PC running on low specs I would recommend using a window manager like WindowMaker or IceWM. Both of them are very lightweight. Regards Dirk
Re: [gentoo-user] Installing software without an internet connection
On Wed, Nov 5, 2008 at 9:18 AM, Lorenzu Hewa, Gayan Neomal [EMAIL PROTECTED] wrote: I Used the Live CD ... It does contain few packages like X11,xfce4, gdm , some network utils,vim . But I need to get other packages which I need. lIke Gcj , fluxbox , mpg321 ... Even though it has only few packages installed it consumes a lot of disk space... that another problem im having. Thanks Regards, Gayan Lorenzu Hewa | Sub Officer | Wholesale Banking Corporate Service Center | Standard Chartered Bank (: 0115-397335): 0773-652003 6: 0115-397337 *: [EMAIL PROTECTED] I used to run an offline gentoo setup. You can use emerge -upvf package-name(s) to get a list of files you need to obtain. Pipe the output of that to some file, do some grep/sed to remove duplicates and remove the multiple urls. Write a script to fetch all the files in your file list. It can be as simple as for file in `cat filelist` do wget $URL/$file; done; When you get to an internet connection, run the script to fetch all the files. Copy the files you just downloaded to /usr/portage/dist and emerge the package normally. Here is a link to a project I used before: http://www.tlug.org.za/wiki/index.php/Ogentools. I don't know if it's still active? The /usr/portage/distfiles directory can very quickly grow, clean it up every now and then. Check the /var folder. When aborting ebuilds with ctrl-c some files are left behind in /var/tmp/portage/. Lastly I'd like to say, I feel for you, running gentoo offline can sometimes be a painful process. Regards Dirk
Re: [gentoo-user] package.keywords syntax?
On Thu, Oct 30, 2008 at 9:12 PM, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: It seems you did not get the point. To attribute a floating point number to an integer variable is perfectly valid, depending on the specific program. The compiler normally does not even warn about this, as this is perfectly valid (from my testing, the compiler only warns if you are using gcc 4.3, and specify -Wconversion, an option that is not included in -Wall and not even in -Wextra). Yes, you are right. I was doing what some people would like to call speaking out of my ass :) C++ compiled with gcc does give you a warning with -Wall. I just assumed that C did the same, its been some time since I coded pure C. Regards Dirk
Re: [gentoo-user] package.keywords syntax?
On Thu, Oct 30, 2008 at 9:11 PM, Albert Hopkins [EMAIL PROTECTED] wrote: I'm coming into this thread kinda late, so feel free to ignore... ... but Jorge is right. This is easily picked up by a lint tool... and good python programmers use them ;-). Some python-aware editors even have this functionality built in. Using the above example: $ pylint who_no.py ... C: 1: Missing docstring C: 5: Comma not followed by a space for i in range(1,1): ^^ E: 8: Undefined variable 'malformed' E: 8: Undefined variable 'beast' Thanks, that sounds like a utility i may use in the future. I don't like having to use a separate tool to make sure I didn't perhaps make a typo while typing some variables name, but I find python useful enough to oversee that. Regards Dirk
Re: [gentoo-user] package.keywords syntax?
On Wed, Oct 29, 2008 at 10:13 PM, Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote: The real problem is when you type float real_number = 4e10; int integer = real_number; If your integer can only hold values up to 2^31 - 1 , the behavior of the above code is undefined. In a language like Python, everything either behaves as you intended, of throws an exception. This is why I say In C, you must completely understand the behavior of every statement or function, and you *must* handle the possibility of errors. The line: int integer = real_number; will produce a warning. (or an error if you are smart enough to compile with -Werror) But, if you know that the real number will be small enough and you don't mind getting the floor of the float, you may wish to ignore the error. Like mr McKinnon said, c will allow you to do wrong things. Depending on what you are doing, the babysitting of python, may or may not be a problem. One thing I would like to know (not knowing python that well), is when you make an error in python, when will the exception be thrown? At the start of run-time, or when the guilty code is encountered? And what if that code is in a codebranch that gets executed 0.0005% of the time? Regards Dirk
Re: [gentoo-user] package.keywords syntax?
To back myself up: file name=why_no.py #!/usr/bin/python import random for i in range(1,1): if random.random() 0.001: print rare if malformed beast: print kick me in the ... else: print whatever /file Regards Dirk
Re: [gentoo-user] How to get OpenOffice spell checker to work?
On Tue, Aug 19, 2008 at 1:51 PM, William Kenworthy [EMAIL PROTECTED] wrote: I have run it at times in the past - built in place OO has its problems, but overall its more stable and faster than then the binaries. Its also been a couple of years since my last try so I might have another look at it. -- William Kenworthy [EMAIL PROTECTED] Home in Perth! I've read a while ago that the source compile of open office uses go-oo while the binary installation is the official OpenOffice (http://www.linux.com/feature/143570 - read the comments). quote Posted by: Anonymous [ip: 83.18.171.115] on August 08, 2008 09:11 AM actually, installing openoffice from source has a advantage - source package is from go-oo.org and binary is straight from openoffice.org. and they are way different - the one from go-oo.org has tons of patches which add extra features. /quote Regards Dirk
Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated
On Fri, Aug 15, 2008 at 8:45 AM, Alan McKinnon [EMAIL PROTECTED] wrote: Hi all, Maybe someone here has seen this before: amd64 2.6.26-gentoo KDE-4.1 nVidia 8600M GT nvidia-drivers-177.13 (latest unstable) nvidia OpenGL xorg-server-1.4.99.906 Yes, it's bleeding-edge :-) This is in an effort to get some performance out of what should be a very decent video card. It also eats babies, or more often the window decorations on konsole. About once a day I find my konsole is no longer decorated, and I can't get kwin to put them back. I could close and open konsole but that's a hassle and involves re-doing the umpteen sessions I always have open. I tried kwin -- replace but that crashes KDE and/or X (not sure which) Is there an easy way to get kwin-4.1 to redecorate a single open window? -- alan dot mckinnon at gmail dot com I don't know about the bug, but screen can safe you the hassle of having to open all your sessions again?
Re: [gentoo-user] kwin-4.1 sometimes leaves konsole undecorated
On Fri, Aug 15, 2008 at 9:22 AM, Alan McKinnon [EMAIL PROTECTED] wrote: On Friday 15 August 2008 09:12:06 Dirk Uys wrote: I don't know about the bug, but screen can safe you the hassle of having to open all your sessions again? Screen is indeed god's gift to sysadmins, it's almost as useful as bash :-) I do use it a lot, and for more and better reasons than just recovering from terminal crashes, but I'd still have the hassle of ssh'ing into all those machines all over again. But you can open a screen session on your client pc in konsole and ssh from different screen sessions? Screen - ssh - screen ? Dunno? This is just me waffling a bit, the desire to speak up and having something to say is not always the same thing I guess? Regards Dirk
Re: [gentoo-user] KDE-4.1 apps render slowly
On Sat, Aug 9, 2008 at 9:14 PM, Alan McKinnon [EMAIL PROTECTED] wrote: You nasty horrible terrible man you. Did you have to remind me of that? :-) Notebook was delivered 10 days ago on a Friday. That night I read the post about it on slashdot. I'm so pissed about this card that I'm tending to ignore it and hope the problems will go away (which they won't...) It's a mobo :-( That means a motherboard replacement and I don't know what Dell SA's position is on this. I'll have to check with the company account manager, but I think my only recourse is going to be a Keep the customer happy! internal POV. That and the fact that we buy truckloads of their servers, and a standard 40% discount across the board on all Dell products. Wish me luck -- alan dot mckinnon at gmail dot com You always have the option to keep using KDE 3.5.x until your driver problems are resolved. KDE4.1 is nice, but not a must have to get work done in most cases. Good luck in any case! Dirk
Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?
On Sun, Aug 10, 2008 at 7:11 PM, b.n. [EMAIL PROTECTED] wrote: Hi, I ask it here because I really don't know where to ask it. Is there a Linux system somewhere with a *non-GNU* userland? I wonder in particular if: - there are Linux systems using the BSD userlands - there are Linux systems using completely non-standard userlands... let's say, non-Unix tools on top of a Linux kernel. Only thing I can think about is (maybe) embedded systems or things using busybox, but in the latter case just imitating gnu or bsd userlands. Not that I have a real purpose for such a bizarre beast, I'm just curious. m. A while back I read something about people using a LLVM toolchain. I think it still includes gcc, but it was interesting (and if I remember correctly, it was attempted with gentoo). If I could just find the link? ahah http://developers.slashdot.org/article.pl?sid=08/02/12/1431222 Don't know if that's really what you're asking. Just ignore me Regards Dirk
Re: [gentoo-user] [extremly, wildly, obscenely OT] Is there a Linux system without GNU userlands?
On Sun, Aug 10, 2008 at 7:11 PM, b.n. [EMAIL PROTECTED] wrote: Hi, I ask it here because I really don't know where to ask it. Is there a Linux system somewhere with a *non-GNU* userland? I wonder in particular if: - there are Linux systems using the BSD userlands - there are Linux systems using completely non-standard userlands... let's say, non-Unix tools on top of a Linux kernel. Only thing I can think about is (maybe) embedded systems or things using busybox, but in the latter case just imitating gnu or bsd userlands. Not that I have a real purpose for such a bizarre beast, I'm just curious. m. A while back I read something about people using a LLVM toolchain. I think it still includes gcc, but it was interesting (and if I remember correctly, it was attempted with gentoo). If I could just find the link? ahah http://developers.slashdot.org/article.pl?sid=08/02/12/1431222 Don't know if that's really what you're asking. Just ignore me Regards Dirk
Re: [gentoo-user] way off-topic - is it possible to log webmail messages content in an enterprise network
On Wed, Aug 6, 2008 at 3:45 AM, Francisco Ares [EMAIL PROTECTED] wrote: Hi, guys. Sorry to post such off-topic message, but I didn't know where I could ask this question. I know that things such as address, trafic, bandwith are easy to be tracked and logged, but what about, say, my gmail messages - is it possible to log them also? Which package should I use or look for? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw Look at beagle. I know they have a gmail backend that can index your gmail emails. Alternatively you can setup a mail client to download the email from the webmail and then index/log/track it locally. Regards Dirk
Re: [gentoo-user] Good Library Management software
On Wed, Jul 16, 2008 at 9:49 PM, Stroller [EMAIL PROTECTED] wrote: The screenshots of this look really nice, however to me this seems like a really odd motivation for writing a program: I started developing it when I couldn't find a personal database program for KDE which didn't using a SQL backend. What's wrong with an SQL backend that needs you to re-invent the wheel? I'm not saying there's a better collection manager out there, or that the author's in the wrong for doing it the way he has. But it just seems a little odd, and I'd love for him to explain his reasons more fully. Stroller. -- gentoo-user@lists.gentoo.org mailing list I personally have a problem running a SQL server just so that some app that I use every now and then can store its data. I don't print that often, so why would I have the CUPS daemon running 24/7 when I print a page once every two weeks? Other than that there is also the added complexity to the installation. You have to create a user in the database, create the database and grant the user all the needed permission to that specific database. And what if one app prefers mySQL and another one postgreSQL? Now I need to run two database servers that will be quite capable to fill the data needs of two small businesses just because I want to use a music player and a library utility for my ~50 books laying around. The app should at least give you the option to use somethings else like SQLlite. But, that is just my viewpoint and I felt like I had to defend the developers motivation. Regards Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] DNS poisoning fix
On Thu, Jul 10, 2008 at 3:35 PM, Dave Oxley [EMAIL PROTECTED] wrote: I've installed 9.4.2-P1 but http://www.doxpara.com/ says I'm still vulnerable. What more do I need to do? Cheers, Dave. Mick wrote: Hi All, Have you seen this? http://uk.news.yahoo.com/afp/20080709/ttc-us-it-internet-software-crime-e0bba4a.html and this? http://www.doxpara.com/ Is it merely a matter of using the right version of bind (for those who run a bind daemon locally), or does it go further than that? -- gentoo-user@lists.gentoo.org mailing list I think if your DNS server forwards a DNS query to any other server that is not yet patched, you are still vulnerable. Complain to your ISP or forward DNS requests to different name servers. Hope this helps Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] on cdr{kit,tools} and licensing
2008/7/9 Joerg Schilling [EMAIL PROTECTED]: Sebastian Günther [EMAIL PROTECTED] wrote: Da mein Englisch hier von einem Engländer kritisiert wurde muß ich wohl in Deutsch antworten damit dieser Mensch mich besser versteht... You obviously missread the GPL. See your other mail that verifies that you did not understand the GPL correctly. No, the only thing is that I don't apply to *your* *interpretation* of the GPL, and I'm not alone, Debian is with me. Es gibt mehr als einen Geisterfahrer, das was Du vorbringst ist also kein Beweis, denn Gesiterfahler fahren nunmal falsch auch wenn es viele davon gibt. But remember your opinion and mine are just *opinions*, only a court of law could proove eitherof us wrong. Ich verwende die Auslegung die auch Anwälte verwenden. Das Problem ist, wie ich bereits erklärt habe daß Debian und andere Linux Distributoren bislang keinen Anwalt befragt haben. Für mich sind Aussagen von Anwälten aber deutlich glaubwürdiger als Aussagen von Laien die mich und meine Projekte zudem in aller Öffentlichkeit angreifen. You look confused. the schily makefilesystem is a generic part of the toolchain. This piece of software does not need to be delivered at all. If your claim was made for serious, you would be also require to deliver e.g. the shell scripts true and false because they are read by the configure shell script. OK, Jörg, we agree on smake must not be included in the distribution, but can you build the binary without any of the files in RULES/ ? Du kannst auch ohne C-Kompiler keine Kompilation durchführen. Du benötigst allerdings keinen bestimmten C-Kompiler. Genauso ist auch das separate Programmsystem Das Schily Makefilesystem einzustufen. Es ist nichts weiter als ein weiterer definitiv von den anderen Programmen in den cdrtools unabhängiger Baustein. Eine Kompilation ist teschnisch auch ohne die Dateien in RULES/ möglich. Let us stop here and continue after you managed to understand the difference between - the bucket contains water and - the water contains a bucket Ok in this special case: The bucket is the instructionsset to build cdrtools, and you put fire (CDDL Makefile) and water (GPL Makefile) in it. Won't work! Völlig daneben :-( Nochmal auf Deutsch, damit es jeder versteht: - In dem Eimer ist Wasser - Im Wasser ist ein Eimer sind nicht äquivalente Ausdrücke weil sie eine _Richtung_ enthalten. Die Bestimmungen in der GPL sind genauso: Sie beinhalten eine Richtung. Die GPL verbietet, daß GPL-Code durch nicht-GPL-Code verwendet wird. Die GPL verbietet aber _nicht_, daß GPL-Code nicht-GPL-Code verwendet. Die GPL will nichts als verhindern, dan GPL-Code in nicht GPL Programmen auftaucht. Wenn Du mal einen Vortrag von RMS gehört hast dann solltest Du wissen, daß das genau das ist was RMS verhindern will. Die Aussagen der FSF GPL und CDDL seien inkompatibel kann man nur als peinlich einstufen, weil die korrekte Aussage wäre: GPL und CDDL sind nicht beliebig mischbar. Die Fälle bei denen GPL Code nicht-GPL-Code verwendet sind sogar durch RMS _ausdrücklich_ gewünscht weil die GPL sonst heute völlig irrelevant wäre und von niemandem verwendet würde. Die Aussagen von der FSF und von Debian sind auch deshalb so peinlich, weil sie etwas äquivalentes zu Wasser und Eimer sind inkompatibel behaupten. Dabei ist Wasser im Eimer ausdrücklich erwünscht, nur ein Eimer im Wasser wird halt ungern gesehen. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED](uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily -- gentoo-user@lists.gentoo.org mailing list It saddens me to see messages like these being sent on this mailing list. I haven't been around very long, but it seems that these kind of messages are repeatedly posted on this mailing list and I see no criticism of this on the list. I do not feel this discussion is relevent to gentoo. Can you please take you battles elsewhere. I do not wish to be your adience! This leads me to the question of whether this kind of conduct is accepted on the gentoo-user mailing list. If this is indeed the case I would accept that and deal with it in a way that I choose. I hope this sort of thing can stop, because I really learn a lot from the posts that are sent on this list. Regards Dirk ps. This message is not directed to a certain author of this thread, I feel that it is not a single person responsible for all the OT debate going on. -- gentoo-user@lists.gentoo.org mailing list
Fwd: [gentoo-user] beagle and thunderbird
-- Forwarded message -- From: Nirbheek Chauhan [EMAIL PROTECTED] Date: Mon, Jun 30, 2008 at 2:33 PM Subject: Re: [gentoo-user] beagle and thunderbird To: Dirk Uys [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] On Mon, Jun 30, 2008 at 3:14 PM, Dirk Uys [EMAIL PROTECTED] wrote: [...] So I have app-misc/beagle-0.2.18 now, with USE-flags eds gtk pdf python thunderbird xscreensaver, along mail-client/mozilla-thunderbird-2.0.0.14 ... And I have gnome-extra/deskbar-applet-2.20.3 installed for searching. [...] Google Summer of Code 2007 sponsored a beagle project on the Thunderbird backend. The work is finished and was merged in svn trunk in September, 2007. The thunderbird backend will be available in 0.3.0+. Should I unmask this unstable release to get the feature I am looking for? You will have to keyword the following: app-misc/beagle dev-libs/libbeagle dev-dotnet/dbus-sharp dev-dotnet/dbus-glib-sharp dev-dotnet/taglib-sharp You will want to build Beagle with -eds otherwise that will add additional deps on evolution-data-server etc which you probably don't need since you use thunderbird. Also, don't build Nautilus or Yelp with the beagle USE flag, the stable versions (2.20) of both depend on beagle-0.2.18 If you face problems, feel free to mail this list or catch me (bheekling) or Arun (Ford_Prefect) on #gentoo-desktop @ FreeNode or #dashboard @ GimpNet (depending on whether the question is gentoo-specific or beagle-specifi ;) Should things behave as I expect them to behave? Beagle should behave, cedk (the maintainer) has kept the package in good shape :) Do I have to configure something somewhere? Probably not. Your profile will be migrated automatically. Once again, feel free to contact me or Arun if you face problems. This will help us as well since Arun has recently started pushing for getting Beagle stabilised with GNOME 2.22, and we would appreciate it if we could get some testers :) -- ~Nirbheek Chauhan -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Huh? Can't find a KDE volume control
On Thu, Jun 12, 2008 at 4:37 PM, Kevin O'Gorman [EMAIL PROTECTED] wrote: Okay, it's early and I'm feeling stupid. But with all the KDE packages, I can't find one that actually controls the sound volume. Usually, I like to have the sound on but when I'm playing games it's sometimes just too much noise. I've looked in the KDE control center, and can't find anything that does the job. Presumably I haven't emerged the crucial thing. I do have arts emerged, and in my USE flags, or my KDE games would be mute. What do you all like to use? -- Kevin O'Gorman, PhD Try kmix. You emerge it separately. Then just lunch it and you're set. Regards Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Subversion emerge fails
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/ For now I masked the version of subversion giving the problems, I only occasionally use subversion on that machine. I would however like to contribute if it's something useful. Should I log a bug for this, or wouldn't there be many people trying to emerge subversion with berkly db support? Regards Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Subversion emerge fails
On Wed, Jun 11, 2008 at 3:09 PM, Florian Philipp [EMAIL PROTECTED] wrote: On Wed, 11 Jun 2008 14:17:44 +0200 Dirk Uys [EMAIL PROTECTED] wrote: For now I masked the version of subversion giving the problems, I only occasionally use subversion on that machine. I would however like to contribute if it's something useful. Should I log a bug for this, or wouldn't there be many people trying to emerge subversion with berkly db support? Regards Dirk Sure, post it. It's clearly a bug. Every little piece helps :) The bug is already filed (221185). Turns out you have to emerge apr-utils. Next time I'll check bugzilla first. So much for filing my first bug. Regards Dirk -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Subversion emerge fails
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. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-util/subversion-1.5.0_rc5/work/subversion-1.5.0-rc5/config.log * * ERROR: dev-util/subversion-1.5.0_rc5 failed. ... /snip Here is the output of eix sys-libs/db: snip [D] sys-libs/db Available versions: (1) *1.85-r1 1.85-r3 (3) 3.2.9-r11 (4.2) 4.2.52_p4-r2 (4.3) 4.3.29-r2 (4.4) (~)4.4.20_p4 (4.5) 4.5.20_p2 (4.6) (~)4.6.19 (~)4.6.21 {bootstrap doc elibc_FreeBSD java nocxx tcl test} Installed versions: 4.3.29-r2(4.3)(02:52:26 04/20/07)(-bootstrap -doc -elibc_FreeBSD -java -nocxx -tcl -test) 4.5.20_p2(4.5)(22:43:07 04/14/08)(-bootstrap -doc -elibc_FreeBSD -java -nocxx -tcl -test) 4.6.21_p1(4.6)(20:12:09 06/07/08)(-bootstrap -doc -elibc_FreeBSD -java -nocxx -tcl -test) Homepage: http://www.oracle.com/technology/software/products/berkeley-db/index.html Description: Oracle Berkeley DB /snip I'm running ~x86, so I don't expect things to always work. Is this a bug, or is there something else wrong? Regards Dirk -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Java default Swing stile
On Fri, May 30, 2008 at 9:20 PM, Florian Philipp [EMAIL PROTECTED] wrote: Hi list! I've recently started both programming and using some Java applications (not that I would have a choice ...). Well, anyway, as it seems the default style for Swing is set to Metal, Java's own rather ugly and non-conforming variant. Is there a way to set this to GTK, QT or whatever I have here other than through the functionality in the programs themeselve? Or is it really the Java-VM who's dictating what's the default for a given platform (Windows/Linux)? Thanks in advance! Florian Philipp I think the JVM defaults to motif, it's supported on most platforms. I found this on the web: start-quote Yes, it is possible. In the ~/java/lib dir, create / edit a file with name swing.proprierties: Change the line: swing.defaultlaf=com.sun.java.swing.plaf.CURRENTLO OKANDFEEL to swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLo okAndFeel /end-quote Don't know if it works though? -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Masked Packages
On Wed, May 14, 2008 at 2:06 PM, Alan McKinnon [EMAIL PROTECTED] wrote: How can you have a masked package installed but have not unmasked it? By setting the ACCEPT_KEYWORDS flag in the command line when emerging? Haven't done that for a while though, so I wouldn't know if ACCEPT_KEYWORDS has been deprecated since? -- gentoo-user@lists.gentoo.org mailing list