[gentoo-user] Re: Out of memory error

2011-11-19 Thread Nikos Chantziaras

On 11/18/2011 07:42 PM, Mick wrote:

I've changed the title ever so slightly.  I am getting an out of memory error
with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the kernel.

The error as far as firefox is concerned is the same.  Is this a firefox bug, or
is my decrepit old laptop incapable of compiling Firefox ...

Am I the only one suffering from this?


How much RAM do you have?  How big if your swap?




Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Mick
On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> On 11/18/2011 07:42 PM, Mick wrote:
> > I've changed the title ever so slightly.  I am getting an out of memory
> > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> > kernel.
> > 
> > The error as far as firefox is concerned is the same.  Is this a firefox
> > bug, or is my decrepit old laptop incapable of compiling Firefox ...
> > 
> > Am I the only one suffering from this?
> 
> How much RAM do you have?  How big if your swap?


# free
 total   used   free sharedbuffers cached
Mem:640392 133084 507308  0  81360  23972
-/+ buffers/cache:  27752 612640
Swap:   257004   6156 250848

May not be much by today's standards, but I never had an out of memory error 
that I can recall just compiling packages in the past.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Michael Mol
On Nov 19, 2011 6:31 AM, "Mick"  wrote:
>
> On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> > On 11/18/2011 07:42 PM, Mick wrote:
> > > I've changed the title ever so slightly.  I am getting an out of
memory
> > > error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> > > kernel.
> > >
> > > The error as far as firefox is concerned is the same.  Is this a
firefox
> > > bug, or is my decrepit old laptop incapable of compiling Firefox ...
> > >
> > > Am I the only one suffering from this?
> >
> > How much RAM do you have?  How big if your swap?
>
>
> # free
> total   used   free sharedbuffers cached
> Mem:640392 133084 507308  0  81360  23972
> -/+ buffers/cache:  27752 612640
> Swap:   257004   6156 250848
>
> May not be much by today's standards, but I never had an out of memory
error
> that I can recall just compiling packages in the past.

You've never compiled OOo or chromium on that box, have you? Chromium alone
takes 4GB on my box at the final link step.

Have you changed your CFLAGS since the last time you succesfully built FF?
Is -g new? Consider switching to -Os; it won't solve the immediate problem,
but it may help reduce overall system pressure by keeping binaries smaller.
Also look at adding "splitdebug" to FEATURES. Perhaps adding 2-3GB of swap.

What about any new or larger apps consuming system RAM? What does free -m
show before your emerge?

And, finally, yeah..that isn't just "not much", that's a terribly small
amount of memory. Assuming you've kept the software current, some of your
applications have certainly not been maintained with 600MB of system memory
in mind.


[gentoo-user] Re: Out of memory error

2011-11-19 Thread Nikos Chantziaras

On 11/19/2011 01:29 PM, Mick wrote:

On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:

On 11/18/2011 07:42 PM, Mick wrote:

I've changed the title ever so slightly.  I am getting an out of memory
error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
kernel.

The error as far as firefox is concerned is the same.  Is this a firefox
bug, or is my decrepit old laptop incapable of compiling Firefox ...

Am I the only one suffering from this?


How much RAM do you have?  How big if your swap?



# free
  total   used   free sharedbuffers cached
Mem:640392 133084 507308  0  81360  23972
-/+ buffers/cache:  27752 612640
Swap:   257004   6156 250848

May not be much by today's standards, but I never had an out of memory error
that I can recall just compiling packages in the past.


You have 640MB RAM and 256MB swap.  That isn't nearly enough to compile 
big packages nowadays.


You can try to increase your swap partition from 256MB to 3GB.  However, 
hitting the swap during a compile is going to strangle your system.  To 
maximize available RAM, logout of the desktop first, then shutdown the 
graphical environment entirely:


  /etc/init.d/xdm stop

and then compile.  Start the desktop again after that:

  /etc/init.d/xdm start

Modern versions of GCC and binutils are quite memory hungry, so your 
only real option is to add more RAM.  You should have at least 2GB of it 
these days for a Gentoo system.





Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Pandu Poluan
On Nov 19, 2011 7:28 PM, "Michael Mol"  wrote:

- >8 snip

> And, finally, yeah..that isn't just "not much", that's a terribly small
amount of memory. Assuming you've kept the software current, some of your
applications have certainly not been maintained with 600MB of system memory
in mind.
>

Indeed. With less than 800MB, gcc fails to upgrade. Always. For some
RAM-constrained systems (e.g. the VMs in my company's cloud), I even have
to do an "out-of-the-box" upgrade, i.e., upgrade an identical copy on the
physical data center, grab the binpkg tarball, and upload the tarball to
the cloud.

Rgds,


Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Volker Armin Hemmann
Am Samstag 19 November 2011, 14:42:07 schrieb Nikos Chantziaras:
> On 11/19/2011 01:29 PM, Mick wrote:
> > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> >> On 11/18/2011 07:42 PM, Mick wrote:
> >>> I've changed the title ever so slightly.  I am getting an out of
> >>> memory
> >>> error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> >>> kernel.
> >>> 
> >>> The error as far as firefox is concerned is the same.  Is this a
> >>> firefox bug, or is my decrepit old laptop incapable of compiling
> >>> Firefox ...
> >>> 
> >>> Am I the only one suffering from this?
> >> 
> >> How much RAM do you have?  How big if your swap?
> > 
> > # free
> > 
> >   total   used   free shared   
> >   buffers cached> 
> > Mem:640392 133084 507308  0  81360 
> > 23972
> > -/+ buffers/cache:  27752 612640
> > Swap:   257004   6156 250848
> > 
> > May not be much by today's standards, but I never had an out of memory
> > error that I can recall just compiling packages in the past.
> 
> You have 640MB RAM and 256MB swap.  That isn't nearly enough to compile
> big packages nowadays.
> 
> You can try to increase your swap partition from 256MB to 3GB.  However,
> hitting the swap during a compile is going to strangle your system.  To
> maximize available RAM, logout of the desktop first, then shutdown the
> graphical environment entirely:
> 
>/etc/init.d/xdm stop
> 
> and then compile.  Start the desktop again after that:
> 
>/etc/init.d/xdm start
> 
> Modern versions of GCC and binutils are quite memory hungry, so your
> only real option is to add more RAM.  You should have at least 2GB of it
> these days for a Gentoo system.

makeopts -j1 helps too.

-- 
#163933



Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Mick
On Saturday 19 Nov 2011 15:57:58 Volker Armin Hemmann wrote:
> Am Samstag 19 November 2011, 14:42:07 schrieb Nikos Chantziaras:
> > On 11/19/2011 01:29 PM, Mick wrote:
> > > On Saturday 19 Nov 2011 09:13:33 Nikos Chantziaras wrote:
> > >> On 11/18/2011 07:42 PM, Mick wrote:
> > >>> I've changed the title ever so slightly.  I am getting an out of
> > >>> memory
> > >>> error with kernel-2.6.39-gentoo-r3 too, so I can't blame it on the
> > >>> kernel.
> > >>> 
> > >>> The error as far as firefox is concerned is the same.  Is this a
> > >>> firefox bug, or is my decrepit old laptop incapable of compiling
> > >>> Firefox ...
> > >>> 
> > >>> Am I the only one suffering from this?
> > >> 
> > >> How much RAM do you have?  How big if your swap?
> > > 
> > > # free
> > > 
> > >   total   used   free shared
> > >   buffers cached>
> > > 
> > > Mem:640392 133084 507308  0  81360
> > > 23972
> > > -/+ buffers/cache:  27752 612640
> > > Swap:   257004   6156 250848
> > > 
> > > May not be much by today's standards, but I never had an out of memory
> > > error that I can recall just compiling packages in the past.
> > 
> > You have 640MB RAM and 256MB swap.  That isn't nearly enough to compile
> > big packages nowadays.
> > 
> > You can try to increase your swap partition from 256MB to 3GB.  However,
> > hitting the swap during a compile is going to strangle your system.  To
> > maximize available RAM, logout of the desktop first, then shutdown the
> > 
> > graphical environment entirely:
> >/etc/init.d/xdm stop
> > 
> > and then compile.  Start the desktop again after that:
> >/etc/init.d/xdm start
> > 
> > Modern versions of GCC and binutils are quite memory hungry, so your
> > only real option is to add more RAM.  You should have at least 2GB of it
> > these days for a Gentoo system.
> 
> makeopts -j1 helps too.

Thanks guys.

From your comments it seems that it's been touch & go so far.  This is an old 
PIII laptop which I have been keeping up to date without any problems until 
now.  OOo was never emerged on this machine, I have always used ooo-bin.  I 
did emerge chromium though (early versions) and have not had problems with 
gcc.

Perhaps the latest Firefox broke its back.  Will try again to emerge it with -
j1 and see if it makes a difference or if that fails I will add a swap file to 
give it some breathing space.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Can't tether the phone and use it as a modem anymore

2011-11-19 Thread Mick
Has something changed in the bluetooth configuration over the last six months 
or so?  I can't seem to be able connect to rfcomm anymore ...

I can connect to the phone, l2ping it, etc, but when I use kppp to dial, the 
modem does not respond.  Also, there's no rfcomm showing under ifconfig -a, 
which I seem to recall that it should normally come up.  This is my 
rfcomm.conf:

#
# RFCOMM configuration file.
#

rfcomm0 {
#   # Automatically bind the device at startup
#   bind no;
bind yes;
#   # Bluetooth address of the device
#   device 11:22:33:44:55:66;
device 00:1A:10:5C:20:BF;
#
#   # RFCOMM channel for the connection
#   channel 1;
channel 1;
#   # Description of the connection
#   comment "Example Bluetooth device";
comment "Nokia 6021";
}


Any ideas?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Out of memory error

2011-11-19 Thread Hans Müller
On Saturday, 19. November 2011 20:08:36 Pandu Poluan wrote:
> > On Nov 19, 2011 7:28 PM, "Michael Mol"  wrote:
> > And, finally, yeah..that isn't just "not much", that's a terribly small
> > amount of memory. Assuming you've kept the software current, some of your
> > applications have certainly not been maintained with 600MB of system
> > memory in mind.
> 
> Indeed. With less than 800MB, gcc fails to upgrade. Always. For some
> RAM-constrained systems (e.g. the VMs in my company's cloud), I even have
> to do an "out-of-the-box" upgrade, i.e., upgrade an identical copy on the
> physical data center, grab the binpkg tarball, and upload the tarball to
> the cloud.

If you provide enough swap this shouldn't be an issue.
I have a box running Xen dom0 with 680MB RAM and 1.5GB swap and it compiles 
everything fine so far.
Of course I didn't emerge firefox, libreoffice or similar packages on this 
system, but at least for gcc this is fine.

Best regards




[gentoo-user] Re: Can't tether the phone and use it as a modem anymore

2011-11-19 Thread Mick
On Saturday 19 Nov 2011 17:32:27 Mick wrote:
> Has something changed in the bluetooth configuration over the last six
> months or so?  I can't seem to be able connect to rfcomm anymore ...
> 
> I can connect to the phone, l2ping it, etc, but when I use kppp to dial,
> the modem does not respond.  Also, there's no rfcomm showing under
> ifconfig -a, which I seem to recall that it should normally come up.  This
> is my rfcomm.conf:
> 
> #
> # RFCOMM configuration file.
> #
> 
> rfcomm0 {
> #   # Automatically bind the device at startup
> #   bind no;
> bind yes;
> #   # Bluetooth address of the device
> #   device 11:22:33:44:55:66;
> device 00:1A:10:5C:20:BF;
> #
> #   # RFCOMM channel for the connection
> #   channel 1;
> channel 1;
> #   # Description of the connection
> #   comment "Example Bluetooth device";
> comment "Nokia 6021";
> }
> 
> 
> Any ideas?

Aha!  It seems that I have an access issue ...

If I connect with the phone as root (hcitools cc 00:1A:10:5C:20:BF) I can then 
query the modem and dial out.

Why would that be ... my user is a member of the uucp group:

# ls -la /dev/rfcomm0 
crw-rw 1 root uucp 216, 0 Nov 19 17:44 /dev/rfcomm0

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Vim stops installing when it runs installman.sh

2011-11-19 Thread Mick
On Saturday 19 Nov 2011 14:01:56 James Broadhead wrote:
> On 19 November 2011 02:44, 1990 dqgcs  wrote:
> > Hi Everyone
> > I  am very sad i failed to install vim in gentoo ,without vim i could not
> > do anything :(
> > I download vim-7.3.tar.bz2 not emerge because i can modify Makefile to
> > find out where is wrong.Compiling seems well,but when it begin to
> > install man ,it stops,just like:
> > /bin/sh ./installman.sh install /usr/local/share/man/it/man1 "-it"
> > /usr/local/share/vim /usr/local/share/vim/vim73 /usr/local/share/vim
> > ../runtime/doc 644 vim vimdiff evim
> > installing /usr/local/share/man/it/man1/vim.1
> > and never go on. sool cruel
> > Yes ,the script is installman.sh and it stop here below,what should i
> > do?it runs very well in my ubuntu! what is wrong???
> > # vim.1
> >echo installing $destdir/$exename.1
> >sed -e s+/usr/local/lib/vim+$vimloc+ \
> >   -e s+$vimloc/doc+$helpsubloc+ \
> >   -e s+$vimloc/print+$printsubloc+ \
> >   -e s+$vimloc/syntax+$synsubloc+ \
> >   -e s+$vimloc/tutor+$tutorsubloc+ \
> >   -e s+$vimloc/vimrc+$vimrcloc/vimrc+ \
> >   -e s+$vimloc/gvimrc+$vimrcloc/gvimrc+ \
> >   -e s+$vimloc/menu.vim+$scriptloc/menu.vim+ \
> >   -e s+$vimloc/bugreport.vim+$scriptloc/bugreport.vim+ \
> >   -e s+$vimloc/filetype.vim+$scriptloc/filetype.vim+ \
> >   -e s+$vimloc/scripts.vim+$scriptloc/scripts.vim+ \
> >   -e s+$vimloc/optwin.vim+$scriptloc/optwin.vim+ \
> >   -e 's+$vimloc/\*.ps+$scriptloc/\*.ps+' \
> >   $helpsource/vim$langadd.1 > $destdir/$exename.1
> >chmod $manmod $destdir/$exename.1
> > ANY suggest is OK,Thanks!!!
> > Best Rgds
> > Eleree Nicola
> 
> $ eix app-editors/vim
> [I] app-editors/vim
>  Available versions:  7.2.442 7.3.135 7.3.189 ~7.3.219 ~7.3.244
> 7.3.266 ~7.3.322 {X acl bash-completion cscope debug gpm minimal nls
> perl python ruby vim-pager}
>  Installed versions:  7.3.266(23:14:32 09/10/11)(X acl
> bash-completion gpm nls python -cscope -debug -minimal -perl -ruby
> -vim-pager)
>  Homepage:http://www.vim.org/
>  Description: Vim, an improved vi-style text editor
> 
> So: to get the latest well-tested version of vim in gentoo, just run
> "emerge vim" as root, which will get you vim-7.3.266. This will build
> it with your configured settings/optimisations.
> 
> If you want to build it manually, you're on your own -- we can
> probably help you if you supply more info, but unless you have a good
> reason not to use portage/emerge, then you're not using your time
> effectively.
> 
> Note: eix isn't installed by default, and it's super-useful. Run
> "emerge eix ; eix-update" to get the output above.

It doesn't make sense not to use the distro's recommended package manager 
(portage or even paludis).  If you really like the script then compare what 
the portage ebuild does agains the script you are using and then ... use the 
ebuild!

Otherwise you are bound to come across dependency conflicts sooner or later and 
end up with such a spaghetti in your hands that you will have to reinstall.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Cannot run texmf-update for some reason.

2011-11-19 Thread Stroller

On 18 November 2011, at 23:28, Mark Knecht wrote:

> A couple of interesting messages doing updates this afternoon. A quick
> bit of Googling didn't uncover anything obvious...
> 
> - Mark
> 
> * Messages for package app-text/dvipsk-5.99_p20100722:
> 
> * Cannot run texmf-update for some reason.
> * Your texmf tree might be inconsistent with your configuration
> * Please try to figure what has happened
> 
> * Messages for package dev-libs/kpathsea-6.0.1_p20110627:
> 
> * Cannot run texmf-update for some reason.
> * Your texmf tree might be inconsistent with your configuration
> * Please try to figure what has happened

I would use `equery b` to find which package owns texmf-update (TexLive??), 
reemerge that, then reemerge these packages.

Stroller.




Re: [gentoo-user] Vim stops installing when it runs installman.sh

2011-11-19 Thread 1990 dqgcs
I am sorry i have not made it clear,I meet the situation when i use "sudo
emerge vim" after "sudo emerge --sync && sudo emerge -auvDN",
So,i try to install my own vim for DEBUG,what should i do now,could i not
to install man page?

2011/11/19 James Broadhead 

> On 19 November 2011 02:44, 1990 dqgcs  wrote:
> > Hi Everyone
> > I  am very sad i failed to install vim in gentoo ,without vim i could
> not do
> > anything :(
> > I download vim-7.3.tar.bz2 not emerge because i can modify Makefile to
> find
> > out where is wrong.Compiling seems well,but when it begin to install man
> ,it
> > stops,just like:
> > /bin/sh ./installman.sh install /usr/local/share/man/it/man1 "-it"
> > /usr/local/share/vim /usr/local/share/vim/vim73 /usr/local/share/vim
> > ../runtime/doc 644 vim vimdiff evim
> > installing /usr/local/share/man/it/man1/vim.1
> > and never go on. sool cruel
> > Yes ,the script is installman.sh and it stop here below,what should i
> do?it
> > runs very well in my ubuntu! what is wrong???
> > # vim.1
> >echo installing $destdir/$exename.1
> >sed -e s+/usr/local/lib/vim+$vimloc+ \
> >   -e s+$vimloc/doc+$helpsubloc+ \
> >   -e s+$vimloc/print+$printsubloc+ \
> >   -e s+$vimloc/syntax+$synsubloc+ \
> >   -e s+$vimloc/tutor+$tutorsubloc+ \
> >   -e s+$vimloc/vimrc+$vimrcloc/vimrc+ \
> >   -e s+$vimloc/gvimrc+$vimrcloc/gvimrc+ \
> >   -e s+$vimloc/menu.vim+$scriptloc/menu.vim+ \
> >   -e s+$vimloc/bugreport.vim+$scriptloc/bugreport.vim+ \
> >   -e s+$vimloc/filetype.vim+$scriptloc/filetype.vim+ \
> >   -e s+$vimloc/scripts.vim+$scriptloc/scripts.vim+ \
> >   -e s+$vimloc/optwin.vim+$scriptloc/optwin.vim+ \
> >   -e 's+$vimloc/\*.ps+$scriptloc/\*.ps+' \
> >   $helpsource/vim$langadd.1 > $destdir/$exename.1
> >chmod $manmod $destdir/$exename.1
> > ANY suggest is OK,Thanks!!!
> > Best Rgds
> > Eleree Nicola
>
> $ eix app-editors/vim
> [I] app-editors/vim
> Available versions:  7.2.442 7.3.135 7.3.189 ~7.3.219 ~7.3.244
> 7.3.266 ~7.3.322 {X acl bash-completion cscope debug gpm minimal nls
> perl python ruby vim-pager}
> Installed versions:  7.3.266(23:14:32 09/10/11)(X acl
> bash-completion gpm nls python -cscope -debug -minimal -perl -ruby
> -vim-pager)
> Homepage:http://www.vim.org/
> Description: Vim, an improved vi-style text editor
>
> So: to get the latest well-tested version of vim in gentoo, just run
> "emerge vim" as root, which will get you vim-7.3.266. This will build
> it with your configured settings/optimisations.
>
> If you want to build it manually, you're on your own -- we can
> probably help you if you supply more info, but unless you have a good
> reason not to use portage/emerge, then you're not using your time
> effectively.
>
> Note: eix isn't installed by default, and it's super-useful. Run
> "emerge eix ; eix-update" to get the output above.
>
>


Re: [gentoo-user] Vim stops installing when it runs installman.sh

2011-11-19 Thread 1990 dqgcs
Thanks for reply! I am sorry to tell you i have installed vim by emerge
,but i failed ,so i try to use vim7.3.266'source code for debug :( .Now
what could i do?i am almost crazy now!!!

2011/11/20 Mick 

> On Saturday 19 Nov 2011 14:01:56 James Broadhead wrote:
> > On 19 November 2011 02:44, 1990 dqgcs  wrote:
> > > Hi Everyone
> > > I  am very sad i failed to install vim in gentoo ,without vim i could
> not
> > > do anything :(
> > > I download vim-7.3.tar.bz2 not emerge because i can modify Makefile to
> > > find out where is wrong.Compiling seems well,but when it begin to
> > > install man ,it stops,just like:
> > > /bin/sh ./installman.sh install /usr/local/share/man/it/man1 "-it"
> > > /usr/local/share/vim /usr/local/share/vim/vim73 /usr/local/share/vim
> > > ../runtime/doc 644 vim vimdiff evim
> > > installing /usr/local/share/man/it/man1/vim.1
> > > and never go on. sool cruel
> > > Yes ,the script is installman.sh and it stop here below,what should i
> > > do?it runs very well in my ubuntu! what is wrong???
> > > # vim.1
> > >echo installing $destdir/$exename.1
> > >sed -e s+/usr/local/lib/vim+$vimloc+ \
> > >   -e s+$vimloc/doc+$helpsubloc+ \
> > >   -e s+$vimloc/print+$printsubloc+ \
> > >   -e s+$vimloc/syntax+$synsubloc+ \
> > >   -e s+$vimloc/tutor+$tutorsubloc+ \
> > >   -e s+$vimloc/vimrc+$vimrcloc/vimrc+ \
> > >   -e s+$vimloc/gvimrc+$vimrcloc/gvimrc+ \
> > >   -e s+$vimloc/menu.vim+$scriptloc/menu.vim+ \
> > >   -e s+$vimloc/bugreport.vim+$scriptloc/bugreport.vim+ \
> > >   -e s+$vimloc/filetype.vim+$scriptloc/filetype.vim+ \
> > >   -e s+$vimloc/scripts.vim+$scriptloc/scripts.vim+ \
> > >   -e s+$vimloc/optwin.vim+$scriptloc/optwin.vim+ \
> > >   -e 's+$vimloc/\*.ps+$scriptloc/\*.ps+' \
> > >   $helpsource/vim$langadd.1 > $destdir/$exename.1
> > >chmod $manmod $destdir/$exename.1
> > > ANY suggest is OK,Thanks!!!
> > > Best Rgds
> > > Eleree Nicola
> >
> > $ eix app-editors/vim
> > [I] app-editors/vim
> >  Available versions:  7.2.442 7.3.135 7.3.189 ~7.3.219 ~7.3.244
> > 7.3.266 ~7.3.322 {X acl bash-completion cscope debug gpm minimal nls
> > perl python ruby vim-pager}
> >  Installed versions:  7.3.266(23:14:32 09/10/11)(X acl
> > bash-completion gpm nls python -cscope -debug -minimal -perl -ruby
> > -vim-pager)
> >  Homepage:http://www.vim.org/
> >  Description: Vim, an improved vi-style text editor
> >
> > So: to get the latest well-tested version of vim in gentoo, just run
> > "emerge vim" as root, which will get you vim-7.3.266. This will build
> > it with your configured settings/optimisations.
> >
> > If you want to build it manually, you're on your own -- we can
> > probably help you if you supply more info, but unless you have a good
> > reason not to use portage/emerge, then you're not using your time
> > effectively.
> >
> > Note: eix isn't installed by default, and it's super-useful. Run
> > "emerge eix ; eix-update" to get the output above.
>
> It doesn't make sense not to use the distro's recommended package manager
> (portage or even paludis).  If you really like the script then compare what
> the portage ebuild does agains the script you are using and then ... use
> the
> ebuild!
>
> Otherwise you are bound to come across dependency conflicts sooner or
> later and
> end up with such a spaghetti in your hands that you will have to reinstall.
> --
> Regards,
> Mick
>


[gentoo-user] Re: udev with separate /usr and no initramfs

2011-11-19 Thread Steven J Long
Some fool wrote:
> Following the debates over the summer, about plans to require an
> initramfs for udev, I put together a slightly different approach using
> the dependency tracking in openrc. It's outlined (in Unsupported Software) 
> at: http://forums.gentoo.org/viewtopic-p-6866484.html

Just wondering if anyone else besides the one user who's reported a 
succesful result has tried this.

I realise people are experimenting with mdev and static devices; the latter
in particular would be of interest on that forum thread, but I'd also like 
to know if anyone has got any feedback on udev without initramfs, especially
on unstable.

I'm not knocking the mdev option, and would love to see a forum thread on 
how to set that up: the more options the better AFAIC. Just that udev is the 
official upstream kernel thing, AFAIK, and might be more suited for the 
general desktop end-user, especially with devices that only have udev helper 
scripts (eg I've heard about wifi and bluetooth.)

Regards,
steveL.
-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)





[gentoo-user] What provides font 7x14-ISO8859-1.pcf.gz in Gentoo?

2011-11-19 Thread waltdnes
  Specifically, -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-1,
is loaded from that file.  Here's what lead me to ask...

- I installed xfreecell on a fresh system

- I couldn't get it to start, it complained about not being able to open
  a font, but didn't specify which one (thanks !NOT)

- I did some spelunking in the xfreecell tarball in distfiles.  Right
  near the top of the README file is a statement that says...
  "Make sure there is a font named 7x14."

- "xlsfonts | grep 7x14" didn't find anything

- in Google, I found other occurences of the same error message as I got
  and then asking how to get the "7x14" font

- there were several people reporting that font-misc-misc did the trick
  for them.  But it didn't work for me.

- file /usr/share/fonts/misc/fonts.alias showed that "7x14" was an alias
  for -Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-1

- The font-misc-misc ebuild appears to install 7x14.pcf.gz, which
  contains Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO10646-1, a
  unicode font

- Out of sheer desperation, I dug through *.pcf.gz files on another
  machine, and copied over 7x14-ISO8859-1.pcf.gz, which finally got
  xfreecell working.

  I'd still like to know which ebuild I should've used, rather than
copying over a binary file.

-- 
Walter Dnes 



[gentoo-user] Re: Progress on s/udev/mdev/

2011-11-19 Thread Steven J Long
Pandu Poluan wrote:
> Great! BTW, if the ebuild goes into overlay, it could use a newer EAPI,
> couldn't it?
Sure.

-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)





[gentoo-user] Re: GCC with multiple targets

2011-11-19 Thread Steven J Long
David W Noon wrote:

> On Fri, 18 Nov 2011 17:49:04 +0100, Kamil Domański wrote:
> 
>> I've been trying to figure out a way to emerge GCC with multiple
>> target architectures.
> 
> Try using the crossdev package.

Yeah crossdev _rocks_. #gentoo-embedded is a good place to get help,
as well as the gentoo-embedded list James mentioned in his reply to Erico's 
post. (both are mentioned in the project pages -> communication channels.)

-- 
#friendly-coders -- We're friendly, but we're not /that/ friendly ;-)





[gentoo-user] Device notifier and LVM device

2011-11-19 Thread Dale

Howdy,

As most know, I started using LVM a bit ago.  I noticed something odd 
tho.  KDE's device notifier thingy sees the LVM partition and even gives 
the mount/unmount option.  This makes me wonder.  I'm concerned that I 
may click that thing by mistake.  I already did it once but luckily I 
was downloading a NCIS episode and Seamonkey had it in use.  That kept 
if from unmounting.  None of my other partitions or drives show up 
except the LVM one.  I do have it set to not show the regular drives but 
I guess LVM is not regular.  It does show a CD or USB stick as normal 
tho.  That is all I want it to show really.  I have Removable Devices 
Only clicked in the settings.


My question is, how to make it not show up in there?  I looked and I 
can't find anything to prevent it.


Ideas?

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Progress on s/udev/mdev/

2011-11-19 Thread Pandu Poluan
On Nov 19, 2011 11:58 AM,  wrote:
>
> On Sat, Nov 19, 2011 at 08:41:43AM +0700, Pandu Poluan wrote
> > On Nov 19, 2011 6:56 AM, "Neil Bothwick"  wrote:
> > >
> > > On Sat, 19 Nov 2011 09:38:42 +1100, Paul Colquhoun wrote:
> > >
> > > > You can copy the ebuild to your own private overlay
> > > > ( /usr/local/portage ) make your changes there, and bump the version
> > > > number slightly.
> > >
> > > No need to bump the version number, overlays take priority over the
> > > standard tree when there are equal version numbers.
> > >
> >
> > I knew I forgot something so simple >.<
> >
> > Thanks!
> >
> > Hmmm... so, @waltdnes, you should modify the procedure a bit, there...
>
>  Will do.  This is what beta tests are for .
>

While you're at it, you might want to check out how mdev handles
hotplugging.

Start with the primer:

http://git.busybox.net/busybox/tree/docs/mdev.txt?h=1_18_stable

And gain some ideas here on how mdev executes helper scripts:

http://quirk.ch/2010/01/how-to-set-up-mdev-rules-for-busybox

Hope these help! I'm still away from my Gentoo boxen so I can't test my
ideas yet.

Rgds,


Re: [gentoo-user] Progress on s/udev/mdev/

2011-11-19 Thread Dale

Pandu Poluan wrote:

So, any progress/updates on the attempt to replace udev with busybox's mdev?

As for my case, it's working well on XenServer and VMware ESX /
vSphere (haven't found the time to test a VirtualBox installation
yet).

Except for one annoyance:

Now, I've done the steps put forth by waltdnes here:

http://www.gossamer-threads.com/lists/gentoo/user/242563

... but every "eix-sync&&  emerge -avuD @world" finds me having to
re-edit /usr/portage/virtual/dev-manager/dev-manager-0.ebuild, or else
portage wants to emerge sys-apps/makedev and sys-fs/static-dev

Is there a way to 'force' portage to use the edited
dev-manager-0.ebuild and not the original version pulled in by
eix-sync?

Rgds,



Question:  Is this going to be added to the shiney new Gentoo wiki at 
some point?  The wiki needs some more content for sure.  ;-)


I didn't know if ya'll had thought of this before or not.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Progress on s/udev/mdev/

2011-11-19 Thread Pandu Poluan
On Nov 20, 2011 10:56 AM, "Dale"  wrote:
>
> Pandu Poluan wrote:
>>
>> So, any progress/updates on the attempt to replace udev with busybox's
mdev?
>>
>> As for my case, it's working well on XenServer and VMware ESX /
>> vSphere (haven't found the time to test a VirtualBox installation
>> yet).
>>
>> Except for one annoyance:
>>
>> Now, I've done the steps put forth by waltdnes here:
>>
>> http://www.gossamer-threads.com/lists/gentoo/user/242563
>>
>> ... but every "eix-sync&&  emerge -avuD @world" finds me having to
>>
>> re-edit /usr/portage/virtual/dev-manager/dev-manager-0.ebuild, or else
>> portage wants to emerge sys-apps/makedev and sys-fs/static-dev
>>
>> Is there a way to 'force' portage to use the edited
>> dev-manager-0.ebuild and not the original version pulled in by
>> eix-sync?
>>
>> Rgds,
>
>
>
> Question:  Is this going to be added to the shiney new Gentoo wiki at
some point?  The wiki needs some more content for sure.  ;-)
>
> I didn't know if ya'll had thought of this before or not.
>

Well, although I can't read @waltdnes' mind, I'm sure he has that in mind.

We're still ironing out the showstoppers. As soon as the generic
glitches/annoyances (e.g., my 'fight' against portage reverting the .ebuild
edits) are handled, I'm sure a w.g.o article will automagically appears ;-)

Rgds,