Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stefan G. Weichinger
Joshua Murphy schrieb:

 Yep! sys-apps/preload goes a long way to automate what I did with
 busybox's readahead tool, and I'm about 99% certain they both make the
 same system call to do the work anyways... it's all a matter of how 
 where they get their list of *what* to fetch... I, as I said, took the
 brute force approach and made my list by hand. ;-)

Ok, so it seems to me that I will just stay with sys-apps/preload and
avoid my own brute force approach ;-)

I don't have any particular issues, the box is rather fast and smooth so
far ... and remember my non-ricer-approach ;-)

As I see I am not even able to use much RAM with several (vmware-)VMs
running, so the 8 gigs will maybe stay some number to impress *some*
people with (until everyone gets 8 gigs into their supermarket-PCs).

Anyway.
Stefan



Re: how to force libxcb version below 1.4 when re-installing X (was: [gentoo-user] my xorg-server 1.6 seems a bit unstable - what am I doing wrong?)

2009-10-14 Thread Helmut Jarausch
On 14 Oct, Denis wrote:
.
 proprietary software I am currently running.  I would much rather
 upgrade Mathematica, but that is not an option for me at this time.
 Thankfully, I was able to remove X and reinstall it based on the
 previous versions of the libraries  I don't yet know whether this
 resolved my Mathematica issue - I will test tomorrow.  But I will
 investigate the install script for Mathematica and see what it does.

Ask the vendor of Mathematica for support. If they're not willing/able
to help you, consider switching to Maple. It runs just fine on a 
bleeding edge Gentoo system.

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



[gentoo-user] Re: Problem with gethostname() returning incorrect value

2009-10-14 Thread Lie Ryan
Lie Ryan wrote:
 [1] for some reason, after setting HOSTNAME to localhost I can't start
 new GUI program/create new window after NetworkManager/nm-applet is
 running. I suspect there is some NetworkManager settings lying around
 somewhere that resets the name to lieryan and the change confused X.

btw, in any case someone in the future is wondering; the
NetworkManager's hostname settings are stored in /etc/dhcp/dhclient.conf

on these line:
send host-name HOSTNAME;
supersede host-name HOSTNAME;

after changing both this and the one in /etc/conf.d/hostname the
computer's hostname is changed for good with none of the side effect.




Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Dale
Alan McKinnon wrote:
 On Tuesday 13 October 2009 21:04:54 Denis wrote:
   
 Perhaps I should try this procedure on my home gentoo box first.

 Here are my USE flags:

  X aac aim alsa ao bash-completion bdf branding bzip2 cairo cdda cddb
  cdparanoia cdr cpudetection djvu emacs encode exif firefox flac
  foomaticdb gif glut graphics gs gtk ieee1394 imagemagick imlib java
  javascript jbig jpeg jpeg2k kpathsea lame latex ldap libnotify libwww
  lm_sensors mad mmx mmxext mng motif mp3 mpeg mplayer msn openal opengl
  oss pdf plotutils png ppds preview-latex pstricks qt3support qt4
  quicktime rtc samba science sdl sensord smp sndfile spell sse sse2
  svga swat tcl tetex tiff tk truetype tta usb wavpack winbind wmp xcb xine
  xml yahoo -dri -isdnlog -pppd
 

 At a minum you'll need to remove

 X
 cairo
 firefox
 gtk
 motif
 opengl
 pdf
 qt3support
 qt4
 truetype
 scb

 There will be others, that's just obvious ones from a quick scan through. 
 Also 
 remove similarly obvious stuff from package.use

 The as Dale said, manually edit your world file to remove everything that is 
 obviously X related. But first, verify that emerge -avuND world want to 
 merge nothing, otherwise --depclean will complain.

 Then the fun starts:

 emerge -a --depclean   and let it do whatever it wants.
 emerge -pvuNDt world   and look closely at what X stuff it wants to pull in. 
 See if it's a dependency thing or a USE flag thing, and deal with it. 
 Eventually, emerge -pvuND world will not want to remerge anything, only 
 rebuild stuff due to changed USE flags.
 --depclean again, rinse and repeat as many times as you have to (probably 
 lots).

 When you have done all this, and it will take a day or three, you will no 
 doubt realise that it was not worth the effort and you should have just 
 reinstalled without X, or fixed the underlying problem.

 Excising X is like downgrading to stable from unstable - not worth the effort.

 Sorry, but them's the breaks :-)
  
   
 When world is edited, should I leave make.conf be or do I also need
 to remove all X-related USE flags from there?
 

 Remove the flags from make.conf and also from package.use



   

And if you run into a snag, try this option with emerge: --with-bdeps y 
I actually have that in make.conf for mine. 

As mentioned by Alan, I really doubt this is going to do much if any
good.  After you did a emerge -e world, that is pretty much it.

Let us know what blows up.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] how to use RAM

2009-10-14 Thread KH

Stefan G. Weichinger schrieb:
[snip]


As I see I am not even able to use much RAM with several (vmware-)VMs
running, so the 8 gigs will maybe stay some number to impress *some*
people with (until everyone gets 8 gigs into their supermarket-PCs).

Anyway.
Stefan



Hi,

my motherboard cannot go above 3gigs so I am very impressed ;-)

kh



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stefan G. Weichinger
KH schrieb:

 Hi,
 
 my motherboard cannot go above 3gigs so I am very impressed ;-)

Wow, at last one ;-)

S



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Dale
KH wrote:
 Stefan G. Weichinger schrieb:
 [snip]

 As I see I am not even able to use much RAM with several (vmware-)VMs
 running, so the 8 gigs will maybe stay some number to impress *some*
 people with (until everyone gets 8 gigs into their supermarket-PCs).

 Anyway.
 Stefan


 Hi,

 my motherboard cannot go above 3gigs so I am very impressed ;-)

 kh



I think mine has a 3Gb limit too.  I have two installed tho.  It works
well for me.

Dale

:-)  :-) 



[gentoo-user] emerge with a fetch restricted (must be manually downloaded)

2009-10-14 Thread dhk
Can someone explain the procedure for the installing software that has a
fetch restriction?

Whenever I get the F for fetch restricted (must be manually
downloaded) I can't get the build right.  Usually I have to go to a
web-site and then after downloading what is needed I get stuck.
Basically I don't know what to do with the file.  Where is the file
suppose to go and what format is it suppose to be in?  Also what should
the permissions and ownership be of the file.

So really a good procedure and example would help.  Two of the programs
I want to install are app-misc/openjnlp and net-misc/icaclient .

Thanks,

--dhk



Re: [gentoo-user] emerge with a fetch restricted (must be manually downloaded)

2009-10-14 Thread Dale
dhk wrote:
 Can someone explain the procedure for the installing software that has a
 fetch restriction?

 Whenever I get the F for fetch restricted (must be manually
 downloaded) I can't get the build right.  Usually I have to go to a
 web-site and then after downloading what is needed I get stuck.
 Basically I don't know what to do with the file.  Where is the file
 suppose to go and what format is it suppose to be in?  Also what should
 the permissions and ownership be of the file.

 So really a good procedure and example would help.  Two of the programs
 I want to install are app-misc/openjnlp and net-misc/icaclient .

 Thanks,

 --dhk


   

Well, it sort of tells you what to do.  For once portage has a error
that isn't encrypted or something.  lol

!!! dev-java/jnlp-bin-1.2-r1 has fetch restriction turned on.
!!! This probably means that this ebuild's files must be downloaded
!!! manually.  See the comments in the ebuild for more information.

 * Please download javaws-1_2-dev.zip and place it in /usr/portage/distfiles
 *
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/viewproductdetail-start?productref=7026-jaws_dev_pack-1.2-oth-...@cds-cds_developer

I just went to the link provided, click accept on the license thingy and
there they are.  After you get them downloaded, just put them in
/usr/portage/distfiles and emerge them normally. 

It's been a while since I have ran into this. 

Dale

:-)  :-)




Re: [gentoo-user] emerge with a fetch restricted (must be manually downloaded)

2009-10-14 Thread Volker Armin Hemmann
On Mittwoch 14 Oktober 2009, dhk wrote:
 Can someone explain the procedure for the installing software that has a
 fetch restriction?
 
 Whenever I get the F for fetch restricted (must be manually
 downloaded) I can't get the build right.  Usually I have to go to a
 web-site and then after downloading what is needed I get stuck.
 Basically I don't know what to do with the file.  Where is the file
 suppose to go and what format is it suppose to be in?  Also what should
 the permissions and ownership be of the file.
 
 So really a good procedure and example would help.  Two of the programs
 I want to install are app-misc/openjnlp and net-misc/icaclient .
 
 Thanks,
 
 --dhk
 


cp it to /usr/portage/distfiles or wherever your DISTDIR is. Change permissions 
to portage:portage.

And that is all explained in the einfo of the ebuilds and/or the 
documentation.



Re: [gentoo-user] how to use RAM

2009-10-14 Thread pk
Dale wrote:

 I think mine has a 3Gb limit too.  I have two installed tho.  It works
 well for me.

I think someone (in?)famous said: 640K is more memory than anyone will
ever need... ;-)

Best regards

Peter K



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Alan McKinnon
On Wednesday 14 October 2009 13:31:09 pk wrote:
 Dale wrote:
  I think mine has a 3Gb limit too.  I have two installed tho.  It works
  well for me.
 
 I think someone (in?)famous said: 640K is more memory than anyone will
 ever need... ;-)


Well, it wasn't Bill Gates (just in case that's what y'all were thinking)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Formating a USB stick

2009-10-14 Thread daid kahl
 Who mentioned data loss? Formatting in Windows reduces the risk of
 Windows complaining about the format. It may not be standards-compliant,
 but at least is is consistently broken.

Sorry I'm a bit late on this, but just a note, in fstab, you should
use the option iocharset=utf8, otherwise it's tough to write to the
disk in Linux.  Just reformatted my usbstick today in XP and was
setting up automounting in Linux and encountered this error.
Otherwise things seem fine.

Regards,
daid



Re: [gentoo-user] Bootup drops back to console from kdm

2009-10-14 Thread daid kahl
  It must be a year or so now with all different kernels.  On boot up kdm
  fires
  up, but within 5 seconds or so and while the use is busy entering their
  passwd on the kdm screen, it suddenly returns to the console.  Alt+F7
  brings them back to their kdm, but this behaviour is clearly wrong.  I
  suspect that this is caused by dhcpcd getting an IP address, or vixie
  cron (the last two things shown on the console when the user gets dumped
  back on it) but I can't
  understand why these two services will cause such a problem on this
  machine, when other machines with the same services work fine.

If it's an IP address problem (where your hostname is getting changed
by dhcp), here's my logfile for a similar problem:

d...@flux ~/log $ more hostname.txt
Network Manager (at least up to 0.6.6) changes my hostname to dhcp and
garbage.  it's annoying and not right.

The following seems to work.

d...@flux /etc/dhcp $ more dhclient.conf
send host-name flux;
supersede host-name flux;

For some reason I had to reinstall kwifimanager, but maybe that's unrelated (I
think it's unrelated).

Otherwise, I'm not sure.  I also had trouble with kdm/xdm the first
time around, but if I look over the log file for my successful
install, there were no tricks involved.

Regards,
daid



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread daid kahl
 What is the syntax for a single entry in package.mask to exclude the whole of
 kde:4? I did start masking each package separately, but that's far too much
 work - I'd finish up with an entry for every kde package that has a version
 4. Also, kde:4, which seems like the right thing to specify, is an invalid
 package atom according to eix.

Sorry for the late reply.  I attach 3 files with tell-tale names to
mask all of kde-4 (I was previously running ~x86).

Throw them in /etc/portage/package.mask

I might have been goofing around with one or two things...

I think, for example, I needed to turn of the KDE use flag on svn in
package.use:
dev-util/subversion -kde

Since it wants me to upgrade kdelibs to 4 something otherwise.

When a new kde-4 comes out, I copy an old one and do a find-replace on
like 4.2 to 4.3 or something..

Cheers,
daid
#Other fixes
=media-sound/amarok-1.9
kde-base/kdepim-meta:4.1

# KDE deps
=kde-base/qimageblitz-0.0*

# KDE base libs
kde-base/kdelibs:4.1
kde-base/kdepimlibs:4.1
kde-base/libkcddb:4.1
kde-base/libkcompactdisc:4.1
kde-base/libkdcraw:4.1
kde-base/libkdeedu:4.1
kde-base/libkdepim:4.1
kde-base/libkexiv2:4.1
kde-base/libkholidays:4.1
kde-base/libkipi:4.1
kde-base/libkleo:4.1
kde-base/libkonq:4.1
kde-base/libkpgp:4.1
kde-base/libksane:4.1
kde-base/libksieve:4.1
kde-base/libkworkspace:4.1
kde-base/libplasma:4.1
kde-base/libtaskmanager:4.1

# KDE packages
kde-base/akonadi:4.1
kde-base/akregator:4.1
kde-base/amor:4.1
kde-base/ark:4.1
kde-base/blinken:4.1
kde-base/bovo:4.1
kde-base/cervisia:4.1
kde-base/dolphin:4.1
kde-base/dragonplayer:4.1
kde-base/drkonqi:4.1
kde-base/gwenview:4.1
kde-base/juk:4.1
kde-base/kaddressbook:4.1
kde-base/kalarm:4.1
kde-base/kalgebra:4.1
kde-base/kalzium:4.1
kde-base/kamera:4.1
kde-base/kanagram:4.1
kde-base/kappfinder:4.1
kde-base/kapptemplate:4.1
kde-base/kate:4.1
kde-base/katomic:4.1
kde-base/kbattleship:4.1
kde-base/kblackbox:4.1
kde-base/kblocks:4.1
kde-base/kbounce:4.1
kde-base/kbreakout:4.1
kde-base/kbruch:4.1
kde-base/kbugbuster:4.1
kde-base/kcachegrind:4.1
kde-base/kcalc:4.1
kde-base/kcharselect:4.1
kde-base/kcheckpass:4.1
kde-base/kcminit:4.1
kde-base/kcmshell:4.1
kde-base/kcolorchooser:4.1
kde-base/kcontrol:4.1
kde-base/kcron:4.1
kde-base/kde-l10n:4.1
kde-base/kde-meta:4.1
kde-base/kdeaccessibility-colorschemes:4.1
kde-base/kdeaccessibility-iconthemes:4.1
kde-base/kdeaccessibility-meta:4.1
kde-base/kdeaccounts-plugin:4.1
kde-base/kdeadmin-meta:4.1
kde-baes/kdeadmin-optional:4.1
kde-base/kdeartwork-colorschemes:4.1
kde-base/kdeartwork-emoticons:4.1
kde-base/kdeartwork-icewm-themes:4.1
kde-base/kdeartwork-iconthemes:4.1
kde-base/kdeartwork-kscreensaver:4.1
kde-base/kdeartwork-kworldclock:4.1
kde-base/kdeartwork-meta:4.1
kde-base/kdeartwork-sounds:4.1
kde-base/kdeartwork-styles:4.1
kde-base/kdeartwork-wallpapers:4.1
kde-base/kdebase-cursors:4.1
kde-base/kdebase-data:4.1
kde-base/kdebase-kioslaves:4.1
kde-base/kdebase-meta:4.1
kde-base/kdebase-startkde:4.1
kde-base/kdebugdialog:4.1
kde-base/kdeedu-meta:4.1
kde-base/kdegames-meta:4.1
kde-base/kdegames-optional:4.1
kde-base/kdegraphics-meta:4.1
kde-base/kdegraphics-strigi-analyzer:4.1
kde-base/kde-menu:4.1
kde-base/kde-menu-icons:4.1
kde-base/kdemaildir:4.1
kde-base/kdemultimedia-kioslaves:4.1
kde-base/kdemultimedia-meta:4.1
kde-base/kdenetwork-filesharing:4.1
kde-base/kdenetwork-meta:4.1
kde-base/kdepasswd:4.1
kde-base/kdepim-kresources:4.1
kde-base/kdepim-strigi-analyzer:4.1
kde-base/kdepim-wizards:4.1
kde-base/kdeplasma-addons:4.1
kde-base/kdesdk-kioslaves:4.1
kde-base/kdesdk-meta:4.1
kde-base/kdesdk-misc:4.1
kde-base/kdesdk-scripts:4.1
kde-base/kdesdk-strigi-analyzer:4.1
kde-base/kdessh:4.1
kde-base/kdesu:4.1
kde-base/kdetoys-meta:4.1
kde-base/kdeutils-meta:4.1
kde-base/kdeutils-optional:4.1
kde-base/kde-wallpapers:4.1
kde-base/kdf:4.1
kde-base/kdialog:4.1
kde-base/kdiamond:4.1
kde-base/kdm:4.1
kde-base/kdnssd:4.1
kde-base/keditbookmarks:4.1
kde-base/kfile:4.1
kde-base/kfind:4.1
kde-base/kfloppy:4.1
kde-base/kfourinline:4.1
kde-base/kgamma:4.1
kde-base/kgeography:4.1
kde-base/kget:4.1
kde-base/kgoldrunner:4.1
kde-base/kgpg:4.1
kde-base/khangman:4.1
kde-base/khelpcenter:4.1
kde-base/khotkeys:4.1
kde-base/kiconfinder:4.1
kde-base/kig:4.1
kde-base/kinfocenter:4.1
kde-base/kioclient:4.1
kde-base/kiriki:4.1
kde-base/kitchensync:4.1
kde-base/kiten:4.1
kde-base/kjots:4.1
kde-base/kjumpingcube:4.1
kde-base/kleopatra:4.1
kde-base/klettres:4.1
kde-base/klines:4.1
kde-base/klipper:4.1
kde-base/kmag:4.1
kde-base/kmahjongg:4.1
kde-base/kmail:4.1
kde-base/kmailcvt:4.1
kde-base/kmenuedit:4.1
kde-base/kmimetypefinder:4.1
kde-base/kmines:4.1
kde-base/kmix:4.1
kde-base/kmousetool:4.1
kde-base/kmouth:4.1
kde-base/kmplot:4.1
kde-base/knetattach:4.1
kde-base/knetwalk:4.1
kde-base/knetworkconf:4.1
kde-base/knewsticker:4.1
kde-base/knewstuff:4.1
kde-base/knode:4.1
kde-base/knotes:4.1
kde-base/knotify:4.1
kde-base/kode:4.1
kde-base/kolf:4.1
kde-base/kollision:4.1
kde-base/kolourpaint:4.1
kde-base/kompare:4.1

Re: [gentoo-user] Migration to baselayout2 / openrc

2009-10-14 Thread daid kahl

 Hi,

  for this weekend I planned to migrate to baselayout 2
  finally.

  On gentoo web I found this: 2.
  Migration to OpenRC
  Migration to OpenRC is fairly straightforward; it will be pulled in
  as part of your regular upgrade process by your package manager.

  I tried to check this (emerge -pv openrc) and found:
  !!! All ebuilds that could satisfy sys-apps/openrc have been masked.
  !!! One of the following masked packages is required to complete your 
 request:
  - sys-apps/openrc- (masked by: missing keyword)
  - sys-apps/openrc-0.5.1 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.3-r4 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.3-r3 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.3-r2 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.3-r1 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.2 (masked by: ~x86 keyword)
  - sys-apps/openrc-0.4.1-r1 (masked by: ~x86 keyword)

  Especially masked by: missing keyword let me doubt whether
  or not it is sane to migrate

  How to proceed here ?


I had originally migrated an entirely ~x86 system.  Then I downgraded
almost all of the system, except for openrc  co because it was enough
work to upgrade, so I didn't want to downgrade to x86 and then
eventually openrc migrate again.

For the most part, the Gentoo Baselayout and OpenRC migration Guide is fine.

You can see my package.keywords for openrc on an otherwise stable
system below.  I leave in some garbage comments since it might give
you an idea what I toyed around with.

#Dependencies to keep openrc with otherwise ARCH=x86

#=sys-apps/openrc-0.4.3-r3 ~x86
=sys-apps/openrc-0.4.1-r1 ~x86
=sys-apps/baselayout-2.0.0 ~x86
#=sys-fs/udev-145 ~x86
=sys-apps/sysvinit-2.86-r12 ~x86
#=sys-devel/libtool-2.2.4 ~x86
#=sys-fs/e2fsprogs-1.41.8 ~x86
#=sys-libs/e2fsprogs-libs-1.41.8 ~x86
=sys-apps/sysvinit-2.86 ~x86

=sys-fs/cryptsetup-1.0.6-r2 ~x86

# udev-145 messes up libvolume_id (see bug 281632)
#=sys-apps/hal-0.5.13-r2 ~x86
#=sys-apps/util-linux-2.16-r1 ~x86

Regards,
daid



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread Neil Bothwick
On Sun, 11 Oct 2009 12:30:06 +0100, Peter Humphrey wrote:

 In the last few days some parts of KDE v4 seem to have been moved into
 the stable tree, but on some of my boxes I want to exclude kde:4 (but
 not qt:4).
 
 What is the syntax for a single entry in package.mask to exclude the
 whole of kde:4? I did start masking each package separately, but that's
 far too much work - I'd finish up with an entry for every kde package
 that has a version 4. Also, kde:4, which seems like the right thing
 to specify, is an invalid package atom according to eix.

If you've installed via kde-meta, either mask kde-meta:4 or change the
world entry to kde-meta:3.5.

Otherwise masking the 4.x versions of all KDE packages in world should do
most of what you need

grep ^kde-base /var/lib/portage/world | sed s/$/:4/ 
/etc/portage/package.mask/kde4


-- 
Neil Bothwick

Windows Error:01F Reserved for future mistakes.


signature.asc
Description: PGP signature


[gentoo-user] X bitmap fonts and UTF-8

2009-10-14 Thread DPX-Infinity
Hi.
I have some strange problem with X fonts (not freetype). I installed
xmonad, dzen2 and dmenu and configured the last two to use font
-xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this
problem in other fonts too) because I need the unicode for correct
display of russian letters (i have ru_RU.UTF-8 locale, so koi8-r is
not my option). But russian text looks very strange. The text from
xmonad (for example, window captions) contains one symbol per one
russian letter, but it is not correct - something like 0?8A0BL ?8AL
. In the text in dmenu (or in dzen2 when I pipe output from echo to it
on the console) the letters are not displayed as hieroglyphs or
strange symbols; each letter consists of an ' (apostrophe sign) and
one symbol from ASCII table from Q up to q (33 chars totally). I have
found no correspondence between UTF-8 bytes and these pairs (but the
first byte in russian letters is also the same). The same
configuration of xmonad and dzen2 on my other machine (ubuntu) works
perfectly, and the text in xterm and emacs also looks very well. What
can this be?
Sorry for my bad language if it is such :)



Re: [gentoo-user] Syntax for masking kde:4?

2009-10-14 Thread Peter Humphrey
On Wednesday 14 October 2009 13:38:53 Neil Bothwick wrote:

 grep ^kde-base /var/lib/portage/world | sed s/$/:4/
 /etc/portage/package.mask/kde4

That's neat. Thanks - though it misses anything pulled in by world entries.

Meanwhile I've captured the file that Jonathan mentioned - and I've already 
had to augment it to mask the latest versions of kdiff3 and kmplayer, which 
want to exclude kde:3 libraries.

-- 
Rgds
Peter



Re: [gentoo-user] What is a packet? Was: Checksum error

2009-10-14 Thread Peter Humphrey
On Monday 12 October 2009 21:13:26 I wrote:

 Even allowing for the smiley, this isn't true. English makes perfect sense
 to me.

Since then my ISP's been playing silly beggars and cocked up my mail delivery 
so that I received nothing at all. It's fixed now but anything sent to the 
list meanwhile I haven't seen. Sorry for this, but it really wasn't my fault 
this time.

-- 
Rgds
Peter



Re: [gentoo-user] how to use RAM

2009-10-14 Thread KH

pk schrieb:

Dale wrote:


I think mine has a 3Gb limit too.  I have two installed tho.  It works
well for me.


I think someone (in?)famous said: 640K is more memory than anyone will
ever need... ;-)

Best regards

Peter K



Hi,

my first Mac had 256kb. I upgraded it to 1mb because kit had one mb as 
well ;-) I still have this box. Didn't use it for years.


kh



Re: [gentoo-user] qt-dbus blocker--SOLVED

2009-10-14 Thread Allan Gottlieb
At Tue, 13 Oct 2009 10:13:59 -0400 Allan Gottlieb gottl...@nyu.edu wrote:

 At Tue, 13 Oct 2009 15:02:25 +0200 Alan McKinnon alan.mckin...@gmail.com 
 wrote:

 qt*-4.5.1 blocks qt*-4.5.2. It's not a simple single package that you 
 upgrade, 
 it's multiple packages and throughout the build you will have incompatible 
 packages installed at the same time.

 Either:

 unmerge all of qt
 emerge all of qt

 or:

 upgrade to masked portage-2.2 which can deal with such things easily.

 Note that you will likely need to rebuild kdelibs and other stuff after 
 building qt. There's an elog about it.

 I do not have kde installed (I use gnome).  I just did an
   eix --installed kde
 to confirm.

 I have 10 qt packages (confirmed with eix --installed qt)
 Seven begin with qt- and are at 4.5.1 with 4.5.2 available.
 The other three are qt PyQt PyQt4.
 None of the seven are in world.
 Have I understood correctly the procedure to be

 1.  Unmerge these 7 (*not* 10)
 2.  emerge --update --ask --newuse  --deep --tree -v --with-bdeps=y world
 3.  depclean  and revdep-rebuild

 thanks to alan dale and peter for their help.

I applied this procedure (tweaked, see below) and everything worked.
Thanks again to all.

allan

I included PyQt and PyQt4 in the list to unmerge
Alan recommends (pvt msg) to perform revdep-rebuild before depclean.




Re: [gentoo-user] how to use RAM

2009-10-14 Thread Dale
KH wrote:
 pk schrieb:
 Dale wrote:

 I think mine has a 3Gb limit too.  I have two installed tho.  It works
 well for me.

 I think someone (in?)famous said: 640K is more memory than anyone will
 ever need... ;-)

 Best regards

 Peter K


 Hi,

 my first Mac had 256kb. I upgraded it to 1mb because kit had one mb as
 well ;-) I still have this box. Didn't use it for years.

 kh



Does a Vic 20 count?  It had 4K of ram.  I bet KDE 4 would run fast on
that.  LOL 

At least it wasn't running winders.

Dale

:-)  :-) 



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Denis
 Let us know what blows up.  ;-)

 Dale

Nothing blew up ;-)  I was successful removing X, downgrading, and
getting X working again with xorg-server-1.5.3 and libxcb-1.1

FYI, the working package.mask file for this operation is:

=x11-libs/libXext-1.0.5
=x11-libs/libX11-1.2
=x11-libs/libxcb-1.4
=x11-base/xorg-server-1.6
=x11-base/xorg-x11-7.4
=x11-proto/xproto-7.0.15
=x11-proto/xextproto-7.0.5
=x11-libs/xcb-util-0.3.5
=x11-proto/xcb-proto-1.2

However, this must not have restored my previous X configuration fully
because Mathematica still crashes.  So I've decided to abandon this
attempt, remove all masks, and allow the full X upgrade because I
reinstall all the X packages back onto my system.  While some folks
here probably think this attempt foolish, I still think it was worth a
try, and I learned some new things, which is always good.

I appreciate everyone's help and support with this.
Denis



Re: [gentoo-user] Re: X bitmap fonts and UTF-8

2009-10-14 Thread DPX-Infinity
Yes, of course. There are unicode and utf8 in make.conf and
UNICODE=yes in rc.conf.

2009/10/14 walt w41...@gmail.com:
 On 10/14/2009 07:00 AM, DPX-Infinity wrote:
 Hi.
 I have some strange problem with X fonts (not freetype). I installed
 xmonad, dzen2 and dmenu and configured the last two to use font
 -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this
 problem in other fonts too) because I need the unicode...

 Do you have the 'unicode' USE flag set?  I think it may be on by default,
 but I'm not sure.






Re: [gentoo-user] ftp user, local user, apache group

2009-10-14 Thread laurent

Frank Steinmetzger a écrit :

Am Freitag, 9. Oktober 2009 schrieb laurent:
  

Hi,

Now I've setup vsftpd with local user.
For exemple I log with the user laurent, I create a folder via ftp.

This folder is own by laurent, so it's not exessible via apache.
How could I make that, like put laurent in a apache group?



My setup is a combination of apache and pure-ftpd. My user is member of the 
apache group, and I have set my home dir to


$ ls -ld /home/frank
drwxr-x--- 115 frank  apache  16384 2009-10-09 22:30 frank

That way apache can enter my directory to get into ~/public_html, but other 
users (such as guests, it's my laptop) cannot.


If I log into pure-ftpd with a local user account, it puts me into the 
respective user's home. Anonymous logins are made for user ftp, which is 
set up in /home/ftp:


$ ls -ld /home/ftp
dr-xrwx---   4 ftpusers4096 2009-09-19 19:45 ftp

$ ls -ld /home/ftp/incoming
drwxrwxr-x   2 ftpusers4096 2009-09-16 23:58 /home/ftp/incoming/

This setup allows me as the admin user to have control over the files in the 
anonymous ftp root, and anonymous users may only upload stuff in the incoming 
directory.


  

I don't really know how to play with groups and user, any good tutorial
on that?



Just search for it, keywords such as file permissions chown may help:
http://www.overclock.net/linux-unix/513350-linux-file-permissions-executables-howto.html
http://penguinpetes.com/b2evo/index.php?title=chmod_squad_howto_use_linux_file_permiss

The latter is more informative on how to use groups in detail.
  

Hi Franck

Ok, after reading that I guess: I could create a 'connects' group and 
put my apache user in it.
So apache will have control over the files in www own by 
apache:connects. set to 760 recursively, for exemple.


And then add other local user to the connector group. Then as they will 
be able to connect on ftp as a local user they will be able to read 
write files that apache will be able to execute.


I'm gonna do that now :)
thx
Laurent



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Dale
Denis wrote:
 Let us know what blows up.  ;-)

 Dale
 

 Nothing blew up ;-)  I was successful removing X, downgrading, and
 getting X working again with xorg-server-1.5.3 and libxcb-1.1

 FYI, the working package.mask file for this operation is:

   
 =x11-libs/libXext-1.0.5
 =x11-libs/libX11-1.2
 =x11-libs/libxcb-1.4
 =x11-base/xorg-server-1.6
 =x11-base/xorg-x11-7.4
 =x11-proto/xproto-7.0.15
 =x11-proto/xextproto-7.0.5
 =x11-libs/xcb-util-0.3.5
 =x11-proto/xcb-proto-1.2
 

 However, this must not have restored my previous X configuration fully
 because Mathematica still crashes.  So I've decided to abandon this
 attempt, remove all masks, and allow the full X upgrade because I
 reinstall all the X packages back onto my system.  While some folks
 here probably think this attempt foolish, I still think it was worth a
 try, and I learned some new things, which is always good.

 I appreciate everyone's help and support with this.
 Denis


   

Well, I do foolish things sometimes myself.  Once every few months for
example, I run a emerge -ev world.  Then I reboot and make my back ups. 
At least I know it is a sane build and it will boot if restored from.  I
don't back up as much as I used to since I got DSL.  I guess we all try
something just to satisfy our curiosity if nothing else. 

I do wish it would have fixed your problem tho.  I would travel upstream
and see if you can help them by providing information on the crash. 

Dale

:-)  :-) 



[gentoo-user] Re: X bitmap fonts and UTF-8

2009-10-14 Thread walt
On 10/14/2009 07:00 AM, DPX-Infinity wrote:
 Hi.
 I have some strange problem with X fonts (not freetype). I installed
 xmonad, dzen2 and dmenu and configured the last two to use font
 -xos4-terminus-medium...

If that font is part of the terminus-font package, there are quite a
few USE flags that may be important for you:

#equery u terminus-font
[ Searching for packages matching terminus-font... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf  ]
[: Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for media-fonts/terminus-font-4.28 ]
 U I
 + + X : Adds support for X11
 - - a-like-o  : Changes view of letter 'a' - a looks like o (see homepage)
 - - bolddiag  : Boldified diagonal parts of '4', 'k', 'x' and some other 
chars
 - + pcf   : Intall Portable Compiled Font (PCF) (required for X11)
 - + psf   : Install PC Screen Font (PSF) with unicode data (for linux 
console)
 - - quote : Changes view of quotes: symmetric ` and ' instead of 
asymmetric one (see homepage)
 - - raw-font-data : Install RAW font data which should be compatible with most 
UNIX systems (you don't need this on linux)
 - - ru-dv : Changes view of Russian letters 'de' and 've' (see 
homepage)
 - + ru-g  : Changes view of Russian letter 'ge' (see homepage)
 - - ru-i  : Changes view of Russian letter 'i' - not like Latin u, but 
like mirrored N (see homepage)
 - - ru-k  : Changes view of Russian letter 'k' (see homepage)
 - - width : Wider versions of some font elements




[gentoo-user] Re: X bitmap fonts and UTF-8

2009-10-14 Thread walt
On 10/14/2009 12:17 PM, DPX-Infinity wrote:
 Here are mine: Installed versions:  4.28(23:40:35 09.10.2009)(X pcf
 psf ru-dv ru-g ru-i -a-like-o -bolddiag -quote -raw-font-data -ru-k
 -width)
 
 But I think USE-flags aren't connected with this strange behaviour. I
 already said, that russian letters are not displayed in every font,
 including misc-fixed, for example. I also tried original (from
 official site) fonts, but the result was the same. Definitely fonts
 are not the reason.

I've attached a screencap of what I see using misc-fixed.  Do you see
something different?
attachment: xfontsel.png

Re: [gentoo-user] Re: X bitmap fonts and UTF-8

2009-10-14 Thread DPX-Infinity
No, they are entirely same.

2009/10/14 walt w41...@gmail.com:
 On 10/14/2009 12:17 PM, DPX-Infinity wrote:
 Here are mine: Installed versions:  4.28(23:40:35 09.10.2009)(X pcf
 psf ru-dv ru-g ru-i -a-like-o -bolddiag -quote -raw-font-data -ru-k
 -width)

 But I think USE-flags aren't connected with this strange behaviour. I
 already said, that russian letters are not displayed in every font,
 including misc-fixed, for example. I also tried original (from
 official site) fonts, but the result was the same. Definitely fonts
 are not the reason.

 I've attached a screencap of what I see using misc-fixed.  Do you see
 something different?

attachment: xfontsel.png

Re: [gentoo-user] Re: What is a packet? Was: Checksum error

2009-10-14 Thread Dale
Neil Bothwick wrote:
 On Tue, 13 Oct 2009 01:42:17 + (UTC), Grant Edwards wrote:

   
 Tomorrow morning most of us will go back to trying to figure
 out how to get x.org to work everywhere, either with or
 without hal.  
   
 Which we also seem to do about once a month. ;)
 

 With less success :(


   
+1  It still doesn't work here.  I tried again the other day.  No joy
whatsoever.

Dale

:-)  :-) 



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Alan McKinnon
On Wednesday 14 October 2009 18:55:34 Stefan G. Weichinger wrote:
 Dale schrieb:
  Does a Vic 20 count?  It had 4K of ram.  I bet KDE 4 would run fast on
  that.  LOL
 
  At least it wasn't running winders.
 
 I remember upgrading my 8088 from 128 kB to 640 kB, it was about 50 EUR
 (back then there was no EUR, sure) ..
 
 I feel kinda old thinking of this ;-)
 
 And today I got 2 new servers at a customer, 64 GB RAM each ... modern
 times ...
 
 At least there I know how to make use of it ...

At least this OT thread isn't as insanely OT as the checksum one :-)

My first computer was a Sinclair Mk14 - even earlier than the ZX80. You had to 
build it yourself and it had 256 bytes of memory. And a 7-segment LED 
calculator display. I could play moonlander on that :-)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Volker Armin Hemmann
On Mittwoch 14 Oktober 2009, Stefan G. Weichinger wrote:
 Dale schrieb:
  Does a Vic 20 count?  It had 4K of ram.  I bet KDE 4 would run fast on
  that.  LOL
 
  At least it wasn't running winders.
 
 I remember upgrading my 8088 from 128 kB to 640 kB, it was about 50 EUR
 (back then there was no EUR, sure) ..
 
 I feel kinda old thinking of this ;-)
 
 And today I got 2 new servers at a customer, 64 GB RAM each ... modern
 times ...
 
 At least there I know how to make use of it ...
 
 Stefan
 

I remember standing in front of two Sun servers with 4gb each a couple of 
years ago.
I was stuck in awe. So much ram. 

Today my desktop has 8gb - and I am thinking about 16 in the next 12 month.



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stefan G. Weichinger
Volker Armin Hemmann schrieb:

 I remember standing in front of two Sun servers with 4gb each a couple of 
 years ago.
 I was stuck in awe. So much ram. 

Yes. I remember as well.

Why 128 MB RAM in that workstation? Are you sure we need that much? It
costs!

 Today my desktop has 8gb - and I am thinking about 16 in the next 12 month.

What for? Just to get back to the initial topic of the thread ;-)

In fact I don't even feel very adventurous with those 64 GB per server
... the hardware/board would allow 128 GB and the OS/app even more ...

It somehow shifts ... back then 64/96/128/256 MEGAbytes were BIG, now we
just get used to swap the unit: GIGAbytes, yeah, *yawn*  

;-)

Stefan



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Alan McKinnon
On Wednesday 14 October 2009 22:21:38 Volker Armin Hemmann wrote:
 
 I remember standing in front of two Sun servers with 4gb each a couple of
 years ago.
 I was stuck in awe. So much ram.

I have 3 of those monsters in my decommissioned stores that you are more than 
welcome to come and fetch them, you can awe them in the privacy of your own 
home all day :-)

Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It takes four 
of our big lads to pick them up.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Volker Armin Hemmann
On Mittwoch 14 Oktober 2009, Stefan G. Weichinger wrote:
 Volker Armin Hemmann schrieb:
  I remember standing in front of two Sun servers with 4gb each a couple of
  years ago.
  I was stuck in awe. So much ram.
 
 Yes. I remember as well.
 
 Why 128 MB RAM in that workstation? Are you sure we need that much? It
 costs!
 
  Today my desktop has 8gb - and I am thinking about 16 in the next 12
  month.
 
 What for? Just to get back to the initial topic of the thread ;-)

/var/tmp/portage
/tmp

oh:
free
 total   used   free sharedbuffers cached
Mem:   81858368108312  77524  0  06067212
-/+ buffers/cache:20411006144736
Swap: 23446836  0   23446836




Re: [gentoo-user] how to use RAM

2009-10-14 Thread Volker Armin Hemmann
On Mittwoch 14 Oktober 2009, Alan McKinnon wrote:
 On Wednesday 14 October 2009 22:21:38 Volker Armin Hemmann wrote:
  I remember standing in front of two Sun servers with 4gb each a couple of
  years ago.
  I was stuck in awe. So much ram.
 
 I have 3 of those monsters in my decommissioned stores that you are more
  than welcome to come and fetch them, you can awe them in the privacy of
  your own home all day :-)
 
 Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It takes
  four of our big lads to pick them up.
 

thank you but no thank your ;)



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stefan G. Weichinger
Alan McKinnon schrieb:

 Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It takes 
 four 
 of our big lads to pick them up.

It was a mixture of fascination and disappointment seeing those 2 big
servers and the (entry-level ... ok)-SAN with just 4U in sum ...

times are a-changing ... ;-)

S



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stefan G. Weichinger
Volker Armin Hemmann schrieb:

 What for? Just to get back to the initial topic of the thread ;-)
 
 /var/tmp/portage
 /tmp
 
 oh:
 free
  total   used   free sharedbuffers cached
 Mem:   81858368108312  77524  0  06067212
 -/+ buffers/cache:20411006144736
 Swap: 23446836  0   23446836

nice to see  inspirational  ;-)

S



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Neil Bothwick
On Wed, 14 Oct 2009 22:34:24 +0200, Alan McKinnon wrote:

 Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It
 takes four of our big lads to pick them up.

Why not put one behind that SUV the next time he parks in the disabled
bay? ;-)


-- 
Neil Bothwick

Diarrhoea is hereditary, it runs in your genes.


signature.asc
Description: PGP signature


Re: [gentoo-user] how to use RAM

2009-10-14 Thread Alan McKinnon
On Wednesday 14 October 2009 22:40:58 Stefan G. Weichinger wrote:
 Alan McKinnon schrieb:
  Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It takes
  four of our big lads to pick them up.
 
 It was a mixture of fascination and disappointment seeing those 2 big
 servers and the (entry-level ... ok)-SAN with just 4U in sum ...
 
 times are a-changing ... ;-)

I'll say :-)

We upgraded our FTP server with a 12TB nas in January.

At 4U, it's a pathetic looking little thing

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] how to use RAM

2009-10-14 Thread Alan McKinnon
On Wednesday 14 October 2009 22:48:56 Neil Bothwick wrote:
 On Wed, 14 Oct 2009 22:34:24 +0200, Alan McKinnon wrote:
  Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It
  takes four of our big lads to pick them up.
 
 Why not put one behind that SUV the next time he parks in the disabled
 bay? ;-)

I would, but there's no sane way to get it to the parking level. Not even if I 
put the castor wheels back on ...

But it's still a fine idea :-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread William Kenworthy
On Wed, 2009-10-14 at 12:50 -0400, Denis wrote:
  Let us know what blows up.  ;-)
 
  Dale
 
 Nothing blew up ;-)  I was successful removing X, downgrading, and
 getting X working again with xorg-server-1.5.3 and libxcb-1.1
 

Have you tried strace'ing mathematica to see why it dies?

BillK






Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Dale
Denis wrote:
 Have you tried strace'ing mathematica to see why it dies?

 BillK
 

 I ran an strace, but I can't make sense out of it.  There's a bunch of
 polling and trying to access unavailable resources, from what I can
 see...  The file is huge, but here is the tail end of it:

  SNIP 

 Does this make any sense to anyone?


   

OK, first off.  I have no clue what this program does.  I'm shooting in
the dark here.  I found this:

http://forums.wolfram.com/mathgroup/archive/2001/Dec/msg00034.html

It seems you are not alone.  I browsed though a couple other places and
saw people mentioning python a bit.  Does this software use python by
any chance? 

I also noticed a lot of talking about I/O issues.  Are you sure and for
certain that you have the right chip set compiled for your hard drive? 
I ran into a lot of errors once and I had the wrong chip set selected in
my kernel and although it was trying to work, it didn't work very well
when there was a lot of I/O activity.  Programs would crash and in the
Konsole I would get all sorts of errors including the plan old seg fault
type. 

Again, read the first three sentences.  Just thinking and typing and
that is dangerous for me.  ;-)

Dale

:-)  :-) 



Re: [gentoo-user] Re: my xorg-server 1.6 seems a bit unstable - what am I doing wrong?

2009-10-14 Thread Stroller


On 14 Oct 2009, at 17:50, Denis wrote:

... While some folks
here probably think this attempt foolish, I still think it was worth a
try, and I learned some new things, which is always good.


I don't think this attempt foolish - but I guess you're getting  
desperate.


Having performed `emerge -e world` I would come to the conclusion that  
the problem is simply Mathematica, with some current libraries. I  
would probably want to try a fresh install of Gnetoo - on a different  
box or hard-drive - to prove the point. But I think I would be  
concluding shortly that it's an upstream bug.


Stroller.





Re: [gentoo-user] how to use RAM

2009-10-14 Thread Stroller


On 14 Oct 2009, at 21:34, Alan McKinnon wrote:


On Wednesday 14 October 2009 22:21:38 Volker Armin Hemmann wrote:

I remember standing in front of two Sun servers with 4gb each a  
couple of

years ago.
I was stuck in awe. So much ram.


I have 3 of those monsters in my decommissioned stores that you are  
more than
welcome to come and fetch them, you can awe them in the privacy of  
your own

home all day :-)

Bring a 1 ton truck. Those beasts are big and heavy. Very heavy. It  
takes four

of our big lads to pick them up.


If it weren't so far I would totally take you up on that. I really  
want some mutlirack SGIs, though.


Stroller.