[gentoo-user] gdb debugging of small system built with catalyst

2011-12-25 Thread Kfir Lavi
Hi,
I have few directories each contains C++ code, and is mapped to a local
private ebuild.
So I need to install few projects that depend on each other.
On the target machine I have gdbserver running.
When connecting to gdbserver, the links to the sources is
/var/tmp/.../../file.cpp.
My problem is that I need to debug all programs together, and the sources
are in catalyst's tmp working directory.
I can use 'directory' command in gdb to change the search path of the
source files, but doing it to few projects is cumbersome.
I can compile the source with -g3 and embed the sources there, but didn't
try that as I heard it is unstable.
At the end I need to provide a way to allow programmers to use Eclipse with
all the directories sources to debug all projects at once.
Is there other method to do this and integrate it to Eclipse?
For start no need for eclipse, I need to debug from the command line or vim.
Regards,
Kfir


Re: [gentoo-user] Holiday greetings!

2011-12-25 Thread Érico Porto
that's a beautiful ascii tree =]

On 12/24/11, Bill Longman bill.long...@gmail.com wrote:
 Merry Christmas all! Looks like it's about to officially start in about
 twenty seconds.

 --
 Bill Longman
 Sent from my Galaxy S
 On Dec 24, 2011 12:49 PM, Andrés Becerra Sandoval 
 andres.bece...@gmail.com wrote:



 Merry Christmas to all  :)


 --
   Andrés Becerra Sandoval






-- 
Érico V. Porto



Re: [gentoo-user] Holiday greetings!

2011-12-25 Thread Lorenzo Bandieri
Merry Christmas gentooers!

Lorenzo
-- 
Nothing is interesting if you're not interested.



[gentoo-user] wicd

2011-12-25 Thread Michael Mol
So, after having plenty of trouble working on getting Gentoo set up to
work with my new laptop, I'm finally able to run 'iwlist wlan0 scan'
and see the 15 or so cells in immediate area.

Rather than going straight wpa_supplicant or using NetworkManager on
this machine, I thought I'd give wicd a try. Trouble is, wicd, for
whatever reason, isn't seeing any any of the cells. If I run wicd-cli
--wireless -l, I get a list's headers, but no observed networks. If I
run wicd-cli --wireless -S, I get no output at all.

The page on gentoo-wiki.com for wicd[1] talks about a few
configuration files for manual configuration, but those aren't present
on the filesystem, and there are no manpages for them.


[1] http://en.gentoo-wiki.com/wiki/Wicd#Manual_Configuration
-- 
:wq



[gentoo-user] Acroread DRM Bug?

2011-12-25 Thread Michael Volland
Hi,

our public library uses Adobe Digital Rights Management.
That means you download a paper/book and open it with acroread.

It used to work fine with gentoo ~amd64 but not with ~x86 and x86.
(I assume it works with amd64 as well, can't just test it)

Acroread always crashed, when I tried to open a drm-protected document
on x84-installations.

The reason is, that acroread (acroread-9.4.2) is installed as binary,
but dynamically linked and when you open a drm-protected document, it
tries to load the non-existing library /usr/lib32/libidn.so.11.

To reproduce:
in xterm:
$ export ACRODEBUG=1
$ acroread

now open drm-protected document

dlopen: libidn.so.11: cannot open shared object file: No such file or
directory

This library is part of app-emulation/emul-linux-x86-baselibs-20110928
which is usually installed with non-x86 installations.

So I installed emul-linux-x86-baselibs and did set a softlink from
/usr/lib32/libidn.so.11 to /usr/lib. It works fine.

But lately I ran into problems after upgrading gcc. I couldn't emerge
qt-gui
anymore. Actually I had to remove the link, rename /usr/lib32 and
reemerge gcc. Then it was possible to emerge qt-gui.

Any suggestions?
Could there be a library on x86 installation, that one could use?
Could I hide the library from ebuilds other than acroread?
Should I file a gentoo-bug-report?

Greetings
Michael




[gentoo-user] I'm in a Pickle

2011-12-25 Thread CJoeB
Happy Holidays, Everyone,

To lead into the problem I am experiencing, I will let you know about an
issue I've been having with my desktop (writing this from my laptop). 
Every once in a while, when the screensaver kicks in and then, the
monitor goes on power save mode (something inherent to the monitor), the
screen locks (I have not set it to do this) and the only way, I can get
the computer going again is to reboot it by holding down the power
button.  This is annoying, but has not caused an issue until today.

Today, I was doing a world update and the screen locked - I still had my
KDE desktop up, but couldn't open a window to kill any processes or
anything.  So, I held the power button to cause a reboot.  The computer
booted okay and gave me my login screen, but neither the keyboard nor
the mouse work.

Any ideas?

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org





Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Dan Cowsill
On Sun, Dec 25, 2011 at 11:08 AM, CJoeB colleen.bea...@gmail.com wrote:

 Happy Holidays, Everyone,

 To lead into the problem I am experiencing, I will let you know about an
 issue I've been having with my desktop (writing this from my laptop).
 Every once in a while, when the screensaver kicks in and then, the
 monitor goes on power save mode (something inherent to the monitor), the
 screen locks (I have not set it to do this) and the only way, I can get
 the computer going again is to reboot it by holding down the power
 button.  This is annoying, but has not caused an issue until today.

 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.

 Any ideas?

 Regards,

 Colleen

 --

 Registered Linux User #411143 with the Linux Counter,
 http://counter.li.org




When the screen locks, is it the whole computer?  Can you do a CTRL+F7 and
get to a console?

As to your current predicament, I would give a livecd a try and see if the
keyboard and mouse work in that.

What I'm driving at here is that your problem may be hardware-related.


Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Michael Hampicke
 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.

Wild guess: xorg-server was upgraded to a newer version with changed
ABI, so you have to remerge everthing installed under x11-drivers

# emerge -1a $(qlist -I -C x11-drivers/)



Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread CJoeB
On 12/25/11 14:08, Dan Cowsill wrote:
 On Sun, Dec 25, 2011 at 11:08 AM, CJoeB colleen.bea...@gmail.com
 mailto:colleen.bea...@gmail.com wrote:

 Happy Holidays, Everyone,

 To lead into the problem I am experiencing, I will let you know
 about an
 issue I've been having with my desktop (writing this from my laptop).
 Every once in a while, when the screensaver kicks in and then, the
 monitor goes on power save mode (something inherent to the
 monitor), the
 screen locks (I have not set it to do this) and the only way, I
 can get
 the computer going again is to reboot it by holding down the power
 button.  This is annoying, but has not caused an issue until today.

 Today, I was doing a world update and the screen locked - I still
 had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The
 computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.

 Any ideas?

 Regards,

 Colleen

 --

 Registered Linux User #411143 with the Linux Counter,
 http://counter.li.org




 When the screen locks, is it the whole computer?  Can you do a CTRL+F7
 and get to a console?
When this happens, the screen is either black (cause the monitor has
gone to sleep), black, but I can see my mouse cursor and it will move
around if I move my mouse around, or I will have my KDE desktop, but
neither the mouse nor the keyboard will work.

 As to your current predicament, I would give a livecd a try and see if
 the keyboard and mouse work in that.

I can do this, but the computer isn't that old and up until today when I
rebooted the computer by holding the power button, on reboot, the mouse
and the keyboard worked fine.

And although the computer is new, I've screwed the warranty because I
removed Windows and there is only Linux on my computer.

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org



Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Mark Knecht
On Sun, Dec 25, 2011 at 11:08 AM, CJoeB colleen.bea...@gmail.com wrote:
 Happy Holidays, Everyone,

 To lead into the problem I am experiencing, I will let you know about an
 issue I've been having with my desktop (writing this from my laptop).
 Every once in a while, when the screensaver kicks in and then, the
 monitor goes on power save mode (something inherent to the monitor), the
 screen locks (I have not set it to do this) and the only way, I can get
 the computer going again is to reboot it by holding down the power
 button.  This is annoying, but has not caused an issue until today.

 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.

 Any ideas?

 Regards,

 Colleen

 --

 Registered Linux User #411143 with the Linux Counter, http://counter.li.org




I got burned by this one also. re-emerge all the xf86 module stuff for
your keyboard, etc. I've got it all in my module-rebuild -C rebuild
list. Once you do that you'll likely be OK.

You''ll either want to ssh in to do this or you might want to reboot,
modifying your boot kernel line adding gentoo=nox to not start X at
all, re-emerge and then start X to test.

Good luck,
Mark



Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread pk
On 2011-12-25 20:08, CJoeB wrote:

 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.
 
 Any ideas?

Maybe this:
http://chithanh.blogspot.com/2011/12/xorg-server-111-going-stable.html

?

Best regards

Peter K



Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Mick
On Sunday 25 Dec 2011 19:20:56 Michael Hampicke wrote:
  Today, I was doing a world update and the screen locked - I still had my
  KDE desktop up, but couldn't open a window to kill any processes or
  anything.  So, I held the power button to cause a reboot.  The computer
  booted okay and gave me my login screen, but neither the keyboard nor
  the mouse work.
 
 Wild guess: xorg-server was upgraded to a newer version with changed
 ABI, so you have to remerge everthing installed under x11-drivers
 
 # emerge -1a $(qlist -I -C x11-drivers/)

+1

This is most likely related to the recent xorg updates, which as Michael 
suggests should be resolved by remerging all the xorg related drivers.

I'm not sure why your monitor will not wake up from sleep though.  That's not 
normal.  Have you tried going through the power settings of KDE in case it has 
been set up to sleep to RAM or hibernate and your set up has some acpi problem 
that causes it to crash?
-- 
Regards,
Mick


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


[gentoo-user] LibreOffice 3.5 bug hunting session

2011-12-25 Thread v_2e
  Hello!
  Will the LibreOffice version in Gentoo Portage correspond to the
3.5.0beta2 version by December 28th for bug hunting session?

  Thanks.
Vladimir

- 
 v...@ukr.net



Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread CJoeB
On 12/25/11 14:20, Michael Hampicke wrote:
 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.
 Wild guess: xorg-server was upgraded to a newer version with changed
 ABI, so you have to remerge everthing installed under x11-drivers

 # emerge -1a $(qlist -I -C x11-drivers/)

It's a little hard to do that since, I boot to a login screen and
neither my keyboard nor mouse work - despite the fact that the cursor
places itself in the password field on the login screen, I can't enter
my password since the keyboard doesn't work.  :-)

Regards,

Colleen



-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org





Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread CJoeB
On 12/25/11 14:27, Mark Knecht wrote:
 On Sun, Dec 25, 2011 at 11:08 AM, CJoeB colleen.bea...@gmail.com wrote:
 Happy Holidays, Everyone,

 To lead into the problem I am experiencing, I will let you know about an
 issue I've been having with my desktop (writing this from my laptop).
 Every once in a while, when the screensaver kicks in and then, the
 monitor goes on power save mode (something inherent to the monitor), the
 screen locks (I have not set it to do this) and the only way, I can get
 the computer going again is to reboot it by holding down the power
 button.  This is annoying, but has not caused an issue until today.

 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.

 Any ideas?

 Regards,

 Colleen

 --

 Registered Linux User #411143 with the Linux Counter, http://counter.li.org



 I got burned by this one also. re-emerge all the xf86 module stuff for
 your keyboard, etc. I've got it all in my module-rebuild -C rebuild
 list. Once you do that you'll likely be OK.

 You''ll either want to ssh in to do this or you might want to reboot,
 modifying your boot kernel line adding gentoo=nox to not start X at
 all, re-emerge and then start X to test.

I haven't completely done this, but I did enter the 'gentoo=nox' to my
kernel line and I got the command prompt.  Thank you SO much for this! 
You may not know it, but Santa just gave me another present!  :-)

Regards,

Colleen



-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org




Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Frank Steinmetzger
On Sun, Dec 25, 2011 at 03:51:02PM -0500, CJoeB wrote:

  Wild guess: xorg-server was upgraded to a newer version with changed
  ABI, so you have to remerge everthing installed under x11-drivers
 
  # emerge -1a $(qlist -I -C x11-drivers/)
 
 It's a little hard to do that since, I boot to a login screen and
 neither my keyboard nor mouse work - despite the fact that the cursor
 places itself in the password field on the login screen, I can't enter
 my password since the keyboard doesn't work.  :-)

Well then leave the graphical login out. Either boot to single user mode
(kernel command line parameter single, IIRC) or exclude xdm from starting
during boot by pressing I after the relevant message appeared, and then saying
skip for the xdm service.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Poverty is not a disgrace, but a bloody nuisance.


pgpjghEjbGc9B.pgp
Description: PGP signature


Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread Frank Steinmetzger
On Sun, Dec 25, 2011 at 10:13:22PM +0100, Frank Steinmetzger wrote:

  It's a little hard to do that since, I boot to a login screen and
  neither my keyboard nor mouse work […]
 
 Well then leave the graphical login out. […]

Whoops, that’s what you get if you send answers without reading all new mails
first. -_-
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

“The Vatican is not a state.… a state must have people. There are no
Vaticanians.… No-one gets born in the Vatican except by an unfortunate
accident.” — Geoffrey Robertson


pgpse57X9sD2i.pgp
Description: PGP signature


Re: [gentoo-user] I'm in a Pickle

2011-12-25 Thread CJoeB
On 12/25/11 15:08, Mick wrote:
 On Sunday 25 Dec 2011 19:20:56 Michael Hampicke wrote:
 Today, I was doing a world update and the screen locked - I still had my
 KDE desktop up, but couldn't open a window to kill any processes or
 anything.  So, I held the power button to cause a reboot.  The computer
 booted okay and gave me my login screen, but neither the keyboard nor
 the mouse work.
 Wild guess: xorg-server was upgraded to a newer version with changed
 ABI, so you have to remerge everthing installed under x11-drivers

 # emerge -1a $(qlist -I -C x11-drivers/)
 +1

 This is most likely related to the recent xorg updates, which as Michael 
 suggests should be resolved by remerging all the xorg related drivers.

Solved!  Thank you all so much!! Re-emerging the x related drivers
solved the issue.  Thanks for this tip and how to prevent x from loading
on boot!  You guys are GREAT!  Thanks for being there when I can't
figure out something on my own!
 I'm not sure why your monitor will not wake up from sleep though.  That's not 
 normal.  Have you tried going through the power settings of KDE in case it 
 has 
 been set up to sleep to RAM or hibernate and your set up has some acpi 
 problem 
 that causes it to crash?

I'll look into this!   Thanks!

Happy Holidays!

Colleen


-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org





[gentoo-user] Re: I'm in a Pickle

2011-12-25 Thread Nikos Chantziaras

On 12/25/2011 09:08 PM, CJoeB wrote:

Happy Holidays, Everyone,

To lead into the problem I am experiencing, I will let you know about an
issue I've been having with my desktop (writing this from my laptop).
Every once in a while, when the screensaver kicks in and then, the
monitor goes on power save mode (something inherent to the monitor), the
screen locks (I have not set it to do this) and the only way, I can get
the computer going again is to reboot it by holding down the power
button.  This is annoying, but has not caused an issue until today.


You shouldn't do that.  There's the SysRq key combination to safely exit 
all programs, umount the filesystem and reboot.


You can Google for it.  Wikipedia also has an article:

http://en.wikipedia.org/wiki/Magic_SysRq_key

(The SysRq key is usually the PrintScrn key.)




Re: [gentoo-user] Re: I'm in a Pickle

2011-12-25 Thread Colleen Beamer
On 12/25/11 16:54, Nikos Chantziaras wrote:
 On 12/25/2011 09:08 PM, CJoeB wrote:
 Happy Holidays, Everyone,

 To lead into the problem I am experiencing, I will let you know about an
 issue I've been having with my desktop (writing this from my laptop).
 Every once in a while, when the screensaver kicks in and then, the
 monitor goes on power save mode (something inherent to the monitor), the
 screen locks (I have not set it to do this) and the only way, I can get
 the computer going again is to reboot it by holding down the power
 button. This is annoying, but has not caused an issue until today.

 You shouldn't do that. There's the SysRq key combination to safely exit
all programs, umount the filesystem and reboot.
Yeah,  *know* I shouldn't do that!  :-)  However, you just taught me
something I didn't know.

 You can Google for it. Wikipedia also has an article:

 http://en.wikipedia.org/wiki/Magic_SysRq_key

 (The SysRq key is usually the PrintScrn key.)

Thanks for this!

Regards,

Colleen

-- 

Registered Linux User #411143 with the Linux Counter, http://counter.li.org



Re: [gentoo-user] Re: I'm in a Pickle

2011-12-25 Thread Dale

Colleen Beamer wrote:



Thanks for this!

Regards,

Colleen




This may help too.  This is from a post Neil made a long time ago:

[QUOTE]

Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
full sequence is R-E-I-S-U-B

Reboot
Even
If
System
Utterly
Broken

[END QUOTE]

Don't forget to build support in the kernel too.  I think this is the only one 
needed:

root@fireball / # zcat /proc/config.gz | grep -i sysrq
CONFIG_MAGIC_SYSRQ=y
root@fireball / #

Usually I only get to about the E or I then I get a console.  Getting the 
processes sorted out is the hard part tho.  At least you can do a clean 
shutdown and reboot tho.

Hope that helps.

Dale

:-)  :-)


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

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] Re: I'm in a Pickle

2011-12-25 Thread Michael Mol
On Sun, Dec 25, 2011 at 8:10 PM, Dale rdalek1...@gmail.com wrote:
 Colleen Beamer wrote:



 Thanks for this!

 Regards,

 Colleen



 This may help too.  This is from a post Neil made a long time ago:

 [QUOTE]

 Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
 full sequence is R-E-I-S-U-B

 Reboot
 Even
 If
 System
 Utterly
 Broken

 [END QUOTE]

 Don't forget to build support in the kernel too.  I think this is the only
 one needed:

 root@fireball / # zcat /proc/config.gz | grep -i sysrq
 CONFIG_MAGIC_SYSRQ=y
 root@fireball / #

 Usually I only get to about the E or I then I get a console.  Getting the
 processes sorted out is the hard part tho.  At least you can do a clean
 shutdown and reboot tho.

 Hope that helps.

 Dale

 :-)  :-)


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

 Miss the compile output?  Hint:
 EMERGE_DEFAULT_OPTS=--quiet-build=n

Being that this is the third time the xorg drivers issue has cropped
up in the last week, I put together another blog post for it.

http://funnybutnot.wordpress.com/2011/12/25/xorg-updating-from-1-10-to-1-11-and-fixing-your-system/

-- 
:wq



Re: [gentoo-user] Re: I'm in a Pickle

2011-12-25 Thread Dale

Michael Mol wrote:

On Sun, Dec 25, 2011 at 8:10 PM, Dalerdalek1...@gmail.com  wrote:

Colleen Beamer wrote:



Thanks for this!

Regards,

Colleen



This may help too.  This is from a post Neil made a long time ago:

[QUOTE]

Hold down Atl, hold down SysRq, press each of the keys in turn. The usual
full sequence is R-E-I-S-U-B

Reboot
Even
If
System
Utterly
Broken

[END QUOTE]

Don't forget to build support in the kernel too.  I think this is the only
one needed:

root@fireball / # zcat /proc/config.gz | grep -i sysrq
CONFIG_MAGIC_SYSRQ=y
root@fireball / #

Usually I only get to about the E or I then I get a console.  Getting the
processes sorted out is the hard part tho.  At least you can do a clean
shutdown and reboot tho.

Hope that helps.

Dale

:-)  :-)


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

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n

Being that this is the third time the xorg drivers issue has cropped
up in the last week, I put together another blog post for it.

http://funnybutnot.wordpress.com/2011/12/25/xorg-updating-from-1-10-to-1-11-and-fixing-your-system/



This happens every time another version of xorg goes stable.  I have to 
admit, I forgot to recompile mine too.  I noticed the upgrade but forgot 
to re-emerge the drivers.  I doubt this will change anytime soon 
either.  We are human and emerge doesn't do it automagically, yet.


Maybe I need to add that to my sig.  lol

Dale

:-)  :-)

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

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n