Re: [gentoo-web-user] Java Script Libraries
Stuart Herbert [EMAIL PROTECTED] writes: Mmm ... what are you trying to achieve here? a) /usr/share/js isn't served by any of our standard webserver installs; files you place in here aren't downloadable Yes, sorry :) I already realized that it was a bad idea. b) web-based apps will expect the javascript libraries to sit in a specific location under the htdocs directory c) different web-based apps will ship different versions of javascript libraries d) sooner or later, web-based apps will ship javascript libraries with their own modifications. we already get that behaviour with apps that ship bundled PEAR packages. Yes, these libraries are more like the webapps themselves. Simply does not fit into our current concept. At least I don't see an easy solution, so I'll just leave it for now. e) The Gentoo philosophy is to remain as close to upstream as possible. Because we're a meta-distribution, and not a traditional distribution like Red Hat, the only time we try and change what UPSTREAM does is when we absolutely have to. While I agree that it is certainly easier to keep the packages as UPSTREAM bundles them, I'm not convinced that this is always a good idea. If the effort is small, I'd rather patch the package to use the standard libraries and send the patch upstream. Not only because it's simply bad programming style but also because it's easier to handle security this way. The package I'm looking at right now includes an old phpmailer library with a known DOS vulnerability. I'd rather have one place to fix a library then checking for packages that bundle the library. Regards, Gunnar -- Gunnar WrobelGentoo Developer __C_o_n_t_a_c_t__ Mail: [EMAIL PROTECTED] WWW: http://www.gunnarwrobel.de IRC: #gentoo-web at freenode.org _ pgp6Xey2NJ9Cy.pgp Description: PGP signature
RE: [gentoo-web-user] Java Script Libraries
While I agree that it is certainly easier to keep the packages as UPSTREAM bundles them, I'm not convinced that this is always a good idea. If the effort is small, I'd rather patch the package to use the standard libraries and send the patch upstream. Not only because it's simply bad programming style but also because it's easier to handle security this way. Best of luck with that ... but don't be surprised if UPSTREAM do not adopt these patches. It's not always bad programming style - it's often the only pragmatic thing to do. UPSTREAM bundle libraries because bitter experience (with poor ISP and shared hosting solutions) has taught the PHP community that if you need a third-party library and you don't bundle it, chances are that the third-party library won't be available. (The PHP and PEAR community also have to accept a lot of the blame for this state of affairs, by failing to provide an equivalent to CPAN from day one). Best regards, Stu -- gentoo-web-user@gentoo.org mailing list
RE: [gentoo-web-user] Java Script Libraries
But it is not very hard to avoid to hardwire these libs in your webapp :) This is the only thing I dislike. Mmm ... you'd be surprised, I think, about just how hard it actually is for PHP apps (and how expensive it is too). Another problem to consider is versioning of any shared libraries of code. How do you plan to address that, in a non-Gentoo-specific way? Best regards, Stu -- gentoo-web-user@gentoo.org mailing list
Re: [gentoo-web-user] Java Script Libraries
Stuart Herbert [EMAIL PROTECTED] writes: But it is not very hard to avoid to hardwire these libs in your webapp :) This is the only thing I dislike. Mmm ... you'd be surprised, I think, about just how hard it actually is for PHP apps (and how expensive it is too). Guess I'm missing the point here. What I meant was to change stuff like this: require_once(HOME . /thirdparty/Smarty/Smarty.class.php); to something like this: $include_path = ini_get('include_path'); ini_set('include_path', HOME . '/thirdparty' . SEPARATOR . $include_path); require_once('Smarty/Smarty.class.php'); What is the negative side of such a change? Another problem to consider is versioning of any shared libraries of code. How do you plan to address that, in a non-Gentoo-specific way? Where is the difference to C or Java? The recent xpdf discussion basically touched the same issue, right? Packaging precompiled binaries into java source packages is a common practice but has been effictively banned by the java herd. Sometimes necessitates larger changes in the build scripts for the app but I guess it increases maintainability in the long run. Where is the difference for the php libraries? Best regards, Gunnar -- Gunnar WrobelGentoo Developer __C_o_n_t_a_c_t__ Mail: [EMAIL PROTECTED] WWW: http://www.gunnarwrobel.de IRC: #gentoo-web at freenode.org _ -- gentoo-web-user@gentoo.org mailing list
RE: [gentoo-web-user] Java Script Libraries
Thanks for making me aware of the issue. So let's hope for PHP5... No problem. I wish it was an idea we could implement. Alas, it's something that none of the scripting languages handle well. Even Ruby hasn't learned from the past mistakes in this area. Best regards, Stu -- gentoo-web-user@gentoo.org mailing list
Re: [gentoo-web-user] Java Script Libraries
Stuart Herbert wrote: Thanks for making me aware of the issue. So let's hope for PHP5... No problem. I wish it was an idea we could implement. Alas, it's something that none of the scripting languages handle well. Even Ruby hasn't learned from the past mistakes in this area. Ruby apps that are Gems aware handle this flawlessly. -- gentoo-web-user@gentoo.org mailing list
RE: [gentoo-web-user] Java Script Libraries
Hrm ... all the code I've seen uses: require_gem package-name with no sign of version requirements passed around. How does Gems handle the versioning in the background? Best regards, Stu -Original Message- From: Adam Sroka [mailto:[EMAIL PROTECTED] Sent: 23 February 2006 16:41 To: gentoo-web-user@lists.gentoo.org Subject: Re: [gentoo-web-user] Java Script Libraries Stuart Herbert wrote: Thanks for making me aware of the issue. So let's hope for PHP5... No problem. I wish it was an idea we could implement. Alas, it's something that none of the scripting languages handle well. Even Ruby hasn't learned from the past mistakes in this area. Ruby apps that are Gems aware handle this flawlessly. -- gentoo-web-user@gentoo.org mailing list -- gentoo-web-user@gentoo.org mailing list
Re: [gentoo-web-user] Java Script Libraries
Stuart Herbert wrote: Hrm ... all the code I've seen uses: require_gem package-name with no sign of version requirements passed around. How does Gems handle the versioning in the background? Best regards, Stu That code is implicitly saying use the latest version of package-name. However, Gems also lets you say: require_gem 'package-name', '= 1.1.5' One of the most useful things you can do is say: '~ 1.1' This means, use the version closest to 1.1, but I don't care which minor revision you use. This will allow you to pick up new minor revisions that contain, for instance, a security patch, but not major revisions that might change the API. For more info see here: http://docs.rubygems.org/read/chapter/16 Another thing that is great about Gems is that you can stand up a gem server and serve your own versions of any required libraries. All a user would have to do is point at your gem server, and they could use your version. This is analogous to having your own rsync server. -- gentoo-web-user@gentoo.org mailing list
[gentoo-user] What does the use flag gtk for gcc?
Hi, I did a query for packages using the gtk use flag. I found gcc (3.4.4-r1) among these. Why? Baffled Wolfgang -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Screen settings
Hi frino , steve i have added defaultdepth 24 to xorg.conf file but it still takes the resolution as 640 x 480 ... I have checked the control panel pheripherals display and there is only 1 resolution availiable nothing else .. Now what shld i do pls help me through it ... Thanx and rgds Rajat On 2/23/06, Steven S. [EMAIL PROTECTED] wrote: On Thu, 23 Feb 2006, Rajat Gujral wrote: Have you tried adding the option DefaultDepth? Since you have the Modes 1024x768 for 24, it should come out looking like: Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 DefaultDepth 24 SubSection Display Viewport 0 0 Depth 1 EndSubSection This is the only way I am ever able to get my system to go to 1280x1024, possibly it'll force yours to the correct setting. Hi richard and jerry thanx for ur suggestions but i guess my problem remains the same ... My xserver still starts with screen resolution of 640 x 480 ... Before the improper shutdown it was working fine in 1024 x 768 resolution , but now no matter what resolution i provide, it starts up with 640 x 480 resolution which makes the screen appear so big .. Is there anything else that i can do Thnx Regds Rajat :) P.S. I have done X -configure and has detected the following settings : Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ EndSection Section Module Load extmod Load dbe Load dri Load record Load xtrap Load glx Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol Microsoft Option Device /dev/ttyS1 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option NoAccel # [bool] #Option SWcursor # [bool] #Option ColorKey # i #Option CacheLines# i #Option Dac6Bit # [bool] #Option DRI # [bool] #Option NoDDC # [bool] #Option ShowCache # [bool] #Option XvMCSurfaces # i #Option PageFlip # [bool] Identifier Card0 Driver i810 VendorName Intel Corp. BoardName 82810E DC-133 CGC [Chipset Graphics Controller] BusID PCI:0:1:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 Modes 1024x768 EndSubSection SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSection EndSection On 2/22/06, Richard Fish [EMAIL PROTECTED] wrote: On 2/22/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote: settings. I did mine manually a long long time ago, but I think you can use xorgconfig to detect most of your settings for you...if so...hopefully that will fix you up. I would suggest instead X -configure. That should autodetect most things, unlike xorgconfig which asks you a bunch of questions that most users don't know the answers to. -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list --
[gentoo-user] Re: Screen settings
hello all, I was just goin thru Xorg.0.log file and i notice that after doing startx some errors are being logged on the system ... I hope if someone know what exactly does this error means then please help me resolve it. Thanx in advance rgds rajat P.S. : Here with attached is the log file generated by startx On 2/23/06, Rajat Gujral [EMAIL PROTECTED] wrote: Hi frino , stevei have added defaultdepth 24 to xorg.conf file but it still takes theresolution as 640 x 480 ... I have checked the control panelpheripherals display and there is only 1 resolution availiable nothing else ..Now what shld i do pls help me through it ...Thanx and rgdsRajatOn 2/23/06, Steven S. [EMAIL PROTECTED] wrote: On Thu, 23 Feb 2006, Rajat Gujral wrote: Have you tried adding the option DefaultDepth? Since you have the Modes 1024x768 for 24, it should come out looking like: Section ScreenIdentifier Screen0Device Card0MonitorMonitor0 DefaultDepth 24SubSection Display Viewport 0 0Depth 1EndSubSection This is the only way I am ever able to get my system to go to 1280x1024, possibly it'll force yours to the correct setting. Hi richard and jerry thanx for ur suggestions but i guess my problem remains the same ... My xserver still starts with screen resolution of 640 x 480 ... Before the improper shutdown it was working fine in 1024 x 768 resolution , but now no matter what resolution i provide, it starts up with 640 x 480 resolution which makes the screen appear so big .. Is there anything else that i can do Thnx RegdsRajat :)P.S. I have done X -configure and has detected the following settings : Section ServerLayout Identifier X.org Configured Screen0Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath/usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ EndSection Section Module Loadextmod Loaddbe Loaddri Loadrecord Loadxtrap Loadglx Loadtype1 Loadfreetype EndSection Section InputDevice IdentifierKeyboard0 Driverkbd EndSection Section InputDevice IdentifierMouse0 Drivermouse OptionProtocol Microsoft OptionDevice /dev/ttyS1 EndSection Section Monitor Identifier Monitor0 VendorName Monitor Vendor ModelNameMonitor Model EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option NoAccel # [bool] #Option SWcursor# [bool] #Option ColorKey# i #Option CacheLines# i #Option Dac6Bit # [bool] #Option DRI # [bool] #Option NoDDC # [bool] #Option ShowCache # [bool] #Option XvMCSurfaces# i #Option PageFlip# [bool] IdentifierCard0 Driveri810 VendorNameIntel Corp. BoardName 82810E DC-133 CGC [Chipset Graphics Controller] BusID PCI:0:1:0 EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport 0 0 Depth 1 EndSubSection SubSection Display Viewport 0 0 Depth 4 EndSubSection SubSection Display Viewport 0 0 Depth 8 EndSubSection SubSection Display Viewport 0 0 Depth 15 EndSubSection SubSection Display Viewport 0 0 Depth 16 Modes 1024x768 EndSubSection SubSection Display Viewport 0 0 Depth 24 Modes 1024x768 EndSubSection EndSection On 2/22/06, Richard Fish [EMAIL PROTECTED] wrote: On 2/22/06, Jerry Eastmanhouser [EMAIL PROTECTED] wrote: settings.I did mine manually a long long time ago, but I think you can use xorgconfig to detect most of your settings for you...if so...hopefully that will fix you up. I would suggest instead X -configure.That should autodetect most things, unlike xorgconfig which asks you a bunch of questions that most users don't know the answers to. -Richard -- gentoo-user@gentoo.org mailing list-- gentoo-user@gentoo.org mailing list Xorg.0.log Description: Binary data
[gentoo-user] amd64/x86
Hi, I'm going to install Gentoo on Athlon64-based workstation, but I'm a little confused about hardware profiles and their compatibility: If I select now amd64, will I be able later to install and use x86 software, if there is no amd64 release (for example precompiled game-binaries, or even some sources which are only for x86, not amd64)? Or do I have to use x86 installation profile? Jarry -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie -- gentoo-user@gentoo.org mailing list
[gentoo-user] LUKS
I've been giving LUKS a try. I setup an encrypted partition on an external HD. Running cryptsetup luksOpen /dev/external_hd1 external_hd1 a device file /dev/mapper/external_hd1 is created. I can mount it on /mnt/external_hd1 and it works as expected. Now, guess what happens if I run cryptsetup luksOpen /dev/external_hd1 external_hd1 again? The file /dev/mapper/external_hd1 disappears (as if cryptsetup luksClose external_hd1 were run). If /dev/mapper/external_hd1 was mounted on /mnt/external_hd1, it stays mounted. Otherwise, it seems like cryptsetup luksClose external_hd1... Confusing? -- Jorge Almeida -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: Screen settings
Well here is the thing...your getting a lot of errors in there with respect to the resolution. I took a snipit that I think is important here. (II) I810(0): Monitor0: Using default hsync range of 28.00-33.00 kHz (II) I810(0): Monitor0: Using default vrefresh range of 43.00-72.00 Hz (II) I810(0): Not using default mode 1400x1050 (hsync out of range) (II) I810(0): Not using default mode 700x525 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 1400x1050 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 700x525 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 1600x1024 (hsync out of range) (II) I810(0): Not using default mode 800x512 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 1920x1440 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 960x720 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 2048x1536 (insufficient memory for mode) (II) I810(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 2048x1536 (insufficient memory for mode) (II) I810(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan) (II) I810(0): Not using default mode 2048x1536 (insufficient memory for mode) (II) I810(0): Not using default mode 1024x768 (bad mode clock/interlace/doublescan) (--) I810(0): Virtual size is 640x480 (pitch 1024) (**) I810(0): *Default mode 640x480: 25.2 MHz, 31.5 kHz, 60.0 Hz (II) I810(0): Modeline 640x480 25.20 640 656 752 800 480 490 492 525 -hsync -vsync (==) I810(0): DPI set to (75, 75) See how the the horizontal and veritical ranges aren't so hot. The auto-detection can only do so much sometimes. I'm sure your going to have to refer to your monitor manual and plug in these settings manuallysometimes you can just google for them as well. For example on a spare box that I have an old 14inch VGA hooked up to the settings in the xorg.conf file is as follows. HorizSync 31,38,46.8,48 VertRefresh 50-100 Now this is an old monitor that I took from my office when they were throwing the monitor. It's old...and yellow and when they were throwing it away it was in 1998my point here is that the configuration is higher than what you currently have in your config file...I'm guessing that you have a monitor that is newer than the one I have configured so I'm guessing this is likely a major part of your problem. X works so much better if you have the exact configuration in thereand by doing it all by hand you'll also have a much better understanding of how everything works and is setup. Also copy your /etc folder and store it somewhere. It's only going to be a few meg uncompressed and will save you loads of time later if you have a corruption...blowup or just a reinstall. J On 2/23/06, Rajat Gujral [EMAIL PROTECTED] wrote: hello all,I was just goin thru Xorg.0.log file and i notice that after doing startx some errors are being logged on the system ... I hope if someone know what exactly does this error means then please help me resolve it. Thanx in advance rgds rajatP.S. : Here with attached is the log file generated by startx On 2/23/06, Rajat Gujral [EMAIL PROTECTED] wrote: Hi frino , stevei have added defaultdepth 24 to xorg.conf file but it still takes the resolution as 640 x 480 ... I have checked the control panelpheripherals display and there is only 1 resolution availiable nothing else ..Now what shld i do pls help me through it ...Thanx and rgds RajatOn 2/23/06, Steven S. [EMAIL PROTECTED] wrote: On Thu, 23 Feb 2006, Rajat Gujral wrote: Have you tried adding the option DefaultDepth? Since you have the Modes 1024x768 for 24, it should come out looking like: Section ScreenIdentifier Screen0 Device Card0MonitorMonitor0 DefaultDepth 24SubSection Display Viewport 0 0Depth 1 EndSubSection This is the only way I am ever able to get my system to go to 1280x1024, possibly it'll force yours to the correct setting. Hi richard and jerry thanx for ur suggestions but i guess my problem remains the same ... My xserver still starts with screen resolution of 640 x 480 ... Before the improper shutdown it was working fine in 1024 x 768 resolution , but now no matter what resolution i provide, it starts up with 640 x 480 resolution which makes the screen appear so big .. Is there anything else that i can do Thnx RegdsRajat :)P.S. I have done X -configure and has detected the following settings : Section ServerLayout Identifier X.org Configured Screen0Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath/usr/lib/X11/rgb ModulePath /usr/lib/modules FontPath /usr/share/fonts/misc/ FontPath /usr/share/fonts/TTF/ FontPath /usr/share/fonts/Type1/ FontPath /usr/share/fonts/CID/ FontPath /usr/share/fonts/75dpi/ FontPath /usr/share/fonts/100dpi/ EndSectionSection Module Loadextmod Loaddbe
Re: [gentoo-user] Suspend2 issues
Hi! I also have problems with suspend2. I emerged and compiled the latest suspend2-sources, boots fine, hubernates fine. But: I have a Intel HDA(alc880) audio card integrated, and I need to use the realtek audio pack to make it work which compiles alsa-drivers, alsa-utils, etc.(with alsa-drivers from portage the audio card emits wierd noises that are extremely loud when I don't play anything), so the problem is that if I use a suspend2-sources kernel, alsaconf sais that there's no PCI PnP cards in my laptop, everyting works fine with any gentoo-sources kernel. Is there someone aware of the solution? Marton Gabor [EMAIL PROTECTED],ICQ UIN: 169394884,T: +36 30 447-2042 VE-MIK VeHoK informatikai megbizott informatika-l adminisztrator informatika-lev adminisztrator bsc-info adminisztrator gazdinfo adminisztrator -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
IMHO you could just use the rest of the disk (after the /boot [hda1] and swap [hda2]), but if you intend to get a /home (or anything), I usually use 10GB for / just in case (still at 50%, but you never know). I got two 40GB disks however, if I were you (and I'm not, so, you can just disconsider what I'll say), I would put 20GB for the system, so you'll probably never run out of space... On 2/16/06, Izar Ilun <[EMAIL PROTECTED]>wrote: I'm installing Gentoo and I'd like you to suggest me how much disc space I should use for /. My machine is Pentium4, 1GB RAM, 200 GB HD ATA It's a desktop machine with Gentoo as the only and exclusive OS. Will run KDE. Amarok, OpenOffice, firefox Thanx! -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list Do i not understand why needs swap, if have 1GB of RAM?
[gentoo-user] Re: Errors compiling various ebuilds
Andrew Frink schrieb: On 2/9/06, Thomas Schweikle [EMAIL PROTECTED] wrote: b.n. wrote: I am having problems compiling these ebuilds: dev-java/xml-commons-external-1.3.02 dev-java/xerces-2.7.1 [2.6.2-r2] dev-java/xalan-2.7.0-r1 [2.6.0-r2] app-office/openoffice-2.0.1 [1.1.4-r1] dev-java/sun-jmx-1.2.1-r1 [1.2.1] kde-base/qtruby-3.4.3-r1 [3.4.2] kde-base/korundum-3.4.3 [3.4.2] Any idea? Did you update GCC to 3.4? Yes. It is version 3.4.4: gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. did follow http://www.gentoo.org/doc/en/gcc-upgrading.xml ? Yes. I have followed it. This time again. Some ebuilds continued not building: dev-java/xml-commons-external-1.3.02 dev-java/xerces-2.7.1 dev-java/xalan-2.7.0-r1 dev-java/sun-jmx-1.2.1-r1 But after emerging them again they build. Looks like the System is clean again now! --- But it took more than 10 days to compile all the stuff. Looks like I should think about a new PC (PII/400, 512MiByte). -- Thomas -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: Errors compiling various ebuilds
Richard Fish schrieb: On 2/4/06, Thomas Schweikle [EMAIL PROTECTED] wrote: Hi! I am having problems compiling these ebuilds: dev-java/xml-commons-external-1.3.02 dev-java/xerces-2.7.1 [2.6.2-r2] dev-java/xalan-2.7.0-r1 [2.6.0-r2] app-office/openoffice-2.0.1 [1.1.4-r1] dev-java/sun-jmx-1.2.1-r1 [1.2.1] kde-base/qtruby-3.4.3-r1 [3.4.2] kde-base/korundum-3.4.3 [3.4.2] snip /usr/kde/3.4/lib/libsmokeqt.so: undefined reference to `QIconView::bufferedPaintEvent(QPaintEvent*)' Looks like you need to revdep-rebuild. This was something I tried first, but without success. I took the hard way rebuilding everything. Now it is working. All ebuilds installed compiled --- some needed a second run to compile successfully, but now I have an up to date system again. -- Thomas -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
joaoemanuel1981 [EMAIL PROTECTED] wrote: Do i not understand why needs swap, if have 1GB of RAM? 1. because if you have 200GB disk, cutting 1 or 2GB for swap does not matter 2. because someone told me some apps want to allocate swap no matter how ram you have (I think it was someone from hp-ux support, but I'm not sure if this is true for linux) 3. because it is always better to have too much ram/swap then too little 4. because if you do not set up swap, but need it later, it will not be so easy to create it, if you partition all disk and leave no space left 5. because it is a good *nix habit! :-) Jarry -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
There are too damn many myths about swap out there. Like this one: Always configure twice as much swap as you have ram. Why? Why would I need more swap if I increased my ram? You need at least a little bit of swap for peak memory usage. Let's look at real numbers. Say, I am a bit low of ram for today's computers. I have 256MB ram. For peak usage, I add 128MB swap. I open so many applications/documents that the box starts swapping out 20MB. Sure, without swap space, I wouldn't have been able to open the last document. But nothing makes me stop there. I can as well run out of swap. The rule I always used (and do use) is twice ram, up to one gig of ram. Pretty much after that, I just do a gig of swap, and monitor it for growth. If my swap goes up AT ALL, I examine the typical workload on the box and consider adding ram. Ram may be more expensive than disk, but at less than $100 or so per gig, it's pretty cheap. I use swap as a safety net, allowing me enough time to react if something goes nuts or leaks. If you have 2GB of ram and 2GB of swap your total available memory is 4GB. If you need more you have to add either ram or swap. What you add is your choice based on your needs for speed and the money you are willing to spend on memory. That's it. End of rant. Uwe -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TARPIT iptables target
Daveto get tarpit support add the extensions USE flag when you emerge iptablescynyrOn 2/22/06, Dave Jones [EMAIL PROTECTED] wrote:Hi,I was reading about the TARPIT target in the man iptables documentation, and thought I'd like to give it a try.Unfortunately though, it seemsnot to be supported in the 2.6.15-1 Gentoo kernel.Has anyone used the TARPIT target, or know of a way to get it into thecurrent kernel?Any experience with this target or 'gotchas' about it? Cheers, Dave--gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
Uwe Thiem wrote: 3. because it is always better to have too much ram/swap then too little Nnnnot always. There are circumstances when you do not want swap at all. This is never true. Swap is *always* called for, and for a good reason. Your example of having a real-time responsive app requiring memory residence is a determining factor of how much physical memory you'll need to keep the app resident. But the truth of the matter is this will not be your only app running on the system. Throw some big memory hogs into play, i.e. an active X session running locally and that remote X session you've started from work, and pretty soon you can find yourself eating up that 1gb that you thought would be fine. Except that since you did not have any swap enabled, once you reach the 1gb limit, processes start failing. You find yourself unable to log into the box because there's not enough memory to spawn a new shell. You're forced to hard-boot the system and hope that the HD caches were flushed to the disk before you hit the reset button. Having swap is just another manner of safe-guarding your system. Once you breach the physical limit, there's always swap to fall back on. Sure all of your apps will suffer while swapping occurs, but at least you stand a chance of cleaning up the situation w/o facing the hard reboot option. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
Ow Mun Heng wrote: On Wed, 2006-02-22 at 23:14 -0600, Mike Myers wrote: Hi everybody! I'm having problems with a laptop and the suspend2 patched kernel. It seems like whenever I suspend to ram, and then resume, the video doesn't come back. suspend2-sources? what video card? did you try the vbetool hack? I'm using the suspend2-sources 2.6.15-suspend2-r6 kernel, yes. My video card is an intel Mobile Accelerated graphics card, and I'm using the vesa driver until I can get the intel driver for it installed. I tried to install vbetool, but it wouldn't compile, so I couldn't use it. Also, I'm using the intel 2200 wireless card, with the ipw2200 module, and if I put the laptop into hibernate and then power it back on, the wireless card doesn't come back up. i have ipw2100. It's modprobed -r by suspend2 config files. IIRC you ma have to modprob it back on. Not sure. after resuming, lsmod shows it to still be loaded. rmmod ipw2200 and then modprobe ipw2200 doesn't bring it back up. I have to reboot for it to come back. Is there anything I can do to fix this? Or somewhere I can go that will tell me how to fix those kinds of issues? I would check with the suspend2 list. But a quick search through my own list archive (under evolution) I found no reference to your problem I'll try that, I just wanted to try the gentoo lists first in case it had anything to do with gentoo. :P -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
On Thursday 23 February 2006 19:25, Uwe Thiem wrote: End of rant. I think you should read this article http://rudd-o.com/archives/2006/01/11/why-swap-is-good-even-with-tons-of-ram/ I don't know about you but since I started using an archck kernel, I have always seen my system actually using swap. The swap prefetch patch seems to be working here and I don't mind at all. In fact it makes my system much more responsive. Here is the current free -m report. $ free -m total used free sharedbuffers cached Mem: 495485 9 0 61131 -/+ buffers/cache:293202 Swap: 768241526 Now imagine that if I didn't have any swap space, that 241MB would have either been eaten up from my RAM or those files would never have been cached. In first scenario, it would reduce the capability of my system to cache the important files in RAM b'cos it is already full with not-so-important files, while in the latter case the Disk IO on my system will increase whenever I needed those not-so-important files. What ever your choice might be, I personally choose free RAM for better caching of files + lesser Disk IO, even if that means spending 768MB of HDD space. -- Regards, Abhay pgpugWBJYAuql.pgp Description: PGP signature
Re: [gentoo-user] CVSup vs Gentoo's Rsync
On Thursday 23 February 2006 11:26, Alexander Kirillov wrote: I already think Gentoo base system requirements are a bit heavy just having python in there. (I'm trying to run gentoo on my WRT54G 1.1; storage over nfs/nbd) It would be completely over-the-top to require Modula 3 support as well. Just tried cvsup on a FreeBSD box (in vmware) and it totally sucked. Took 1hr 20 min to update on a 512KB DSL. Link wasn't even saturated! Might as well be on 56K connection. DL rate max I've seen was 8KB/s BSD ports system may not be as complex as Gentoo's and needs more attention to maintain port dependencies but this abuse of make IS REAL FAST. portage is REAL SLOW. So you should install/use cdb, which makes the whole rsync/update process REAL FAST. If you sync regularly it's usually within 5 min. it is, with cdb. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
Richard Fish wrote: On 2/22/06, Mike Myers [EMAIL PROTECTED] wrote: Hi everybody! I'm having problems with a laptop and the suspend2 patched kernel. It seems like whenever I suspend to ram, and then resume, the video doesn't come back. More details please. (video card, which X11 driver, which console/framebuffer driver, are you suspending from console or X, etc). I'm suspending from X, using the klaptop application. I'm using the vesa driver for an intel video card. Never saw this problem...it should work fine. Is the module reloaded when the system resumes? Anything show up in dmesg or the system log? -Richard dmesg just says something about 'error -2' and ACPI when I try to remove and reload the module. I can try it and give you exactly what it says if you need me to. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: puzzled over why xrdb process hangs
Zac Slade krakrjak at volumehost.net writes: quickly running 'top' I find the culprit: krdb. I can kill it off and the sequence completes and the system is fine. But 'eix xrdb' reveals: x11-apps/xrdb Available versions: [M]1.0.1 Installed: none If it's not installed how can it be running (hung)? I've tried all sorts of things to fix this and nothing works, including revdep-rebuild... Are you using the monolithic or split ebuilds for kde? got me on this one. Not Sure? I'd guess both is a bad idea? That is, did you emerge kde or emerge kde-meta? yes, but it has been 'unmerge'd. If you using the monolithic ebuilds, this binary will be provided by a different package. If you'll locate the actual binary, you can find which package provides it with equery b /path/to/xrdb. You might be able to recompile that package. This package is not there: /# equery b /path/to/xrdb [ Searching for file(s) /path/to/xrdb in *... ] just like: * x11-apps/xrdb Available versions: [M]1.0.1 Installed: none I can kill off the hung xrdb process, as user james. I do not have to sudo or be root, so it's definately a kde thing (outta wack)... What's the best way to rebuild kde? other ideas? James -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT How many GB for / partition?
Uwe Thiem [EMAIL PROTECTED] wrote: There are too damn many myths about swap out there. Like this one: Always configure twice as much swap as you have ram. Why? OT Well, it depends on how swap is handled by system. In linux, your total memory = physical memory + swap (as you wrote) A couple years ago I got answer from HP, where they said with hp-ux: total memory = physical memory + (swap - physical memory) only if swap physical memory ! and total memory = physical memory if swap physical memory (in other words, it was completely useless to have swap phys.memory, and optimum was really swap = 2 * physical memory) They explained to me, that hp-ux 11 (or at least that early version) allocates part of swap of the same size as physical memory and mirrors the whole image of ram into swap for performance reasons: when more memory is needed, it can be immediatelly made free, because it is already paged to disk. So when I had 1GB RAM and 2GB swap, even right after system boot-up only 1GB of swap were free (in the other half of swap there was already mirror of physical memory), and I could not start any process which needed more than 2GB total memory. It seemed to me to be a complete vaste, and I was really angry, because it was time when 4 GB disk was a luxury (and e.g. irix did not have this strange feature). But things might have changed since then... /OT Jarry -- Telefonieren Sie schon oder sparen Sie noch? NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT How many GB for / partition?
--- [EMAIL PROTECTED] wrote: A couple years ago I got answer from HP, where they said with hp-ux: total memory = physical memory + (swap - physical memory) This of course is equivalent to: total memory = swap I'm not sure, but I think Windows NT also uses this. So practicaly the will be no memory allocation, but swap allocation. And the RAM is used just as cache (for either files or swap). __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: puzzled over why xrdb process hangs
On Thursday 23 February 2006 08:48, James [EMAIL PROTECTED] wrote about '[gentoo-user] Re: puzzled over why xrdb process hangs': Zac Slade krakrjak at volumehost.net writes: (Actually, me; I was @ his house) If you using the monolithic ebuilds, this binary will be provided by a different package. If you'll locate the actual binary, you can find which package provides it with equery b /path/to/xrdb. You might be able to recompile that package. This package is not there: /# equery b /path/to/xrdb I'm sorry, but this makes me giggle while simultaneously feel a bit sad for you. I was using /path/to/ as a placeholder for the *actual* path for xrdb. You'll have to use tools like which or find or slocate to find exactly what that path is, and then substitute it in. For example, on my system (monster): monster ~ # which xrdb /usr/bin/xrdb monster ~ # equery b /usr/bin/xrdb [ Searching for file(s) /usr/bin/xrdb in *... ] x11-base/xorg-x11-6.8.2-r6 (/usr/bin/xrdb) Luckily, xrdb was in my path, otherwise which wouldn't have found it, and I would have had to use slocate or find. My guess is that the same package will provide this binary on your system, but you should go ahead and do the which + equery, just to make sure. x11-apps/xrdb is probably for the new, version 7, split xorg. Also, to assume you I don't have x11-apss/xrdb installed: monster ~ # eix -c xrdb [N] app-emacs/xrdb-mode (): An Emacs major mode for editing X resource database files [N] x11-apps/xrdb (): X.Org xrdb application Found 2 matches -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Why does wordpress require xterm?
On 2/22/06, Lance Jacobs [EMAIL PROTECTED] wrote: Is there some tool that I should be using, or some additional emerge flag, that would help diagnose a problem like this? I tried masking the packages that were being brought in, to see if that would tell me which package had the dependency that was bringing in the extra stuff, How did you mask the package? It should have been with /etc/portage/package.mask... emerge -Dptv --emptytree pkg will always show you the full dependancy tree for a package. And if you mask out a package, this command should also tell you which package is bringing in the dependancy. For example, if I comment out the line in my unmask that allows me to bring in x11-libs/libXpm, and try to emerge wordpress, I get: carcharias rjf # USE=xpm emerge -Deptv wordpress These are the packages that I would merge, in reverse order: Calculating dependencies | !!! All ebuilds that could satisfy x11-libs/libXpm have been masked. !!! One of the following masked packages is required to complete your request: - x11-libs/libXpm-3.5.4.2 (masked by: package.mask) # Donnie Berkholz [EMAIL PROTECTED] (07 Aug 2005) # Modularized X, upstream release candidates For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by dev-lang/php-5.1.1 [ebuild]) I get a similar error if I mask out dev-db/mysql in /etc/portage/package.mask -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] NVRM: RmInitAdapter failed! (0x12:0x2b:1438)
Hey guys. The subject is the lovely error message I'm seeing after trying to get the nVidia drivers up and running on this card: 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1) (prog-if 00 [VGA]) Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 16 Memory at fd00 (32-bit, non-prefetchable) [size=16M] Memory at e800 (32-bit, prefetchable) [size=128M] Expansion ROM at fe00 [disabled] [size=128K] Capabilities: [60] Power Management version 2 X simply refuses to start, and this error message is pretty much all I have to go on. X runs fine if I change the driver to 'nv' - the open source nVidia driver. Any ideas what's going on here? Thanks for any and all help. -- Princess Leia: I'll be back. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
On 2/23/06, Mike Myers [EMAIL PROTECTED] wrote: I'm suspending from X, using the klaptop application. I'm using the vesa driver for an intel video card. The vesa driver is pretty much the driver-of-last-resort. I would _not_ expect proper power management support from this. Try the i810 driver instead, it should have support for intel integrated graphics. dmesg just says something about 'error -2' and ACPI when I try to remove and reload the module. I can try it and give you exactly what it says if you need me to. Yes. The ACPI messages are probably not important, but if you are getting an error unloading or reloading the module, then that is a problem. My initial guess is probably something about firmware I would suggest emerging and using the hibernate script (sys-power/hibernate-script). It allows a great deal of customization, including restarting services, reloading of modules, etc in response to suspend-to-ram or suspend-to-disk operations. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
On 2/23/06, Dave Nebinger [EMAIL PROTECTED] wrote: This is never true. Swap is *always* called for, and for a good reason. No, it isn't. For my single-user laptop with 2G of RAM, I actually prefer that the OOM kill any runaway process that is gobbling up RAM. My laptop disk (even at 7200rpm) is too damn slow for swap to be at all useful. The system _will_ be dead until swap is exhausted and the OOM kicks in anyway. The only reason I have a swap partition at all is for suspend2 hibernation. Your example of having a real-time responsive app requiring memory residence is a determining factor of how much physical memory you'll need to keep the app resident. But the truth of the matter is this will not be your only app running on the system. Throw some big memory hogs into play, i.e. an active X session running locally and that remote X session you've started from work, and pretty soon you can find yourself eating up that 1gb that you thought would be fine. No one would ever place a real-time responsive app on a desktop system. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] amd64/x86
2006/2/23, daniel [EMAIL PROTECTED]: On Thursday 23 February 2006 07:54, Boris Fersing wrote: 2006/2/23, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, I'm going to install Gentoo on Athlon64-based workstation, but I'm a little confused about hardware profiles and their compatibility: If I select now amd64, will I be able later to install and use x86 software, if there is no amd64 release (for example precompiled game-binaries, or even some sources which are only for x86, not amd64)? Or do I have to use x86 installation profile? Hi, just use the amd64 default profile (the mutilib one), then you'll be able to run 32bits softwares too ! Not entirely true. When I first got my amd64 box, I did just that and was horribly disappointed. While most things worked, there were a number of show stoppers so to speak: Konqueror couldn't play flash movies because while Konqueror compiled just fine as 64-bit, flash is only available in 32bit. If I wanted to see Flash, I had to use a binary version of Firefox. Worse though was the fact that none of the win32codecs were available so I couldn't watch any wmv, wma or other binary-only formats. Sadly, if you want to be able to use stuff typically used for the Windows world, you have to conform to that world's handicapps, which means making do with 32bits for now. What jarry wants is to run precompiled 32bits applications, which should work with the multilib profile. But I agree iwth some points, you can't use a 32bits plugin with a 64bits application, that's why I've installed mozilla-firefox-bin, mplayer-bin ... regards, Boris. -- It is sort of puzzling I think that you can have 100 percent certainty about the weapons of mass destruction's existence, and zero certainty about where they are. - Hans Blix, Chief UN weapons inspector in Iraq before the American occupation -- gentoo-user@gentoo.org mailing list -- Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dchp ebuild needs updated Manifest
On Thursday 23 February 2006 07:27, Beau E. Cox wrote: Hi - Last night's sync/update: cathy ~ # emerge -uD world -p These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] net-misc/dhcp-3.0.3-r3 [3.0.3-r2] cathy ~ # emerge -uD world Calculating world dependencies ...done! emerge (1 of 1) net-misc/dhcp-3.0.3-r3 to / !!! Security Violation: A file exists that is not in the manifest. !!! File: files/dhclient-ntp.patch -- Aloha = Beau; I fixed the Manifest, and it looks as though the ebuild needs more work: cathy # emerge -uD world Calculating world dependencies ...done! emerge (1 of 1) net-misc/dhcp-3.0.3-r3 to / md5 files ;-) dhcp-3.0.4_beta2-r1.ebuild md5 files ;-) dhcp-3.0.3-r3.ebuild md5 files ;-) files/dhcp.conf md5 files ;-) files/dhcp.init md5 files ;-) files/digest-dhcp-3.0.3-r3 md5 files ;-) files/dhcp-3.0.2-gmake.patch md5 files ;-) files/digest-dhcp-3.0.4_beta2-r1 md5 files ;-) files/dhcp-3.0.3-libdst.patch md5 files ;-) files/dhcp-3.0-fix-perms.patch md5 files ;-) files/dhcrelay.conf md5 files ;-) files/dhcrelay.init md5 files ;-) files/dhclient-ntp.patch md5 files ;-) files/dhcp-3.0.3-tr.patch md5 files ;-) files/dhcp-3.0.3-no_isc_blurb.patch md5 files ;-) files/dhcp-3.0-paranoia.patch md5 src_uri ;-) dhcp-3.0.3.tar.gz Unpacking source... Unpacking dhcp-3.0.3.tar.gz to /var/tmp/portage/dhcp-3.0.3-r3/work * Applying dhcp-3.0-paranoia.patch ... [ ok ] * Applying dhcp-3.0-fix-perms.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/net-misc/dhcp/files/dhcp-3.0.3-dhclient-ntp.patch * ( dhcp-3.0.3-dhclient-ntp.patch ) !!! ERROR: net-misc/dhcp-3.0.3-r3 failed. !!! Function epatch, Line 207, Exitcode 0 !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, NOT this status message. -- Aloha = Beau; -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
Richard Fish wrote: On 2/23/06, Mike Myers [EMAIL PROTECTED] wrote: I'm suspending from X, using the klaptop application. I'm using the vesa driver for an intel video card. The vesa driver is pretty much the driver-of-last-resort. I would _not_ expect proper power management support from this. Try the i810 driver instead, it should have support for intel integrated graphics. I'm not all suprised that you'd say that, really. I tried the i810 driver and it wouldn't work. That's why I'm using the vesa driver. I tried downloading the graphics driver for the video card from intel's website, there was an rpm and a tarball. The rpm wouldn't install and the tarball wouldn't compile. I using the drivers in the kernel but those didn't work either. X just wouldn't start with it. X reports the video card to be an Intel 915GM/910ML/915MS Graphics Controllor. From what I've read, the i810 driver is supposed to work with that card, but apparently it doesn't. Maybe you have some suggestions? dmesg just says something about 'error -2' and ACPI when I try to remove and reload the module. I can try it and give you exactly what it says if you need me to. Yes. The ACPI messages are probably not important, but if you are getting an error unloading or reloading the module, then that is a problem. My initial guess is probably something about firmware I would suggest emerging and using the hibernate script (sys-power/hibernate-script). It allows a great deal of customization, including restarting services, reloading of modules, etc in response to suspend-to-ram or suspend-to-disk operations. -Richard I have the hibernate script installed already, but I haven't really messed with that. I'll check it out and see if I can get something to work. I've just been mostly concerned about the suspend to ram function than the hibernate function. Thanks for the help! Mike -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [RESOLVED] dchp ebuild needs updated Manifest
On Thursday 23 February 2006 07:34, Beau E. Cox wrote: On Thursday 23 February 2006 07:27, Beau E. Cox wrote: Hi - Last night's sync/update: cathy ~ # emerge -uD world -p These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] net-misc/dhcp-3.0.3-r3 [3.0.3-r2] cathy ~ # emerge -uD world Calculating world dependencies ...done! emerge (1 of 1) net-misc/dhcp-3.0.3-r3 to / !!! Security Violation: A file exists that is not in the manifest. !!! File: files/dhclient-ntp.patch -- Aloha = Beau; I fixed the Manifest, and it looks as though the ebuild needs more work: cathy # emerge -uD world Calculating world dependencies ...done! emerge (1 of 1) net-misc/dhcp-3.0.3-r3 to / md5 files ;-) dhcp-3.0.4_beta2-r1.ebuild md5 files ;-) dhcp-3.0.3-r3.ebuild md5 files ;-) files/dhcp.conf md5 files ;-) files/dhcp.init md5 files ;-) files/digest-dhcp-3.0.3-r3 md5 files ;-) files/dhcp-3.0.2-gmake.patch md5 files ;-) files/digest-dhcp-3.0.4_beta2-r1 md5 files ;-) files/dhcp-3.0.3-libdst.patch md5 files ;-) files/dhcp-3.0-fix-perms.patch md5 files ;-) files/dhcrelay.conf md5 files ;-) files/dhcrelay.init md5 files ;-) files/dhclient-ntp.patch md5 files ;-) files/dhcp-3.0.3-tr.patch md5 files ;-) files/dhcp-3.0.3-no_isc_blurb.patch md5 files ;-) files/dhcp-3.0-paranoia.patch md5 src_uri ;-) dhcp-3.0.3.tar.gz Unpacking source... Unpacking dhcp-3.0.3.tar.gz to /var/tmp/portage/dhcp-3.0.3-r3/work * Applying dhcp-3.0-paranoia.patch ... [ ok ] * Applying dhcp-3.0-fix-perms.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/net-misc/dhcp/files/dhcp-3.0.3-dhclient-ntp.patch * ( dhcp-3.0.3-dhclient-ntp.patch ) !!! ERROR: net-misc/dhcp-3.0.3-r3 failed. !!! Function epatch, Line 207, Exitcode 0 !!! Cannot find $EPATCH_SOURCE! !!! If you need support, post the topmost build error, NOT this status message. -- Aloha = Beau; I re-synced and everthing was fixed in -r4. Thanks. Memo to self: re-sync before opening mouth :) -- Aloha = Beau; -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How many GB for / partition?
Dave Nebinger wrote: You've got 2gb ram, yet you still need swap for hibernation. No, he doesn't. suspend2 could also write the memory to a file when hibernating. That said, I'd find it rather useless to write to a plain normal file, as you need to keep the space available anyway. And with swap, you might at least make somewhat use of that wasted space. Alexander Skwar -- I'd horsewhip you if I had a horse. Ö -- Groucho Marx -- gentoo-user@gentoo.org mailing list
[gentoo-user] gst-plugins
[rant mode] Many of the gstreamer plugins, but not all of them, have been updated (in ~x86) to 0.8.12. That some of them are still at 0.8.11 is causing an upgrade/download emerge loop. As all of these plugins are built from the same source but with different configure options, would it not be possible to commit all of them to the tree at the same time? Only committing some of them causes the ones remaining at the old version to make portage downgrade the 'main' gst-plugins ebuild and then upgrade it again next time emerge is run. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Missing Keyword
ive been wondering this for a while. i know how to deal with masked packages, beit keyword masked or hardmasked, but ive googled and googled, and cant seem to find or figure out how to deal with masked packages that are missing keywords. there is a nice document in the wiki that explains masked packages but it makes no mention to ones that are missing a keyword. what are you suppose to do to these files to get them unmasked? and it it like a hard mask where they are known not to work? TIA Nick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] amd64/x86
On Thursday 23 February 2006 11:24, daniel [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] amd64/x86': On Thursday 23 February 2006 07:54, Boris Fersing wrote: 2006/2/23, [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm going to install Gentoo on Athlon64-based workstation, but I'm a little confused about hardware profiles and their compatibility: just use the amd64 default profile (the mutilib one), then you'll be able to run 32bits softwares too ! E.g. Doom3, a 32-bit binary, works fine on my ~amd64 system. Not entirely true. When I first got my amd64 box, I did just that and was horribly disappointed. While most things worked, there were a number of show stoppers so to speak: Konqueror couldn't play flash movies because while Konqueror compiled just fine as 64-bit, flash is only available in 32bit. If I wanted to see Flash, I had to use a binary version of Firefox. Worse though was the fact that none of the win32codecs were available so I couldn't watch any wmv, wma or other binary-only formats. Of course, none of these cases is (simply) running a 32-bit binary. All these cases cover having a 64-bit binary load a 32-bit library. While I believe this is technically possible with very disciplined developers and some kernel help, it's not supported (or even allowed) currently. Loading a 32-bit library (using dlopen etc.) will fail if you are currently running in 64-bit mode. The solution at the user end is to run 32-bit versions of the software that needs to load 32-bit libraries, unfortunately gentoo doesn't make this as easy as I'd like [1], but does provide a few methods. There's firefox-bin, which is the offically branded 32-bit version of firefox, capable of loading your 32-bit flash player, as well as some flash players with source available (and at differing levels of usability). Mplayer also has a relatively new bindist USE flag, which I believe installs the 32-bit binary for use with w32codecs. Beyond this, you can also setup a chroot (there's a guide in the gentoo wiki), and I believe the gentoo forums has a nsplugin32 ebuild which is supposed to allow 64-bit konq to load 32-bit plugins. You could, of course run an entirely 32-bit userland, and gcc will still optimize your processor in 32-bit mode (but, some processor features just are not available in 32-bit mode). The solution at the developer end is, when running on a system that supports both multiple modes of execution, have separate processes running (one in each mode) that communicate via IPC (pipes, shared memory, etc.) and are each responsible for loading libraries with a matching mode. This hasn't been traditionally done because the number of installations that support multiple execution modes running side-by-side is low. Sadly, if you want to be able to use stuff typically used for the Windows world, you have to conform to that world's handicapps, which means making do with 32bits for now. I am reminded of an RMS quote: Every nonfree program has a lord, a master--and if you use the program, he is your master. -- Richard Stallman, in an interview for Federico Binacuzzi http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html For me, I just don't use flash that isn't supported by my 64-bit flash player. I just don't watch wmv movies (h264 data in the maktroska wrapper is better anyway). I just don't use the scanning feature of my multi-function printer (supported in sane using a proprietary 32-bit library). It's a cost that I'm willing to bear. It's also getting me closer to living in the free world. ;) -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy [1] I'd like be be able to 'ARCH=x86 emerge firefox' (or similar) and get a 32-bit version (compiled with my CFLAGS etc.) installed in parallel with my 64-bit version, without undue hardship. -- gentoo-user@gentoo.org mailing list
[gentoo-user] OT - 2 Questions
I upgraded dovecot the other day to 1.0.beta3 and I was altering the configuration file trying to get it to work when I discovered something disturbing: our passwords were being trasmitted unencrypted across the Internet! At least now I know it. You can gripe at me all you want, but I've learned my lesson. Now to fix it. I tried setting the default authentication method to digest-md5 and restarting dovecot, but it gave me an error that no authentication database existed for checking with digest-md5. How do I generate one? My second question was about a PaperPort 6100 parallel port scanner that I recently inherited. Can anyone point me to a Gentoo-specific or otherwise easy-to-understand howto for getting it working? I tried googling it, but all the results were for USB scanners... -Michael Sullivan- -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo LVM Newbie Question
Im having a problem with LVM. I setup a volume group it had 5.91G in Free PE/Size now states 0/0 --- Volume group --- VG Name vg System ID Format lvm2 Metadata Areas 3 Metadata Sequence No 9 VG Access read/write VG Status resizable MAX LV 0 Cur LV 5 Open LV 5 Max PV 0 Cur PV 3 Act PV 3 VG Size 55.91 GB PE Size 4.00 MB Total PE 14313 Alloc PE / Size 14313 / 55.91 GB Free PE / Size 0 / 0 VG UUID 6615f4-SY2U-Ur67-mW3K-6BcT-7eJD-gH9Cqi I have a logical volume inside that I tried to extend --- Logical volume --- LV Name /dev/vg/home VG Name vg LV UUID vx9591-nXtD-0Yj6-F0ah-TjcH-5jEq-BGFIze LV Write Access read/write LV Status available # open 1 LV Size 10.91 GB Current LE 2793 Segments 3 Allocation inherit Read ahead sectors 0 Block device 253:1 It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesnt show an increased size. /dev/mapper/vg-home 5.0G 1.6G 3.2G 33% /home Apparently I missed a step and cant find any information on how to fix this. Doesnt it need to know how to format and add the LV extention? Help would be great. Thanks. This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email[EMAIL PROTECTED].
Re: [gentoo-user] Missing Keyword
On Thursday 23 February 2006 12:07, Nick Smith [EMAIL PROTECTED] wrote about '[gentoo-user] Missing Keyword': ive been wondering this for a while. i know how to deal with masked packages, beit keyword masked or hardmasked, but ive googled and googled, and cant seem to find or figure out how to deal with masked packages that are missing keywords. there is a nice document in the wiki that explains masked packages but it makes no mention to ones that are missing a keyword. what are you suppose to do to these files to get them unmasked? and it it like a hard mask where they are known not to work? Use /etc/portage/package.keywords (with an actual keyword, instead of the default ~ARCH) or your local overlay. However, a missing keyword (like neither amd64 nor ~amd64) indicates that the ebuild has not been tested on that architecture. If the ebuild DOES work, report it on b.g.o. (Actually, even if it doesn't, you should probably report it, because then the -ARCH keyword can be added which means tested and does not work.) -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
Just an update; I unmasked and emerged vbetool-0.3 and it installed and emerged just fine. I configured the /etc/hibernate/hibernate.conf script to use it and now it works, but only if I use the hibernate command. If I use kde's klaptop monitor, it doesn't seem to use the hibernate script, meaning no video after suspend, and no network cards after hibernate. Is there anything I can do to get it to read that script? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Missing Keyword
Use /etc/portage/package.keywords (with an actual keyword, instead of the default ~ARCH) or your local overlay. what is the actual keyword if it doesnt have one? just add it to my package.keywords file and add the arch to it? i dont see how that would work. However, a missing keyword (like neither amd64 nor ~amd64) indicates that the ebuild has not been tested on that architecture. If the ebuild DOES work, report it on b.g.o. (Actually, even if it doesn't, you should probably report it, because then the -ARCH keyword can be added which means tested and does not work.) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - 2 Questions
On Thursday 23 February 2006 14:36, a tiny voice compelled Michael Sullivan to write: PaperPort 6100 from: http://www.sane-project.org/sane-backends.html PaperPort 6100 Parport unsupported Most probably not supported. More details would be appreciated. -- Regards, Ernie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
On Thursday 23 February 2006 14:22, CR Little [EMAIL PROTECTED] wrote about '[gentoo-user] Gentoo LVM Newbie Question': I'm having a problem with LVM. I setup a volume group it had 5.91G in Free PE/Size now states 0/0 I have a logical volume inside that I tried to extend It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend -L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesn't show an increased size. /dev/mapper/vg-home 5.0G 1.6G 3.2G 33% /home Apparently I missed a step and can't find any information on how to fix this. Doesn't it need to know how to format and add the LV extention? That's an easy one. But an easy thing to miss, especially if you are new. df reports the free space on the /filesystem/ lvextend changes the size of the /block device/ Now that your block device is bigger, you need to extend the filesystem to use that new space. What filesystem are you using? Also, in the future, I believe EVMS can do this all with one command and there is a nice ncurses interface. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Gentoo LVM Newbie Question
I'm using ext3 -Original Message- From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 2:41 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo LVM Newbie Question On Thursday 23 February 2006 14:22, CR Little [EMAIL PROTECTED] wrote about '[gentoo-user] Gentoo LVM Newbie Question': I'm having a problem with LVM. I setup a volume group it had 5.91G in Free PE/Size now states 0/0 I have a logical volume inside that I tried to extend It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend -L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesn't show an increased size. /dev/mapper/vg-home 5.0G 1.6G 3.2G 33% /home Apparently I missed a step and can't find any information on how to fix this. Doesn't it need to know how to format and add the LV extention? That's an easy one. But an easy thing to miss, especially if you are new. df reports the free space on the /filesystem/ lvextend changes the size of the /block device/ Now that your block device is bigger, you need to extend the filesystem to use that new space. What filesystem are you using? Also, in the future, I believe EVMS can do this all with one command and there is a nice ncurses interface. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
CR Little wrote: It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend –L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesn’t show an increased size. Of course not - why should it? Increasing the size of an LV doesn't change the size of the filesystem stored on the LV in any way. So, you'll need to run something like resize_reiserfs /dev/vg/home now. Alexander Skwar -- Frankly, Scarlett, I don't have a fix. -- Rhett Buggler -- gentoo-user@gentoo.org mailing list
[gentoo-user] emerge timezone-data fails?
Install timezone-data-2006b into /var/tmp/portage/timezone-data-2006b/image/ category sys-libs ./zic -y ./yearistype -d /var/tmp/portage/timezone-data-2006b/image//usr/share/zoneinfo -L /dev/null africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 ./zic: wild compilation-time specification of zic_t make: *** [posix_only] Error 1 !!! ERROR: sys-libs/timezone-data-2006b failed. !!! Function src_install, Line 28, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. -- Regards, Ernie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
On Thursday 23 February 2006 02:22 pm, CR Little wrote: I'm having a problem with LVM. I setup a volume group it had 5.91G in Free PE/Size now states 0/0 --- Volume group --- VG Name vg VG Size 55.91 GB PE Size 4.00 MB Total PE 14313 Alloc PE / Size 14313 / 55.91 GB Free PE / Size 0 / 0 I have a logical volume inside that I tried to extend --- Logical volume --- LV Name/dev/vg/home VG Namevg LV UUIDvx9591-nXtD-0Yj6-F0ah-TjcH-5jEq-BGFIze LV Write Accessread/write LV Status available # open 1 LV Size10.91 GB Current LE 2793 Segments 3 Allocation inherit Read ahead sectors 0 Block device 253:1 It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend -L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesn't show an increased size. /dev/mapper/vg-home 5.0G 1.6G 3.2G 33% /home Apparently I missed a step and can't find any information on how to fix this. Doesn't it need to know how to format and add the LV extention? Assuming you are using a reiserfs filesystem, resizing it is a 2-step process. The first step is what you have accomplished. The second step is: resize_reiserfs -f /dev/vg/home However, given the output of your vgdisplay with particular reference to the lines below, I doubt that you can resize any logical volumes in your volume group: VG Size 55.91 GB Total PE 14313 Alloc PE / Size 14313 / 55.91 GB Free PE / Size 0 / 0 -- gentoo-user@gentoo.org mailing list
[gentoo-user] Firefox PDF integration
How do you get firefox to open a PDF file instead of trying to download it? The only plugins listed in about:plugins are s-shockwave-flash and futuresplash. I do have acroread and gpdf installed. Incidentally, which PDF viewer do you like best out of those in portage? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: livecd gentoo # chroot /mnt/gentoo bin/bash chroot: cannot run command `bin/bash': Exec format error Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit kernel (or as 32-bit stage3, and then gradually recompile) Will a 64 bit kernel be able to run a 32 bit bash? In order to get a 64 bit kernel a have to set CFLAGS=-march=k8 and set the processor type to K8 in the kernel configuration, right? -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Missing Keyword
On Thursday 23 February 2006 14:38, Nick Smith [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Missing Keyword': Use /etc/portage/package.keywords (with an actual keyword, instead of the default ~ARCH) or your local overlay. what is the actual keyword if it doesnt have one? just add it to my package.keywords file and add the arch to it? i dont see how that would work. Sorry, my explanation was a bit terse. Masked due to missing keyword means that none of the keywords in ACCEPT_KEYWORDS match with any of the keywords in the ebuilds KEYWORDS. So, an ebuild that has KEYWORDS=x86 ~hppa ~sparc will match any x86 profile but only testing hppa or sparc machines. Attempt to install it on an amd64 machine results in a missing keyword. You would have to view the individual ebuild to determine what KEYWORDS it has. /etc/portage/package.keywords is a way to add to ACCEPT_KEYWORDS on a per-package basis. /Most of the time/, it is used to install testing versions; if you don't supply a keyword after the package atom portage assumes you meant ~${ARCH}. However, it can be used to accept other keywords, you just have to put them there. amd64 users will probably find this most useful since it is more likely that something that works on x86 also works on amd64 than it is that something that works on hppa works on sparc -- that is there are keywords other than ~${ARCH} that may be of real use. For the crazier amd64 users out there, yes this does mean you could have ACCEPT_KEYWORDS=~amd64 x86 or even ~amd64 x86 ~x86 in your make.conf, but I don't recommend it. (The transition from 32-bit to 64-bit is not easy for all programs.) Also, I seem to remember that package.keywords didn't always default to ~${ARCH}. Am I mis-remembering that? Do any developers here know for sure? -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
On Thursday 23 February 2006 14:58, CR Little [EMAIL PROTECTED] wrote about 'RE: [gentoo-user] Gentoo LVM Newbie Question': I'm using ext3 A: Because it reverses the logical progression of the conversation. Q: Why shouldn't I top post? Aaaanyway, in your case, you've got two options: 1) Search around like crazy for a ext2/3 online resizer -- I'm pretty sure there's one available, but I don't have it on my system -- and use it. 2) unmount the filesystem, resize2fs /dev/vg/home, and mount the filesystem. troll subtype=filesystem/ Downtime sucks, in the future choose a real filesystem, like reiserfs. /troll ;) -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 15:31, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: livecd gentoo # chroot /mnt/gentoo bin/bash chroot: cannot run command `bin/bash': Exec format error Your 32-but kernel can't run the 64-bit bash. You'll have to use a 64-bit kernel (or as 32-bit stage3, and then gradually recompile) Will a 64 bit kernel be able to run a 32 bit bash? A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed kernel option though... CONFIG_IA32_EMUL? Anyone? In order to get a 64 bit kernel a have to set CFLAGS=-march=k8 Your CFLAGS in make.conf don't affect your kernel, normally. I don't use genkernel maybe it does some crazy magic like that. and set the processor type to K8 in the kernel configuration, right? Just setting the proper processor type should build your kernel as 64-bit. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
On Thursday 23 February 2006 15:27, Grant [EMAIL PROTECTED] wrote about '[gentoo-user] Firefox PDF integration': Incidentally, which PDF viewer do you like best out of those in portage? kpdf :) -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] TARPIT iptables target
Hi Andrew, Thank you for the tip about TARPIT, the problem is now solved. To complete the fix I downloaded patch-o-matic-ng and the iptables source from netfilter.org: cd /usr/src svn co https://svn.netfilter.org/netfilter/trunk/patch-o-matic-ng svn co https://svn.netfilter.org/netfilter/trunk/iptables The documentation on using cvs on netfilter.org is outdated, they've converted to subversion and cvs is no longer available there. cd /usr/src/patch-o-matic-ng ./runme extra Allowed me to select the new iptables targets I wanted. cd /usr/src/linux make menuconfig make make modules_install make install I added the extensions USE flag to my /etc/make.conf, then reran the iptables emerge. It's all working fine now. Thanks to both you and Bryce for the help you gave! Cheers, Dave Andrew Frink wrote on 02/23/06 15:23: Dave to get tarpit support add the extensions USE flag when you emerge iptables cynyr I was reading about the TARPIT target in the man iptables documentation, and thought I'd like to give it a try. Unfortunately though, it seems not to be supported in the 2.6.15-1 Gentoo kernel. Has anyone used the TARPIT target, or know of a way to get it into the current kernel? Any experience with this target or 'gotchas' about it? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
On Thu, 23 Feb 2006 13:27:18 -0800 Grant [EMAIL PROTECTED] wrote: How do you get firefox to open a PDF file instead of trying to download it? The only plugins listed in about:plugins are s-shockwave-flash and futuresplash. I do have acroread and gpdf installed. Turn on USE-Flag nsplugin for app-text/acroread if you like Adobe Reader. I use xpdf, because acroread takes ages to load. For this to work I added xpdf as handler for the application/pdf MIME-type to the list of helper applications. It should be somewhere in the preferences. Incidentally, which PDF viewer do you like best out of those in portage? xpdf. I start acroread only when xpdf displays the file incorrectly. Cheers, Renat -- Probleme kann man niemals mit derselben Denkweise loesen, durch die sie entstanden sind. (Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 22:40, Boyd Stephen Smith Jr. wrote: On Thursday 23 February 2006 15:31, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Thursday 23 February 2006 00:42, Boyd Stephen Smith Jr. wrote: livecd gentoo # chroot /mnt/gentoo bin/bash chroot: cannot run command `bin/bash': Exec format error [SNIP] Will a 64 bit kernel be able to run a 32 bit bash? A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed kernel option though... CONFIG_IA32_EMUL? Anyone? I cannot seem to find any such kernel config option. In order to get a 64 bit kernel a have to set CFLAGS=-march=k8 Your CFLAGS in make.conf don't affect your kernel, normally. Didn't really think so either. It's just that I still get the Exec format error when I try to chroot. Is there a way to very that I really am running a 64 kernel? I don't use genkernel maybe it does some crazy magic like that. I don't either. and set the processor type to K8 in the kernel configuration, right? Just setting the proper processor type should build your kernel as 64-bit. Did do that. Thanks for your replies.. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT] traffic shaping
Hi, On Wed, 22 Feb 2006 19:16:35 +0200 Uwe Thiem [EMAIL PROTECTED] wrote: It happens as soon as I enter any one of the following lines: tc filter add dev eth2 parent 1: prio 2 handle 1 fw flowid 1:20 [...] I then get the error message: RTNETLINK answers: Invalid argument We have an error talking to the kernel Prior experience suggests that a module is missing or not loaded. The question is: Which one? Or am I completely wrong in my assumption? Did you compile QoS and/or fair queuing support into the kernel (i.e., not the traffic shaping device which is in the device section)? It should then load modules automatically (well, if configured in the kernel, that is). Hm, and you _did_ set up the qdiscs and classes first? OTOH, and I don't know for sure if that's needed before configuring the filters. -hwh -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - 2 Questions
On Thursday 23 February 2006 16:44, a tiny voice compelled Michael Sullivan to write: On Thu, 2006-02-23 at 15:41 -0500, Ernie Schroder wrote: On Thursday 23 February 2006 14:36, a tiny voice compelled Michael Sullivan to write: PaperPort 6100 from: http://www.sane-project.org/sane-backends.html PaperPort 6100 Parport unsupported Most probably not supported. More details would be appreciated. -- Regards, Ernie What more details do you need, and how would I go about getting them for you? This is my first scanner, and I know barely anything about hardware to begin with... The sane page was asking for more details... If you knew the chipset the scanner uses, you might be able to find another supported scanner who's backend might work. It's also possible that Visionair didn't make the scanner, but rebranded someone else's design. You might join the Sane-devel list and ask if anyone has had success. http://lists.alioth.debian.org/mailman/listinfo/sane-devel -- Regards, Ernie -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
On Thu, Feb 23, 2006 at 03:40:52PM -0600, Boyd Stephen Smith Jr. wrote: On Thursday 23 February 2006 15:27, Grant [EMAIL PROTECTED] wrote about '[gentoo-user] Firefox PDF integration': Incidentally, which PDF viewer do you like best out of those in portage? kpdf :) Or if you're a GNOME user, evince is quite nice. -- Alan [EMAIL PROTECTED] - http://arcterex.net Backups are for people who don't pray. -- big Mike -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
Title: Re: [gentoo-user] Gentoo LVM Newbie Question On 2/23/06 2:22 PM, CR Little [EMAIL PROTECTED] wrote: Im having a problem with LVM. I setup a volume group it had 5.91G in Free PE/Size now states 0/0 I have a logical volume inside that I tried to extend It now states 10.91 GB for LV Size. This lv is mounted to /home when I ran lvextend L+5.91G /dev/vg/home it extended the lv but when you run df-h it doesnt show an increased size. /dev/mapper/vg-home 5.0G 1.6G 3.2G 33% /home Apparently I missed a step and cant find any information on how to fix this. Doesnt it need to know how to format and add the LV extention? Help would be great. Yes, you missed a step. Extending the lv in no way increases the size of the fs. Extendfs is the command you need to man. Remember, the fs cannot be mounted when you extend it.
[gentoo-user] Trouble with openoffice2 starting up.
I don't use OpenOffice very often. At some point, I seam to have upgraded some dependency that is causing OpenOffice not to work any longer. I was running openoffice-bin. I tried compiling the source to see if that fixed the problem but I still have the same issue. The Initial Screen loads up but the progress bar stops about 1/3 the way through and then nothing ever happens. strace oowriter2 == cut lots of output == rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0 _llseek(255, -77, [6707], SEEK_CUR) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7e6a6f8) = 9597 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0 rt_sigaction(SIGINT, {0x8077c60, [], 0}, {SIG_DFL}, 8) = 0 waitpid(-1, All of the ooXXX programs stop in exactly the same place. I'm running gentoo-sources 2.6.14 glibc 2.3.5-r2 If I kill the program, that gets rid of the soffice process but I still have to execute an additional kill -9 soffice.bin process before that will exit. Thoughts? -- gentoo-user@gentoo.org mailing list
[gentoo-user] cpufreqd error and pmu + other error
Hi list, seeing my /var/log/errors file, i've discovered two entries that i'm not understanding at all: syslog-ng[10359]: Changing permissions on special file /dev/tty12 cpufreqd: pmu_init : /proc/pmu/info: No such file or directory in my cpufreqd.conf i didn't have any references to pmu Any ideas? regards, MC -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 3d rendering with dri radeon
Bo Andresen wrote: I don't have a kernel module called radeon. I guess that's the problem.. Aah! But that module is provided by x11-base/x11-drm. Maybe you need to add the video_cards_ati USE flag? You are suggesting I move to version udev-084? Only when you have the radeon module and it somehow doesn't create the device node correctly and you have tried everything else. Benno -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 15:56, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': Will a 64 bit kernel be able to run a 32 bit bash? A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed kernel option though... CONFIG_IA32_EMUL? Anyone? I cannot seem to find any such kernel config option. I think these are relevant: $ zgrep -i ia32 /proc/config.gz CONFIG_IA32_EMULATION=y CONFIG_IA32_AOUT=y In order to get a 64 bit kernel a have to set CFLAGS=-march=k8 Your CFLAGS in make.conf don't affect your kernel, normally. Didn't really think so either. It's just that I still get the Exec format error when I try to chroot. Is there a way to very that I really am running a 64 kernel? I believe this tells you: $ uname -m x86_64 and set the processor type to K8 in the kernel configuration, right? Just setting the proper processor type should build your kernel as 64-bit. Did do that. The only thing I can't think of at this point is something from the gentoo cross compile howto from vapier that may or may not apply: If you want to cross compile a kernel, do this: make ARCH=hppa CROSS_COMPILE=hppa2.0-unknown-linux-gnu- So, you may want to configure, make, and install your kernel like: make ARCH=x86_64 menuconfig make ARCH=x86_64 make ARCH=x86_64 install (You don't need a CROSS_COMPILE prefix since gcc should work fine.) -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
[gentoo-user] [OT] how to mount IXUS 40?
Hi, 'digikam' works fine with this digital Canon camera. Also I can insert an SD-card into a card-reader and mount it as ordinary flash-card. But sometimes it is more handy to mount SD-card directly via camera's USB-port. '/var/log/meassages' fragment is below. Please, point me where to dig in. Andrew Feb 24 02:20:39 anli hub 1-0:1.0: state 5 ports 6 chg evt 0040 Feb 24 02:20:39 anli ehci_hcd :00:1d.7: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT Feb 24 02:20:39 anli hub 1-0:1.0: port 6, status 0501, change 0001, 480 Mb/s Feb 24 02:20:39 anli hub 1-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501 Feb 24 02:20:40 anli ehci_hcd :00:1d.7: port 6 full speed -- companion Feb 24 02:20:40 anli ehci_hcd :00:1d.7: GetStatus port 6 status 003801 POWER OWNER sig=j CONNECT Feb 24 02:20:40 anli uhci_hcd :00:1d.2: wakeup_rh (auto-start) Feb 24 02:20:40 anli hub 4-0:1.0: state 5 ports 2 chg evt 0004 Feb 24 02:20:40 anli uhci_hcd :00:1d.2: port 2 portsc 0093,00 Feb 24 02:20:40 anli hub 4-0:1.0: port 2, status 0101, change 0001, 12 Mb/s Feb 24 02:20:40 anli hub 4-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101 Feb 24 02:20:40 anli usb 4-2: new full speed USB device using uhci_hcd and address 13 Feb 24 02:20:40 anli usb 4-2: ep0 maxpacket = 8 Feb 24 02:20:40 anli usb 4-2: default language 0x0409 Feb 24 02:20:40 anli usb 4-2: new device strings: Mfr=1, Product=2, SerialNumber=0 Feb 24 02:20:40 anli usb 4-2: Product: Canon Digital Camera Feb 24 02:20:40 anli usb 4-2: Manufacturer: Canon Inc. Feb 24 02:20:40 anli usb 4-2: hotplug Feb 24 02:20:40 anli usb 4-2: adding 4-2:1.0 (config #1, interface 0) Feb 24 02:20:40 anli usb 4-2:1.0: hotplug Feb 24 02:20:40 anli drivers/usb/core/inode.c: creating file '013' Feb 24 02:20:40 anli hub 4-0:1.0: state 5 ports 2 chg evt 0004 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 23:33, Boyd Stephen Smith Jr. wrote: On Thursday 23 February 2006 15:56, Bo Andresen [EMAIL PROTECTED] A 64-bit kernel will run 32-bit binaries fine... Um, there may be a needed kernel option though... CONFIG_IA32_EMUL? Anyone? I cannot seem to find any such kernel config option. I think these are relevant: $ zgrep -i ia32 /proc/config.gz CONFIG_IA32_EMULATION=y CONFIG_IA32_AOUT=y I cannot find those options. ~ # zcat /proc/config.gz | grep -i '32\|k8' CONFIG_X86_32=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_MK8=y # CONFIG_SCSI_QLA2322 is not set # CONFIG_SCSI_NSP32 is not set # CONFIG_PCNET32 is not set # CONFIG_USB_SERIAL_MCT_U232 is not set # CONFIG_NLS_CODEPAGE_932 is not set CONFIG_CRYPTO_CRC32C=m CONFIG_CRC32=y CONFIG_LIBCRC32C=m I notice CONFIG_X86_32=y but cannot figure out where to change that in make menuconfig. Typing /X86_32 just gives this as a search result: Symbol: X86_32 [=y] Is there a way to verify that I really am running a 64 kernel? I believe this tells you: $ uname -m x86_64 ~ # uname -m i686 So, you may want to configure, make, and install your kernel like: make ARCH=x86_64 menuconfig make ARCH=x86_64 make ARCH=x86_64 install (You don't need a CROSS_COMPILE prefix since gcc should work fine.) Should I ignore all these warnings? # make ARCH=x86_64 menuconfig scripts/kconfig/mconf arch/x86_64/Kconfig # # using defaults found in .config # .config:90:warning: trying to assign nonexistent symbol X86_ELAN .config:91:warning: trying to assign nonexistent symbol X86_VOYAGER .config:93:warning: trying to assign nonexistent symbol X86_SUMMIT .config:94:warning: trying to assign nonexistent symbol X86_BIGSMP .config:96:warning: trying to assign nonexistent symbol X86_GENERICARCH .config:97:warning: trying to assign nonexistent symbol X86_ES7000 .config:98:warning: trying to assign nonexistent symbol M386 .config:99:warning: trying to assign nonexistent symbol M486 .config:100:warning: trying to assign nonexistent symbol M586 .config:101:warning: trying to assign nonexistent symbol M586TSC .config:102:warning: trying to assign nonexistent symbol M586MMX .config:103:warning: trying to assign nonexistent symbol M686 .config:104:warning: trying to assign nonexistent symbol MPENTIUMII .config:105:warning: trying to assign nonexistent symbol MPENTIUMIII .config:106:warning: trying to assign nonexistent symbol MPENTIUMM .config:107:warning: trying to assign nonexistent symbol MPENTIUM4 .config:108:warning: trying to assign nonexistent symbol MK6 .config:109:warning: trying to assign nonexistent symbol MK7 .config:111:warning: trying to assign nonexistent symbol MCRUSOE .config:112:warning: trying to assign nonexistent symbol MEFFICEON .config:113:warning: trying to assign nonexistent symbol MWINCHIPC6 .config:114:warning: trying to assign nonexistent symbol MWINCHIP2 .config:115:warning: trying to assign nonexistent symbol MWINCHIP3D .config:116:warning: trying to assign nonexistent symbol MGEODEGX1 .config:117:warning: trying to assign nonexistent symbol MCYRIXIII .config:118:warning: trying to assign nonexistent symbol MVIAC3_2 .config:119:warning: trying to assign nonexistent symbol X86_GENERIC .config:121:warning: trying to assign nonexistent symbol X86_XADD .config:125:warning: trying to assign nonexistent symbol X86_WP_WORKS_OK .config:126:warning: trying to assign nonexistent symbol X86_INVLPG .config:127:warning: trying to assign nonexistent symbol X86_BSWAP .config:128:warning: trying to assign nonexistent symbol X86_POPAD_OK .config:129:warning: trying to assign nonexistent symbol X86_CMPXCHG64 .config:131:warning: trying to assign nonexistent symbol X86_INTEL_USERCOPY .config:132:warning: trying to assign nonexistent symbol X86_USE_PPRO_CHECKSUM .config:140:warning: trying to assign nonexistent symbol X86_UP_APIC .config:141:warning: trying to assign nonexistent symbol X86_UP_IOAPIC .config:145:warning: trying to assign nonexistent symbol X86_MCE_NONFATAL .config:146:warning: trying to assign nonexistent symbol X86_MCE_P4THERMAL .config:147:warning: trying to assign nonexistent symbol TOSHIBA .config:148:warning: trying to assign nonexistent symbol I8K .config:149:warning: trying to assign nonexistent symbol X86_REBOOTFIXUPS .config:160:warning: trying to assign nonexistent symbol NOHIGHMEM .config:161:warning: trying to assign nonexistent symbol HIGHMEM4G .config:174:warning: trying to assign nonexistent symbol REGPARM .config:220:warning: trying to assign nonexistent symbol APM .config:231:warning: trying to assign nonexistent symbol PCI_GOBIOS .config:232:warning: trying to assign nonexistent symbol PCI_GOMMCONFIG .config:233:warning: trying to assign nonexistent symbol PCI_GODIRECT .config:234:warning: trying to assign nonexistent symbol PCI_GOANY .config:1405:warning: trying to assign nonexistent symbol X86_FIND_SMP_CONFIG .config:1406:warning: trying to assign nonexistent symbol X86_MPPARSE .config:1459:warning: trying
RE: [gentoo-user] Gentoo LVM Newbie Question
Apparently when I created my first drive pv. I missed something as well I have /dev/sda8-14 which are not set allocatable --- NEW Physical volume --- PV Name /dev/sda14 VG Name PV Size 8.93 GB Allocatable NO PE Size (KByte) 0 Total PE 0 Free PE 0 Allocated PE 0 PV UUID 6Rw2Qm-V9ah-BlsX-Dl2V-vDSk-K5Fl-K8Jun3 I ran pvchange and got the following results. pvchange -x y /dev/sda8 /dev/sda9 /dev/sda10 /dev/sda11 /dev/sda12 /dev/sda13 /dev/sda14 Allocatability not supported by orphan lvm2 format PV /dev/sda8 Allocatability not supported by orphan lvm2 format PV /dev/sda9 Allocatability not supported by orphan lvm2 format PV /dev/sda10 Allocatability not supported by orphan lvm2 format PV /dev/sda11 Allocatability not supported by orphan lvm2 format PV /dev/sda12 Allocatability not supported by orphan lvm2 format PV /dev/sda13 Allocatability not supported by orphan lvm2 format PV /dev/sda14 0 physical volumes changed / 7 physical volumes not changed Any help in getting these partitions to allocate would help. It's about 130Gigs of space. -Original Message- From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED] Sent: Thursday, February 23, 2006 4:35 PM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Gentoo LVM Newbie Question On Thursday 23 February 2006 15:59, John Jolet [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Gentoo LVM Newbie Question': Remember, the fs cannot be mounted when you extend it. LOL! -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list This message contains information from SourceLink - Madison which may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution, or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify by email [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] 3d rendering with dri radeon
On Friday 24 February 2006 00:04, Benno Schulenberg wrote: Bo Andresen wrote: Do you think this is a bug in the ebuild? No. But maybe it is a bug in the newer version of portage that you use, because here the VIDEO_CARDS=via gets autoconverted to the video_cards_via USE flag. Maybe try again, taking extra care to avoid typos in VIDEO_CARDS=ati? I did do that. And as stated before it won't compile without the VIDEO_CARDS variable in it's environment. Tried several times with both ati and radeon.. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
[gentoo-user] Problems with kicker
On Wed, Feb 22, 2006 at 03:42:38PM +0100, Hemmann, Volker Armin wrote and what is about kicker? it can autohide - and if you have koffice installed, you should have covered most of its dependencies. I don't have KOffice on this machine; I was using KOffice as an example of a useful application, as opposed to a fancy desktop. kicker seems to have problems on my system, to say the least. I don't have the full KDE install, and this is causing problems, even if it doesn't specifically list the full KDE as a dependency. When I right-click on the panel, and select Configure Panel, it's empty. It doesn't autohide. I can use the arrow to manually hide/unhide. However, after the 2nd or 3rd time, it crashes X, bringing me back to the text console. I've unmerged it, and the packages it pulled in. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
On Thu, 2006-02-23 at 14:34 -0600, Mike Myers wrote: Just an update; I unmasked and emerged vbetool-0.3 and it installed and emerged just fine. I configured the /etc/hibernate/hibernate.conf script to use it and now it works, but only if I use the hibernate command. If I use kde's klaptop monitor, it doesn't seem to use the hibernate script, meaning no video after suspend, and no network cards after hibernate. Is there anything I can do to get it to read that script? I don't actually have klaptop working properly yet (tells me there is no ACPI support...) But, I suspect that klaptop uses swsusp, not suspend2. If this is the case, there was talk on the suspend2 list for overriding that somehow (just looking through emails now...) The proposal was to be able to: $ echo /sbin/hibernate /proc/suspend2/override_swsusp to set your suspend type and then: $ echo disk /sys/power/state would use the hibernate script. I don't know if this is implemented yet. Also, some kde person may tell you that klaptop can support whatever method of suspend you want - I don't know. I just suspend from a terminal anyway :) HTH, -- Iain Buchanan iain at netspace dot net dot au There is nothing so easy but that it becomes difficult when you do it reluctantly. -- Publius Terentius Afer (Terence) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVSup vs Gentoo's Rsync
BSD ports system may not be as complex as Gentoo's and needs more attention to maintain port dependencies but this abuse of make IS REAL FAST. portage is REAL SLOW. So you should install/use cdb, which makes the whole rsync/update process REAL FAST. If you sync regularly it's usually within 5 min. it is, with cdb. Thanks for the hint. If I got it right here's the link for those interested: http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb Looks very interesting and I wonder why is it not in portage yet? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Friday 24 February 2006 01:12, Bo Andresen wrote: On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote: So, it's starting from your i686 config, and trying to use it to assign as many symbols as possible to the new x86_64 kernel. Some of the symbols just won't exist. When you 'make ARCH=x86_64 menuconfig', can you find the IA32 configuration options? Indeed I can. Thanks. :) Unfortunately, however, it doesn't compile.. :( # make ARCH=x86_64 CHK include/linux/version.h SPLIT include/linux/autoconf.h - include/config/* CC arch/x86_64/kernel/asm-offsets.s cc1: error: code model `kernel' not supported in the 32 bit mode make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Going to bed now. Will look at it tomorrow. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
Hey Iain, Thanks for the info! I kinda figured that klaptop did something different. It obviously didn't run the hibernate.conf scripts. I guess I can settle for running hibernate in the console, I mean, that's better than nothing, really. Klaptop and gkrellm at least still give a good indication of the battery status. Anyway, I'll start bugging the people on the suspend2 lists now about it. thanks a lot! Mike Iain Buchanan wrote: On Thu, 2006-02-23 at 14:34 -0600, Mike Myers wrote: Just an update; I unmasked and emerged vbetool-0.3 and it installed and emerged just fine. I configured the /etc/hibernate/hibernate.conf script to use it and now it works, but only if I use the hibernate command. If I use kde's klaptop monitor, it doesn't seem to use the hibernate script, meaning no video after suspend, and no network cards after hibernate. Is there anything I can do to get it to read that script? I don't actually have klaptop working properly yet (tells me there is no ACPI support...) But, I suspect that klaptop uses swsusp, not suspend2. If this is the case, there was talk on the suspend2 list for overriding that somehow (just looking through emails now...) The proposal was to be able to: $ echo /sbin/hibernate /proc/suspend2/override_swsusp to set your suspend type and then: $ echo disk /sys/power/state would use the hibernate script. I don't know if this is implemented yet. Also, some kde person may tell you that klaptop can support whatever method of suspend you want - I don't know. I just suspend from a terminal anyway :) HTH, -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVSup vs Gentoo's Rsync
On Friday 24 February 2006 00:39, Alexander Kirillov wrote: BSD ports system may not be as complex as Gentoo's and needs more attention to maintain port dependencies but this abuse of make IS REAL FAST. portage is REAL SLOW. So you should install/use cdb, which makes the whole rsync/update process REAL FAST. If you sync regularly it's usually within 5 min. it is, with cdb. Thanks for the hint. If I got it right here's the link for those interested: http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb Looks very interesting and I wonder why is it not in portage yet? well ,the chat log tells you why ;) but you also look into the forum. A portage update broke it for me, and in the forum were updated instructions - I don't know, if the gentoowiki was updated too. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Problems with kicker
On Friday 24 February 2006 00:33, Walter Dnes wrote: kicker seems to have problems on my system, to say the least. I don't have the full KDE install, and this is causing problems, even if it doesn't specifically list the full KDE as a dependency. When I right-click on the panel, and select Configure Panel, it's empty. well, I am using a full KDE, and so I don't know which package you were missing. It doesn't autohide. I can use the arrow to manually hide/unhide. However, after the 2nd or 3rd time, it crashes X, bringing me back to the text console. I've unmerged it, and the packages it pulled in. well, with control center or a working menu, you can tell kicker to autohide. And at least, it has a lot less deps than gnome panel. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 18:16, Bo Andresen [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': On Friday 24 February 2006 01:12, Bo Andresen wrote: On Friday 24 February 2006 00:52, Boyd Stephen Smith Jr. wrote: When you 'make ARCH=x86_64 menuconfig', can you find the IA32 configuration options? Indeed I can. Thanks. :) Unfortunately, however, it doesn't compile.. :( # make ARCH=x86_64 CHK include/linux/version.h SPLIT include/linux/autoconf.h - include/config/* CC arch/x86_64/kernel/asm-offsets.s cc1: error: code model `kernel' not supported in the 32 bit mode make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 Going to bed now. Will look at it tomorrow. Oy, oy, oy. No wonder my friends would rather fsck with the amd64 live cd (that panics on boot unless the BIOS settings are /really/ special) than start off in 32-bit land. Anyway, I think what you probably need to do is append -m64 to your CFLAGS. Try: make ARCH=x86_64 CFLAGS=-m64 I'll go fiddle a bit, too. I'm already running a 64-bit userland, but I have an i686 cross-compiler installed, maybe I can iron out think kinks in the process for ya. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Thursday 23 February 2006 18:32, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error': Try: make ARCH=x86_64 CFLAGS=-m64 Nah, don't. It won't help, the kernel's Makefile doesn't pay attention to CFLAGS, it sets up it's own based on your .config. While I didn't get the same error as you, I see definite I'm trying to compile 64-bit assembly into 32-bit binaries-style errors when compiling with: make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CFLAGS=-m32 make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CFLAGS=-m64 and make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CC=gcc -m32 However, I /was/ able to convince the kernel to build with make ARCH=x86_64 CROSS_COMPILE=i686-pc-linux-gnu- CC=gcc -m64 although I didn't see if that would boot. So, why don't you give it a go with: make ARCH=x86_64 CC=gcc -m64 menuconfig make ARCH=x86_64 CC=gcc -m64 make ARCH=x86_64 CC=gcc -m64 modules_install make ARCH=x86_64 CC=gcc -m64 install and let me know how it goes. -- Boyd Stephen Smith Jr. [EMAIL PROTECTED] ICQ: 514984 YM/AIM: DaTwinkDaddy -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] chroot: cannot run command `bin/bash': Exec format error
On Friday 24 February 2006 01:56, Boyd Stephen Smith Jr. wrote: So, why don't you give it a go with: make ARCH=x86_64 CC=gcc -m64 menuconfig make ARCH=x86_64 CC=gcc -m64 make ARCH=x86_64 CC=gcc -m64 modules_install make ARCH=x86_64 CC=gcc -m64 install and let me know how it goes. linux # make ARCH=x86_64 CC=gcc -m64 clean CLEAN .tmp_versions # make ARCH=x86_64 CC=gcc -m64 menuconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/mconf HOSTCC scripts/lxdialog/checklist.o HOSTCC scripts/lxdialog/inputbox.o HOSTCC scripts/lxdialog/lxdialog.o HOSTCC scripts/lxdialog/menubox.o HOSTCC scripts/lxdialog/msgbox.o HOSTCC scripts/lxdialog/textbox.o HOSTCC scripts/lxdialog/util.o HOSTCC scripts/lxdialog/yesno.o HOSTLD scripts/lxdialog/lxdialog scripts/kconfig/mconf arch/x86_64/Kconfig # # using defaults found in .config # *** End of Linux kernel configuration. *** Execute 'make' to build the kernel or try 'make help'. via linux # make ARCH=x86_64 CC=gcc -m64 CHK include/linux/version.h UPD include/linux/version.h SPLIT include/linux/autoconf.h - include/config/* CC arch/x86_64/kernel/asm-offsets.s cc1: error: code model `kernel' not supported in the 32 bit mode cc1: sorry, unimplemented: 64-bit mode not compiled in make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 # gcc --version gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Bo Andresen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
On Thu, 2006-02-23 at 18:18 -0600, Mike Myers wrote: Thanks for the info! I kinda figured that klaptop did something different. It obviously didn't run the hibernate.conf scripts. I guess I can settle for running hibernate in the console, I mean, that's better than nothing, really. You could also set up a taskbar shortcut: bash -c sudo hibernate (Don't know if running it in bash is necessary, but I have multiline taskbar buttons, so I spawn them with bash) Then you can set a nice icon to it! You could even give yourself sudo privileges for hibernate so you don't have to enter a password... aaahhh, Linux! -- Iain Buchanan iain at netspace dot net dot au A transistor protected by a fast-acting fuse will protect the fuse by blowing first. -- gentoo-user@gentoo.org mailing list
[gentoo-user] apache and php
i know there has been alot of reconstruction with the php files in gentoo in the past, had alot of problems with one of my old web servers, horde wants php5 everything else doesnt. well ive setup a new server, decided i would install horde right out of the gate and let it pull down what it wanted and hopefully avoid any problemsWRONG. i have nothing even php related installed and this is what i get when i -pv the emerge: burtha linux # emerge horde horde-imp -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5) [blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r5) [blocks B ] dev-php/mod_php (is blocking dev-php/PEAR-PEAR-1.4.6-r1) [blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1) [ebuild N] net-www/apache-2.0.55-r1 +apache2 -debug -doc -ldap -mpm-leader (-mpm-peruser) -mpm-prefork -mpm-threadpool -mpm-worker -no-suexec (-selinux) +ssl -static-modules +threads 4,684 kB [ebuild N] dev-php/mod_php-4.4.0-r9 -X +apache2 +berkdb +crypt -curl -debug -doc (-fdftk) -firebird -flash -freetds +gd +gd-external +gdbm -gmp -hardenedphp +imap (-informix) -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls (-oci8) -odbc +pam +png -postgres -snmp +spell +ssl -tiff +truetype +xml2 -yaz 4,340 kB [ebuild N] dev-php/php-4.4.0-r4 -X +berkdb +crypt -curl -debug -doc (-fdftk) -firebird -flash -freetds +gd +gd-external +gdbm -gmp -hardenedphp +imap (-informix) -ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls (-oci8) -odbc +pam +png -postgres +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 0 kB [ebuild N] app-admin/php-toolkit-1.0-r2 0 kB [ebuild N] dev-lang/php-5.0.5-r5 (-adabas) -apache +apache2 -bcmath +berkdb (-birdstep) +bzip2 -calendar -cdb -cgi -cjk -cli +crypt -ctype -curl -curlwrappers (-db2) -dba -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) -exif (-fdftk) (-filepro) -firebird -flatfile -force-cgi-redirect (-frontbase) -ftp +gd +gd-external +gdbm -gmp -hardenedphp (-hyperwave-api) -iconv +imap (-informix) -inifile -interbase -iodbc -ipv6 -java-external -kerberos -ldap (-libedit) -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql +mysql -mysqli +ncurses +nls (-oci8) (-oci8-instant-client) -odbc (-oracle7) -ovrimos -pcntl -pcre -pdo-external (-pfpro) (-pic) -posix -postgres -qdbm +readline -recode -sapdb -sasl +session -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) +spell -spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc +threads -tidy -tiff -tokenizer +truetype -wddx +xml -xmlrpc -xpm -xsl -yaz -zip +zlib 4,797 kB [ebuild N] dev-php/PEAR-PEAR-1.4.6-r1 317 kB [ebuild N] dev-php/PEAR-Mail_Mime-1.3.1-r1 16 kB [ebuild N] dev-php/PEAR-File-1.2.2 15 kB [ebuild N] dev-php/PEAR-DB-1.7.6-r1 121 kB [ebuild N] dev-php/PEAR-Log-1.9.3 33 kB [ebuild N] dev-php/PEAR-Auth_SASL-1.0.1-r1 5 kB [ebuild N] dev-php/PEAR-Net_Socket-1.0.6-r1 4 kB [ebuild N] dev-php/PEAR-Net_SMTP-1.2.7 10 kB [ebuild N] dev-php/PEAR-Mail-1.1.9 16 kB [ebuild N] dev-php/PEAR-Cache-1.5.4-r1 29 kB [ebuild N] dev-php/PEAR-Net_URL-1.0.14-r1 5 kB [ebuild N] dev-php/PEAR-HTTP_Request-1.3.0 13 kB [ebuild N] dev-php/PEAR-Net_DIME-0.3-r1 6 kB [ebuild N] dev-php/PEAR-SOAP-0.9.1 67 kB [ebuild N] dev-php/PEAR-XML_Parser-1.2.7 12 kB [ebuild N] dev-php/PEAR-XML_Util-1.1.1-r1 8 kB [ebuild N] dev-php/PEAR-XML_Serializer-0.18.0 22 kB [ebuild N] dev-php/PEAR-Services_Weather-1.3.2-r1 43 kB [ebuild N] dev-php/PEAR-Date-1.4.6 52 kB [ebuild N] www-apps/horde-pear-1.3-r3 0 kB [ebuild N] app-admin/webapp-config-1.11 53 kB [ebuild N] www-apps/horde-2.2.9 +mysql +vhosts 667 kB [ebuild N] www-apps/horde-imp-3.2.8 +vhosts 1,550 kB now what is up with that? why cant it pick one!! what do i have to do to get this working now, i didnt figure i would have an issue on a new server, but i guess i was wrong. Thanks for any and all help. Nick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] [OT]: Any auto-hiding panels with a bunch of dependancies?
On Wed, Feb 22, 2006 at 06:55:40PM -0700, Robert Morris wrote You could try pypanel. It has the autohide feature, but I'm not sure that it responds to ALT-TAB. It's been a while since I've used it. Thank you very much. It only pulls in 3 dependancies. It looks to be exactly what I want. I'm part way through copying my applications list from ~/.fbpanel/default to ~/.pypanelrc. Later tonight, after unmerging fbpanel, I'll get to play with emerge and equery and revdep-rebuildg. -- Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1 My musings on technology and security at http://tech_sec.blog.ca -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] gst-plugins
Graham,This happend to me on the .8.10 to .8.11 i just masked =gst-*-0.8.10 Cynyr.On 2/23/06, Graham Murray [EMAIL PROTECTED] wrote:[rant mode] Many of the gstreamer plugins, but not all of them, have been updated (in ~x86) to 0.8.12. That some of them are still at0.8.11 is causing an upgrade/download emerge loop. As all of theseplugins are built from the same source but with different configureoptions, would it not be possible to commit all of them to the tree at the same time?Only committing some of them causes the ones remainingat the old version to make portage downgrade the 'main' gst-pluginsebuild and then upgrade it again next time emerge is run.-- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
On 2/23/06, Renat Golubchyk [EMAIL PROTECTED] wrote: I use xpdf, because acroread takes ages to load. For this to work I added xpdf as handler for the application/pdf MIME-type to the list of helper applications. It should be somewhere in the preferences. I can't seem to find this option in firefox 1.5.0.1 Under Edit - Preferences - Downloads I see Download actions. Clicking on View and Edit Actions shows an entry for some Flash-related files, but nothing for pdf and no option to add a new entry to this list. Am I missing something obvious? Matt -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Suspend2 issues
On 2/23/06, Mike Myers [EMAIL PROTECTED] wrote: Hey Iain, Thanks for the info! I kinda figured that klaptop did something different. It obviously didn't run the hibernate.conf scripts. I guess I can settle for running hibernate in the console, I mean, that's better than nothing, really. Klaptop and gkrellm at least still give a good indication of the battery status. Anyway, I'll start bugging the people on the suspend2 lists now about it. thanks a lot! If you have a standby button on your laptop, you can probably make it do a standby or hibernate by merging acpid and modifying /etc/acpi/default.sh. Personally, my system does a suspend-to-ram when I press the standby button, and a suspend-to-disk when I press (momentarily) the power button. My actions for the buttons look like: power) if test -f /etc/.acpi_ignore_power; then rm -f /etc/.acpi_ignore_power /dev/null 21 else touch /etc/.acpi_ignore_power /usr/sbin/hibernate fi ;; sleep) /usr/sbin/hibernate -F /etc/hibernate/standby.conf ;; -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge timezone-data fails?
On Thursday 23 February 2006 23:14, Ernie Schroder wrote: Install timezone-data-2006b into /var/tmp/portage/timezone-data-2006b/image/ category sys-libs ./zic -y ./yearistype -d /var/tmp/portage/timezone-data-2006b/image//usr/share/zoneinfo -L /dev/null africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 ./zic: wild compilation-time specification of zic_t make: *** [posix_only] Error 1 !!! ERROR: sys-libs/timezone-data-2006b failed. !!! Function src_install, Line 28, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. -- Regards, Ernie Hi, There's a solution in Bugzilla (123778), add one new CFLAG. HTH.Rumen pgpkNxadO3Fth.pgp Description: PGP signature
Re: [gentoo-user] [OT] traffic shaping
On Thu, 2006-02-23 at 22:55 +0100, Hans-Werner Hilse wrote: Hm, and you _did_ set up the qdiscs and classes first? OTOH, and I don't know for sure if that's needed before configuring the filters. I do believe that the q-classes are needed. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CVSup vs Gentoo's Rsync
Alexander Kirillov wrote: If I got it right here's the link for those interested: http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb Does this work with recent portage releases? Alexander Skwar -- My pan plays down an unprecedented amount of our national debt. George W. Bush February 27, 2001 From a speech concerning the proposed federal budget. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo LVM Newbie Question
John Jolet wrote: Remember, the fs cannot be mounted when you extend it. That's wrong. Every FS can be extended online, even ext{2,3} with certain patches IIRC. Alexander Skwar -- It's a recession when your neighbour loses his job; it's a depression when you lose yours. -- Harry S. Truman -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge timezone-data fails?
Ernie Schroder wrote: !!! ERROR: sys-libs/timezone-data-2006b failed. !!! Function src_install, Line 28, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. That's fixed by now, according to https://bugs.gentoo.org/show_bug.cgi?id=123778 Alexander Skwar -- By protracting life, we do not deduct one jot from the duration of death. -- Titus Lucretius Carus -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
Grant wrote: I do have acroread and gpdf installed. acroread provides a plugin. You'll just have to set a USE flag. Alexander Skwar -- Any time things appear to be going better, you have overlooked something. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT - 2 Questions
Michael Sullivan wrote: On Thu, 2006-02-23 at 15:41 -0500, Ernie Schroder wrote: http://www.sane-project.org/sane-backends.html What more details do you need, and how would I go about getting them for you? This is my first scanner, and I know barely anything about hardware to begin with... I don't think that Ernie needs more details. The sane project needs more details. Maybe it would help, if you donate one of the scanners to them. But I doubt that. More probably, they'll need programming documentation. And you don't have that - only the manufacturer has. IOW: Bad luck, pal. Buy a better supported scanner. Alexander Skwar -- I just got my PRINCE bumper sticker ... But now I can't remember WHO he is ... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
060223 Grant wrote: How do you get firefox to open a PDF file instead of downloading it? I have in ~/.mailcap : application/pdf; /usr/kde/3.5/bin/kpdf %s Firefox opens PDF's in a new tab for me, so that probably controls it. Incidentally, which PDF viewer do you like best out of those in portage? Kpdf ; Kghostview is ok too. If you don't want to install parts of KDE, the Gnome equivalent is Evince or you can use the simple Xpdf. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Missing Keyword
On 23 February 2006 22:38, Nick Smith wrote: Use /etc/portage/package.keywords (with an actual keyword, instead of the default ~ARCH) or your local overlay. what is the actual keyword if it doesnt have one? just add it to my package.keywords file and add the arch to it? i dont see how that would work. ~86 if that is your architecture. Or ~ppc,... Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Firefox PDF integration
On Thu, 2006-02-23 at 22:30 -0500, Matthew Cline wrote: I can't seem to find this option in firefox 1.5.0.1 Under Edit - Preferences - Downloads I see Download actions. Clicking on View and Edit Actions shows an entry for some Flash-related files, but nothing for pdf and no option to add a new entry to this list. Am I missing something obvious? Matt I know it is a poor (not logical design), but here is how it works. Navigate to any PDF file with firefox and click on the file. You will see window pop-up as firefox doesn't know what to do with it. Beside Open with is empty selection, click on that empty icon, you will see: other -- click on it. Another window will pop-up, under File Name: type: /usr/kde/3.4/bin/kpdf or complete path to whatever application you want to use -- click OPEN I will return you to previous window; select Do this automatically... It will enter this setting in Download section in Setting Preferences. -- #Joseph -- gentoo-user@gentoo.org mailing list