Re: [gentoo-user] can't unload modules
maxim wexler schreef: then ran make modules_install. Did I forget something? yes you forgot to make the kernel and forgot to install the kernel and reboot. Didn't forget. Those are obvious steps and not worth mentioning. Everything is worth mentioning when something goes wrong. Sometimes the problem with your cable TV reception really *is* that the power is unplugged, after all. That said, do you also have KMOD (Automatic kernel module loading) set? I can't think of anything else that might have any affect on this, unless the problem is with the specific modules that you're trying to load/unload. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] weird alsa...
karlos schreef: hi I have tried the meterbridge and alsamixer settings but no input. there are a few things I really don't why they happen, for example does alsa not start off correctly during boot, no errors and modules get loaded, but it when I want to start alsamixer after I log on, it complains that there are no elements to display. Same with jack, it cannot connect until alsa is restarted manually. no errors there either. I have included all I can think of now, I hope that there is a solution out there. here is lsmod for example.. [EMAIL PROTECTED] ~ $ lsmod | grep snd snd_pcm_oss49312 0 snd_mixer_oss 18432 1 snd_pcm_oss snd_seq_midi7840 0 snd_virmidi 4288 0 snd_seq_virmidi 7168 1 snd_virmidi snd_seq_midi_event 6912 2 snd_seq_midi,snd_seq_virmidi snd_seq53264 3 snd_seq_midi,snd_seq_virmidi,snd_seq_midi_event snd_usb_audio 74944 0 snd_usb_lib15104 1 snd_usb_audio snd_rawmidi21920 3 snd_seq_midi,snd_seq_virmidi,snd_usb_lib snd_seq_device 8332 3 snd_seq_midi,snd_seq,snd_rawmidi snd_hwdep 8480 1 snd_usb_audio snd_intel8x0 30784 0 snd_ac97_codec 84220 1 snd_intel8x0 snd_pcm84100 4 snd_pcm_oss,snd_usb_audio,snd_intel8x0,snd_ac97_codec snd_timer 22916 2 snd_seq,snd_pcm snd48228 14 snd_pcm_oss,snd_mixer_oss,snd_virmidi,snd_seq_virmidi,snd_seq,snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hwdep,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer snd_page_alloc 8836 2 snd_intel8x0,snd_pcm could it be, these are all loaded as OSS?? I once heard underscores mean OSS is beeing used. that would be very strange. here are alsa restart: posthuman karlos # /etc/init.d/alsasound restart * WARNING: you are stopping a boot service. * Storing ALSA Mixer Levels ... [ ok ] * Unloading ALSA ... [ ok ] * Unloading ALSA modules ... [ ok ] * Loading ALSA modules ... * Loading: snd-card-0 ... [ ok ] * Loading: snd-card-1 ... [ ok ] * Loading: snd-card-2 ... [ ok ] * Loading: snd-seq-midi ... [ ok ] * Restoring Mixer Levels ... [ ok ] what could this possibly be??? thanks, karsten I have often found that alsasound is quite picky about the way it must all be set up in order for everything to load correctly. First thing is-- I know that the Handbook suggests to set it alsasound in the boot runlevel, but I find it works better when set in the default runlevel. Ime, alsasound vastly prefers modules rather than static compiles wherever possible, and in the boot runlevel, the modules are not loaded yet, as modules.autoload.d/kernel-2.x has not yet run. I suspect you may basically be asking alsasound to load modules before they are available, either statically, or certainly as modules. Besides, you don't need sound in the boot runlevel anyway-- what is there to hear? Hope this helps, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT, game-related,long] Changing file dates?
Iain Buchanan schreef: On Mon, 2005-08-01 at 13:09 +0200, Holly Bostick wrote: Hi, all-- [snip] [1] There are two ways to install Morrowind. You can install it under Wine or Cedega using the regular Setup.exe, or you can install it via a script found at Loki Installers for Linux Gamers (http://liflg.org ). could you provide the specific script (or link to it), rather than just the liflg main page? thanks, Sure. Don't know why you need it; there's a menu right on the side of the front page. Downloads = wine(x) (after all, you know Morrowind ain't native) = morrowind (click more link) takes you to the page http://www.liflg.org/?catid=7gameid=38 (I'm not linking directly to the script; that's not only rude, but it's 19 MB, and everybody doesn't have broadband). Anyway, I linked to the main page because there's a lot of scripts for installing both native and wine(x) games that people might have been glad to know about and (I thought) that finding the link to Morrowind specifically wasn't hard, so I wanted to make sure that people had the chance to see the full site.. Sorry for the difficulty. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] install from stage1: why gcc-3.3.6?
Javier Uribe schreef: El Mar 02 Ago 2005 01:13, Qiangning Hong escribió: Doesn't work. gcc-3.3.6 is still in the emerge list. GCC 3.3.X is necessary to compile GCC 3.4. it follows with confidence greetings In case this is not clear-- --the idea is that you need a compiler to compile the new version of GCC. (It's obvious when you think about it.) Thus you need gcc-3.3.6 to compile gcc-3.4.4. What you then have to do is change your 'standard' gcc to 3.4.4, if it is not changed already, using gcc-config. Then you have to compiled gcc-3.4.4 again, and now you will be using gcc-3.4.4 to compile gcc-3.4.4. Then you have to clean the rest of the toolchain (which was also compiled using gcc-3.3.6), by compiling that using gcc-3.4.4. Then you should be more-or-less safe to remove gcc-3.3.6. I've done this myself; it's like 2.5 emerge-e worlds, but there are several scripts posted on the forums to automate this as much as is possible. http://forums.gentoo.org/viewtopic-t-282474.html http://forums.gentoo.org/viewtopic-t-345229.html http://forums.gentoo.org/viewtopic-t-189250.html HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gentoo icons
phil schreef: i dont suppose there is an easy way of using the gentoo icons other than doing each one by hand? Well, I feel like I came in in the middle of this conversation, so I may be misunderstanding just which icons you mean, but on the main site there are links to 'Gentoo graphic resources': http://www.gentoo.org/dyn/icons.xml http://www.gentoo.org/main/en/name-logo.xml (for the g) http://www.gentoo.org/main/en/graphics.xml (misc graphics that you could chop apart). Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XML-Parser missing -- is it bad perl? IT WAS
maxim wexler schreef: That's one way. Perl-cleaner can also be found in /usr/portage/dev-lang/perl/files. #perl-cleaner allmodules did the deed. Thanks Holly. BTW, where are these modules and how do they differ from the ones residing under /lib/modules? The modules in /lib/modules belong to the kernel for those 'drivers' specified to be compiled as modules (rather than statically compiled into the kernel itself), as well as those outside kernel modules that may be compiled later-- like the ATI video drivers used on my system, which are not compiled as part of the kernel compilation process (being a separate, proprietary download), but are compiled *against* the kernel afterwards, then inserted into /lib/modules/kernel-version (because they are ultimately kernel drivers, responsible for detecting and supporting a piece of system hardware). The Perl modules are found in /usr/lib/perl5/perl.versi.on, and have nothing to do with the kernel, but similarly expand the capabilities of Perl and Perl-based operations in the same way that kernel modules expand (or restrict) the capabilities of the kernel to detect specific hardware. But that's what a module is all about, anyway. The 'problem' in this case is that (imo based on my experience): 1) certain unrelated programs that depend on/use Perl operations (as opposed to Python or Java or some other language) for their functioning further require that Perl have certain modules installed for the program's Perl-dependent functioning to work (you can see why Firefox would need Perl to be able to read and parse XML if Firefox was going to use Perl in some respect, given that XML is used frequently in web-pages of various sorts), and 2) certain Perl modules (notably the XML Parser, in my experience) tend strongly towards breakage when Perl is upgraded (meaning not that any given module itself actually 'breaks', but that said module is not successfully transferred/registered to associate itself with the new version as the majority of other previously-installed modules are). I found this to occur most often during 'moderate' upgrades of Perl (from 5.x.whatever to 5.y.whatever), rather than for 'minor' upgrades (5.8.x to 5.8.y), but it can occur at any time. Therefore-- since I refuse at this time to become expert in the workings of the mind of Perl-- I've just trained myself to run perl-cleaner after any upgrade to Perl (which doesn't happen that often, really), as advised by the emerge process itself: eerror You have had multiple versions of perl. It is recommended eerror that you run perl-cleaner now. perl-cleaner will eerror assist with this transition. This script is capable eerror of cleaning out old .ph files, rebuilding modules for eerror your new version of perl, as well as re-emerging eerror applications that compiled against your old libperl.so It's a pain (because perl-cleaner does take a while, but it's still faster than the previous 'perl-rebuilder' or whatever it was called, and also seems more reliable and 'professional' than that script), but hey, that's life with Linux (some things are a pain), and $DEITY bless Gentoo for having a tool to handle this with the minimum disturbance possible (the agonizing wait is unavoidable, but everything else is automated... and that would be Gentoo, in a nutshell :-D). HTH, Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT, game-related,long] Changing file dates?
Hi, all-- The short version is that I 'need' to do something to 'fix' the efficiency of installing and running a game (The Elder Scrolls 3: Morrowind), but I'm not quite sure what or how, so I (unfortunately) have to explain the problem at some length in the hopes that someone else will have a better take on it. When (if) you read it, you'll (hopefully) see why I'm writing here rather than somewhere else (because I can't figure out to which of the many other involved parties this mail might be appropriate). The summary: I'm trying to document how to run Morrowind, using an ATI card and the fglrx drivers, with user-created add-on modules, under Linux (for myself, as I love Morrowind, and for a HOW-TO, since I can *run* it now, but I want to write it down to help others and myself in the future). However, oddities of Morrowind, Linux, and Windows programs generally are making this more difficult than it seems to need to be-- one 'oddity' in particular. The obstacle: Well, there are several, such as Linux's case sensitivity, and Windows' lack thereof, and the fact that some module makers pack their archives badly so extraction to the installed game's data folder can be a nightmare-- but those are relatively easily solved (WinRAR and Total Commander, respectively, both of which run adequately under Wine). The immovable object atm seems to be file dates. You see, Morrowind stores its base graphic data in *.bsa files (bethesda softworks archives), and its data (scripts and object locations and the like) in *.esm (elder scrolls master?) files. These files, when installed by the game, of course have a date (which is first of all different depending on how you install, but we'll come to that). The 'problem' is that if one then installs user-created plugins (of which there are several thousand), Morrowind uses the file date to determine whether the plugin's files override the original files found in the *.bsa, and in what order they do so (in the event that Plugin A changes something that Plugin B also changes, the timestamp also determines which change the player finally sees when the game actually starts). Now this is a normal Morrowind problem, insofar as it exists under Windows as well (getting your plugins to load in the right order is a horrendous job, which is why there are several tools to help with the process, but it's still horrifying if you want to run more than...oh, two or three plugins. And Morrowind players commonly run a hundred or two hundred, as the game will allow up to 255. Right now I've got 56 listed in my Morrowind.ini, and that's slightly less than half of my 'minimum required to set up this game to my preferences' set, nothing said about 'quests, tweaks, and fixes that might be nice to have'). But under Linux, the original install file dates are not the same[1] as they are under Windows, and this adds a possibly unsurmountable level of complexity to the issue. [1] There are two ways to install Morrowind. You can install it under Wine or Cedega using the regular Setup.exe, or you can install it via a script found at Loki Installers for Linux Gamers (http://liflg.org ). If you install with Wine or Cedega, the installed *.bsa and *.esm files will carry the original file date of 2002 or 2003, which most plugins will automatically override (because the plugins were naturally created more recently than the original files). However, if you install the game and its expansion packs via Wine or Cedega, the installation process will take about 15 hours (approximately 6 for Morrowind, 2.5 for Tribunal, and another 6 for Bloodmoon). This problem is common to both Wine and Cedega. Obviously no one is going to do that on a regular basis, or even once, really (even though I did, in order to document it, and to get the Registry entries for the program. I don't count, since I'm such an oddball). The loki installer takes some 15-30 minutes and works perfectly-- except that the extracted *.bsa and *.esm files seem to get the date you installed the game (today). Which means that-- since the Morrowind.ini is usually set to ;-1 Use raw data, 0 Use Newer, 1 use Archive Only TryArchiveFirst=0 use the 'newer' file when determining what graphic data to use to display the textures for rocks/trees/buildings/people/clothing/etc, any dedicated texture replacers (or plugins that want to replace selected original textures in the course of their operation) are just not going to work right, because the bsa archive is always going to be 'newer' (because it has a date of today, when I installed the game) than the replacement files --which might have been packed and uploaded *yesterday*. But since WinRAR and all other native and non-native archive manangement programs that I've tried are (naturally) going to extract the plugin files without modifying the date of the archived files (and don't seem to have an option to change that, because it doesn't make much sense to want to do that in the first place)... the
Re: [gentoo-user] [OT, game-related,long] Changing file dates?
YoYo Siska schreef: Holly Bostick wrote: What I would like is a way to change the date of specific files to a specific date (in the past), without changing (editing) them, which is not an option with the original Morrowind files (or, if it is possible, it's only so with additional external tools and a whole lot of difficulty). Is this even possible to do? Now that I've said it out loud, it doesn't sound like something Linux would want me to do at all, but perhaps there's some reason that server admins might need to do such a thing, in which case Linux definitely provides a way to do it. if you just want to change the (modification/acces) time of a file: man touch see the -t or -d option (-r can be handy too) yoyo Thank you both very much... one small step further towards cli guruhood (I've heard of touch, but that's about all I could say about it, until now). FWIW, the problem actually was that the file dates were too recent; as soon as I copied over the same-original-but-older-timestamp files to the game directory (because I did that before you guys told me about touch) and fired up the game, all of a sudden, the new textures from the plugin(s) were visible (overriding the original as they were supposed to). So I'm happy to know that there's a much easier way to do it, while I wait to see if anyone has more help on the liflg forums than what I've got so far :-) . Thanks again. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] XML-Parser missing -- is it bad perl?
maxim wexler schreef: Another says emerge libxml-perl. Another says rebuild perl. While I'm off attempting the former will someone please explain how to do the latter? eix perl-cleaner * app-admin/perl-cleaner Available versions: 1.01 Installed: 1.01 Homepage:http://dev.gentoo.org/~mcummings/ Description: User land tool for cleaning up old perl installs perl-cleaner --help Usage: /usr/bin/perl-cleaner [options] [ask] modules - rebuild perl modules for old installs of perl allmodules - rebuild perl modules for any install of perl libperl - rebuild anything linked against libperl ph-clean - clean out old ph files from a previous perl phupdate - update existing ph files, useful after an upgrade to system parts like the kernel phall - clean out old ph files and run phupdate all - rebuild modules, libperl linkages, clean ph files, and rebuild them reallyall - rebuild modules for any install of perl, libperl linkages, clean ph files, and rebuild them ask - ask for confirmation on each emerge That's one way. Perl-cleaner can also be found in /usr/portage/dev-lang/perl/files. I find it odd that re-emerging XML-Parser didn't work for you; it always did for me (although I haven't encountered this error recently, certainly not with Firefox... and I do compile it), and I have surely had this ...annoying.. issue with XML::Parser often enough to say that. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gnome-desktop blocking gnome-core
Chris Bare schreef: I'm still getting this after doing an emerge -u (without the -D) rygel ~ # emerge -puD world -t These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [blocks B ] gnome-base/gnome-desktop (is blocking gnome-base/gnome-core-1.4.2-r1) [nomerge ] net-misc/whois-4.7.2 [ebuild U ] net-dns/libidn-0.5.15 [0.5.13] [nomerge ] x11-plugins/gkrellm-sensors-0.1 [ebuild N] sys-apps/lm_sensors-2.9.1 [nomerge ] net-wireless/gtkskan-0.2 [ebuild N] gnome-base/gnome-core-1.4.2-r1 How can I tell what wants gnome-core? emerge -puDt world (not -puD world -t) should give you a tree view of what's calling what. My guess, for what it's worth, is that the gkrellm-sensors is the gtk1 version (requiring gnome 1 support) rather than the gtk2 version (requiring gnome 2 support). In fact, I don't think the package 'gkrellm-sensors' is even used for gkrellm2, but is integrated into the main package (I'm running gkrellm2, but I don't use sensors. However, I see that the first lising in the Configuration =Monitors=Inbuilt section is in fact 'Sensors'. I'd paste the info, but it's all in Dutch. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge mozilla-firefox-1.0.6-r2
Patrick Börjesson schreef: On 05/07/23 18:37, Richard Fish wrote: And it seems to me that if there is a bug, it might be a *documentation* bug (because the other person who mentioned using march=k8 said that that was the recommendation of the docs, but that seems to no longer be the case, if people using this flag are regularly receiving compilation errors). Documentation bug? Not recommended by the docs any more? You might want to actually try to find information about the subjects you respond to. Straight out of the AMD64 Gentoo Handbook: AMD64 users who want to use a native 64 bit system should use -march=k8 Combining that cite with the information from the gcc info page, I'm pretty sure it's not a documentation bug. Hold on...the -march thing would be an easy mistake to make for those of us who don't run AMD processors, and are just trying to help. Afterall, the platform keyword is amd64. And gcc info says that k8, opteron, athlon64, and athlon-fx are all equivalent, although I would suggest that the non-k8 options are more descriptive. Of course, but in this case it wasn't an oversight... The poster explicitly said that using march=k8 seemed to no longer be the recommendation of the docs. That implies at least _some_ looking into the subject before posting... If the poster being referred to is me, that wasn't what I meant to say, or rather what I meant to be *understood*-- what I meant was that apparently the Handbook recommends using the k8 flag, but people using that flag seem (and I stress seem, as I don't follow this issue that closely, naturally) to be running into problems, whereas those using the amd64 flag are not (or at least not the same problems). Now, I don't know the truth of the matter, but that would lead me to suspect that there could be *outdated information in the Gentoo documentation* (thus, a documentation bug), which, if those affected can verify, should perhaps be submitted. Sorry for the confusion. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] thunderbird/firefox conflict
Zac Medico schreef: Patrick Rutkowski wrote: On Friday 22 July 2005 23:31, Ryan Sims wrote: I just upgraded to mozilla-thunderbird-bin-1.0.6-r1 and mozilla-firefox-bin-1.0.6-r1, and they seem to be conflicting with each other, i.e. when I install firefox, running thunderbird gives me a /usr/libexec/mozilla-launcher: can't find the browser :-( error, so I remerge thunderbird and it runs, but I find that then firefox gives me the same error. I've done this a couple of times, and resynced. Well, I looked at the ebuilds, because I noticed that the thunderbird merge was installing a lot of stuff in /opt/firefox which seemed wrong, and sure enough I found this in the thunderbird-bin-1.0.6-r1: (line 36) src_install () { declare MOZILLA_FIVE_HOME=/opt/firefox The thunderbird-bin-1.0.5-r1 ebuild seems to use /opt/thunderbird as its home... Changelog doesn't seem to mention anythingwas thinking about opening a bug report? I give you permission to file a bug ;-). Something's not right about that. May already be solved; both firefox and tbird went to 1.0.6-r2 very early today. I've gotta say, I'm getting tired of upgrading them (I saw the upgrade to 1.0.6 two days ago, but waited; there was an upgrade to 1.0.6-r1, which I took yesterday afternoon, and today I have to upgrade to 1.0.6-r2). There was also an upgrade to the version of mozilla launcher in the past day and a half; in my original emerge -uaDtv world, 1.39 was proposed, a few hours later, when I finally got around to actually upgrading (after another, extra sync), the version had been bumped to 1.45. In any case, I'm not having any problems with firefox or tbird 1.0.6-r1 atm-- but then again, I'm not using the bins. But, amazingly, Enigmail works out of the box on upgrade (which is a first; I usually have to reinstall it), and I was clever enough to backup my search plugins before upgrading (and order them in user.js, which should be unaffected), so as soon as I upgrade (again), I should be able to put them back and move on with my life. I was going to post a question as to whether anybody knew how many more revisions we're going to see to the Mozilla programs in the next couple days; I understand heavy development, but three upgrades in three days is a bit much even for me (since it takes an hour and a half or so to compile each program, and further means I have to use Konq for that time if I don't want to mess up ff by having it loaded while it's upgrading. So I'd love to know if this is likely to settle down soon, if anybody happens to follow the relevant development. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Can't emerge mozilla-firefox-1.0.6-r2
Jules Colding schreef: Hi, emerge --sync emerge -vauDN today gave me the following error. adding: skin/modern/communicator/cookie/taskbar-cookie.gif (stored 0%) adding: skin/modern/communicator/cookie/status-cookie.gif (stored 0%) +++ making chrome /var/tmp/portage/homedir = ../../dist/bin/chrome/classic.jar error: file './resources/skin/classic/taskbar-cookie.gif' doesn't exist at ../../config/make-jars.pl line 418. gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/extensions/cookie' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla/extensions' gmake[1]: *** [tier_94] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/mozilla-firefox-1.0.6-r2/work/mozilla' make: *** [default] Error 2 !!! ERROR: www-client/mozilla-firefox-1.0.6-r2 failed. !!! Function src_compile, Line 159, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ## emerge --info # omc-2 ~ # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) = System uname: 2.6.12-gentoo-r6 x86_64 AMD Opteron(tm) Processor 252 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox:1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS=amd64 AUTOCLEAN=yes CBUILD=x86_64-pc-linux-gnu CFLAGS=-march=k8 -O2 -pipe CHOST=x86_64-pc-linux-gnu CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d CXXFLAGS=-march=k8 -O2 -pipe Well, since I just (literally, 10 minutes ago) emerged mozilla-firefox-1.0.6-r2, and had no problems on a 32-bit system, I must suspect that this is a 64-bit issue. In that regard, I see at least one thing in your emerge info that has been called into question for 64-bit users in recent threads: CFLAGS=-march=k8 I am, of course, not a 64-bit user, so I don't know anything about this, but I have seen several responses to similar questions that suggest that the correct flag is march=amd64 Oh, and despite what Patrick said, I think you were right to post here first-- no need to clog up b.g.o with what might be a configuration problem and waste developer's time closing an invalid bug. I think it's always wise to try to make sure that it really is a bug before posting it. And it seems to me that if there is a bug, it might be a *documentation* bug (because the other person who mentioned using march=k8 said that that was the recommendation of the docs, but that seems to no longer be the case, if people using this flag are regularly receiving compilation errors). Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Double Firefox folders in /usr/lib?
Hi, As you may have heard, I've upgraded Firefox twice in the last two days (could have been three times, but I skipped one update). I'm compiling it, not using the bins. Well, somewhere between 1.0.5 (where I started) and 1.0.6-r2 (where I ended up) the folder in /usr/lib changed from MozillaFirefox to mozilla-firefox Same thing happened with Thunderbird (MozillaThunderbird to mozilla-thunderbird). Now, everything works (that's not the problem), and I know that mozilla-firefox is the folder being used (because I backed up my searchplugins folder before upgrading, and moved it back to mozilla-firefox before opening the upgraded firefox, and all my search engine plugins are now being shown). But am I supposed to have both folders? Shouldn't one of them (the old one) have been deleted when the previous versions of Firefox (and Thunderbird) were removed? Or are they still used for some reason (and if so, then why do I have to have a new folder)? Seems to me that something's a bit wonky somewhere, but thought I'd check here to see if 1) anybody else is seeing this 2) anybody knows a reason this configuration makes sense/is valid before posting a bug. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] thunderbird/firefox conflict
Tero Grundström schreef: In any case, I'm not having any problems with firefox or tbird 1.0.6-r1 That's the real paradox here. I don't remember when was the last time I had a problem with ff (actually I use only Galeon these days, compiled against ff) so it feels so stupid to compile it just because of these revision bumps No, you actually *did* have to upgrade to 1.0.6-- there was a GLSA for 1.0.5, for which 1.0.6 was the fix. But what happened (or seems to have happened) is that some aspect of this enterprise (either on the mozilla side or the gentoo side) was a bit borked, requiring a revision, and then the revision had to be fixed. Or the error was on both sides--from the changelog, it looks like there was an error in the original 1.0.6 ebuild, requiring a revision to 1.0.6-r1, and then there was an upgrade to the source (10MozillaFirefox lib dir), which required another revision to the ebuild. The whole thing seems to have been a bit of a mess, but everybody seems to have been a part of it. Oh, well. Hope everything is straightened out now, except for the issue raised in my post Double Firefox folders in /usr/lib?. So if that's a real issue, there could be another revision in all of our futures. Sorry. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] thunderbird/firefox conflict
Benno Schulenberg schreef: Holly Bostick wrote: I understand heavy development, but three upgrades in three days is a bit much even for me Come on, Holly, when you're running unstable (~x86), you've got to be ready to take frequent updates. Or, to circumvent this, you could sync less often: once a week works fine here. In this case, syncing less often wasn't an issue-- the reason I had to upgrade to 1.0.6 was due to a GLSA. Having to upgrade once due to instability of the GLSA upgrade is fine, but twice is a bit annoying, especially when that means *6* compiles (firefox and thunderbird each three times). And the fact that we're revising on-the-fly, as it were, would suggest that there's 'no end in sight'-- at least I as a user can't see any such end, since being neither a Mozilla nor a Gentoo developer, I don't know if everything that needed to be fixed is finished being fixed or not, or if there remain any 'loose ends' to be tied. I understand completely that 'these things happen', and I'm not complaining about that *per se*, I'd just like to know if there is in fact an end in sight, and whether we've perhaps reached it (or it is at least close). (since it takes an hour and a half or so to compile each program, and further means I have to use Konq for that time if I don't want to mess up ff by having it loaded while it's upgrading. There's no problem with using Firefox while it is being compiled. Only as soon as it has actually been merged, it may be wise to restart it. Not completely true. You can use an already-opened instance of Firefox--- as long as you stay within the same window. Open another window for any reason, and the whole thing will close down (because you can't open a new instance of Firefox while Firefox is compiling). So forums or database sites that open new windows to create posts, or display information about an item in the database are unuseable during this time. Rather than control my surfing, I prefer to use another browser until Firefox is finished compiling. Holly Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: DVD-cd usage
James schreef: Success? cdrecord -dao dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v README results Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 JF6rg Schilling on-the-fly encryption (version 1.0-rc1) built-in, (C) 2004,2005 Maximilian Decker NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord and thus may have bugs that are not present in the original version. Please send bug reports and support requests to burbon04 at gmx.de. For more information please see http://burbon04.gmxhome.de/linux/CDREncrypt ion.html. The original author should not be bothered with problems of this version. cdrecord: Warning: Running on Linux-2.6.12-gentoo-r4 cdrecord: There are unsettled issues with Linux-2.5 and newer. cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris. TOC Type: 1 = CD-ROM scsidev: 'ATAPI:0,0,0' devname: 'ATAPI' scsibus: 0 target: 0 lun: 0 Warning: Using ATA Packet interface. Warning: The related Linux kernel interface code seems to be unmaintained. Warning: There is absolutely NO DMA, operations thus are slow. Using libscg version 'schily-0.8'. SCSI buffer size: 64512 atapi: 1 Device type: Removable CD-ROM Version: 0 Response Format: 2 Capabilities : Vendor_info: 'TOSHIBA ' Identifikation : 'DVD-ROM SD-R2412' Revision : '1015' Device seems to be: Generic mmc2 DVD-ROM. Current: 0x0009 Profile: 0x0010 Profile: 0x0008 Profile: 0x0009 (current) Profile: 0x000A Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). Driver flags : MMC-3 SWABAUDIO BURNFREE Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R Drive buf size : 1791936 = 1749 KB FIFO size : 4194304 = 4096 KB Track 01: data 0 MB padsize: 596 KB Total size:0 MB (00:04.00) = 300 sectors Lout start:1 MB (00:06/00) = 300 sectors Current Secsize: 2048 ATIP info from disk: Indicated writing power: 4 Is not unrestricted Is not erasable Disk sub type: Medium Type A, low Beta category (A-) (2) ATIP start of lead in: -12508 (97:15/17) ATIP start of lead out: 359845 (79:59/70) Disk type:Short strategy type (Phthalocyanine or similar) Manuf. index: 22 Manufacturer: Ritek Co. Blocks total: 359845 Blocks current: 359845 Blocks remaining: 359545 Starting to write CD/DVD at speed 4 in real SAO mode for single session. Last chance to quit, starting real write2 seconds. cdrecord: fifo had 1 puts and 0 gets. cdrecord: fifo was 0 times empty and 0 times full, min fill was 0%. ??? James Which seems to bring us back to where I at least was a bit ago--- 1. There's nothing wrong with the device *per se*, or with cdrecord, having now proved that it is capable of burning a file to CD (I assume the file was correctly burned, but with a file as small as a README, you're not going to get any noticeable buffer use) 2. The error that cdrecord was previously giving is to greater or lesser degree accurate-- *there's something wonky about the files you're trying to burn* I don't know what that might be, but it seems to me that one possible chain of logic is: a) no matter whether you use --audio or --data (or rename the file with a new extension), cdrecord detects the file as audio and automatically uses the --audio switch; b) cdrecord has requirements for the encoding of a file using --audio (as specified in man cdrecord, earlier quoted) c) your file, which must be burned with the --audio switch, does not meet the specifications that the --audio switch requires (as shown when you posted the file specs gleaned from mPlayer). The problem might be something else entirely, of course; this is just a theory. But since we don't know what the problem actually is (and I don't so much have the time atm to specify how to make sure all the components from the kernel to cdrecord to your file are all in proper working order), it's worth further investigation. On that note, three questions: 1) the USE flags for cdrtools are: on-the-fly-crypt - unicode - Adds support for Unicode crypt - Add support for encryption -- using mcrypt or gpg where applicable dvdr - Adds support for DVD writer hardware (e.g. in xcdroast) Which ones did you use? Maybe you have a functionality needed that you don't have enabled? 2) Have you tried re-encoding the audio file to the cdrecord specifications, and *then* burning it? 3) (Thanks for the idea, Dave Nebinger) Have you tried making an ISO of all the audio files (unaltered) that you want to burn to CD, using mkisofs, and then burning the ISO instead of the files? HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] error in gconf ebuild?
Mike Williams schreef: On Wednesday 20 July 2005 14:24, Jorge Almeida wrote: /usr/lib/portage/bin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild: line 34: unexpected EOF while looking for matching `' /usr/lib/portage/bin/ebuild.sh: /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild: line 71: syntax error: unexpected end of file Look at the path. Look at the file and fix the error, shouldn't be hard to spot. No-one really knows how, why, or when this happens, but many people have had this problem before. As far as I know, unexpected End Of File generally means that a hard return exists somewhere it shouldn't (a hard return is often interpreted as the EOF). In this case, however, it looks like somebody forgot to close their quotes on line 34, and the file came to an end before Portage was able to find the closing quote to complete whatever function was begun on that line. Portage read through all the lines after the quotes were opened, looking for the closing quote, and came to the perfectly legitimate EOF on line 71 before finding it (because it's not there), and so thinks that the EOF is 'unexpected' (because a function was not completed with the closing quotes, thus was still open when the file ended). So the likely solution is to look at line 34 and figure out where the closing quote is supposed to be and add it, then try again (you might have to re-digest the ebuild first). HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo Installation
Rumen Yotov schreef: Hi, Beside this official Gentoo installer, there's another distro based on Gentoo, which uses anaconda as graphical installer, current version seems to be 1.1 - it's called VidaLinux google for the site. Never tried it, so no experience. But it was paid for a Pro/Full version (support), check their site. OT: some people think it's rather abusing Gentoo's development,infrastructure,package system (no flames please ;) HTH. Rumen Not flaming but I will say that I installed Gentoo using VidaLinux (there's a couple of thread on the forums about how to turn a Vida install back into 'real' Gentoo, which I utilized). It was not a good idea, and I do not recommend it. I don't know if Vida is a good distro on its own account (as I didn't use it on its own account), so this is not any kind of judgement about the distro itself. However, because it's kinda-half-binary based (there's a Club which you can pay to join to get access to a repository of pre-compiled binaries, and I think I read an announcement that it was finally up and running, though presumably still small), because of the backend needed to support Anaconda, and because, while Vida is Gentoo-based, yet not Gentoo, if you use it to install, things will be ... different... than what they should be (as per the Handbook, for example), and because the base system is not explicitly documented (afaik) by either Gentoo or Vida (why should it be, after all?), you are not going to know (or will have a very hard time figuring out) what 'extras' Vida might have installed that you don't need, or what aspects of the Gentoo backend you might need that Vida didn't install (because Vida doesn't need them). Basically, you wind up reinstalling the entire system again anyway, with all that implies, and while it's all very nice to do that from within an installed system than from the console (unless you had the good sense to use the Alternate Install guide and install from a Knoppix LiveCD boot, or another previously-installed distro), the result is that you get Gentoo, but without that sense of confidence that everything is correctly built, and to your specifications. I still don't know how much, if any, Vida cruft I have hanging around, some two months after I installed. And it just wasn't worth it, if I have to lose my confidence that way, to save (admittedly) a big chunk o' time. I really wouldn't recommend it to anyone else, unless they actually wanted to use Vida, in which case, good luck, Godspeed, and hope it works out. I'm a Gentoo user :-) . Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fbsplash problems
LostSon schreef: Hello I am trying to get fbsplash to work and am stuck. I have followed the directions on the gentoo-wiki site but still no luck. Im using vesafb with a 2.6.12-r6 kernel. my grub.conf looks like this title=Gentoo-2.6.12-r6-fbsplash root (hd0,0) kernel (hd0,0)/boot/bzImage.new25 root=/dev/hda3 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] spla$ initrd (hd0,0)/fbsplash-gentoo-1024x768 It tries to go to it but it just stays in text mode with no splash it doesnt even go to 1024x768. I get this when booting Kernel command line: root=/dev/hda3 video=vesafb:ywrap,mtrr,[EMAIL PROTECTED] splash=silent,theme:gentoo quiet CONSOLE=/dev/tty1 Im not sure what that means though. Any ideas, thanks. That means, afaik, that there is an error in the syntax of that specific line, and you need to fix it, as GRUB can't figure out or even guess what the heck you mean. For reference, here's my kernel command line (splash does work for me): kernel /vmlinuz root=/dev/hda5 video=vesafb-tng:ywrap,mtrr,pmipal,[EMAIL PROTECTED] splash=silent,theme:emergence quiet CONSOLE=/dev/tty1 The (main) difference I see is that you have no bit depth specified in your video= command, but perhaps vesafb doesn't need one. I also see that I'm using pmipal and you aren't but since I don't even know what that is anyway, I'll assume it's not important. So what I'm wondering is-- you're asking for vesafb in the command line, but is that actually the framebuffer that you've selected in the kernel (in menuconfig, Device Drivers section =Graphics support, what is the actual name of the vesa framebuffer being built)? Mine looks like VESA VGA graphics support VESA driver type (vesafb-tng) --- Does it actually say 'vesafb' between your parentheses (as I believe that vesafb-tng is the default if you enable VESA VGA graphics support)? Also what version of splashutils, did you recently upgrade the kernel from 2.6.11, and if so, did you re-generate the splash initrd (there's an einfo to this effect in the recent splashutils ebuilds)? HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: DVD-cd usage
James schreef: Holly Bostick motub at planet.nl writes: Possibly your .wav file is in fact 'inappropriately encoded'? Does it burn if you use -data instead of -audio? Hello Holly, If you read the threads, I start out trying to k3b working. I have not used cdrecord, so it's quite possible (statistically probable) that I'm doing something way stupid here so I tried: cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -data -v *.wav snip cdrecord: Inappropriate audio coding in '18133194218-14129220407-05-18-2005-11-42-.wav'. OK, two things occuring to me (though I can't say I know anything about this): 1) I was asking originally what the coding of the audio file actually was (meaning check it in mPlayer or some other audio player that will give you the details of the file itself)-- is it stereo, is it 44100 or whatever cdrecord wants, etc? It might also be useful to verify that it is in fact a .wav file and not some other kind of audio encoding that's just *named* with a .wav extension. 2) But now that I've seen that filename, I'm wondering, What happens if you rename that file? to either a) something shorter (maybe there are too many characters in the filename, if you don't have Joliet and/or other special options allowed that would let you use such a long filename), or b) to a filename that doesn't have a - directly before the .wav (I've seen it happen that applications of various types, K3b among them, choke on filenames with weird characters in unusual places, or c) both a) and b) . HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fbsplash problems
Christoph Eckert schreef: I checked this per your instructions as well and no it hasnt cut it off its all on one line. Still no luck im still just getting the cant open config file on /etc/splash error and fd0 crap, heh Umm... pardon me for asking, but you've said at least twice that an error informs you that splash can't open the config file on /etc/splash-- but you've never said that you checked the config file at /etc/splash to confirm that it 1) exists 2) is readable (permissions, syntax) does something in or related to /etc/splash (like /etc/conf.d/splash, or in some strange twist of fate, /etc/init.d/splash, in addition to the config file found in each theme folder in /etc/splash itself) have some association with fd0 (the floppy drive) for some reason? Do you even have a floppy drive? Even so, the splash config file certainly won't be found there. The nice thing about Linux is that error messages are in fact meaningful, and often lead directly to a solution. Perhaps you should heed this one a bit more closely. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fbsplash problems
LostSon schreef: On Tue, 2005-07-19 at 23:31 +0200, Holly Bostick wrote: Christoph Eckert schreef: I checked this per your instructions as well and no it hasnt cut it off its all on one line. Still no luck im still just getting the cant open config file on /etc/splash error and fd0 crap, heh Umm... pardon me for asking, but you've said at least twice that an error informs you that splash can't open the config file on /etc/splash-- but you've never said that you checked the config file at /etc/splash to confirm that it 1) exists 2) is readable (permissions, syntax) Yes the files exist and the permissions are right where i should be able to use them. and the /dev/fb0 and /dev/fb/0 i have no idea wtf they are. Now that we know they're /dev/fb and not /dev/fd (which is the floppy drive), I would imagine that they refer to the framebuffer devices (which are apparently not being created? or are being created too late?) Now, on my system, /dev/fb0 is a symlink to /dev/fb/0, which is as it should be-- and makes me think that this is a udev issue, as that's udev device creation-type naming. Since the devices are eventually being created (as you've indicated that your framebuffer later works), that suggests that you have hotplug creating the device late in the boot process. Do you have coldplug, which is responsible for creating the early devices (presumably like this one)? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] alsa-driver emerge error
Stuart Howard schreef: thx for the response I think we missed each other with the point though, currently my sound works just fine and I am happy with it as it is [ie. built in] I am not sure where the alsa driver in world came from unless it is a hangover from my initial genkernel instalation. Well, there is a compromise solution: /etc/portage/profile/package.provided I don't have a clue what I tried to install that wanted alsa-driver, but I added media-sound/alsa-driver-1.0.6a (don't actually have to have a version, afaik, you can just put the package name) to the above-mentioned file, and it never bothered me again. Basically, you're telling Portage that you've handled this-- the package is installed, just not *by* Portage, so it should just trust you. And of course you have installed the package-- when you compiled the kernel, so it's not even like you're lying or anything. The upside of this should be that you can uninstall the alsa-driver package (if it is installed), or do an emerge (-p) --depclean to get rid of it, or remove it from your world file, and no program that depends on it should be disturbed (because you've informed Portage that the equivalent data is available, and Portage trusts you :-) )-- and no package that wants to depend on it in the future should try to install it. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31
Thomas Drueke schreef: Hi, I want to emerge gentoo-sources-2.4.20-r31 but it has been deleted from the rsync repository. Is there a way to get the corresponding ebuild-file back to get it emerged ? BR Thomas Go to www.gentoo.org, click the view our CVS link on the sidebar, scroll down to the sys-kernel folder, go to the gentoo-sources folder, right-click the link to your preferred ebuild, and Save Link As to your Overlay folder, from which you can then digest and emerge it. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: DVD-cd usage
James schreef: Nick Rout nick at rout.co.nz writes: OK time to play spot the obvious error - your command line has ATAPI:1,1,0, whereas the device is at ATAPI:0,0,0 try the command line again with the correct device OK, I've tried a variesty of wav files, including some saved .wav files from my vonage system that plays just fine. Always I get the same closing error: cdrecord dev=ATAPI:0,0,0 -eject speed=2 -pad -audio -v startup.wav cdrecord: Inappropriate audio coding in 'startup.wav'. From man cdrecord: -audio If this flag is present, all subsequent tracks are written in CD-DA (similar to Red Book) audio format. _The file with data for this tracks should contain stereo, 16-bit digital audio with 44100 samples/s._ The byte order should be the following: MSB left, LSB left, MSB right, LSB right, MSB left and so on. The track should be a multiple of 2352 bytes. It is not possible to put the master image of an audio track on a raw disk because data will be read in multiple of 2352 bytes during the recording process. If a filename ends in .au or .wav the file is considered to be a structured audio data file. Cdrecord assumes that the file in this case is a Sun audio file or a Microsoft .WAV file and extracts the audio data from the files by skipping over the non-audio header information. In all other cases, cdrecord will only work correctly if the audio data stream does not have any header. Because many structured audio files do not have an integral number of blocks (1/75th second) in length, it is often necessary to specify the -pad option as well. cdrecord recognizes that audio data in a .WAV file is stored in Intel (little-endian) byte order, and will automatically byte-swap the data if the CD recorder requires big-endian data. _Cdrecord will reject any audio file that does not match the Red Book requirements of 16-bit stereo samples in PCM coding at 44100 samples/second._ Possibly your .wav file is in fact 'inappropriately encoded'? Does it burn if you use -data instead of -audio? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Shutdown Issues
E. Pereira schreef: During the shutdown Gentoo brings down my eth0 connection, but my computer is connected to a router that uses xDSL for connection, so my questions is: Can I remove this, this way I won't have to reconnect my xDSL connection? Or this shouldn't interfer in my connection I I'm having to reconnect for other reasons? Thanks, e. pereira I'm no network guru (by a long shot), but afaik, and ime (my PC is connected to a router with inbuilt modem), shutting down one PC should not affect the connection for others, because 1) DSL is always on, and 2) your router should be directly connected to the DSL modem, thus unless your PC is turning the modem or the router off somehow (either of which would break the connection), the router should be able to ... route... the Internet connection for the other PCs on the network to the modem. Bringing down eth0 (turning off your PC), should just remove you from the network. That's the whole point of having a router (at least for me; it was driving me nuts that I had no connection whenever my Windows-using bf had to reboot for whatever reason, when we were stuck with software routing through his PC. Now he can have all the BSODs he can stand, and I just continue surfing/emerging/emailing happily, because the routing is handled by a separate piece of hardware that is not affected by the status of our individual PCs). Is this a recent problem, or has it always been like this? Is this a new setup (new equipment, change of ISP/level of membership/type of membership), or has nothing changed recently? HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fbsplash problem !!!
Allan Spagnol Comar schreef: Hi all, Ie been looking at thee gentoo wiki and internet to find out what my problem is but can't find it any where. I installed splash_utils and make the right kernel options and when I try to run splash_util -c on I got this error message FBIOSPLASH_SETSTATE failed, error code 22. Does someone have a clue of what this could be ? Thank you all, Allan I've seen the same or similar error to this-- but only when the following conditions are met: 1) When using the livecd-2005.0 theme (I've installed the livecd-2005.1 theme, but haven't tried it yet) 2) in verbose mode (in silent mode, I get a kernel panic). The cause seems to be that the livecd-2005.0 theme is not complete (no 8bpp images), and while I could probably convert copies of the existing images to 8bpp so that the config would find the images it's looking for, I really can't be bothered to do so atm. Emergence works fine (mostly; slight graphical corruption, possibly due to my ATI card) in both silent and verbose modes. Too bad I don't really like Emergence, but at least it has a matching GDM theme-- which is more than can be said for the livecd themes-- so my boot process has at least a consistent look (if not one I'm most fond of). What version of splashutils, and kernel are you using, and what splash theme? HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Does (-win32codecs) mean Slots?
David Morgan schreef: You could remove win32codecs from base/use.mask, try and use it and see if it works since it shouldn't break anything. But each time you did emerge sync it'd get written over. Which is why the proper way to unmask a hard-masked package is to enter it into /etc/portage/package.unmask (and often thereafter also into /etc/portage/package.keywords, as many hard-masked packages are also keyword-masked). HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Does (-win32codecs) mean Slots?
David Morgan schreef: On 12:06 Wed 13 Jul , Holly Bostick wrote: Which is why the proper way to unmask a hard-masked package is to enter it into /etc/portage/package.unmask (and often thereafter also into /etc/portage/package.keywords, as many hard-masked packages are also keyword-masked). Great, but what does that have to do with USE flags that are masked on a particular profile? What does which profile it is have to do with the mask? /etc/portage/package.unmask unmasks hard-masked applications on the profile you are using-- the profile supercedes all later adjustment files, insofar as all later adjustment files (/etc/make.conf, /etc/portage/whatever) all refer to the profile defaults to know what to adjust. Obviously -- or at least it seems obvious to me, but that doesn't say much-- that if the package is hard-masked, the USE flag that is associated with it will be disabled (because the package the USE flag would call is unavailable). So if the package became available (was unmasked), then I would assume that the USE flag would be enabled, and one could just USE it normally (via /etc/portage/package.use, or /etc/make.conf). There's probably an equivalent for them (/etc/portage/profile/use.unmask at a guess). I suspect that it's masked for a reason though.. Yes, hard masking is always for a reason-- and the fact that you have to go through several steps to install a hard-masked package is, I suspect, for a reason as well. Hard masking means that there are serious problems with the package (under certain conditions, if the package is only hard-masked under certain arches or profiles), and unmasking it via several steps should drive home that you're doing something that you should consider carefully before proceeding with. Hard masking also suggests that testers are needed to nail down the problem, so that the packages can be unmasked-- so by unmasking it, you are tacitly agreeing to be such a tester, and to contribute to b.g.o on the subject after all, if the package has serious problems, you're going to have to deal with them anyway, so you might as well report what you find. If you don't want to have anything to do with such a difficult package, then you shouldn't expend the effort to unmask it... that's why it's masked, so that those who don't want problems never see it at all. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Does (-win32codecs) mean Slots?
David Morgan schreef: (top posting because I can't be bothered to sort all the irrelevant stuff you posted) The person in question is using /usr/portage/profiles/uclibc/x86 If you look in /usr/portage/profiles/uclibc/x86/parent you'll see that t's parent profile is /usr/portage/profiles/uclibc/. If you look in /usr/portage/profiles/uclibc/parent you'll see that it's profile is /usr/portage/profiles/base. Now, look in /usr/portage/profiles/base/use.mask That's the reason the win32codecs useflag is masked on this profile, as I explained in an earlier email. But the use.mask-- even the correct one-- still does not lead to an explanation or documentation of what the mask of a USE flag actually means or what it means in this particular case (why this specific USE flag is masked under this specific profile), in such a way that one would know if it was something one had to learn to live with (definitively unresolveable), or was in some way unmaskable. That's the original issue-- is there a way to compile mPlayer using this USE flag under this profile, or is there not? Normally, *.mask files seem to contain some explanation of the reason for the mask (even if only minimal), which is why I was looking through them, but here that does not seem to be the case. Does that mean that the OP is SOL? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where is the functionality of etcat
Rudmer van Dijk schreef: Holly: eix is probably not it, since it looks like it does not show the availability of the package (masked+keyword), but thanks for the suggestion! Rudmer Actually, it most certainly does; keyworded packages are shown in brown with a ~ in front, masked packages are listed in red with a [M] in front. Of course you can use what suits you best; just wanted to clear up the misconception. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: where is the functionality of etcat
James schreef: Holly Bostick motub at planet.nl writes: Holly: eix is probably not it, since it looks like it does not show the availability of the package (masked+keyword), but thanks for the suggestion! Actually, it most certainly does; keyworded packages are shown in brown with a ~ in front, masked packages are listed in red with a [M] in front. Of course you can use what suits you best; just wanted to clear up the misconception. Well 'eix zoneminder' shows '~0.9.12 ~1.21.2' both in brown. emerge -s zoneminders shows that it is masked in red and only 1.21.2. is available. Maybe my color scheme is messed up? James According to packages.gentoo.org, both zoneminder 0.9.12 and 1.21.2 are keyword masked, so the output is correct (for x86). Esearch shows only the last version, and doesn't distinguish between hard and keyword masking; perhaps emerge -s is the same. Also, it helps to remember to do an update-eix after an esync, so that new or updated packages are added to the eix database. Other than that, I don't see a problem. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] what's new with all those new packages?
Roy Wright schreef: emerge --pretend --changelog will display the change log(s). I usually do emerge -uDNv world -pl then if I like it, just delete the -pl to do the merge. Have fun, Roy Well that's all very well and good, but a great deal of the time the changelog only says something like 'version bump'-- because it's a *Gentoo* ChangeLog, not the *application* changelog. Which, if you're interested enough to want to know the contents of, you should go to the application's homepage (linked from the ebuild, or packages.gentoo.org), where it is usually published. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where is the functionality of etcat
Rudmer van Dijk schreef: etcat is deprecated in favor of equery but equery does not have a functionality like `etcat -v package` (listing all available versions of a package). I used it quite often and have been struggling with equery ever since etcat is deprecated... Are there plans to build this functionality into equery? if not, why?? Rudmer Possibly because you can do the same with eix (emerge eix): eix gnome-games * gnome-extra/gnome-games Available versions: 1.4.0.3-r3 2.4.2 2.6.2 2.8.1 2.8.1-r1 2.8.2 2.8.3 2.10.0 ~2.10.1 Installed: 2.10.1 Homepage:http://www.gnome.org/ Description: Collection of games for the GNOME desktop * gnome-extra/gnome-games-extra-data Available versions: 2.8.0 2.10.0 Installed: 2.10.0 Homepage:http://www.gnome.org/ Description: Optional additional graphics for gnome- games If that's of any help to you :-) . Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where is GNOME_MixerAapplet
Allan Gottlieb schreef: The key seems to be having gstreamer in the USE variable. At Mon, 11 Jul 2005 15:58:02 -0500 LostSon [EMAIL PROTECTED] wrote: I had this problem as well and i re-emerged gnome-panel and it went away. On Sun, 2005-07-10 at 14:16 -0400, Allan Gottlieb wrote: I just installed a new stage1 gentoo with gnome-2.10. It keeps complaining that The panel encountered a problem while loading OAFIID:GNOME_MixerApplet. In that case, make sure to run gstreamer-properties to make sure the gstreamer backend is properly configured. I did try to work with gstreamer, but the only thing that uses it --Totem-- really worked much better with the xine backend, so I switched Totem to that (recompile; if you compile it -xine it uses gstreamer; if +xine it uses xine) and didn't think about gstreamer much more after that, so I can't say more about its inner workings. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: KDE/KDM problems
Alexander Kirillov schreef: What sort of a problem with /dev/dsp? You can't use /dev/dsp when arts (KDE sound daemon) is active. Either try artsdsp [-m] or wait till arts is suspended. Sasha Doesn't that situation call for the use of artswrapper? I don't use arts very much, so I forget how to call it (srtswrapper application?) Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] I think I messed up USE flag by using -alsa as Gnome has no sound
Richard Watson schreef: Hi - I've just finished compiling Gnome and have no sound whatsoever. Looking at my USE flags I noticed I had inadvertently set -alsa as a flag. At this stage I've changed the flag to alsa and re-run genkernel. But still no sound. Do I have to recompile everything from scratch or have I made an incorrect diagnosis of the problem? As always any help would be appreciated -- Regards, Richard ECRM Imaging Systems Have you loaded the newly-compiled alsa driver modules for your sound card, run alsaconf and unmuted the mixer via alsamixer? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cant emerge kdelibs
Dave S schreef: Hi all, I cannot emerge kdelibs on my 3000+ AMD, I have tried re-emerging qt first (found this on the forum), I have edited /etc/make.conf and removed my -O? flag, usually set to -O3 and tried repeatedly to re-emerge kdelibs without success. This has nothing to do with your CFLAGS, so you can put the -O setting back (nothing said about the 'virtues' of -O3; it's your PC). Anyway, here's part 1 of your problem: [ebuild R ] sys-devel/gcc-3.3.5.20050130-r1 And here's part 2: grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive If you notice, the libsdcc++ is being searched in a previous version of gcc than the one you are now using (3.3.4 as opposed to 3.3.5). So when you upgraded GCC, some of the libs weren't moved to the new location. The way to fix that is: # sh fix_libtool_files.sh HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] cant emerge kdelibs
Holly Bostick schreef: Oops, sorry, forgot part of the command: The way to fix that is: # sh fix_libtool_files.sh should be sh fix_libtool_files.sh 3.3.4 Sorry. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where is GNOME_MixerAapplet
Allan Gottlieb schreef: Mark Knecht suggests just telling gnome to delete the mixer from my panel config and install in manually, which I may well do (thanks mark). I think that's how I fixed it too-- although the gnome mixer isn't all that useful as a mixer (compared to alsamixer, or gamixer), it is useful to be sure that *GNOME* is correctly set up for sound (the mixer acts like the canary in the mines; if it won't load, or errors with the 'no device found' business, you can be sure that no GNOME/GTK applications which normally produce sound, will). I am sure I can find some mixer somewhere, but would prefer to actually find this one. Right click on the panel; Add to Panel=Mixer should be somewhere in the list; if not, then check in the 'Pre-existing Gnome Packages' section (but I think it's in the first list). In any case, very few, if any, of the former gnome-applets seem to be runnable as commands any more. And the most recent gnome-panel (2.10.2) is so buggy-- even for GNOME-- that I've had to go back to fbpanel, which at least doesn't crash all the time due to some problem with the system notification area... instead of getting better (it used to be that the panel would crash in the mixer applet all the time, until you got the GNOME backend straightened out, but after that it was pretty stable-- no more, it seems). So this problem really could be anything, but I will say that the mixer applet worked fine once I (working from memory): 1) went to the GNOME control panel and made sure esd was set to start at GNOME login, which I believe also needed 2) the esound daemon running in the default runlevel and then 3) deleted and re-added the mixer applet. Problem was I didn't really want to be running the Enlightened Sound Daemon, so I somehow or other reconfigured everything to be ALSA instead (took esound out of the default runlevel, and *thought* I told GNOME not to start esd at startup, but it persists in doing so, went to the GNOME Control Panel=Multimedia and Sound, and mucked about with the sources and sinks until I could at least get test sounds), and the mixer applet continued to work (although the panel itself was notoriously unstable). If you can follow all that sigh... it was a bit of a trial. Hope it's helpful. This seems to be a bug. Should I file it with gentoo (perhaps bad packaging) or with gnome? This mixer applet issue has been going on a long time... I'd check Bugzilla first, and see if it has been filed (probably) and what's the current status (for all I know, Gentoo could be waiting for an upstream patch, which they usually note in b.g.o. Afaik, the procedure is to file it with Gentoo, always, and if it's an upstream problem, the gnome maintainers will pass it forward. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Thunderbird
Benno Schulenberg schreef: Holly Bostick wrote: What I meant to say was: sys-kernel-2.4.28-r9 there should be a 'greater-than sign in fron of the package name, There was a greater-than for me, in KMail, also in your first mail. Apparently Thunderbird hides it from you. But it should do that only for From and nothing else. Bug in TB? Benno Yes and no-- the character is the symbol used to distinguish quotes from regular text-- and Thunderbird converts this character to a colored vertical line, so that quoted text looks like this when displayed: | here is my quoted text | and here is some more. I don't have an issue with this behaviour in general (in fact, I like the way quoted text is signified under normal circumstances). The problem is that, in this particular case, the character was the first non-whitespace character in the line, and T-Bird had no way of knowing that it was not intended to represent a traditional quote signifier, but was meant to remain itself. That is, of course, the whole point of escape characters; to tell the program in question that a character it has a standard meaning for should in this particular case not be translated to that meaning, but is meant to be just itself. The situation happens very rarely to me, but it's 'obvious' enough (especially to programmers and scripters, who use escape characters all the time) that I'm sure there must be some workaround for it for Thunderbird (since this is Thunderbird-specific behaviour, which I have noticed in the past, as well as the fact that KMail, for example, does not do this); I just don't know what it is. If there isn't, that *would* be a bug. I'll check MozillaZine and Google later Mozdev seems to like to hide this stuff. If you've ever tried to find the list of command-line switches for Netscape/Moz/Firefox on the Internet, you'll know exactly what I mean. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Thunderbird
Peng schreef: I'll check MozillaZine and Google later Mozdev seems to like to hide this stuff. If you've ever tried to find the list of command-line switches for Netscape/Moz/Firefox on the Internet, you'll know exactly what I mean. Holly What do you mean about the command line switches? The Mozilla.org page about them is right at the top if you Google Mozilla command line. So it is now... but look at the date of this document: Mozilla's Command Line Options By Daniel Wang (May 7, 2003, revised June 02, 2004) I've been using this program long, long, before this (Netscape=Mozilla=Firefox, some 8 or 10 years, thus), and I'm much more used to having a hard time finding this information (which is basically the same as it has been since Netscape 4.3x, in terms of starting the Profile Manager and such), than to it being easy. It's good to know that it's much more readily available, though. Also, for Thunderbird, pretty much any character could be used, though that character would be displayed, too, of course. I think even a pipe would work. They are used for quotes sometimes, though, I think, so maybe another character would be better. Yes, the obvious workaround is to put double quotes around it as I did in the edit. I just dislike that, because, to be thorough, you also then have to add a don't forget to remove the quotes disclaimer in order to be newbie-friendly. But here, I can *probably* be a bit more lax and trust you all to be clever enough to know that already :) . Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerging old kernel
Ian K schreef: Hi there, I need to get a 2.4 kernel onto a system, but gentoo-sources now gives 2.6. I checked gentoo-portage.com and it says that there is still a 2.4 ebuild in the gentoo-sources package(?). As indeed there is: eix gentoo-sources * sys-kernel/gentoo-sources Available versions: 2.4.28-r9 2.6.9-r9 2.6.10-r6 2.6.11-r8 2.6.11-r11 [M]2.6.12-r3 [M]2.6.12-r4 Installed: 2.6.11-r8 2.6.11-r11 Homepage:http://dev.gentoo.org/~dsd/gentoo-dev-sources Description: Full sources including the gentoo patchset for the 2.6 kernel tree How do I get it? Try this: emerge -av =sys-kernel/gentoo-sources-2.4.28-r9 Don't forget to add sys-kernel-2.4.28-r9 to /etc/portage/package.mask, or Portage will keep trying to upgrade you. If there's a 2.4-series upgrade, that will also be blocked, but you are likely to be keeping an eye open for any such updates, and can adjust your package.mask accordingly. Thanks!! HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerging old kernel
What I meant to say was: Don't forget to add sys-kernel-2.4.28-r9 to /etc/portage/package.mask. Stupid Thunderbird needs an escape character (or does it have one and I just don't know it?). Anyway, there should be a 'greater-than sign in fron of the package name, to mask all packages above it (which atm basically means all 2.6 series kernels). Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Emerging old kernel
Ian K schreef: I get an error though: There are no ebuilds to satisfy =sys-kernel/gentoo-sources-2.4.28-r9 Thanks Holly! Ian Hey, Ian-- Maybe you need to sync or something, because it certainly works for me: za 07/09/05 03:18 ~ root - emerge -pv =sys-kernel/gentoo-sources-2.4.28-r9 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] sys-kernel/gentoo-sources-2.4.28-r9 -build -doc +symlink 31,453 kB Total size of downloads: 31,453 kB Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gtk-WARNING **: cannot open display:
W.Kenworthy schreef: After an update (possibly pam related) a couple of weeks ago, I can no longer run so X apps under sudo (starting apps from a root logged in via su in an xterm work fine). In particular, I have some scripts using gtkdialog (which run as root) to ask which network for my laptop using a small gui before starting the correct network. However, any attempt to open a dialog generates an error (gtkdialog:18408): Gtk-WARNING **: cannot open display: xhost + doesnt help so its probably another PAM problem - can someone recommend where to look? BillK I had the same problem, but it was *not* PAM-related (I don't use PAM). Found an answer on the forums (sorry, no link this time, maybe later)-- adding the following to sudoers (using visudo) worked for me: # Allow users in group users to export specific variables # Defaults:%users env_keep=TZ Defaults:%users env_keep=DISPLAY (the uncommented line is the additional line in question) Hope this helps, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2.4 - 2.6 wierdness
Jerry McBride schreef: On Tuesday 05 July 2005 06:00 pm, [EMAIL PROTECTED] wrote: Trying to Migrate to 2.6. But when I reboot into my new genkerneled system, I cannot use X.org anymore, it complains about agpgart not working. Even If I modprobe the kernel mod or even compile it in directly it rejects it. Any Ideas on how to proceed? Creighton Without seeing the xorg logfile from /var/logs... I'd say you ahve to re-emerge xorg or at the least run revdep-rebuild -p to see whta has to get upgraded also. I question whether that would work, without knowing what hardware (motherboard, videocard) is involved, especially when I hear the word 'genkernel'. To me, errors in agpgart first suggest that either support for your motherboard's agp chipset is not compiled into the kernel, or --if compiled as a module, is not loaded; and secondly, the outside chance that-- if using an ATI card-- the InternalAGPGART setting is wrong; set to YES when it should be set to NO because you have to use your motherboard's kernel module (but this does not usually result in X.org not starting, just complaints in the logs), or set to NO when it should be set to YES because you don't use your motherboard's kernel support, so no agpgart is being loaded at all (which I would imagine would prevent X from starting). What does dmesg or /var/log/messages say about agpgart? Did it try to load and fail? What does lsmod say is loaded? If nothing, can you modprobe your agpgart module? What is your mobo and video card? If an ATI or nVidia video card, did you re-emerge the drivers after compiling the kernel? Basically, I'd just like to confirm that genkernel didn't drop the ball. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mplayer codecs
Bruno Gola schreef: Hello guys, I was trying to play some *.wmv files in mplayer, but it seems i dont have the proper video codec (it complains about the video only), so, where should i put the codecs files ? Because i've already downloaded the codecs that i need... but i dont know where to put... can anyone help me? Thanks, Bruno Gola It might be easier if you just let Portage manage it: eix win32codecs * media-libs/win32codecs Available versions: 20050216 *~20050412 Installed: 20050216 Homepage:http://www.mplayerhq.hu/ Description: Win32 binary codecs for video and audio playback support and then made sure mplayer knew about it: emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre7 -3dfx +3dnow +3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bl +cdparanoia -cpudetection -custom-cflags -debug +dga +directfb +divx4linux -doc +dts +dv +dvb +dvd +dvdread +edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg +libcaca -lirc -live -lzo +mad +matroska -matrox +mmx +mmxext -mythtv +nas +nls -nvidia +opengl +oss +png +real +rtc +samba +sdl +sse +sse2 +svga +tga +theora +truetype +v4l +v4l2 +vorbis +win32codecs +xanim -xinerama +xmms +xv +xvid +xvmc 0 kB Of course, if you emerge mplayer +win32codecs, then you don't have to emerge the win32codecs package separately (unless you want it in your world file), as it will then be pulled in as a dependency. Holly Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] mplayer codecs
Bruno Gola schreef: Holly Bostick wrote: Bruno Gola schreef: Hello guys, I was trying to play some *.wmv files in mplayer, but it seems i dont have the proper video codec (it complains about the video only), so, where should i put the codecs files ? Because i've already downloaded the codecs that i need... but i dont know where to put... can anyone help me? Thanks, Bruno Gola It might be easier if you just let Portage manage it: eix win32codecs * media-libs/win32codecs Available versions: 20050216 *~20050412 Installed: 20050216 Homepage:http://www.mplayerhq.hu/ Description: Win32 binary codecs for video and audio playback support and then made sure mplayer knew about it: emerge -pv mplayer These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/mplayer-1.0_pre7 -3dfx +3dnow +3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bl +cdparanoia -cpudetection -custom-cflags -debug +dga +directfb +divx4linux -doc +dts +dv +dvb +dvd +dvdread +edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg +libcaca -lirc -live -lzo +mad +matroska -matrox +mmx +mmxext -mythtv +nas +nls -nvidia +opengl +oss +png +real +rtc +samba +sdl +sse +sse2 +svga +tga +theora +truetype +v4l +v4l2 +vorbis +win32codecs +xanim -xinerama +xmms +xv +xvid +xvmc 0 kB Of course, if you emerge mplayer +win32codecs, then you don't have to emerge the win32codecs package separately (unless you want it in your world file), as it will then be pulled in as a dependency. Holly Holly thanks for helping me, but ive already done this, i tried to merge this codecs package but, it stills not working... and when i try emerge -pv mplayer it stops at : [ebuild R ] media-video/mplayer-1.0_pre7 -3dfx +3dnow +3dnowext +X +aac +aalib +alsa (-altivec) -arts -bidi -bl +cdparanoia -cpudetection -custom-cflags -debug +dga +directfb +divx4linux -doc +dts +dv +dvb +dvd +dvdread +edl +encode +esd +fbcon +ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg +libcaca -lirc -live -lzo +mad +matroska -matrox +mmx +mmxext -mythtv +nas +nls -nvidia +opengl +oss +png +real +rtc +samba +sdl +sse +sse2 +svga +tga +theora +truetype +v4l +v4l2 +vorbis I cant see the: +win32codecs +xanim -xinerama +xmms +xv +xvid +xvmc 0 kB And, when i try to: emerge mplayer +win32codecs it complains: br ~ # emerge mplayer +win32codecs Calculating dependencies - emerge: there are no ebuilds to satisfy +win32codecs. Do you have anyidea ? thaks again, Bruno Gola The correct way would be to # echo 'media-video/mplayer win32codecs' /etc/portage/package.use (this will enable the USE flag for all compiles of mplayer, now and in the future) The much less correct way would be to # USE=win32codecs emerge mplayer (this will compile mplayer with the USE flag set just for this compile, but if you upgrade, Portage will not remember the setting, and will upgrade without the flag) You can also simply # emerge win32codecs which will install the codecs, but it will also put the package in your world file, which you may not want, and will also not tell mplayer about it (because mplayer was compiled without support for the codecs)-- you would still need to re-emerge mplayer with the win32codecs USE flag enabled. What version of mplayer are you emerging? Perhaps the last stable (1.0_pre6-r4) doesn't support that USE flag, and you have to unmask an unstable version? Hope this helps Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] sudo echo cannot write to /etc/ files ?
Hey, ho-- Here's (one of) today's non-critical problems that's getting on my nerves, so hopefully somebody can help. I've finally got around to setting up sudo. It works fine, except for one thing. I don't just give myself blanket permissions to sudo to all commands; I made a Cmd_Alias group which includes a lot of utility apps. And, like many of you, I included emerge in this group. But a lot of the time, when I do an emerge -av, I find that there's a USE flag I want or don't want for the package, or I want an unstable version, or whatever, which means I have to echo to one of the files in /etc/portage. Echo is in the sudo-ed group, and echo isn't the problem-- the problem is that permission is refused to write to the file itself (which is an error *from* echo, so it would seem that echo itself is OK as far as sudo goes). Which means that I have to su anyway, to echo to the file, which really isn't the point of the exercise. As I see it, this error can mean only one of two things: sudo does not give me a login shell (so my UID is 'really' still my UID and not root's, and I don't have permission to write to the file); or there is another, invisible cli utility responsible for actually writing to the file, which is not sudo-ed. Or could it be something else? In any case, does anybody know how I could fix this? It's really screwing up my useability, which was just starting to shape up nicely :-) . Thanks, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
A. Khattri schreef: On Wed, 6 Jul 2005, Holly Bostick wrote: Echo is in the sudo-ed group, and echo isn't the problem-- the problem is that permission is refused to write to the file itself (which is an error *from* echo, so it would seem that echo itself is OK as far as sudo goes). Which means that I have to su anyway, to echo to the file, which really isn't the point of the exercise. What is in /etc/sudoers? Either the problem is there or maybe its because in some shells, echo is a built-in command and in others its not (so /bin/echo comes into play). Well, I'm not going to copy my entire file, but I've got /usr/bin/echo sudoed (because that's what 'which echo' said was the path to echo). But doing a locate echo reveals that there is also a /bin/echo oh, and la /usr/bin/echo reveals it to be a symlink to /bin/echo. Fine. What in the bloody blue blazes does that tell me? Changing visudo to allow /bin/echo rather than /usr/bin/echo didn't do a thing. I'm using bash, like a boring person. Looking (searching, actually) through man bash, I can see that echo is a built-in-- do I have to sudo bash as well? And in any case, echo isn't refusing to run-- if I run secho $JAVA_HOME, I get a return... but it's the return of the *user's* JAVA_HOME, rather than the *system* JAVA_HOME. This supports my theory that this is a regular su shell and not an su - shell, which is not much help to me in this situation (for echo to write to the /etc/files, I need UID 0). So I suppose I could find this in man sudoers, but that's almost as bad as man bash for trying to find something when you're not quite sure what you're looking for. Is there a way to get sudo to behave as a login shell when sudo-ing rather than just a regular su? And is that a scalable or global change (limitable would be nice)? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
Edward Catmur schreef: On Wed, 2005-07-06 at 15:52 +0200, Holly Bostick wrote: Echo is in the sudo-ed group, and echo isn't the problem-- the problem is that permission is refused to write to the file itself (which is an error *from* echo, so it would seem that echo itself is OK as far as sudo goes). Which means that I have to su anyway, to echo to the file, which really isn't the point of the exercise. As I see it, this error can mean only one of two things: sudo does not give me a login shell (so my UID is 'really' still my UID and not root's, and I don't have permission to write to the file); or there is another, invisible cli utility responsible for actually writing to the file, which is not sudo-ed. If you're using e.g. sudo echo package /etc/portage/package.unmask then the redirection takes place in your shell, not in sudo. HTH. OK, you all likely realize that I responded before I had got the three more messages telling me what to do. I'm sure it will work (three people telling you the exact same thing is pretty convincing ;-) ), but what I don't understand is why/how, if I want to sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords changing that to sudo echo media-video/xine-ui ~x86 /etc/portage/package.keywords is going to write the line media-video/xine-ui ~x86 to /etc/portage/package.keywords-- i.e., why are the internal quotes no longer necessary? Or should it be sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords or will that *really* screw everything up? (As you see, my understanding of bash is trying to improve, with only very limited success :-) ). Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
[EMAIL PROTECTED] schreef: Le Mercredi, 6 Juillet 2005 15.52, Holly Bostick a ecrit : Hey, ho-- I've finally got around to setting up sudo. It works fine, except for one thing. I made a Cmd_Alias group which includes a lot of utility apps. And, like many of you, I included emerge in this group. But a lot of the time, I have to echo to one of the files in /etc/portage. Echo is in the sudo-ed group, and echo isn't the problem-- the problem is that permission is refused to write to the file itself As I see it, this error can mean only one of two things: sudo does not give me a login shell (so my UID is 'really' still my UID and not root's, and I don't have permission to write to the file); or there is another, invisible cli utility responsible for actually writing to the file, which is not sudo-ed. Or could it be something else? In any case, does anybody know how I could fix this? It's really screwing up my useability, which was just starting to shape up nicely :-) . Thanks, Holly I think the problem come from the fact that echo is sudo-ed but the shell redirection isn't. Compare this: su -c echo foo /etc/portage/whatever and su -c echo foo /etc/portage/whatever The first one will succeed, but not the second. To solve your problem, I would just do: chgrp -R portage /etc/portage chmod -R g+w /etc/portage Well, it didn't work (this to all the respondents). I did change the group and mod of /etc/portage, but even before I did: sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords -bash: sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords: Onbekend bestand of map (unknown file or folder, which is at least different, but not really much of an improvement, and no, before someone asks, putting a space before /etc doesn't help) and even after chowning and chmodding: sudo echo 'media-video/xine-ui ~x86' /etc/portage/package.keywords -bash: /etc/portage/package.keywords: Toegang geweigerd (permission refused) with the quotes, it's unknown file or folder. la /etc/portage totaal 51 drwxrwxr-x 5 root portage 384 jun 13 00:40 . drwxr-xr-x 88 root root7312 jul 6 16:15 .. -rw-rw-r-- 1 root portage 9757 jul 6 17:09 package.keywords -rw-rw-r-- 1 root portage 6164 mei 26 11:47 package.keywords~ -rw-rw-r-- 1 root portage 64 jun 15 05:27 package.mask -rw-rw-r-- 1 root portage 100 mei 16 14:57 package.mask~ -rw-rw-r-- 1 root portage 105 jun 15 05:27 package.unmask -rw-rw-r-- 1 root portage 103 mei 15 21:09 package.unmask~ -rw-rw-r-- 1 root portage 2252 jun 30 12:32 package.use -rw-rw-r-- 1 root portage 1616 mei 12 15:46 package.use~ drwxrwxr-x 2 root portage 80 nov 26 2004 profile drwxrwxr-x 2 root portage 72 jun 2 13:10 profiles drwxrwsr-x 2 root portage 48 okt 27 2004 sets Not really sure what good the portage group was supposed to do anyway, since root is a member of that group, but then again root owns the whole shebang anyway. The user is not a member of the portage group. Should I chown the folder -R to users? (seems again quite not the point)? It still seems that what I really want is a login shell that I'm not getting. I'm really lost. Where am I going wrong? Oh, btw, just remembered-- this is bash 3. Does that make a difference? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
Christoph Gysin schreef: David Morgan wrote: afaik you can only do it with su -c echo foo bar, which stops bash from doing anything with the or the whitespace to begin with, but then passes everything inside the double quotes to another shell, which gets started by su -c It's kind of annoying, I know, but I don't think there's a way round it with sudo. Yes it is possible. But you need the shell (which handles the redirect) to run as root. Ah-HAH! (at least I figured that much out, thanks for confirming) $ sudo echo package ~x86 /etc/portage/package.keywords will run the redirection as user, where: $ sudo bash -c echo package ~x86 /etc/portage/package.keywords will run the redirection as root. For stuff like this, I'd recommend you to write simple shell functions: addkeyword(){ sudo bash -c echo $* /etc/portage/package.keywords } Write them in your .bashrc and their avaible when you need it. Use it like this: $ addkeyword package ~x86 Christoph Thank you, Christoph You have not only saved my sanity, but you've given me a solution to two problems you didn't even know I had (it was the next question)! i.e., how to essentially export self-created variables or something similar (you don't know how many times I've put a comma between package and keywords/use/unmask, and I really needed some way to not have to be typing it all the time until I get more time in with GTypist); and also how to easily use some of the aliases I've got in root's .bashrc (or at least their functionality). Now, with some minor adjustments of this template, not only can I add keywords (or useflags or mask and unmask) easily, I can also open the package.* file in nano and edit it easily if I screw up, or want to check something. Last question on this subject-- is this all just bash scripting (so I can learn about it if I sit and study the abs-guide) or is there someplace else I should check out if I want to learn how to write this stuff myself? Thanks again, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] which package is kfm in?
Christoph Gysin schreef: Could some KDE user out there run the following command for me: $ equery b $(which kfm) Thanks! Christoph Actually, none-- it's 'konqueror --profile filemanagement' now (this just bit me the other day when I tried one of my rare uses of Konq and went looking for kfm, which no longer exists). So just install konqueror. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] bash_history missing
maxim wexler schreef: Try to adjust those variables: HISTFILE=/home/your_account/.bash_history HISTFILESIZE=500 HISTSIZE=500 HTH, noro Thanks noro. I had to run the above from root and sure enough, they were written into my home dir .bash_history, along with the exit command to get back to user-space. So I ran a series of ls's just to check but they don't appear. So what now? Umm, not that I actually know anything about this, but I find it hard to imagine that a file written by root wouldn't be owned by root and would not exclude the user from being able to write to it. Why did you have to create a user file as root (not saying you didn't have to, just asking why)? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
Richard Fish schreef: BTW Holly, You should recognize that from a security standpoint allowing yourself to execute bash is really giving yourself blanket permissions to sudo to all commands. You might as well make life easier on yourself and just make your sudo settings ALL=(ALL) NOPASSWD: ALL. My $.02. -Richard Thank you for the heads-up, Richard, but it would seem that that isn't quite true-- I did a test: sudo bash -c /etc/init.d/samba restart Gentoo Linux RC-Scripts; http://www.gentoo.org/ Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL Usage: samba flags [ options ] Options: In other words, I couldn't restart the Samba daemon, whereas when root I can: su Wachtwoord: wo 07/06/05 20:31 ~ root - /etc/init.d/samba restart * samba - stop: smbd ... [ ok ] * samba - stop: nmbd ... [ ok ] * samba - start: smbd ... [ ok ] * samba - start: nmbd ... [ ok ] So I think I'll pass on the ALL/ALL -- I know that this is not the most secure setup possible (though as soon as I set up a personal firewall behind the router's firewall and set up chrootkit, I'll feel yet better), but still, I'd like to keep what minimal limits still exist, despite having punched holes in them my own self. Or is this not a valid proof that there are some limits left? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
Richard Fish schreef: Holly Bostick wrote: Richard Fish schreef: BTW Holly, You should recognize that from a security standpoint allowing yourself to execute bash is really giving yourself blanket permissions to sudo to all commands. You might as well make life easier on yourself and just make your sudo settings ALL=(ALL) NOPASSWD: ALL. My $.02. -Richard Thank you for the heads-up, Richard, but it would seem that that isn't quite true-- I did a test: sudo bash -c /etc/init.d/samba restart Remember that the -c option for bash is a single argument, not the rest of the line. The 'restart' is being seen as a separate argument to bash, not as part of the command for bash to execute, if that makes any sense! It will work if you do: sudo bash -c /etc/init.d/samba restart -Richard So it will. Shoot. Oh, well. Maybe I'll rework this, or I should then ask for: 1) firewall recommendations (personal, as the router has one too; atm I'm liking firestarter) 2) anti-hacking monitors (other than chrootkit and rkhunter, if needed-- guess I'm thinking about keyloggers) ? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ffmpeg front-end recommendations?
Ryan schreef: I am looking for an excellent ffmpeg front end/gui. It doesnt matter if its a console or X based front end, as long as it supports as many features of ffmpeg as possible for decoding/encoding processes. The main purpose is to convert about 200 mp4's that I have into an SVCD/VCD or mpg format with ability to play with the quality of the video. I am able to do it with the command line, but the lines are so long to edit, that I'd rather have the buttons and dropdowns to select from instead. The ideal candidate I found would have been ffmpegX, but that is only for MacOSX. Is there something for Linux that is along the same lines as ffmpegX that would use both mencoder and ffmpeg? Sounds like a job for avidemux to me Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Help I have b0rked my system :(
Dave S schreef: Volker Armin Hemmann wrote: Hi, you don't have composite activated, do you? I have looked in xorg.conf but cannot find any reference to it, just in case I swapped xorg.conf for an old copy, same problem :( Dave I've gotta say, composite was the first thing I thought of as well-- and I've never even seen it in use, much less used it myself. But would changing xorg.conf help, if the xorg package was compiled with the +composite USE flag set (which is what I at least am wondering about, rather than whether it's activated in the config or not)? I don't know anything about the feature, really, but given that all your problems seem to involve sudden, extreme, and unwanted transparency, and that's what composite does (transparency) ...what about xcompmanager (or whatever it's called)? Is that possibly running? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 2.4 - 2.6 wierdness
[EMAIL PROTECTED] schreef: Okay, let's start over. I have only posted the first post of this thread, but I would say that all off the noise may imply that I am not alone here. -I have a working setup in 2.4, less so now than before, but xorg does still work. -in 2.6, xorg will break and complain that /dev/agpgart does not exist. -/dev/agpgart, in fact, does not exist when using Udev in 2.6, yet it does exist when I reboot into 2.4 Yes, but you see, my point is that-- as far as I know-- udev doesn't create the agpgart device; the loading of the kernel module does that. In the same way that the kernel modules are responsible for creating all the motherboard resources that load at boot before udev comes into the picture. So that's why I'm feeling that the problem is with your kernel, not udev per se. Although maybe coldplug wouldn't hurt to have in rc-update. -modprobe agpgart will result in an error What is the error? Module doesn't exist? Module is already loaded? Symbol errors? -genkernel --udev --menuconfig all will not show me an option that refers to AGP anything, is this a bus? Yes, it's a speeded-up, dedicated form of the PCI bus. The kernel configuration for it is Device Drivers== Character devices. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] .MID plugin for mozilla
Michael Sullivan schreef: I saved the .mid file to my hard drive and tried to open it with mozilla. It gave me a dialog with this information: The file #3 is of type #2 (#1) and #4 does not know how to handle this file type. This file is located at: What should Mozilla do with this file? Open it with the default application Open it with Save it to disk I don't think this is normal. When I select the default application option I get a message that says /home/michael/FF6opera.mid could not be opened, because the associated helper application does not exist. Change the association in your preferences. The trouble is that I've never used a helper application to play .mid files - I've always used mozilla... Ummm... it seems to me you've always used a helper application... after all, Mozilla is a *web browser*-- all it can do on its own is read web pages. It can't play midi files, or movies, or anything, without a helper application with that functionality being made available to it. It's just that most of the time the operation of that helper app is invisible to the user (but not always; consider for example the Acrobat Reader plugin, which is by no means an invisible helper app, nor is the RealPlayer plugin, which often opens RP in its own ugly window to play the file in question). The issue, as I see it, is that whatever backend is used to play midi on your computer is either non-existant, non-functional, or disconnected from Mozilla. I suspect what Mark was suggesting was that you try to play the MIDI file in a media player (the default application for MIDI files) and see if you could hear it-- if so, then we'd know that the system is capable of playing Midi files, just Mozilla doesn't know how. That's a different problem than what would be indicated by not being able to hear the file in XMMS (with correct plugin), or KMid, or whatever, at all-- then there's something wrong with your whole MIDI backend. Do you have playmidi installed (eix or emerge -S playmidi)? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problem emerging man-1.6
Christian Herzyk schreef: Replying to my own mail: I just found the solution on the forums (the idiot at this keyboard only searched google and not the forums). The solution can be found here: http://forums.gentoo.org/viewtopic-t-354675-highlight-man1+6.html For the information of anyone who might need to know-- it's fixed already. I just now synced and emerged it (in a -uaDtv world), and man-1.6 downloaded (I had deleted the previous tarball in /usr/portage/distfiles), extracted and emerged without a single problem (without changing my MAKEOPTS or anything of that nature, or of any nature, to be honest. It Just Worked). I *love* the Gentoo Dev team! You guys are the *best*! Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OpenOffice2.0 Install [not solved :( ]
Ian K schreef: Zac Medico wrote: Ian K wrote: Hey Everyone, I really want the OO.org 2.0 beta, but its not in portage snip http://packages.gentoo.org/packages/?category=app-office;name=openoffice-bin The latest beta is in the portage tree but it's keyword masked. echo app-office/openoffice-bin ~* /etc/portage/package.keywords emerge openoffice-bin Im getting a problem though.. After I enter in your command, I did an emerge search to get the size of the download, but it says the latest version is still 1.1.4, and I just did an emerge sync a few hours ago... Any ideas? Yes... This suggests that you've either made a typo or otherwise not successfully unmasked the file. Now, I'm looking at the OO.o-bin entry in packages.gentoo.org, openoffice-bin 1.9.109 Thu Jun 16 16:48:15 2005 Description: OpenOffice productivity suite Changes: *openoffice-bin-1.9.109 (16 Jun 2005) 16 Jun 2005; Andreas Proschofsky [EMAIL PROTECTED] +files/1.9/ooo-wrapper2, +openoffice-bin-1.9.109.ebuild: New beta version of OOo 2.0. This uses a new wrapper, also adds two new languages (hr and lt) plus some minor fixes and the user install dir has changed. 05 Jun 2005; Andreas Proschofsky [EMAIL PROTECTED] openoffice-bin-1.9.104.ebuild: Make the LINGUAS-stuff a little bit smarter to not break en_GB, closes bug #93826 21 May 2005; Andreas Proschofsky [EMAIL PROTECTED] openoffice-bin-1.9.104.ebuild: Missed two new rpms, which breaks stuff for some. Fixed. Install changing all the time is really anoying. alpha amd64 arm hppaia64mipsppc ppc64 ppc macos s390sparc x86 1.9.109 - M~ - - - - - - - - - M~ and it looks to me like it's double-masked; hard-masked and by keyword. This is supported by my own settings (I have 1.9.109 installed myself). So first you have to disable the hard mask: echo 'app-office/openoffice-bin' /etc/portage/package.unmask (make sure that /etc/portage exists first-- the echo command can create the file if it doesn't exist, but not the folder, so will fail in that case) and then the keyword mask: echo 'app-office/openoffice-bin ~x86' /etc/portage/package.keywords This should allow you to get a hold of the app you want. Works for me, anyway. If it still doesn't work, check for typos inside the file itself (in a root terminal with nano, or a gk/kdesu text editor, as only root can edit these files)-- I'm becoming rather famous with myself for echoing to /etc/portage/packagecommawhatever rather than /etc/portage/packageperiodwhatever (yeah, I can't half type)-- this and other typos will prevent the entry from being correctly read, thus not telling Portage that you want the package made available to you. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge Amarok
Anthony E. Caudel schreef: I recently switched to the KDE 3.4 split ebuilds but when I tried to emerge Amarok, it wnated to pull in several 3.3 packages: == These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] kde-base/arts-1.3.2-r1 +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 945 kB [ebuild NS ] kde-base/kdelibs-3.3.2-r9 +alsa +arts +cups -debug +doc +ipv6 -kdeenablefinal -kerberos +ldap +spell +ssl +tiff -xinerama 15,257 kB [ebuild N] kde-base/kdebase-3.3.2-r3 +arts +cups -debug +java -kdeenablefinal +ldap +opengl +pam +samba +ssl -xinerama 19,526 kB [ebuild N] kde-base/kdemultimedia-3.3.2 +alsa +arts -audiofile -cdparanoia -debug +encode +flac -kdeenablefinal +oggvorbis -speex +xine -xinerama 5,258 kB [ebuild N] media-sound/amarok-1.2.4 +arts -debug +flac +gstreamer +kde -kdeenablefinal +mad +mysql -noamazon +oggvorbis +opengl -visualization +xine -xinerama +xmms 5,875 kB I placed amarok in package.keywords so it would pull in the latest 1.2.4 version but that did't help. I don't see any particular USE flags that would cause this. None of the other apps wanted to do this and I really don't believe these 4 packages are necessary. How can I find out what is forcing this and prevent it. Tony What's forcing it is your version of amarok: # ChangeLog for media-sound/amarok # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/amarok/ChangeLog,v 1.59 2005/06/27 10:21:02 flameeyes Exp $ *amarok-1.3_beta2 (27 Jun 2005) 27 Jun 2005; Diego Pettenò [EMAIL PROTECTED] +amarok-1.3_beta2.ebuild: New upstream beta. 22 Jun 2005; Hanno Boeck [EMAIL PROTECTED] +files/amarok-gcc4.gz, amarok-1.2.4.ebuild: Fix for gcc4. 17 Jun 2005; Joseph Jezak [EMAIL PROTECTED] amarok-1.2.3.ebuild: Marked ppc stable. 16 Jun 2005; Diego Pettenò [EMAIL PROTECTED] amarok-1.3_beta1.ebuild: Amarok 1.3 depends on kde 3.3 not 3.4. See that last entry? You need the 1.3 beta, not the last release. esults 1 - 1 of 1 amarok Description: amaroK - the audio player for KDE. Releasesalpha amd64 arm hppaia64mipsppc ppc64 ppc macos s390sh sparc x86 1.3_beta2 - M~ - - - - M~ - - - - - M~ 1.3_beta1 - M~ - - - - M~ - - - - - M~ The betas are hard masked and package masked, so you will have to (from a root terminal): echo 'media-sound/amarok' /etc/portage/package.unmask and echo 'media-sound/amarok ~x86' /etc/portage/package.keywords then you should be able to get the version that depends on KDE 3.4. BTW, I'm using it (the beta build), and it seems fine (this is my first time using Amarok, so I have no previous experience). I don't even use KDE, but it's now my default player. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] vsftp .vs. ftpbase WTF??
Stoian Ivanov schreef: [EMAIL PROTECTED] ~ # emerge -auD world These are the packages that I would merge, in order: Calculating world dependencies ...done! [blocks B ] net-ftp/vsftpd-2.0.3-r1 (is blocking net-ftp/ftpbase-0.00) [ebuild N] net-ftp/ftpbase-0.00 [ebuild U ] net-ftp/vsftpd-2.0.3-r1 [2.0.3] !!! Error: The above package list contains packages which cannot be installed !!!on the same system. [EMAIL PROTECTED] ~ # So the answer is Den't emerge until things are sorted out (ftpbase-0.01 orvsftpd-2.0.3-r2)? And your question would be? Are you asking how to find out why ftpbase is being called at all (run emerge -upDt world to get a tree view that will show you what installed program vsftpd is a -D(ependency) of, and also what installed program is requiring ftpbase)? Are you asking how to solve the issue (unmerge vsftpd and then run the original command again, which will allow ftpbase to install, as it cannot be installed on a system where vsftpd is already installed-- apparently they are replacements for each other)? Or are you asking which one is better (no idea)? Of course you can emerge while this is up in the air; just not with --deep and probably not world (as world will likely re-initiate the conflict). But if there are other things on the list that you want to update, you can of course do that, and you can of course add any new apps that might catch your fancy. And some 5-10 minutes of looking at the information of the two conflicting apps-- a combination of searches on www.gentoo-portage.com and packages.gentoo.org , with a side trip to one or both homepages, usually should indicate why the block exists and provide enough information about both programs so you can decide how you personally want to solve it (maybe you don't want ftpbase at all and want to stick with vsftpd). Blocks really seem to throw people for a loop, when they're really only there to make you *stop* the headlong rush and examine the particular situation more carefully. Otherwise, they're not a really big deal, at least IMHO. Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] Another question on mailing cron-job output
Hey, list, You may remember me asking previously about how to get cron to mail me the output of esync, which is working fine so fine, in fact, that I think I'll take Neil's recent suggestion of putting revdep-rebuild -p in cron.weekly and having that output mailed to me as well. So atm, my cron jobs mail me the output of esync and glsa-check (and shortly revdep-rebuild -p). But there's also a default cron job that runs daily... test -x /usr/sbin/run-crons /usr/sbin/run-crons Now, I want this job to run, but I really don't need the input mailed to me, especially if this is what it is (and this *is* what it is): !!! aux_get(): ebuild path for 'app-misc/FileRunner-2.5.1' not specified: !!!None Building database from scratch .. Reading Portage settings .. Using eix database in /var/cache/eix Using portage cache: /usr/portage/ Reading cache for main tree: 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086% 087%0 Reading overlays .. /usr/local/portage/ 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086%087% 088%08 /usr/local/bmg-main/ 0%000%001%002%002%003%004%005%005%006%007%008%008%009%010%010%011%012%013%013%014%015%016%016%017%018%018%019%020%021%021%022%023%024%024%025%026%027%027%028%029%029%030%031%032%032%033%034%035%035%036%037%037%038%039%040%040%041%042%043%043%044%045%045%046%047%048%048%049%050%051%051%052%053%054%054%055%056%056%057%058%059%059%060%061%062%062%063%064%064%065%066%067%067%068%069%070%070%071%072%072%073%074%075%075%076%077%078%078%079%080%081%081%082%083%083%084%085%086%086%087% 088%0 Applying masks .. Database contains 9542 packages in 137 categories. Woo-hoo. The only error in this I know about (just haven't fixed it yet, but since it's why I can't even install the program, I know that particular ebuild is broken), and the rest of the output is pretty non-informative/useless. Is there any way to *not* receive mail from specific cron jobs, while leaving the rest of the mails intact? I looked at man cron and man crontab, but they seemed to indicate that it's kind of an all-or-nothing deal. Alternatively, since the output cron jobs are being mailed via a mail -s command in the scripts themselves, can I/should I just put a dummy user in cron's 'normal' mailto slot, so that the other mail essentially goes to /dev/null? It's not a big problem now, but I can see how, as I learn more about cron and add more jobs for the daemon to run, it could get to be. What I'd *really* like is the output from the jobs that I've set to mail me output, and a summary of names of any other jobs that ran successfully, just so I know that they ran successfully. But I don't think cron does
Re: [gentoo-user] 2.6.12* hoses ati and bcm4400
Iain Buchanan schreef: Hi, I recently upgraded to 2.6.12, and on my recompile of all associated parts, ati-drivers had some trouble, and bcm4400 plain didn't compile! This process has worked almost flawlessly for me through many 2.6 kernels. With 2.6.12 I managed to get ati-drivers working, but on boot, when loading vesafb (tng) the kernel message shows the ati card string, and then hung about 50% of the time. With 2.6.12.1 it hung 100% of the time at this point. snip I would be interested in hearing from any one else who had success / failure with the 2.6.12* kernel and ati drivers. Basically the drivers do not officially support 2.6.12, as it was not released at the time of the driver release, and ATI has a policy of only supporting stable/released kernels (not -rc kernels or the like). However, users are fighting madly to create patches, since if ATI does not provide a hotfix release or patch, we all have to wait some 6 weeks for an upgraded driver, or not upgrade our kernels until the next scheduled release (ati has a two-month release schedule, and these drivers were released on the 9th of June). You probably want to check out this thread at the Rage3d forums: No DRI with kernel 2.6.12 http://www.rage3d.com/board/showthread.php?t=33819631 as well as ATI: 2.6.12-rc6 patch http://www.rage3d.com/board/showthread.php?t=33819050 and from the unofficial Bugzilla [patch] kernel 2.6.12 support http://ati.cchtml.com/show_bug.cgi?id=136 I feel that there was also a thread -- somewhere -- collecting all the user-created patches to date, but I can't find it, sorry. In any case, hope this helps; I make no warranty for any of these solutions as I have not tried them myself-- I haven't even had the time to compile and upgrade gentoo-sources-2.6.11-r8 to 2.6.11-r11, much less try to get 2.6.12 working. It's looking like by the time I get around to upgrading my kernel, it will be time for a new release anyway, so I'll probably just wait to upgrade. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] different times in postfix log
Jan Callewaert schreef: Hi, if I watch the logs of postfix, I have different times in it. Jun 18 19:17:43 [postfix/qmgr] 1E365EDCC3: from=bla, size=4398, nrcpt=1 (queue active) Jun 18 21:17:44 [postfix/local] 1E365EDCC3: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=local, delay=1, status=sent (delivered to command: procmail) Jun 18 19:17:44 [postfix/qmgr] 1E365EDCC3: removed Jun 18 21:17:48 [postfix/smtpd] disconnect from localhost[127.0.0.1] this is at 21:18. Date displays the correct hour. Any idea what is causing this? Only [postfix/qmgr] is showing the wrong time, the rest is correct. Regards, Jan Callewaert A perhaps more important question is: Why am I receiving a second copy of this message 10 days after I originally received it (and it's dated 10 days ago, too)? Am I the only one who received this (again) today (about 2 minutes ago, 14:26 CET)? If there is some kind of weirdness with my ISP (which would likely be the case if I'm the only one who got this), I certainly want to know about it-- and if Jan has some kind of weirdness on his (?) servers, I guess he (?) would want to know about that, too. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT? Gnome no bzip2 utility
Dave S schreef: I am starting to play with Gnome, I am trying to install some more icons, I drag my icon file to 'Theme Preferences', it downloads then reports ... Can not install theme. The bzip2 utility is not installed bash-2.05b$ emerge -p bzip2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] app-arch/bzip2-1.0.3 bash-2.05b$ So it is there. I have tried comming out and then back into Gnome but with the same result. Any ideas ? Dave Where did you get the icon theme from? Have you looked inside the archive? Some themes available on kde-look.org and (less often) art.gnome.org or gnome-look.org need to be compiled first (they're actually source tarballs rather than gnome-installable themes). Plus it would be useful to know if the archive is actually openable in the first place-- and by what program, so open it and look inside to see what's there. Weird error, though-- even for a theme. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT? Gnome no bzip2 utility
Dave S schreef: Holly Bostick wrote: snip cd to the directory bash-2.05b$ ls 36x36 README index.theme makePngFromSvg.sh scalable bash-2.05b$ cat README This is a mostly complete svg icon set based on SGI's Indigo Magic Desktop. snip Some themes available on kde-look.org and (less often) art.gnome.org or gnome-look.org need to be compiled first (they're actually source tarballs rather than gnome-installable themes). I did not know that, but the README does not suggest compiling there is no make file I understand that--- but that script makePngFromSvg.sh must be in there for some reason, mustn't it? If you didn't have to convert the .svg files, why would you need it? Because you were maybe still using GNOME 2.4? Yeah, right. Well, OK, it's possible that the theme has been around for a long time, from before GNOME fully supported SVG. I take it back. Anyway, why don't you just make a folder in your ~/.themes folder, with the name of the theme, and drag the 36x36, index.theme, and scalable items into it. That's all the theme manager does anyway. Alternatively, open a file manager or file-roller as root, and extract the same files to a theme_name folder in /usr/share/icons, which is where the theme would be installed if it was installed as part of the system. One of those two is probably a better idea anyway; the theme manager can be kind of a bear and doesn't usually work well for me anyway. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Kde Issue
Ian K schreef: I didn't know about this kde-meta package.. Will it get me 3.4.1? Ian http://packages.gentoo.org/search/?sstring=kde-meta kde-meta Description: kde - merge this to pull in all kde packages Releasesalpha amd64 arm hppaia64mipsppc ppc64 ppc macos s390sh sparc x86 3.4.1 - ~ - - - - ~ ~ - - - ~ ~ 3.4.0 - ~ - - - - ~ ~ - - - ~ ~ CategoryHomepageLicense ChangeLog Similar BugsForums kde-baseGPL-2 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Composte DRI
Tim Igoe wrote: Neil Bothwick wrote: On Fri, 24 Jun 2005 10:31:10 +0100, Tim Igoe wrote: [signature.asc application/pgp-signature (189 bytes)] Tim, is your key on a public server anywhere? Because every time I read one of your mails, there's an annoying delay as my mailer tries, and fails, to access your public key. It should be - used the Enigmail thing in Thunderbird to generate and upload it If not I've stuck it on my hosting @ http://tim.igoe.me.uk/public.key FYI, I couldn't import the key from any of the default listed keyservers either, nor could I import it directly from the link provided (I may have done it wrong, though). However, downloading the key and importing it from the file worked fine. Just so you know, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Composte DRI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Bothwick wrote: On Fri, 24 Jun 2005 13:25:17 +0200, Holly Bostick wrote: FYI, I couldn't import the key from any of the default listed keyservers either, nor could I import it directly from the link provided (I may have done it wrong, though). That depends on how your browser is set up. Konqueror recognised it for what it was and asked if it should loaded into Kgpg, which in turn offered to import it. Uploading it to a public keyserver is the best way to do it though. OK, you read mail in a browser, I read it in Thunderbird. And I don't use Konq anyway. But in any case, I did do it wrong (I didn't check the ldap server, because I've never been able to download a key from it), and I guess my syntax was likely incorrect when I tried to import from Tom's server. But this whole episode has at least gotten me to finally upload my own key, so I've (hopefully) signed this message. Can you all get the key (since I know the list doesn't have it, it's a good test as to whether I've done it right)? Holly -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCvCYrxXF8+5RFZAARAi9GAJ9oe/Sls5Wdsm+NcSUeqS4jV941eACfWKNA Ur0fgsvtCH8dgt9mwaAP3c0= =OSzI -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Dell Optiplex, New HD, Won't Boot from HD after install
Michael Haan schreef: I was able to boot the factory HD (and, I think, possibly the CD too) with SuSE. But I took that drive when I built another Gentoo box, so I replaced it with another drive I had laying around. And what comes to my mind on hearing this is jumpers? The short version of why I'm thinking this basically has to do with myself never remembering how drives I just had laying around are jumpered before plunking them into a box. The long version involves Dell and their custom everything, which could quite possibly require, for example, that drives are jumpered cable select in order to be recognized by their BIOS. $DEITY knows I hope that they don't have and require a hidden, custom boot sector for the drive to be bootable at all on the machine. Anyway, just an idea, as I've seen systems fail to boot without some partitions marked bootable, but never that the system won't even *try* before failing. So it seems to me that the problem lies prior to looking for a bootable partition (and possibly not finding one), and that's either hardware or BIOS, afaik. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ATI Composte DRI
Tim Igoe schreef: Holly Bostick wrote: But this whole episode has at least gotten me to finally upload my own key, so I've (hopefully) signed this message. hehe :D Can you all get the key (since I know the list doesn't have it, it's a good test as to whether I've done it right)? Just tried with the 4 keyservers I have in Thunderbird - none of them returned a key :( I only sent it to one (so far): random.sks.keyserver.penguin.de which is the first T-bird default server, and the one that most everybody seems to use (insofar as I've been able to download most all of the keys for the signed messages from this list from that keyserver). Does that help? Holly -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] GPG keys, servers and signing (was, ATI Composte DRI)
OK, since this is getting to be kind of a whole thing, I've split it off. This message is (or should be) signed. Hopefully using PGP/MIME, which, if I understand Neil correctly, is what I'm supposed to do. You all have undoubtedly realized by now that I have little experience and less understanding of GPG keys and their proper use; I only have one because last year (which is why the key is from 2004), I was corresponding with someone who preferred encrypted email. Now that I've got my reinstall relatively stable-- at the time of the key's creation, I was using Gentoo, which I broke, and in the meantime, I'd switched to SuSE, where I didn't use my backed-up keyrings at all, and back to Gentoo-- and got Enigmail working again, I figure it's time to learn at least how to use my keys properly. Even if I don't seem to have much use for them now, you never know when it might come in handy. I think I've pretty much got a handle on full encryption (not only did I exchange several encrypted mails last year, but today I sent myself a test mail, which I was able to decrypt), but the signing is kinda wiping the floor with me, apparently. OK, so Neil said: Neil Bothwick schreef: On Fri, 24 Jun 2005 17:26:43 +0200, Holly Bostick wrote: But this whole episode has at least gotten me to finally upload my own key, so I've (hopefully) signed this message. Yes, but as an inline signature, not as a MIME message part, which is the preferred way of doing it. Right that means, I think, that the default setting in Enigmail's PGP/MIME settings-- Allow PGP/MIME-- should be set to Always use PGP/MIME. Is that correct? The point being-- as I understand it-- that MIME parts have something to do with IMAP, which I don't use (yet), but many others do, especially those likely to be desiring signed or encrypted mail, so it's just better to use it by default? Fine, then let me know if this message, transmitted using the new setting, arrived with the signature correctly as a MIME message part. Meanwhilst, Rumen said: Hi, Lately stopped using keyservers very much, but now just tried to search/check for your key, the result: 1.running: gpg --keyserver subkeys.pgp.net --search-key Holly gets this snip (10)Holly Bostick [EMAIL PROTECTED] 1024 bit DSA key 94456400, created: 2004-07-05 snip there are many more, reached till 123 and there's more ;) 2.running: gpg --keyserver subkeys.pgp.net --search-key Holly gets this ...BEGIN... gpg: searching for Holly from hkp server random.sks.keyserver.penguin.de snip me not winding up in the first 25 hits ...END... Searching with '[EMAIL PROTECTED]' (on both) results the in same one entry above. This key is from 2004: (1) Holly Bostick [EMAIL PROTECTED] 1024 bit DSA key 94456400, created: 2004-07-05 Which is my key, so it's out there somewhere. But I am wondering if it is in some way incomplete or improperly aliased-- or was Holly too general a search as opposed to Bostick? Yes, apparently so; replacing --search-key Holly with --search-key Bostick comes up with me first on both searches. Not so much that I'm hyped on being first, but at least it means I'm easily found if someone's looking. So that seems OK then, but I still have a few questions: 1) My key is set to never expire (afaik). Is that OK, or should I generate a new key... I dunno, every 3 months or something? That seems to negate the whole idea of having a key in the first place, but what do I know? 2) Do I need to create a digital certificate? Is it any good if it's self-signed? Or should I go to the archives and find that site that will generate one for me? 3) On the same note, I don't have a Web of Trust; my key is unsigned (naturally), and the keys I've collected from this list I have not dared to specify trust levels for. Should I be concerned about this, and take steps to rectify the situation with all due haste? If so, how would I go about that? All I've heard of are key-signing parties, which seem unlikely be a feasible option for me. 4) Clearly no one I am in contact with seems to really care if I sign my emails by default, but should I protect them from themselves and do so anyway? Are there any benefits to this good habit, especially since my key is unsigned anyway? 5) If I take up the habit of signing my emails, is it unreasonably dangerous to also set No password for user in the Enigmail options? I know that if I have to dig up my complex and unique password every time I send an email (in order to sign it), I'm not going to sign them, but if not requiring the complex and unique password opens a high possibility of compromising the key itself (because if I was hacked, said miscreant could send signed emails from me because s/he doesn't have to know the complex and unique password in order to do so), then I suppose I'd have to just suck it up (assuming that there's some overriding benefit in me taking up this habit in the first place). Anyway, I know it's OT
Re: [gentoo-user] Re: X woes after baselayout update.
Qian Qiao schreef: On 24/06/05, Qian Qiao [EMAIL PROTECTED] wrote: However, if I run udevstart before trying to start X, X fires up correctly. More info, alsa woes too. alsasound cannot start correctly at boot time, have to run a udevstart to start it too. Am I missing something, or doesn't this indicate that the issue is that udev is not starting automatically, at the proper time? So isn't the question to ask, what is there in baselayout that normally determines when udev starts (or whether it starts), and has that changed? The Changelog also implies that one really, *really* needs to do an etc-update (or dispatch-conf, or cfg-update, as you prefer) after updating baselayout-- is it possible that some config file didn't get updated, and baselayout is a bit broken as a result? I'm using the same version of baselayout eix baselayout * sys-apps/baselayout Available versions: 1.9.4-r6 !1.9.4-r7 ~1.11.11-r3 1.11.12-r4 [M]1.12.0_alpha2-r1 Installed: 1.11.12-r4 Homepage:http://www.gentoo.org/ Description: Base layout for Gentoo Linux (incl. initscripts and sysvinit) and am having no problems with it. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub still broke--update
maxim wexler schreef: Error 17 Installing to /dev/hda2, the gentoo boot part, gave same result Well, at least now it gives me an error num. ...answering himself 17 : Cannot mount selected partition This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB. This reminds me. When I installed 2005.0(sempron-box) I tried to mkreiserfs /dev/hda2, the boot partition, since that gave no problem in 2004.3(k6-box)but it gave me some sort of error, forget which, so I went for the default, or anyways, the suggestion in the manual, ext2, so maybe there is a problem with the fs. Perhaps if I just re-formatted /boot and re-emerge grub. Or, at least check the fs. Come to think about it, the sempron seems to find it easier reading the floppy than the hd. What d'ya think people? And what *was* that mysterious error all about anyway? Here's another: if /dev/hda2 *is* corrupt, how comes it that it can be read and written to without error? Discuss :) Now, this, I *know* I said like ages ago (June 1st, actually) Holly Bostick schreef: maxim wexler schreef: And which OS are you choosing from the menu again, maxim (assuming you get to a menu)? Or does this affect all OSes in your menu? no choice. After grub-install I get the Grub loading stage1.5 Grub loading, please wait... message(white text,black bg). To get back to Macroshaft I boot into a Win98 CD and run fdisk /mbr Ok, now I've got it. The menu doesn't load at all. But your previous post as to formatting the /boot partition made me think of something I had problems like that some time ago, back when I first installed my first Gentoo. Basically what had happened was I got weird and unattributable errors due to my filesystem not being correctly formatted. It was supposed to be formatted, and files were installed to it and everything, but filesizes were being reported differently by different tools and things just didn't work properly. What I wound up doing was using qtparted to delete the filesystem and reformat it. Once the filesystem on the disk was the same as the filesystem that the disk thought it had, everything worked fine. Now, I seem to recall having heard that it is possible to delete and reformat a filesystem without deleting the partition (or damaging the files thereon), but I didn't know enough at the time to do that, so I just deleted the entire partition and recreated it. Since this is /boot, it won't be a tragedy to delete the partition, recreate, format it as ext2 from the start and reinstall grub. But maybe there's a way that you can just reformat the existing partition (again) as ext2, so that it takes. You might still have to reinstall grub anyway, however at this point that seems like the least of your worries :-) . By diverse means, we arrive at the same end. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerging mplayer with compile option --without-x
Stefano Guglia schreef: hello! I need to emerge mplayer and mythtv without x, framebuffer only. How can I pass --without-x and other options to ./configure during emerge process? (-x in USE flag does not work: 'emerge mplayer' still needs xorg...) thanks.. Stefano. Just to get the obvious out of the way, the USE flag is X (uppercase), not x (lower case). Was that a typo? It should work with -X set in either /etc/make.conf or /etc/portage/package.use (for mPlayer only). You'd probably also want +fbcon-- useflag fbcon /usr/portage/profiles/use.desc:fbcon - Adds framebuffer support for the console, via the kernel ... and of course you'd want an appropriate framebuffer driver compiled into your kernel, and the modules for said framebuffer device loaded. Hope this helps, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] different times in postfix log
Jan Callewaert schreef: I'm afraid that I replied too fast. I searched google just a little more. qmgr runs inside a chroot in /var/spool/postfix. So I copied my /etc/localtime into the chroot (I had to create the /etc directory). I restarted postfix and the log time was correct. However, is this the way to do it? Since it's a chroot, I can't make a symlink, so whenever I change my timezone, I have to change it in two different places. I'm sure I'm going to forget this. Is there no other way? Hi Jan, It's quite possible that I'm talking out of my butt, since I don't use postfix, but this really confused me: Since it's a chroot, I can't make a symlink This just doesn't seem right, if postfix/qmgr requires some kind of time marker. I get it that /etc is outside the chroot, but that seems to suggest that either the chroot parameters are too narrow (and /etc should be inside it, in which case you could create the symlink or wouldn't need to), and/or that the logger is misconfigured, in that it ought to be able to connect to /etc/localtime, but apparently is not. Since I don't know anything about this, I went Googling, and found http://www.linuxsecurity.com/docs/HOWTO/Postfix-EnGarde-HOWTO.html , which says: General Information Postfix configuration is done with the files in /etc/postfix, /usr/lib/libexec/postfix contains the postfix daemons, and /var/spool/postfix contains the mail queues and various mail staging directories and the default chroot directory etc (if chrooting is configured). /etc/postfix will be the most important directory as it controls postfix's behaviour. This directory holds the two configuration files and the aliases, virtual, transport, access, and other databases in maps. Interestingly, this suggests that not only is /etc/ supposed to be in the chroot, but that /etc is supposed to be the root of the chroot. So if I was you, I'd be interested in knowing why it is not, in your case. Maybe it's a Gentoo thing, but in that case, surely there's a Gentoo document detailing how to set up Postfix in the Gentoo System Administration docs, or a config file somewhere in /etc/(conf.d)(/postfix) that might explain why the chroot is in such a weird place (it sounds weird to me, and I don't even use Postfix). Anyway, hope this is in some way useful, and not a load of babbling idiocy. If it is (babbling idiocy), sorry to waste your time. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerging mplayer with compile option --without-x
Stefano Guglia schreef: Alle 11:56, giovedì 23 giugno 2005, azz ha scritto: CMIIW, i think it's USE=-gtk emerge -av mplayer hereis the result on my side: - [ebuild N] media-video/realplayer-10.0.4 -mozilla 6,486 kB [ebuild N] media-video/mplayer-1.0_pre6-r4 -3dfx -3dnow -3dnowext -X -aalib +alsa (-altivec) -arts +avi -bidi -cdparanoia -debug -dga -directfb +divx4linux -doc -dts +dv +dvb +dvd +dvdread -edl +encode -esd +fbcon -ggi +gif -gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad -matroska+matrox -mmx -mmxext +mpeg +mythtv -nas -nls -nvidia -oggvorbis -opengl -oss +png +real -rtc -samba +sdl -sse -sse2 +svga -tga -theora -truetype +v4l +v4l2 -xanim -xinerama -xmms -xv -xvid -xvmc 6,927 kB I could be wrong-- and an emerge --tree would be more helpful here, but is it possible to compile realplayer -X? I don't think so; I think realplayer is what depends on X, and so it's the +real in the mplayer USE flags that's bringing it in. Just a second, let me check... the realplayer ebuild depends on MY_PN=RealPlayer DESCRIPTION=Real Media Player HOMEPAGE=https://player.helixcommunity.org/2004/downloads/; SRC_URI=https://helixcommunity.org/download.php/1145/${MY_PN}-${PV}.750-20050401.i586.rpm; LICENSE=HBRL SLOT=0 KEYWORDS=-* x86 ~amd64 IUSE=mozilla # take this out until I get the realplayer source # build sorted out. - ChrisWhite # RDEPEND=!media-video/realplayer RDEPEND==dev-libs/glib-2 =x11-libs/pango-1.2 =x11-libs/gtk+-2.2 amd64? ( app-emulation/emul-linux-x86-gtklibs ) and the GTK (2.6.8) ebuild depends on RDEPEND=virtual/x11 =dev-libs/glib-2.6 =dev-libs/atk-1.0.1 =x11-libs/pango-1.8 x11-misc/shared-mime-info =media-libs/libpng-1.2.1 jpeg? ( =media-libs/jpeg-6b-r2 ) tiff? ( =media-libs/tiff-3.5.7 ) So, yes, the realplayer cannot be built without gtk, which in turn depends on X. So maybe try taking the real out of the mplayer USE flags, and it should work fine. You would then be giving up the capability of playing Real files, but there might be codecs available that would give you this without needing to install RealPlayer (and therefore X). Check the mPlayer site. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
Ryan Viljoen schreef: a perfect :D o/// Thank you Norberto cheers Rav \o/ On 6/22/05, Norberto Bensa [EMAIL PROTECTED] wrote: Ryan Viljoen wrote: Is it possible to get nano to display line numbers? does nano -c help you? -- gentoo-user@gentoo.org mailing list Hey, didn't I say this (first, even)? Holly Bostick schreef: Ryan Viljoen schreef: Is it possible to get nano to display line numbers? Doesn't look like it, but with Meta-C (the Meta key is usually ALT, but you can change this, or your keyboard settings may do so), you get a constant cursor position display, which will tell you what line you are currently on. If you don't want a constant display, CTRL-C will tell you the cursor position at the time you ran ^C, but will not 'track' the cursor if it moves. Try ^G to see all the options available via ^+?? and Meta+?? . Not that I'm hungry for credit or anything, but I notice that often enough to be noticeable, my messages apparently get missed, seemingly especially when they're first, and I wonder if something weird is happening. So I suppose what I'd like to know is, did the above message (June 21, 16:29) appear as a response to the thread, somewhere else, or not at all? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
AJ Spagnoletti schreef: Holly just so you know for an answer to your question. On my end of it all your post made the list fine. AJ Thank you, AJ. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Fernando Meira schreef: Sorry.. I was not sure if the quoting was right.. gmail just got crazy!! I repeat! On 6/19/05, *Holly Bostick* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Not necessarily, if the internal default for this setting is ON (which I don't know), but in any case, when commented settings revert to their internla default, so in this case it might be better to explicitly set it to Off. So I set Option UseFBDev to Off, and now I get this: MergedFB does not work with Option UseFBDev, MergedFB mode is disable. and I'm unable to start X. All right-- I don't know what any of this means, but it is in fact much more information that what we previously had. What in the name of sanity is MergedFB, and where can we turn it off? Why is UseFBDev trying to turn *on* when your setting is *off* ? But in any case, it's time to go back to the sources, clearly. All you've posted is the X.log.0, here are the errors: (WW) The directory /usr/share/fonts/CID/ does not exist. This one is not important (doesn't stop X from starting). (WW) Open APM failed (/dev/apm_bios) (No such file or directory) I don't use APM, as this is a desktop, not a laptop. However, you seem to have a laptop, so while I would not necessarily think that this would stop X from starting (it might, though), this seems distinctly double-plus-ungood and needs to be fixed ASAP in any case. But that's a kernel issue (APM support would seem to be uncompiled). (WW) RADEON(0): Failed to detect secondary monitor, MergedFB/Clone mode disabled Oh-- *that's* what MergedFB mode is... dual-head! Which you clearly don't even have (unless your second monitor is just broke). So this should be turned off, but still shouldn't be stopping X from starting. The actual showstopper seems to be here: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: open result is -1, (Unknown error 999) drmOpenDevice: Open failed [drm] failed to load kernel module radeon (II) RADEON(0): [drm] drmOpen failed (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. Basically, the 'radeon' module (the kernel opensource drivers) are not able to initialize 3D hardware acceleration (afaik, the 'radeon' drivers cannot do this for the Mobility chipsets; you would need the fglrx drivers)-- and if you are using KDM or GDM or Entrance to start X (rather than just 'startx' from a console), you need this functionality (GNOME or KDE, ime, won't start without some form of acceleration, be it ATI, MESA or whatever). So I'd like to know how your kernel is configured, and what your xorg.conf looks like. Well, of course they do-- you're using the 'defaults' option, which implies (among other things) 'noexec'-- which means scripts may not be run (no executables may be run) from the partition. You might want to add the 'exec' option *after* the 'defaults' option (so that it overrides the 'noexec' included by 'defaults', if you put 'exec' before defaults, the 'noexec' witll override the exlplicit 'exec', which is not what you want). You maybe got confused, because 'defaults' use 'exec' and not 'noexec'. But, for clear doubts, I double set 'exec' and tried again, with no success... I still can't create a user properly! And this problem spreads to X startup.. what can be wrong? You're right, according to man mount but I know from hard experience that there is *some* option that sets nodev nosuid and noexec *as well as* the explicit option when you set it ah, it's - user Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid). So I had the wrong option, sorry. But I don't understand why settings in /etc/fstab would affect user creation, or X startup of all things unless what you're saying is: 1) Because your /home partition is FAT32, when you try to create a user, the default files cannot be copied to create the user's home folder because the permissions are wrong. But this doesn't make any sense (to me), because root is creating users, and root *does* have permission; and 2) You cannot start X because your user does not have permission to various files (like .Xauthority), but this also doesn't make sense to me, because a) X is failing to start long before a user is involved (the basic X server is not able to start enough to read user files) and b) the user should have read permissions to their own home folder even if your
Re: [gentoo-user] Which emulators for DOS+Win3.1 games?
Walter Dnes schreef: On Mon, Jun 20, 2005 at 12:20:05PM +0200, Holly Bostick wrote What is your MIDI setup (is MIDI currently running on your machine without reference to dosbox)? I should have ALSA MIDI and Timidity set What the bleep have they done to Timidity??? It *USED* to work out-of-the-the-box in previous versions. Now it's looking for some current directory, and dies with an error. If I comment out the line source current/timidity.cfg in /etc/timidity.cfg it does attempt to play, but generates a ton of messages like... No instrument mapped to tone bank 0, program 27 - this instrument will not be heard I *DID* RTFM the timidity and timidity.cfg and there's *NOTHING* about current/timidity.cfg Here's my /etc/timidity.cfg: # # 1. Change directory to patch directory # 2. Source current/timidity.cfg # # Current patch set will always be symlinked to current, so make sure that the # proper timidity.cfg is in there # # # - source /usr/share/timidity # - source ~/.timidity/current # - Make ~/.timidity/current point to the current patch set, or to whatever #the individual user sets # - If ~/.timidity/current isn't found, it will try #/usr/share/timidity/current # dir /usr/share/timidity dir ~/.timidity source current/timidity.cfg OK. I don't have a ~/.timidity, but /usr/share/timidity is there. As you found, there is no /current directory, but since this whole thing refers to patches, I can only assume that the /eawpatches folder-- which *is* present-- would be what is desired (but what about me, who doesn't have a bloody SoundBlaster? Do I need these patches? Can I use these patches? I don't know). The eawpatches folder does contain a timidity.cfg, further indicating that somebody simply forgot to change the name (either of the folder, to /current, or of the setting, to point to /eawpatches instead of /current). So since you can set the 'patch folder' yourself, I would suggest changing the setting to read source eawpatches/timidity.cfg and that looks like it would work. I know nothing about MIDI or Timidity, so I wouldn't know if it was working anyway; I only installed it because a game I was trying to install plays all the WAV files properly, but not the MIDI, and I thought it might help. However, a) my soundcard does have a Wavetable Synthesizer (so I shouldn't need to emulate Midi); b) I fixed ALSA, which was set up wrong (so the internal Midi should be working); and c) for all I know, it's a Wine/Cedega problem anyway, and nothing to do with ALSA or Timidity. The point being, we have now reached (and passed) the point where you know more about this than I do, but I hope I've been helpful in giving you a boost to a point where you can fix the remaining issues yourself :) . Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GNOME: How to create document template?
Peter Gordon schreef: Hi all. When I attempt to create a new file in Nautilus it gives me an inactive No templates installed and a usable Empty file option underneath. How would I go about creating a template that I could use here? Just a WAG: Is it possible to open that empty file, edit it to your preference (with the tags, and header), and then save it as a template? I also have no templates installed in my menu, but choosing Go To=Templates takes me to /home/username/Templates (which is empty), rather than any templates:/// virtual directory. Do you have such a folder? What version of Nautilus are you using? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Line numbers in nano
Ryan Viljoen schreef: Is it possible to get nano to display line numbers? Doesn't look like it, but with Meta-C (the Meta key is usually ALT, but you can change this, or your keyboard settings may do so), you get a constant cursor position display, which will tell you what line you are currently on. If you don't want a constant display, CTRL-C will tell you the cursor position at the time you ran ^C, but will not 'track' the cursor if it moves. Try ^G to see all the options available via ^+?? and Meta+?? . HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
Yann Garnier schreef: Greetings everyone, Although I'm really satisfied with my gentoo laptop, there's is still something I don't understand with emerge. When I 'emerge -pvuD world' then portage wants to install many things, here is an example of the output: These are the packages that I would merge, in order: Calculating world dependencies .. ...done! [ebuild N] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 310 kB [ebuild N] gnome-base/libgnome-2.10.0 -debug -doc 850 kB [ebuild N] gnome-extra/libgtkhtml-2.6.3 -accessibility -debug 382 kB [ebuild N] gnome-base/libgnomecanvas-2.10.0 -debug -doc 562 kB [ebuild N] gnome-base/libbonoboui-2.8.1 -debug -doc 997 kB [ebuild N] gnome-base/gnome-keyring-0.4.2 -debug 360 kB [ebuild N] gnome-base/libgnomeui-2.10.0 -debug -doc +jpeg 1,613 kB [ebuild N] gnome-extra/yelp-2.6.5 -debug 638 kB [ebuild N] x11-themes/hicolor-icon-theme-0.5 30 kB [ebuild N] x11-themes/gnome-icon-theme-2.10.0 -debug 2,835 kB [ebuild N] media-libs/imlib-1.9.14-r3 574 kB [ebuild N] x11-themes/gtk-engines-2.6.3 1,096 kB [ebuild N] x11-themes/gnome-themes-2.10.0 -accessibility -debug 2,509 kB i precise that I don't use nor want to use Big desktop environnment such as gnome or kde because of compile time and most of all because Window Maker fits all my need... Did I miss something ??? Can someone help me ? Cordially, Yann Garnier Well, you've definitely got some kind of gnome something that wants all this, so you might want to add a -t to your switches (emerge -pvuDt world) which will activate the --tree option and give you information as to what the gnome thing that needs all this is. If you don't want it, you can uninstall it; if you do, maybe you can re-emerge it without the gnome option, which likely would also solve the issue. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Something strange with emerge...
Yann Garnier schreef: Andrew, Holly, everyone, I did an 'emerge --info' to check what USE flags were set, and I saw that portage used the gnome flag. This gnome flag is not set in the make.conf I tried the -t switch ('emerge -pvuDt wold') and the output is just the same ... don't have any tree of any kind... The only thing I can do is to add -gnome into my make.conf and then It is a regular output. Do you thing there's a more elegant way to run an update properly ??? Any way thanks for your help (I didn't think about the -t switch). On my x86 system, the +gnome flag is set in /usr/portage/profiles/default-linux/x86/make.defaults. So yes, if you want -gnome, you do need to set it specifically in /etc/make.conf, and then do an emerge --newuse world to get recompile all of the packages that currently have gnome support included, without such support. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Which emulators for DOS+Win3.1 games?
Walter Dnes schreef: Finally got it running. Since SDL is hooked into svgalib (at least on my system) I had to... - modprobe svgalib_helper (which creates /dev/svga and /dev/svga1) - chmod u+s /usr/games/bin/dosbox (with the usual security disclaimer) - and remember that svgalib has to be emerged every time I rebuild the kernel My startup messages include... CONFIG: Using default settings. Create a configfile to change them ALSA:Can't subscribe to MIDI port (65:0) MIDI:Opened device:none The config I'll get to later. My question right now is how do I get midi connected. Easiest thing to do is install dboxfe (dosbox frontend) and configure the settings there. What is your MIDI setup (is MIDI currently running on your machine without reference to dosbox)? I should have ALSA MIDI and Timidity set up (I think), but I haven't tested as I don't offhand know what DOS games/apps actually use MIDI. So if you happen to know of a piece of abandonware that does, let me know and I'll try it, and if it works, tell you how I did it (if simply setting DOSBox up correctly doesn't work for you). HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problem starting KDE
Fernando Meira schreef: On 6/19/05, Richard Fish [EMAIL PROTECTED] wrote: If so, you either need to set UseFBDev to Off, or build your kernel with the radeon frame-buffer driver into the kernel or as a module. The UseFBDev is commented.. does that means that is Off ? Not necessarily, if the internal default for this setting is ON (which I don't know), but in any case, when commented settings revert to their internla default, so in this case it might be better to explicitly set it to Off. Anyway, I managed to start KDE. To do that, I created a new user. The difference was that the HOME of my first user is located in a FAT32 filesystem, while I placed the new one is at /tmp/ (ReiserFS). Thus, I would say the problem is with the partition. I also noticed that when creating a new user, the files from /etc/skel are not copied to the users' home-dir. Something is wrong with this partition.. i mount it as follows: /dev/hda5 /home vfat defaults,umask=000 0 0 Both root and users are able to write in that partition, I seems that only scripts fail... Well, of course they do-- you're using the 'defaults' option, which implies (among other things) 'noexec'-- which means scripts may not be run (no executables may be run) from the partition. You might want to add the 'exec' option *after* the 'defaults' option (so that it overrides the 'noexec' included by 'defaults', if you put 'exec' before defaults, the 'noexec' witll override the exlplicit 'exec', which is not what you want). Also not quite sure what is the usefulness of 'umask=000', since that just says leave the umask as it is by default rather than changing it in any way (umask removes permissions from the default settings, which in this case would be something like rw (root), r (root), and r (others), because the default permissions of 777 and 666 have been changed by use of the 'defaults' option). You would probably do better to 1) set the uid= and/or gid= options to give users some ownership rights; 2) change the permissions of the mount point itself to give users some ownership rights; and 3) set an appropriate umask to block rights of others (I was always fond of 007-- all rights for owner who was me, all rights for group which was a custom group to which samba users belonged and no rights whatsoever for others I don't know who these 'others' are, but I don't like em ;-) . You probably want to read 'man mount', but I also wrote a tutorial that discusses managing shared partitions of this nature: http://www.shell-shocked.org/article.php?id=230 (:: Shell-Shocked :: Tutorial: Multiple Linux Distros). Scroll down to The fast explanation of fstab entries for a 'how-tolet' on a successful /etc/fstab entry for vfat partitions. HTH, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gnome-panel
Janne Johansson schreef: On su, 2005-06-19 at 20:24 +0200, Antonio Coralles wrote: Has anyone noticed quite a delay after starting gnome after the panel comes up and i go to click on the menu it takes about 10 seconds for the menu to come up. After the initial clicking its fine but that first time takes forever. Has anyone else noticed this or is it just me, thanks. If there are two or three people more who have this problem, i'm going to file a bug ... So if this sounds familiar to you please reply to this mail ... I'm experiencing this also. Ditto. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] drm and dri problem
Luigi Pinna schreef: Hello! I installed the ati drivers and now I have a problem to use ut2004. If I try as root it works, but if I use as a normal user I read that from console: ut2004 WARNING: ALC_EXT_capture is subject to change! FGLTexMgr: open of shared memory object failed (Permission denied) It works as root, but as a user I get a lot of errors that include the words 'Permission Denied' pretty much guarantees that the problem is the ownership of the game's installation folder and the files it contains. In a terminal, do an la /path/to/ut2004 and look at the permissions of the folder and the files. Obviously, owned by root (normal, since root probably installed it), but who is the group owner? That should usually be 'games'. If the group owner is not the 'games' group, change the folder's ownership recursively so that the 'games' group rather than the 'root' group owns the folder as well as the files it contains. If the group owner is the 'games' group, you should verify that your user is a member of that group, and if not, add your user to the 'games' group, which should solve the issue. If the group owner is the 'games' group, and the user is a member of the 'games' group, make sure that the group has rights to read, write, and execute the files in the folder. Sometimes games install with the right ownership, but the wrong permissions. Hope this helps. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] drm and dri problem
Luigi Pinna schreef: Alle 15:10, sabato 18 giugno 2005, Holly Bostick ha scritto: It works as root, but as a user I get a lot of errors that include the words 'Permission Denied' pretty much guarantees that the problem is the ownership of the game's installation folder and the files it contains. In a terminal, do an la /path/to/ut2004 and look at the permissions of the folder and the files. Obviously, owned by root (normal, since root probably installed it), but who is the group owner? That should usually be 'games'. [...] Hope this helps. Holly The game's permissions are ok: until yesterday I used the open source driver and played as user. The problem must be in the ati drivers' configuration, but I don't know where and what I must modify. Luigi Try checking this: # ** # DRI Section # ** Section dri # Access to OpenGL ICD is allowed for all users: Mode 0666 # Access to OpenGL ICD is restricted to a specific user group: #Group 100# users #Mode 0660 EndSection Hope this helps, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] drm and dri problem
Luigi Pinna schreef: I have this too: # ** # DRI Section # ** Section dri # Access to OpenGL ICD is allowed for all users: Mode 0666 # Access to OpenGL ICD is restricted to a specific user group: #Group 100# users #Mode 0660 EndSection But it doesn't work yet... Luigi What is the output of fglrxinfo? Have you rebooted since installing the drivers? What version of the drivers? What kernel? Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] when ldconfig should be run
Richard Fish schreef: Moshe Kaminsky wrote: Hi, I've noticed that after merging every package, portage runs ldconfig (the 'Regenerating /etc/ld.so.cache...' message). This takes a long time, and as far as I understand, for most packages is unnecessary. I So, I have a question for you...what exactly do you mean by takes a long time? On my system, ldconfig completes in under 10 seconds after a fresh boot, and almost instantaneously after that. I have seen specific instances where ldconfig after a package merge takes what I would consider a long time-- but they are specific instances (perl, I think, or maybe it was binutils; I just rebuilt my toolchain, so I'm not exactly sure which of the 131 packages it was); as Richard says, 99.9% of the time, ldconfig takes a very short time (a few seconds) when run by Portage at the end of an emerge. Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] grub still broke
Richard Fish schreef: maxim wexler wrote: But it's a dead console. The caps lock key and the num lock key turn the leds on and off but typing letters does nothing. I've been trying to come up with a reasonable explanation for this behavior. OK, it may not be a reasonable explanation, but it does make 'sense'-- is it possible that the text color is the same as the background color, so that letters are being typed, but you simply don't *see* them? I don't have the faintest clue how one would manage this, but the thing is, if hitting CapsLock and NumLock has visible results, *the keyboard is working*, afaik. So presumably typing letters is working as well. Just an idea, Holly -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] drm and dri problem
Luigi Pinna schreef: Alle 15:50, sabato 18 giugno 2005, Holly Bostick ha scritto: What is the output of fglrxinfo? Have you rebooted since installing the drivers? What version of the drivers? What kernel? Holly Cinzia ~ # fglrxinfo display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: RADEON 9200SE DDR Generic OpenGL version string: 1.3.1003 (X4.3.0-8.14.13) Yes, I rebooted the machine because I have to use a new kernel (without drm and agpgart support as a module). The driver are the last one : 8.14.13 and the kernel is the 2.6.11-r11 I don't understand what it's append! Luigi I can see why you don't understand-- everything looks right, and I thought ATI fixed the problems with ut in this release. Maybe this is specific to UT somehow. Do other OpenGL apps work correctly for the user? I'll go see if anyone else seems to be reporting this. People complain a lot about UT performance on the Rage3D Linux Drivers forum, but I haven't tried to install my bf's copy (he doesn't play it, and neither do I, so it's not on my list of games I see if they work so I can convince him to switch to Linux), so I don't know anything about it. Holly -- gentoo-user@gentoo.org mailing list