[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Nikos Chantziaras

On 05/21/2010 10:38 PM, Volker Armin Hemmann wrote:

On Freitag 21 Mai 2010, Nikos Chantziaras wrote:


You don't mind the lag (there is lag, no way around it, you just don't
mind because you're not using software that needs good latency, like
software synthesizers) but I do.  So stop trying to convince me that it
works for me too.  To use your own words, please don't speak about
something you don't know anything about.  As I see it, if I have to use
ALSA's OSS-compatibility to get acceptable results, why not use the real
thing instead?


h,mm, lets see - because oss4 is broken by design?


No it's not broken.  It's awesome:

http://insanecoding.blogspot.com/2009/06/state-of-sound-in-linux-not-so-sorry.html



Also, what 'latency' are you talking about?


Latency is the delay between giving the order to play a sound and the 
sound actually being played.  It's usually around 30ms here with 
ALSA/dmix, and around 10ms with OSS/vmix.  It's not funny trying to play 
something in a software synth with a keyboard when having a 30ms latency.





Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Neil Bothwick
On Fri, 21 May 2010 21:49:49 -0400, Daniel D Jones wrote:

 find -name *.ext | xargs -0 rm
 
 I get the result:
 
 rm: cannot remove `Long File Name One.ext\nLong File Name Two.ext\nLong
 File Name Three.ext\n': File name too long.

xargs can suck with anything but plain ASCII-without-spaces filenames.,
and it quite unnecessary here.

find -name *.ext -exe rm {} \;

or maybe even

find -name *.ext -exe rm {} +


-- 
Neil Bothwick

He who asks a question is a fool for a minute,
He who doesn't ask is a fool for a lifetime.


signature.asc
Description: PGP signature


Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Patrick Holthaus
Hey!

On Saturday 22 May 2010 03:49:49 Daniel D Jones wrote:
 Running the command:
 
 find -name *.ext | xargs -0 rm

You might try:

find -name *.ext -print0 | xargs -0 rm

Cheers
Patrick


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


[gentoo-user] Emerge building a binary from installed package

2010-05-22 Thread Dale

Hi,

I think there is a way to do this but it's not sticking out at me on the 
emerge man page.  I'm doing a install and want to build a binary package 
from my running system and install it on the new install.  Basically, I 
don't want to recompile, I just want emerge to copy the correct files 
and make a tarball for me.


I found the buildpkg option but that seems to compile it first then make 
a tarball.  Can I get it to skip the compile part?  Is that a option 
that portage has?


Thanks.

Dale

:-)  :-)



Re: [gentoo-user] Emerge building a binary from installed package

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Dale wrote:
 Hi,
 
 I think there is a way to do this but it's not sticking out at me on the
 emerge man page.  I'm doing a install and want to build a binary package
 from my running system and install it on the new install.  Basically, I
 don't want to recompile, I just want emerge to copy the correct files
 and make a tarball for me.
 
 I found the buildpkg option but that seems to compile it first then make
 a tarball.  Can I get it to skip the compile part?  Is that a option
 that portage has?
 
 Thanks.
 
 Dale
 
 :-)  :-)

quickpkg.

Which has been mentioned hundreds of times on this list alone.



[gentoo-user] Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras
I decided to test PulseAudio on Gentoo since someone claimed the reason 
PulseAudio has a it blows chunks reputation because of Ubuntu shipping 
it with a broken configuration.


So, I did:

  USE=alsa pulseaudio -oss emerge -auDNl --with-bdeps=y world

This installed PulseAudio and rebuilt all applications to drop OSS 
support and use ALSA or Pulse instead.


I also took a look at this:

  http://en.gentoo-wiki.com/wiki/PulseAudio

and did the usermod -a -G plugdev pulse thing.

I rebooted with an ALSA-enabled kernel and with OSSv4 completely 
removed.  But it doesn't work; everything can use ALSA OK, but not PA. 
For example, mplayer -ao pulse video.mkv says:


  socket(): Address family not supported by protocol

What now?




Re: [gentoo-user] Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

 This installed PulseAudio and rebuilt all applications to drop OSS
 support and use ALSA or Pulse instead.
 

sure?



Re: [gentoo-user] Emerge building a binary from installed package

2010-05-22 Thread Dale

Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Dale wrote:
   

Hi,

I think there is a way to do this but it's not sticking out at me on the
emerge man page.  I'm doing a install and want to build a binary package
from my running system and install it on the new install.  Basically, I
don't want to recompile, I just want emerge to copy the correct files
and make a tarball for me.

I found the buildpkg option but that seems to compile it first then make
a tarball.  Can I get it to skip the compile part?  Is that a option
that portage has?

Thanks.

Dale

:-)  :-)
 

quickpkg.

Which has been mentioned hundreds of times on this list alone.

   


That's not portage but it will work just fine and is what I am looking 
for.  I just need to read the right man page next time.  ;-)


Thanks much.

Dale

:-)  :-)



[gentoo-user] Webcam under linux-2.6.34.00

2010-05-22 Thread meino . cramer

Hi,

 Recently I installed linux-2.6.34.00 (vanilla).
 I adopted the config file where (I thought) it
 need to.

 The previouse kernel I used was linux-2.6.32.13 (vanilla).

 With the old kernel I was able to use my Web Cam 
 (Sony Playstation Eye/Omnivision ov534 according to 
 usbview -- see below) via VLC media player 1.0.6 Goldeneye 
 and via guvcview (I use a svn snapshot of this application).
 With the old kernel guvcview does not show any image control
 sliders but works fine so far.

 Using the new kernel, things are going wrong somehow

 When accessing the cam for the first time after a boot,
 there is often a video stream, but the image is much
 too bright. But guvcview offers image control sliders now
 even for my cam.

 But: Using that sliders or accessing the cam a second
 time after restarting as vlc as guvcview results in
 *nothing*: no stream, no picture. The real incarnation
 of a black whole.

 When starting guvcview from the command line it prints
 device temporarily not accessible/available or something
 like that. 

 I haven't figured out whether the cam hangs or the driver
 goes nuts or...

 Powercycling of the Cam via usb unplugging/replugging does
 not help, though.

 I recompiled libv4l, guvcview and vlc when the new kernel
 was booted (and the /usr/src/linux symlink was set accordinglingly)
 but the result was the same.

 What can I do to access and use my webcam under linux-2.6.34.00 
 successfully?

 Below I included information about my system according the webcam:


usbview -v:
Bus 001 Device 003: ID 1415:2000 Nam Tai EE Products Ltd. or OmniVision 
Technologies, Inc. Sony Playstation Eye
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x1415 Nam Tai EE Products Ltd. or OmniVision 
Technologies, Inc.
  idProduct  0x2000 Sony Playstation Eye
  bcdDevice1.00
  iManufacturer   1 OmniVision Technologies, Inc.
  iProduct2 USB Camera-B4.04.27.1
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength  142
bNumInterfaces  3
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0x80
  (Bus Powered)
MaxPower  500mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   3
  bInterfaceClass   255 Vendor Specific Class
  bInterfaceSubClass  0 
  bInterfaceProtocol  0 
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   0
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83  EP 3 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0040  1x 64 bytes
bInterval  10
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   0
  bInterfaceClass 1 Audio
  bInterfaceSubClass  1 Control Device
  bInterfaceProtocol  0 
  iInterface  0 
  AudioControl Interface Descriptor:
bLength 9
bDescriptorType36
bDescriptorSubtype  1 (HEADER)
bcdADC   1.00
wTotalLength   42
bInCollection   1
baInterfaceNr( 0)   2
  AudioControl Interface Descriptor:
bLength12
bDescriptorType36
bDescriptorSubtype  2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType  0x0201 Microphone
bAssocTerminal  2
bNrChannels 4
wChannelConfig 0x
iChannelNames   0 

Re: [gentoo-user] Preventing a shared interrupt

2010-05-22 Thread Adam
 Does anyone know how to prevent my nouveau video card and ath wifi
 card from sharing interrupt 19?  I can't move the video card slot and
 I'd rather not move the wifi card slot if possible.
 
 BTW, does anyone see any other opportunity for interrupt optimization
 here?  I'm trying to optimize for video and especially audio, and I'm
 using a USB 1.0 sound card.
 
 # cat /proc/interrupts
CPU0
   0: 473139   IO-APIC-edge  timer
   1:  2   IO-APIC-edge  i8042
   7:  1   IO-APIC-edge
   8:127   IO-APIC-edge  rtc0
   9:  0   IO-APIC-fasteoi   acpi
  12:  3   IO-APIC-edge  i8042
  14:  0   IO-APIC-edge  ide0
  19: 135597   IO-APIC-fasteoi   nouveau, ath
  20:  2   IO-APIC-fasteoi   ehci_hcd:usb2
  21:  13860   IO-APIC-fasteoi   ehci_hcd:usb1
  22: 971970   IO-APIC-fasteoi   ohci_hcd:usb4
  23:   3446   IO-APIC-fasteoi   ohci_hcd:usb3
  28:  21524   PCI-MSI-edge  ahci

FWIW a grep of the nouveau source doesnt bring up any hits on MSI, so it
looks like the driver doesnt support it yet. Likewise no hits for ath5k,
however ath9k does support it.




[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:


This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.



sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.html

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a 
dep :-/  Will file a bug about it.


As for the results, it's pretty much as I expected: latency cannot 
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix 
though, which is surprising.


Another problem: Amarok 2 stopped working.  That is, it loads OK, but 
there's no sound at all when playing something with the Xine backend. 
The Gstreamer backend works, but (as always) sound quality sucks (pops 
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to 
set audio.driver:alsa in ~/.xine/config, but to no avail; still no sound.





Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  This installed PulseAudio and rebuilt all applications to drop OSS
  support and use ALSA or Pulse instead.
  
  sure?
 
 Never mind, found the problem after googling a lot:
 
 http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.html
 
 PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
 dep :-/  Will file a bug about it.
 
 As for the results, it's pretty much as I expected: latency cannot
 compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
 though, which is surprising.
 
 Another problem: Amarok 2 stopped working.  That is, it loads OK, but
 there's no sound at all when playing something with the Xine backend.
 The Gstreamer backend works, but (as always) sound quality sucks (pops
 and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
 set audio.driver:alsa in ~/.xine/config, but to no avail; still no sound.

yeah, with that set it tries to use alsa, not PA.

Why again are you wasting your time with PA?



[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.html

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
set audio.driver:alsa in ~/.xine/config, but to no avail; still no sound.


yeah, with that set it tries to use alsa, not PA.


audio.driver:pulse also doesn't work :-/



Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to 
actually try it with a correct setup, unlike the broken Ubuntu setup, 
or else everyone will keep saying I don't know what I'm talking about.





Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  This installed PulseAudio and rebuilt all applications to drop OSS
  support and use ALSA or Pulse instead.
  
  sure?
  
  Never mind, found the problem after googling a lot:
  
  http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.htm
  l
  
  PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
  dep :-/  Will file a bug about it.
  
  As for the results, it's pretty much as I expected: latency cannot
  compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
  though, which is surprising.
  
  Another problem: Amarok 2 stopped working.  That is, it loads OK, but
  there's no sound at all when playing something with the Xine backend.
  The Gstreamer backend works, but (as always) sound quality sucks (pops
  and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
  set audio.driver:alsa in ~/.xine/config, but to no avail; still no
  sound.
  
  yeah, with that set it tries to use alsa, not PA.
 
 audio.driver:pulse also doesn't work :-/
 
  Why again are you wasting your time with PA?
 
 Because people claim ALSA+Pulse is better than OSS4.  So I ought to
 actually try it with a correct setup, unlike the broken Ubuntu setup,
 or else everyone will keep saying I don't know what I'm talking about.

really? There are people claiming that? ok, everything is better than OSS4 - 
but PA? That crap is almost as bad as ESD.



Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread David W Noon
On Sat, 22 May 2010 10:10:02 +0200, Neil Bothwick wrote about Re:
[gentoo-user] xargs and rm funkiness:

On Fri, 21 May 2010 21:49:49 -0400, Daniel D Jones wrote:

 find -name *.ext | xargs -0 rm
 
 I get the result:
 
 rm: cannot remove `Long File Name One.ext\nLong File Name
 Two.ext\nLong File Name Three.ext\n': File name too long.

xargs can suck with anything but plain ASCII-without-spaces filenames.,
and it quite unnecessary here.

find -name *.ext -exe rm {} \;

or maybe even

find -name *.ext -exe rm {} +

Or simpler still:

find -name *.ext -delete

-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] Can't get PulseAudio to work

2010-05-22 Thread David W Noon
On Sat, 22 May 2010 12:10:02 +0200, Nikos Chantziaras wrote about
[gentoo-user] Can't get PulseAudio to work:

[snip]
I rebooted with an ALSA-enabled kernel and with OSSv4 completely 
removed.  But it doesn't work; everything can use ALSA OK, but not PA. 
For example, mplayer -ao pulse video.mkv says:

   socket(): Address family not supported by protocol

What now?

Have you started the PulseAudio daemon?
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Neil Bothwick
On Sat, 22 May 2010 12:35:10 +0100, David W Noon wrote:

 find -name *.ext -exe rm {} +  
 
 Or simpler still:
 
 find -name *.ext -delete

Neat - I hadn't noticed that option.

Anyone for find / -delete ?


-- 
Neil Bothwick

Top Oxymorons Number 31: Small crowd


signature.asc
Description: PGP signature


[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.htm
l

PA does not work without ConsoleKit, yet the ebuild did not pull CK as a
dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone ALSA+dmix
though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried to
set audio.driver:alsa in ~/.xine/config, but to no avail; still no
sound.


yeah, with that set it tries to use alsa, not PA.


audio.driver:pulse also doesn't work :-/


Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to
actually try it with a correct setup, unlike the broken Ubuntu setup,
or else everyone will keep saying I don't know what I'm talking about.


really? There are people claiming that? ok, everything is better than OSS4 -
but PA? That crap is almost as bad as ESD.


Well if I'm going to use ALSA I need something that gives me 
per-application volume control since ALSA is too broken to even provide 
that while the rest of the world moved on.





Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  This installed PulseAudio and rebuilt all applications to drop OSS
  support and use ALSA or Pulse instead.
  
  sure?
  
  Never mind, found the problem after googling a lot:
  
  http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.h
  tm l
  
  PA does not work without ConsoleKit, yet the ebuild did not pull CK as
  a dep :-/  Will file a bug about it.
  
  As for the results, it's pretty much as I expected: latency cannot
  compete with OSS4's vmix.  But it isn't worse than stand-alone
  ALSA+dmix though, which is surprising.
  
  Another problem: Amarok 2 stopped working.  That is, it loads OK, but
  there's no sound at all when playing something with the Xine backend.
  The Gstreamer backend works, but (as always) sound quality sucks (pops
  and crackles).  Any way to get Phonon-Xine to work with PA?  I tried
  to set audio.driver:alsa in ~/.xine/config, but to no avail; still
  no sound.
  
  yeah, with that set it tries to use alsa, not PA.
  
  audio.driver:pulse also doesn't work :-/
  
  Why again are you wasting your time with PA?
  
  Because people claim ALSA+Pulse is better than OSS4.  So I ought to
  actually try it with a correct setup, unlike the broken Ubuntu setup,
  or else everyone will keep saying I don't know what I'm talking about.
  
  really? There are people claiming that? ok, everything is better than
  OSS4 - but PA? That crap is almost as bad as ESD.
 
 Well if I'm going to use ALSA I need something that gives me
 per-application volume control since ALSA is too broken to even provide
 that while the rest of the world moved on.

funny how I can change the volume in wesnoth or vlc, independent from the 
rest. You are blaming the wrong people here. 



Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:
  On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
  This installed PulseAudio and rebuilt all applications to drop OSS
  support and use ALSA or Pulse instead.
  
  sure?
  
  Never mind, found the problem after googling a lot:
  
  http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.h
  tm l
  
  PA does not work without ConsoleKit, yet the ebuild did not pull CK as
  a dep :-/  Will file a bug about it.
  
  As for the results, it's pretty much as I expected: latency cannot
  compete with OSS4's vmix.  But it isn't worse than stand-alone
  ALSA+dmix though, which is surprising.
  
  Another problem: Amarok 2 stopped working.  That is, it loads OK, but
  there's no sound at all when playing something with the Xine backend.
  The Gstreamer backend works, but (as always) sound quality sucks (pops
  and crackles).  Any way to get Phonon-Xine to work with PA?  I tried
  to set audio.driver:alsa in ~/.xine/config, but to no avail; still
  no sound.
  
  yeah, with that set it tries to use alsa, not PA.
  
  audio.driver:pulse also doesn't work :-/
  
  Why again are you wasting your time with PA?
  
  Because people claim ALSA+Pulse is better than OSS4.  So I ought to
  actually try it with a correct setup, unlike the broken Ubuntu setup,
  or else everyone will keep saying I don't know what I'm talking about.
  
  really? There are people claiming that? ok, everything is better than
  OSS4 - but PA? That crap is almost as bad as ESD.
 
 Well if I'm going to use ALSA I need something that gives me
 per-application volume control since ALSA is too broken to even provide
 that while the rest of the world moved on.

oh yeah, one other thing:
http://alsa.opensrc.org/index.php/Softvol

ALSA CAN control the volume of every single app. You just choose to ignore it. 
Or you chose not to look for it. Either way, it is there. 

Without the inherent brokenness of OSS4




[gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 04:03 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

This installed PulseAudio and rebuilt all applications to drop OSS
support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.h
tm l

PA does not work without ConsoleKit, yet the ebuild did not pull CK as
a dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone
ALSA+dmix though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads OK, but
there's no sound at all when playing something with the Xine backend.
The Gstreamer backend works, but (as always) sound quality sucks (pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I tried
to set audio.driver:alsa in ~/.xine/config, but to no avail; still
no sound.


yeah, with that set it tries to use alsa, not PA.


audio.driver:pulse also doesn't work :-/


Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to
actually try it with a correct setup, unlike the broken Ubuntu setup,
or else everyone will keep saying I don't know what I'm talking about.


really? There are people claiming that? ok, everything is better than
OSS4 - but PA? That crap is almost as bad as ESD.


Well if I'm going to use ALSA I need something that gives me
per-application volume control since ALSA is too broken to even provide
that while the rest of the world moved on.


oh yeah, one other thing:
http://alsa.opensrc.org/index.php/Softvol

ALSA CAN control the volume of every single app. You just choose to ignore it.
Or you chose not to look for it. Either way, it is there.

Without the inherent brokenness of OSS4


You live in your own little world, Armin.  That has nothing to do with 
per-app volume.  You're as ignorant as ever and I must ask myself why I 
choose to waste time talking with you, over and over again.


This discussion is over.  Welcome to my killfile.

*plonk*




Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Dale

Nikos Chantziaras wrote:

On 05/22/2010 04:03 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:

On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:

On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
This installed PulseAudio and rebuilt all applications to drop 
OSS

support and use ALSA or Pulse instead.


sure?


Never mind, found the problem after googling a lot:

http://lists.freebsd.org/pipermail/freebsd-gnome/2010-January/023768.h 


tm l

PA does not work without ConsoleKit, yet the ebuild did not pull 
CK as

a dep :-/  Will file a bug about it.

As for the results, it's pretty much as I expected: latency cannot
compete with OSS4's vmix.  But it isn't worse than stand-alone
ALSA+dmix though, which is surprising.

Another problem: Amarok 2 stopped working.  That is, it loads 
OK, but
there's no sound at all when playing something with the Xine 
backend.
The Gstreamer backend works, but (as always) sound quality sucks 
(pops
and crackles).  Any way to get Phonon-Xine to work with PA?  I 
tried
to set audio.driver:alsa in ~/.xine/config, but to no avail; 
still

no sound.


yeah, with that set it tries to use alsa, not PA.


audio.driver:pulse also doesn't work :-/


Why again are you wasting your time with PA?


Because people claim ALSA+Pulse is better than OSS4.  So I ought to
actually try it with a correct setup, unlike the broken Ubuntu 
setup,
or else everyone will keep saying I don't know what I'm talking 
about.


really? There are people claiming that? ok, everything is better than
OSS4 - but PA? That crap is almost as bad as ESD.


Well if I'm going to use ALSA I need something that gives me
per-application volume control since ALSA is too broken to even provide
that while the rest of the world moved on.


oh yeah, one other thing:
http://alsa.opensrc.org/index.php/Softvol

ALSA CAN control the volume of every single app. You just choose to 
ignore it.

Or you chose not to look for it. Either way, it is there.

Without the inherent brokenness of OSS4


You live in your own little world, Armin.  That has nothing to do with 
per-app volume.  You're as ignorant as ever and I must ask myself why 
I choose to waste time talking with you, over and over again.


This discussion is over.  Welcome to my killfile.

*plonk*



Well, I'm not Armin but it does talk about per-app volume.  This is a 
quote from the link above:


Another usefull thing you can do is control the volume of every 
application seperatly, even if the application can't do it on its own.


It's the third sentence on the page.  I'm not sure how you could miss 
that.  I need new glasses and have one eye I'm almost blind in and I saw 
that.


You may want to adjust your killfile.

Dale

:-)  :-)



[gentoo-user] spell checking using kile under gnome

2010-05-22 Thread W.Kenworthy
I am using kile under gnome to edit latex files.  Its ok, but I am
having problems with the spell checker - it works and does the job
except it cant add to dictionary so once I restart kile, I have to
start again with every discrepancy picked up by the spell checker.

I suspect its because of using it under gnome there is no way to set a
personal dictionary. Ive installed kcontrol which is apparently what you
use in KDE to set the dictionaries, but I cant see how to set a personal
dictionary.  Maybe I need to install/run a full kde to set it? - then
will it stay set under gnome?

Any help appreciated!

BillK






Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread luis jure

on 2010-05-22 at 16:57 Nikos Chantziaras wrote:

On 05/22/2010 04:03 PM, Volker Armin Hemmann wrote:
 On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 02:24 PM, Volker Armin Hemmann wrote:
 On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 01:46 PM, Volker Armin Hemmann wrote:
 On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 12:34 PM, Volker Armin Hemmann wrote:
 On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 This installed PulseAudio and rebuilt all applications to

guys, ever heard of trimming your quotes?



Re: [gentoo-user] Re: Can't get PulseAudio to work

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Dale wrote:

 
 Another usefull thing you can do is control the volume of every
 application seperatly, even if the application can't do it on its own.
 
 It's the third sentence on the page.  I'm not sure how you could miss
 that.  I need new glasses and have one eye I'm almost blind in and I saw
 that.
 
 You may want to adjust your killfile.
 
 Dale

he is completely blind in his pro OSSv4 trollness. No suprise, really.



[gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Christopher Kurtis Koeber
Hello, 

I am trying to start OpenLDAP (I am following this guide
http://www.gentoo.org/doc/en/ldap-howto.xml here) but the service fails to
start. I get the double exclamations like this: 


Code:



 * Starting ldap-server ...  [ !! ] 



When I go to /var/log/messages nothing is logged there. Anything I can do to
fix this? 

Thanks in advances for your time.

 

Regards,

Christopher Koeber



[gentoo-user] Re: nouveau-drm compile failure

2010-05-22 Thread walt

On 05/21/2010 04:42 PM, Grant wrote:


I can now start X via the
nouveau driver.  The only problem I see in Xorg.0.log is:

(EE) AIGLX error: dlopen of /usr/lib64/dri/nouveau_dri.so failed
(/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No
such file or directory)
(EE) AIGLX: reverting to software rendering


According to the freedesktop.org documentation, AIGLX has to do with
3D acceleration and is still under development, not supported for use
by the general public.  They recommend for users of 2D acceleration
to put this in xorg.conf to get rid of the error message:

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
Option AIGLXfalse   

If you want to try 3D accel at your own risk, they say, you need to run
their latest development libraries from git.  I don't do that, so I don't
know if the gentoo packages include that stuff.  Maybe someone else knows?





Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Daniel D Jones
On Friday 21 May 2010 22:11:49 cov...@ccs.covici.com wrote:
 Daniel D Jones ddjo...@riddlemaster.org wrote:
  Running the command:
 
  find -name *.ext | xargs -0 rm
 
  I get the result:
 
  rm: cannot remove `Long File Name One.ext\nLong File Name Two.ext\nLong
  File Name Three.ext\n': File name too long.
 
  (The actual list is much longer than this, of course, or I wouldn't be
  using xargs.)  For some reason, the \n isn't being recognized as a
  separator but rather as a part of a single long file name.  Don't think
  $IFS would affect a command like rm but it doesn't appear to be the
  issue:
 
  ddjo...@merlin ~ $ set | grep IFS
  IFS=$' \t\n'
 
  I don't see any other ser variable which looks like a likely candidate to
  cause the behavior.  Anyone have a clue what's going on?
 
 Why do you have -0 -- this replaces the \n's with a null character -- is
 that what you want?

Not exactly.  It doesn't replace anything.  It tells xargs to look for a null 
to separate fields and to ignore the normal field separation characters.  This 
is required if you have spaces in the field name, otherwise xargs sees the 
spaces as a field separator.

xargs was doing exactly what I told it to do.  Unfortunately, I didn't read 
the man pages and was relying on some poorly written web pages which indicated 
that -0 told xargs to skip spaces but didn't mention that it also told it to 
ignore \n.  

The solution, as Patrick Holthaus pointed out, was to use the -print0 argument 
with find, which instructs find to use the null character as a field separator 
in 
its output.

-- 
The road of excess leads to the palace of wisdom. - William Blake



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Robin Atwood
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
 Hello,
 
 I am trying to start OpenLDAP (I am following this guide
 http://www.gentoo.org/doc/en/ldap-howto.xml here) but the service fails
 to start. I get the double exclamations like this:
 
 
 Code:
 
 
 
  * Starting ldap-server ...  [ !! ]
 
 
 
 When I go to /var/log/messages nothing is logged there. Anything I can do
 to fix this?

Take a look at /var/log/ldaplog!

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











[gentoo-user] Re: spell checking using kile under gnome

2010-05-22 Thread walt

On 05/22/2010 07:17 AM, W.Kenworthy wrote:

I am using kile under gnome to edit latex files.  Its ok, but I am
having problems with the spell checker - it works and does the job
except it cant add to dictionary...


I know nothing about kile, and little about latex, but I notice that
gedit does have a LaTeX highlighting mode in the View::Highlighting::
Markup:: menu.  Would that work for you?





Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Robin Atwood
On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
 When I go to /var/log/messages nothing is logged there. Anything I can do
 to fix this?

Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd messages 
should be written with facility local4. Trying it with the --debug option on 
the command line.

-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--











Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Canek Peláez Valdés
On Fri, May 21, 2010 at 2:29 PM, Nikos Chantziaras rea...@arcor.de wrote:
[...]
 because you're not using software that needs good latency, like software
 synthesizers) but I do.

Then you're doing it wrong. If you are doing professional audio (a
little fact, that, by the way, you *NEVER* mentioned; you talked about
boot times and FPS in games, but not about professional audio), using
PulseAudio it's not going to work for you. Lennart himself said so.

But even in the case of professional audio, OSS4 is not the answer.
Because the mixing it belongs in user space, not the kernel. The
answer you should look at, is Jack:

http://jackaudio.org/

And Jack runs in user space, obviously, and on top of ALSA. And it has
*incredible* low latencies; you should try it Lennart wrote a
comparison between Jack and PulseAudio:

http://0pointer.de/blog/projects/when-pa-and-when-not.html

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Canek Peláez Valdés
On Sat, May 22, 2010 at 1:21 AM, Nikos Chantziaras rea...@arcor.de wrote:
 Latency is the delay between giving the order to play a sound and the sound
 actually being played.  It's usually around 30ms here with ALSA/dmix, and
 around 10ms with OSS/vmix.  It's not funny trying to play something in a
 software synth with a keyboard when having a 30ms latency.

As I said, you're doing it wrong. No normal (average desktop, media
center, laptop, linux-phone) user needs 10ms of latency in audio.
That's overkill. Yours is a special case, and you need special
software. Try Jack.

And it doesn't need to be in kernel space, by the way. OSS4 is dying
because of that.

For the rest of us mere mortals, PulseAudio Rocks; it has *variable*
latencies by design, so the audio processing doesn't eat up all the
battery life. Again, read the comparison between PulseAudio and Jack:

http://0pointer.de/blog/projects/when-pa-and-when-not.html

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Canek Peláez Valdés wrote:
 On Fri, May 21, 2010 at 2:29 PM, Nikos Chantziaras rea...@arcor.de wrote:
 [...]
 
  because you're not using software that needs good latency, like software
  synthesizers) but I do.
 
 Then you're doing it wrong. If you are doing professional audio (a
 little fact, that, by the way, you *NEVER* mentioned; you talked about
 boot times and FPS in games, but not about professional audio), using
 PulseAudio it's not going to work for you. Lennart himself said so.
 
 But even in the case of professional audio, OSS4 is not the answer.
 Because the mixing it belongs in user space, not the kernel. The
 answer you should look at, is Jack:
 
 http://jackaudio.org/
 
 And Jack runs in user space, obviously, and on top of ALSA. And it has
 *incredible* low latencies; you should try it Lennart wrote a
 comparison between Jack and PulseAudio:
 
 http://0pointer.de/blog/projects/when-pa-and-when-not.html
 
 Regards.

your posts are in vain. He wants to troll and just show how 'superior' OSSv4 
is. To do that he uses the crappiest solutions, whines a lot and ignores 
facts.



Re: [gentoo-user] Emerge building a binary from installed package

2010-05-22 Thread Crístian Viana
yes it is, quickpkg is part of sys-apps/portage :-)

$ equery b /usr/sbin/quickpkg
* Searching for /usr/sbin/quickpkg ...
sys-apps/portage-2.1.8.3 (/usr/lib64/portage/bin/quickpkg)
sys-apps/portage-2.1.8.3 (/usr/sbin/quickpkg -
../lib64/portage/bin/quickpkg)

On Sat, May 22, 2010 at 6:37 AM, Dale rdalek1...@gmail.com wrote:

 Volker Armin Hemmann wrote:

 On Samstag 22 Mai 2010, Dale wrote:


 Hi,

 I think there is a way to do this but it's not sticking out at me on the
 emerge man page.  I'm doing a install and want to build a binary package
 from my running system and install it on the new install.  Basically, I
 don't want to recompile, I just want emerge to copy the correct files
 and make a tarball for me.

 I found the buildpkg option but that seems to compile it first then make
 a tarball.  Can I get it to skip the compile part?  Is that a option
 that portage has?

 Thanks.

 Dale

 :-)  :-)


 quickpkg.

 Which has been mentioned hundreds of times on this list alone.




 That's not portage but it will work just fine and is what I am looking for.
  I just need to read the right man page next time.  ;-)

 Thanks much.

 Dale

 :-)  :-)




Re: [gentoo-user] Emerge building a binary from installed package

2010-05-22 Thread Dale

Crístian Viana wrote:

yes it is, quickpkg is part of sys-apps/portage :-)

$ equery b /usr/sbin/quickpkg
* Searching for /usr/sbin/quickpkg ...
sys-apps/portage-2.1.8.3 (/usr/lib64/portage/bin/quickpkg)
sys-apps/portage-2.1.8.3 (/usr/sbin/quickpkg - 
../lib64/portage/bin/quickpkg)




Allow me to clarify then.  It's not emerge.  I was looking at the emerge 
man page.  Obviously I was looking in the wrong place tho.  ;-)


Dale

:-)  :-)



[gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Nikos Chantziaras

On 05/22/2010 07:59 PM, Canek Peláez Valdés wrote:

On Sat, May 22, 2010 at 1:21 AM, Nikos Chantziarasrea...@arcor.de  wrote:

Latency is the delay between giving the order to play a sound and the sound
actually being played.  It's usually around 30ms here with ALSA/dmix, and
around 10ms with OSS/vmix.  It's not funny trying to play something in a
software synth with a keyboard when having a 30ms latency.


As I said, you're doing it wrong. No normal (average desktop, media
center, laptop, linux-phone) user needs 10ms of latency in audio.
That's overkill. Yours is a special case, and you need special
software. Try Jack.


I don't do professional audio.  I have a normal PC.  And just like I 
sometimes use a synth in Windows (I'm just a hobbyist), I'd like to do 
the same in Linux.


Windows: I don't need Jack there.  Audio latency is low even with 
non-ASIO drivers.


Linux: I suddenly need Jack and specialty hacks and must do without a 
mixer!  No thanks.  OSSv4 allows me to use my machine in the same manner 
as Windows: It just works and does the right thing regardless of the 
application I'm running.


ALSA/Pulse needing third-party stuff just to get basics right 
(acceptable latency; not *ultra* low latency, just acceptable one) is a 
sign that they're not designed right.


And OSS4 dying because of kernel-mixing is a bit far-stretched.  No FP 
mixing in kernel is Linux-specific.  Other kernels don't have a problem 
with that.


And in the end, you know what?  Even if OSS4 had a broken design, it's 
still better, because it works better.  At least it gets the basics 
right.  Other operating systems are much more advanced in that manner. 
It's ALSA that holds Linux audio back.





Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Volker Armin Hemmann
On Samstag 22 Mai 2010, Nikos Chantziaras wrote:
 On 05/22/2010 07:59 PM, Canek Peláez Valdés wrote:
  On Sat, May 22, 2010 at 1:21 AM, Nikos Chantziarasrea...@arcor.de  
wrote:
  Latency is the delay between giving the order to play a sound and the
  sound actually being played.  It's usually around 30ms here with
  ALSA/dmix, and around 10ms with OSS/vmix.  It's not funny trying to
  play something in a software synth with a keyboard when having a 30ms
  latency.
  
  As I said, you're doing it wrong. No normal (average desktop, media
  center, laptop, linux-phone) user needs 10ms of latency in audio.
  That's overkill. Yours is a special case, and you need special
  software. Try Jack.
 
 I don't do professional audio.  I have a normal PC.  And just like I
 sometimes use a synth in Windows (I'm just a hobbyist), I'd like to do
 the same in Linux.
 
 Windows: I don't need Jack there.  Audio latency is low even with
 non-ASIO drivers.
 
 Linux: I suddenly need Jack and specialty hacks and must do without a
 mixer!  No thanks.  OSSv4 allows me to use my machine in the same manner
 as Windows: It just works and does the right thing regardless of the
 application I'm running.
 
 ALSA/Pulse needing third-party stuff just to get basics right
 (acceptable latency; not *ultra* low latency, just acceptable one) is a
 sign that they're not designed right.
 
 And OSS4 dying because of kernel-mixing is a bit far-stretched.  No FP
 mixing in kernel is Linux-specific.  Other kernels don't have a problem
 with that.
 
 And in the end, you know what?  Even if OSS4 had a broken design, it's
 still better, because it works better.  At least it gets the basics
 right.  Other operating systems are much more advanced in that manner.
 It's ALSA that holds Linux audio back.

in case that it works at all. OSSv4 fucked up very hard here.

And for some magical reasons, I have no problem at all with latencies.

But sometimes you complain about latencies, and when people showing up, that 
lats are not a problem, you switch over to 'volume' and 'mixing'. Just to 
ignore the facts presented there.

Go troll somewhere else. Maybe the OSS fanboy mailing list.



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Ward Poelmans
On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:
 OK, I did that, but the output is hard to parse through. Attached is text of
 this command:

 /etc/init.d/slapd --debug restart

That puts the debug of the init scripts on, not of openldap. Try:
slapd -d 65535

That should give you all the debugging output of slapd.

Ward



Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Jan Engelhardt
On Saturday 2010-05-22 09:46, Neil Bothwick wrote:

On Fri, 21 May 2010 21:49:49 -0400, Daniel D Jones wrote:

 find -name *.ext | xargs -0 rm
 
 I get the result:
 
 rm: cannot remove `Long File Name One.ext\nLong File Name Two.ext\nLong
 File Name Three.ext\n': File name too long.

xargs can suck with anything but plain ASCII-without-spaces filenames.,

That's why you use NUL terminators. Simple as that.

Also find's -exe calls rm *for each* file when used with \;.

find -name *.ext -exe rm {} \;

or maybe even

find -name *.ext -exe rm {} +



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Kaddeh
or...
you could run slaptest and get some failure output.
I noticed that my slapd was having issues too, I managed to track it down to
a bdb version mismatch

miniroute ~ # slaptest
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB
4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03)
backend_init: initialized for type bdb
slaptest: slap_init failed!
miniroute ~ #


On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans wpoel...@gmail.com wrote:

 On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
 ckoe...@gmail.com wrote:
  OK, I did that, but the output is hard to parse through. Attached is text
 of
  this command:
 
  /etc/init.d/slapd --debug restart

 That puts the debug of the init scripts on, not of openldap. Try:
 slapd -d 65535

 That should give you all the debugging output of slapd.

 Ward




RE: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Christopher Kurtis Koeber
Hey! Thanks! Much better than sifting in the dark :)

 

Here is my output:

 

XX~ # slaptest

hdb_db_open: warning - no DB_CONFIG file found in directory
/var/lib/openldap-data: (2).

Expect poor performance for suffix dc= ,dc=XXX.

hdb_db_open: database dc= ,dc=XXX:
db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
directory (2).

backend_startup_one (type=hdb, suffix=dc=,dc=XXX): bi_db_open
failed! (2)

slap_startup failed (test would succeed using the -u switch)

 

So, I am guessing I need to initialize somehow? Is that right?

 

Thanks again.

 

Regards,

 

Christopher Kurtis Koeber

(W): (202) 885-8654

(C): (301) 467-8417

 http://www.chriskoeber.com/ http://www.chriskoeber.com

 

From: Kaddeh [mailto:kad...@gmail.com] 
Sent: Saturday, May 22, 2010 3:13 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

 

or...
you could run slaptest and get some failure output.
I noticed that my slapd was having issues too, I managed to track it down to
a bdb version mismatch

miniroute ~ # slaptest
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB
4.8.26: (2010-03-14), got Berkeley DB 4.8.30: (2010-05-03)
backend_init: initialized for type bdb
slaptest: slap_init failed!
miniroute ~ #
 

On Sat, May 22, 2010 at 11:37 AM, Ward Poelmans wpoel...@gmail.com wrote:

On Sat, May 22, 2010 at 19:23, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:
 OK, I did that, but the output is hard to parse through. Attached is text
of
 this command:

 /etc/init.d/slapd --debug restart

That puts the debug of the init scripts on, not of openldap. Try:
slapd -d 65535

That should give you all the debugging output of slapd.

Ward

 



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Ward Poelmans
On Sat, May 22, 2010 at 21:26, Christopher Kurtis Koeber
ckoe...@gmail.com wrote:

 XX~ # slaptest

 hdb_db_open: warning - no DB_CONFIG file found in directory
 /var/lib/openldap-data: (2).

 Expect poor performance for suffix dc= ,dc=XXX.

 hdb_db_open: database dc= ,dc=XXX:
 db_open(/var/lib/openldap-data/id2entry.bdb) failed: No such file or
 directory (2).

 backend_startup_one (type=hdb, suffix=dc=,dc=XXX): bi_db_open
 failed! (2)

 slap_startup failed (test would succeed using the -u switch)

 So, I am guessing I need to initialize somehow? Is that right?

Normally, if the directory /var/lib/openldap-data/ exists and is
read-writeable for the user under which slapd is running, slapd
creates the database for you. But you beter copy a DB_CONFIG to there
for good perfomance.

Ward



[gentoo-user] Java problem

2010-05-22 Thread David Relson
Greetings,

I'd like to install eclipse, to experiment with it.  Emerging
eclipse-sdk wants to pull in a whole lot of packages which is not a bad
thing except that about 12 or 15 of the emerges fail, apparently for
the same reason:

 * CPV:  dev-java/ant-core-1.8.1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
!!! ERROR: Package ant-junit was not found!
 * Unable to determine VM for building from dependencies:
NV_DEPEND: =virtual/jdk-1.4
!dev-java/ant-tasks
!dev-java/ant-optional  =dev-java/java-config-2.1.9-r1
   source? ( app-arch/zip ) 

=dev-java/javatoolkit-0.3.0-r2
 * ERROR: dev-java/ant-core-1.8.1 failed:
 *   Failed to determine VM for building.
 * 
 * Call stack:
 * ebuild.sh, line   48:  Called pkg_setup
 * ebuild.sh, line 1346:  Called java-pkg-2_pkg_setup
 * java-pkg-2.eclass, line   63:  Called java-pkg_init
 *   java-utils-2.eclass, line 2126:  Called java-pkg_switch-vm
 *   java-utils-2.eclass, line 2550:  Called die
 * The specific snippet of code:
 *  die Failed to determine VM for 
   building.
 * 
 * If you need support, post the output of 'emerge --info
   =dev-java/ant-core-1.8.1',
 * the complete build log and the output of 'emerge -pqv
   =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please
   include the following information: GENTOO_VM=  CLASSPATH=
   JAVA_HOME= JAVACFLAGS= COMPILER=
and of course, the output of emerge --info

I do have virtual/jdk, dev-java/sun-jdk and many other dev-java and
java-virtuals packages installed and OpenOffice runs.  As advised by
the Gentoo Java Packaging Guide, I've created the following symlink:

  HOME/.gentoo/java-config-2/current-user-vm
- /etc/java-config-2/current-system-vm

Where/how are variables GENTOO_VM, CLASSPATH, JAVA_HOME, JAVACFLAGS, and
COMPILER supposed to be set ???

What else am I missing?

Thanks.

David



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Canek Peláez Valdés
On Sat, May 22, 2010 at 1:02 PM, Nikos Chantziaras rea...@arcor.de wrote:
[snip]
 I don't do professional audio.  I have a normal PC.  And just like I
 sometimes use a synth in Windows (I'm just a hobbyist), I'd like to do the
 same in Linux.

You can; but you have to use special software, because yours is a
special case. The normal desktop/laptop user does not use a synth.

 ALSA/Pulse needing third-party stuff just to get basics right (acceptable
 latency; not *ultra* low latency, just acceptable one) is a sign that
 they're not designed right.

Your definition of acceptable is *ultra* low to me, and many others.
To me acceptable latency means that the audio system does not waste my
laptop/phone battery.

 And in the end, you know what?  Even if OSS4 had a broken design, it's still
 better, because it works better.

This is your principal problem: you think your use-case is universal,
and it's not. To me Alsa+PulseAudio works better because it allows the
battery of my laptop to last for hours while I see a movie with my
bluetooth headset. With the latencies you want, that's not possible. I
believe my use-case is more general.

  At least it gets the basics right.  Other
 operating systems are much more advanced in that manner. It's ALSA that
 holds Linux audio back.

Jack uses ALSA. From the Jack FAQ page (http://jackaudio.org/faq):

quote
Doesn't use JACK add latency?

There is NO extra latency caused by using JACK for audio input and
output. When we say none, we mean absolutely zero. The only impact of
using JACK is a slight increase in the amount of work done by the CPU
to process a given chunk of audio, which means that in theory you
could not get 100% of the processing power that you might get it if
your application(s) used ALSA or CoreAudio directly. However, given
that the difference is less than 1%, and that your system will be
unstable before you get close to 80% of the theoretical processing
power, the effect is completely disregardable.
/quote

ALSA works great. And for regular users, with PulseAudio both are full
of awesome awesomeness. For your use-case, you should try Jack.

Regards.
-- 
Canek Peláez Valdés
Instituto de Matemáticas
Universidad Nacional Autónoma de México



Re: [gentoo-user] Re: Phonon + PulseAudio Problem

2010-05-22 Thread Barry Jibb

On 22/05/10 21:26, Canek Peláez Valdés wrote:

On Sat, May 22, 2010 at 1:02 PM, Nikos Chantziarasrea...@arcor.de  wrote:
[snip]
   

I don't do professional audio.  I have a normal PC.  And just like I
sometimes use a synth in Windows (I'm just a hobbyist), I'd like to do the
same in Linux.
 

You can; but you have to use special software, because yours is a
special case. The normal desktop/laptop user does not use a synth.

   

ALSA/Pulse needing third-party stuff just to get basics right (acceptable
latency; not *ultra* low latency, just acceptable one) is a sign that
they're not designed right.
 

Your definition of acceptable is *ultra* low to me, and many others.
To me acceptable latency means that the audio system does not waste my
laptop/phone battery.

   

And in the end, you know what?  Even if OSS4 had a broken design, it's still
better, because it works better.
 

This is your principal problem: you think your use-case is universal,
and it's not. To me Alsa+PulseAudio works better because it allows the
battery of my laptop to last for hours while I see a movie with my
bluetooth headset. With the latencies you want, that's not possible. I
believe my use-case is more general.

   

  At least it gets the basics right.  Other
operating systems are much more advanced in that manner. It's ALSA that
holds Linux audio back.
 

Jack uses ALSA. From the Jack FAQ page (http://jackaudio.org/faq):

quote
Doesn't use JACK add latency?

There is NO extra latency caused by using JACK for audio input and
output. When we say none, we mean absolutely zero. The only impact of
using JACK is a slight increase in the amount of work done by the CPU
to process a given chunk of audio, which means that in theory you
could not get 100% of the processing power that you might get it if
your application(s) used ALSA or CoreAudio directly. However, given
that the difference is less than 1%, and that your system will be
unstable before you get close to 80% of the theoretical processing
power, the effect is completely disregardable.
/quote

ALSA works great. And for regular users, with PulseAudio both are full
of awesome awesomeness. For your use-case, you should try Jack.

Regards.
   

Can someone unsubscribe me please?!?!?!?!?!?



Re: [gentoo-user] Re: nouveau-drm compile failure

2010-05-22 Thread Grant
 I can now start X via the
 nouveau driver.  The only problem I see in Xorg.0.log is:

 (EE) AIGLX error: dlopen of /usr/lib64/dri/nouveau_dri.so failed
 (/usr/lib64/dri/nouveau_dri.so: cannot open shared object file: No
 such file or directory)
 (EE) AIGLX: reverting to software rendering

 According to the freedesktop.org documentation, AIGLX has to do with
 3D acceleration and is still under development, not supported for use
 by the general public.  They recommend for users of 2D acceleration
 to put this in xorg.conf to get rid of the error message:

 Section ServerLayout
    Identifier     X.org Configured
    Screen      0  Screen0 0 0
    Option         AIGLX        false   

 If you want to try 3D accel at your own risk, they say, you need to run
 their latest development libraries from git.  I don't do that, so I don't
 know if the gentoo packages include that stuff.  Maybe someone else knows?

Thanks Walt.  I don't need 3D so if that's what the error refers to I
won't worry about it.  The system is running great on Nouveau now.

- Grant



Re: [gentoo-user] Preventing a shared interrupt

2010-05-22 Thread Grant
 Does anyone know how to prevent my nouveau video card and ath wifi
 card from sharing interrupt 19?  I can't move the video card slot and
 I'd rather not move the wifi card slot if possible.

 BTW, does anyone see any other opportunity for interrupt optimization
 here?  I'm trying to optimize for video and especially audio, and I'm
 using a USB 1.0 sound card.

 # cat /proc/interrupts
            CPU0
   0:     473139   IO-APIC-edge      timer
   1:          2   IO-APIC-edge      i8042
   7:          1   IO-APIC-edge
   8:        127   IO-APIC-edge      rtc0
   9:          0   IO-APIC-fasteoi   acpi
  12:          3   IO-APIC-edge      i8042
  14:          0   IO-APIC-edge      ide0
  19:     135597   IO-APIC-fasteoi   nouveau, ath
  20:          2   IO-APIC-fasteoi   ehci_hcd:usb2
  21:      13860   IO-APIC-fasteoi   ehci_hcd:usb1
  22:     971970   IO-APIC-fasteoi   ohci_hcd:usb4
  23:       3446   IO-APIC-fasteoi   ohci_hcd:usb3
  28:      21524   PCI-MSI-edge      ahci

 FWIW a grep of the nouveau source doesnt bring up any hits on MSI, so it
 looks like the driver doesnt support it yet. Likewise no hits for ath5k,
 however ath9k does support it.

Nice, thanks Adam.  Sounds like ath9k is the way out.

- Grant



Re: [gentoo-user] Preventing a shared interrupt

2010-05-22 Thread Grant
 Does anyone know how to prevent my nouveau video card and ath wifi
 card from sharing interrupt 19?  I can't move the video card slot and
 I'd rather not move the wifi card slot if possible.

 BTW, does anyone see any other opportunity for interrupt optimization
 here?  I'm trying to optimize for video and especially audio, and I'm
 using a USB 1.0 sound card.

 # cat /proc/interrupts
            CPU0
   0:     473139   IO-APIC-edge      timer
   1:          2   IO-APIC-edge      i8042
   7:          1   IO-APIC-edge
   8:        127   IO-APIC-edge      rtc0
   9:          0   IO-APIC-fasteoi   acpi
  12:          3   IO-APIC-edge      i8042
  14:          0   IO-APIC-edge      ide0
  19:     135597   IO-APIC-fasteoi   nouveau, ath
  20:          2   IO-APIC-fasteoi   ehci_hcd:usb2
  21:      13860   IO-APIC-fasteoi   ehci_hcd:usb1
  22:     971970   IO-APIC-fasteoi   ohci_hcd:usb4
  23:       3446   IO-APIC-fasteoi   ohci_hcd:usb3
  28:      21524   PCI-MSI-edge      ahci

 FWIW a grep of the nouveau source doesnt bring up any hits on MSI, so it
 looks like the driver doesnt support it yet. Likewise no hits for ath5k,
 however ath9k does support it.

 Nice, thanks Adam.  Sounds like ath9k is the way out.

 - Grant

Ah nevermind, I guess ath9k is 802.11n only.  Maybe they'll add MSI
support to ath5k.

- Grant



Re: [gentoo-user] Java problem

2010-05-22 Thread Kenneth Prugh
On Sat, 22 May 2010 16:10:39 -0400
David Relson rel...@osagesoftware.com wrote:

 [...]

What does `eselect java-vm list` say?

Also, You might need to manually emerge dev-java/ant-junit.



[gentoo-user] {OT} Basic device for a Gentoo router/firewall?

2010-05-22 Thread Grant
Does anyone know of a basic device that would function well as a
Gentoo router/firewall?  Using typical hardware seems like overkill.
I should be able to offload package compilation duties to another
local machine on the network.  It would also be nice if it were small,
cheap, and power-efficient.

- Grant



[gentoo-user] revdep-rebuild looking for non-existant dev-libs/poppler

2010-05-22 Thread Walter Dnes
  I'm doing revdep-rebuild --library libjpeg.so.7.  It finds broken
packages,  It gets to the point of...
=
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot  app-text/ghostscript-gpl:0
app-text/wv:0
dev-libs/poppler:0
media-gfx/gimp:2
media-gfx/graphviz:0
media-libs/gd:2
media-libs/gegl:0
media-libs/imlib2:0
media-libs/libmng:0
media-libs/libwmf:0
media-video/mplayer:0
x11-libs/openmotif:0
x11-libs/qt:3
..
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy dev-libs/poppler:0.
=

  The obvious first step is equery depends dev-libs/poppler ...which
finds absolutely nothing.  No hits from the commands...
grep poppler /etc/portage/package.*
grep poppler /etc/make.conf 

  Not only that, but there doesn't appear to be a dev-libs/poppler in my
portage tree.  Now what?

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] xargs and rm funkiness

2010-05-22 Thread Neil Bothwick
On Sat, 22 May 2010 20:38:53 +0200 (CEST), Jan Engelhardt wrote:

 xargs can suck with anything but plain ASCII-without-spaces
 filenames.,  
 
 That's why you use NUL terminators. Simple as that.

That only helps with spaces, what if filenames contain other reserved
characters?

 Also find's -exe calls rm *for each* file when used with \;.

Which is why I suggested +, but the -delete option may be even better.


-- 
Neil Bothwick

Echo  Speak: Whale oil beef hooked


signature.asc
Description: PGP signature


Re: [gentoo-user] revdep-rebuild looking for non-existant dev-libs/poppler

2010-05-22 Thread Brandon Vargo
On Sat, 2010-05-22 at 17:44 -0400, Walter Dnes wrote:
 I'm doing revdep-rebuild --library libjpeg.so.7.  It finds broken
 packages,  It gets to the point of...
 =
  * Generated new 4_raw.rr and 4_owners.rr
  * Cleaning list of packages to rebuild
  * Generated new 4_pkgs.rr
  * Assigning packages to ebuilds
  * Generated new 4_ebuilds.rr
  * Evaluating package order
  * Generated new 5_order.rr
  * All prepared. Starting rebuild
 emerge --oneshot  app-text/ghostscript-gpl:0
 app-text/wv:0
 dev-libs/poppler:0
 media-gfx/gimp:2
 media-gfx/graphviz:0
 media-libs/gd:2
 media-libs/gegl:0
 media-libs/imlib2:0
 media-libs/libmng:0
 media-libs/libwmf:0
 media-video/mplayer:0
 x11-libs/openmotif:0
 x11-libs/qt:3
 ..
 Calculating dependencies... done!
 
 emerge: there are no ebuilds to satisfy dev-libs/poppler:0.
   =
 
   The obvious first step is equery depends dev-libs/poppler ...which
 finds absolutely nothing.  No hits from the commands...
 grep poppler /etc/portage/package.*
 grep poppler /etc/make.conf 
 
   Not only that, but there doesn't appear to be a dev-libs/poppler in my
 portage tree.  Now what?

The old poppler ebuilds (dev-libs/poppler*) were reunited and became
app-text/poppler awhile back. The old poppler ebuilds should not be
referenced anywhere, but apparently they still are on your system
somewhere. Try remerging app-text/poppler manually (using --oneshot, so
it isn't added to world), then running revdep-rebuild again. 

Make sure you have run emerge --sync recently, so that the portage cache
is up to date and any global updates have been applied. You could also
try removing the revdep-rebuild cache files
in /var/cache/revdep-rebuild/, but according to the output you included,
the package atoms are not coming from the cache.

Regards,

Brandon Vargo




Re: [gentoo-user] Java problem

2010-05-22 Thread David Relson
On Sat, 22 May 2010 17:35:24 -0400
Kenneth Prugh wrote:

 On Sat, 22 May 2010 16:10:39 -0400
 David Relson rel...@osagesoftware.com wrote:
 
  [...]
 
 What does `eselect java-vm list` say?
 
 Also, You might need to manually emerge dev-java/ant-junit.

r...@osage ~ # eselect java-vm list
Available Java Virtual Machines:
  [1]   emul-linux-x86-java-1.6 
  [2]   sun-jdk-1.6  system-vm
  [3]   sun-jre-bin-1.6 

For all 3 packages, version 1.6.0.20 is installed.

Manually emerging ant-junit pulls in ant-core as a dependency which
fails in the manner previously reported, i.e. 

 * CPV:  dev-java/ant-core-1.8.1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
!!! ERROR: Package ant-junit was not found!
 * Unable to determine VM for building from dependencies:
NV_DEPEND: =virtual/jdk-1.4
!dev-java/ant-tasks
!dev-java/ant-optional  =dev-java/java-config-2.1.9-r1
   source? ( app-arch/zip ) 

=dev-java/javatoolkit-0.3.0-r2
 * ERROR: dev-java/ant-core-1.8.1 failed:
 *   Failed to determine VM for building.
 * 
 * Call stack:
 * ebuild.sh, line   48:  Called pkg_setup
 * ebuild.sh, line 1346:  Called java-pkg-2_pkg_setup
 * java-pkg-2.eclass, line   63:  Called java-pkg_init
 *   java-utils-2.eclass, line 2126:  Called java-pkg_switch-vm
 *   java-utils-2.eclass, line 2550:  Called die
 * The specific snippet of code:
 *  die Failed to determine VM for building.
 * 
 * If you need support, post the output of 'emerge --info
   =dev-java/ant-core-1.8.1',
 * the complete build log and the output of 'emerge -pqv
   =dev-java/ant-core-1.8.1'. !!! When you file a bug report, please
   include the following information: GENTOO_VM=  CLASSPATH=
   JAVA_HOME= JAVACFLAGS= COMPILER=
and of course, the output of emerge --info



Re: [gentoo-user] Java problem

2010-05-22 Thread Kenneth Prugh
On Sat, 22 May 2010 20:43:54 -0400
David Relson rel...@osagesoftware.com wrote:
 [...]
 r...@osage ~ # eselect java-vm list
 Available Java Virtual Machines:
   [1]   emul-linux-x86-java-1.6 
   [2]   sun-jdk-1.6  system-vm
   [3]   sun-jre-bin-1.6 
 
 For all 3 packages, version 1.6.0.20 is installed.
 
 Manually emerging ant-junit pulls in ant-core as a dependency which
 fails in the manner previously reported, i.e. 

How about `java-check-environment`, does it report as sane?



Re: [gentoo-user] Java problem

2010-05-22 Thread David Relson
On Sat, 22 May 2010 20:51:35 -0400
Kenneth Prugh wrote:

 On Sat, 22 May 2010 20:43:54 -0400
 David Relson rel...@osagesoftware.com wrote:
  [...]
  r...@osage ~ # eselect java-vm list
  Available Java Virtual Machines:
[1]   emul-linux-x86-java-1.6 
[2]   sun-jdk-1.6  system-vm
[3]   sun-jre-bin-1.6 
  
  For all 3 packages, version 1.6.0.20 is installed.
  
  Manually emerging ant-junit pulls in ant-core as a dependency which
  fails in the manner previously reported, i.e. 
 
 How about `java-check-environment`, does it report as sane?

It's not happy.  It says to install ant-junit (see first attachment),
which fails (see second attachment).
r...@osage ~ #java-check-environment
 * === Java Environment Checker ===
 * The purpose of this script is to check the sanity of your Java Environment.
 * We have significantly changed and improved the way Java is handled in many
 * respects.
 * Please refer to our upgrade guide for details:
 * http://www.gentoo.org/proj/en/java/java-upgrade.xml

 * Checking fastjar ... [ ok ]

 * Checking vm_environment_files ... [ ok ]

 * Checking user_settings ... * Running as root. Don't need to check user 
settings.
 [ ok ]

 * Checking generation_1_system_vm ... [ ok ]

 * Checking java_config_1 ... [ ok ]

 * Checking global_classpath ... [ ok ]

 * Checking virtual_provides ... [ ok ]

 * Checking overlays_eclasses ... [ ok ]

 * Checking package_env ...!!! ERROR: Package ant-junit was not found!
 * Broken dependencies for
 * Please try emerge -uD1 =
 [ !! ]

 * Some problems were found. Please follow the instructions above, and rerun 
java-check-environment
r...@osage ~ # emerge -uD1 ant-junit

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies ... done!
 Verifying ebuild manifests
 Starting parallel fetch
 Jobs: 0 of 2 complete, 1 runningLoad avg: 0.24, 0.10, 0.05
 Emerging (1 of 2) dev-java/ant-core-1.8.1
 Jobs: 0 of 2 complete, 1 runningLoad avg: 0.24, 0.10, 0.05
 Failed to emerge dev-java/ant-core-1.8.1, Log file:
 Jobs: 0 of 2 complete, 1 runningLoad avg: 0.22, 0.10, 0.05
  '/var/log/portage/dev-java:ant-core-1.8.1:20100523-005423.log'
 Jobs: 0 of 2 complete, 1 runningLoad avg: 0.22, 0.10, 0.05
 Jobs: 0 of 2 complete, 1 running, 1 failed  Load avg: 0.22, 0.10, 0.05
 Jobs: 0 of 2 complete, 1 failed Load avg: 0.22, 0.10, 0.05

 * CPV:  dev-java/ant-core-1.8.1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
!!! ERROR: Package ant-junit was not found!
 * Unable to determine VM for building from dependencies:
NV_DEPEND: =virtual/jdk-1.4
!dev-java/ant-tasks
!dev-java/ant-optional  =dev-java/java-config-2.1.9-r1  source? ( 
app-arch/zip ) 


=dev-java/javatoolkit-0.3.0-r2
 * ERROR: dev-java/ant-core-1.8.1 failed:
 *   Failed to determine VM for building.
 * 
 * Call stack:
 * ebuild.sh, line   48:  Called pkg_setup
 * ebuild.sh, line 1346:  Called java-pkg-2_pkg_setup
 * java-pkg-2.eclass, line   63:  Called java-pkg_init
 *   java-utils-2.eclass, line 2126:  Called java-pkg_switch-vm
 *   java-utils-2.eclass, line 2550:  Called die
 * The specific snippet of code:
 *  die Failed to determine VM for building.
 * 
 * If you need support, post the output of 'emerge --info 
=dev-java/ant-core-1.8.1',
 * the complete build log and the output of 'emerge -pqv 
=dev-java/ant-core-1.8.1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH= JAVA_HOME=
JAVACFLAGS= COMPILER=
and of course, the output of emerge --info
 * The complete build log is located at 
'/var/log/portage/dev-java:ant-core-1.8.1:20100523-005423.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-java/ant-core-1.8.1/temp/die.env'.
 * S: '/var/tmp/portage/dev-java/ant-core-1.8.1/work/apache-ant-1.8.1'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Re: [gentoo-user] Re: spell checking using kile under gnome

2010-05-22 Thread William Kenworthy
kile to gedit is like openoffice to dos edit!

I'd rather not ...

BillK


On Sat, 2010-05-22 at 09:32 -0700, walt wrote:
 On 05/22/2010 07:17 AM, W.Kenworthy wrote:
  I am using kile under gnome to edit latex files.  Its ok, but I am
  having problems with the spell checker - it works and does the job
  except it cant add to dictionary...
 
 I know nothing about kile, and little about latex, but I notice that
 gedit does have a LaTeX highlighting mode in the View::Highlighting::
 Markup:: menu.  Would that work for you?
 
 
 

-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] Java problem

2010-05-22 Thread David Abbott
On Sat, May 22, 2010 at 8:57 PM, David Relson rel...@osagesoftware.com wrote:
 On Sat, 22 May 2010 20:51:35 -0400
 Kenneth Prugh wrote:

 On Sat, 22 May 2010 20:43:54 -0400
 David Relson rel...@osagesoftware.com wrote:
  [...]
  r...@osage ~ # eselect java-vm list
  Available Java Virtual Machines:
    [1]   emul-linux-x86-java-1.6
    [2]   sun-jdk-1.6  system-vm
    [3]   sun-jre-bin-1.6
 
  For all 3 packages, version 1.6.0.20 is installed.
 
  Manually emerging ant-junit pulls in ant-core as a dependency which
  fails in the manner previously reported, i.e.

 How about `java-check-environment`, does it report as sane?

 It's not happy.  It says to install ant-junit (see first attachment),
 which fails (see second attachment).

I use;
java-config
  -L, --list-available-vms
List available Java Virtual Machines
  -S VM, --set-system-vm=VM
Set the default Java VM for the system

java-config -c
/opt/icedtea6-bin-1.8.0/bin/javac


-- 
David Abbott (dabbott)



Re: [gentoo-user] Cannot start Slapd (OpenLDAP)

2010-05-22 Thread Indexer
On 23/05/2010, at 2:09 AM, Robin Atwood wrote:

 On Saturday 22 May 2010, Christopher Kurtis Koeber wrote:
 When I go to /var/log/messages nothing is logged there. Anything I can do
 to fix this?
 
 Oh wait, /var/log/ldaplog is my customisation of syslog-ng. But slapd 
 messages 
 should be written with facility local4. Trying it with the --debug option 
 on 
 the command line.

The easiest way to find why your ldap server wont start is to run the command

slapd -4 -d 256

which translates to run in ipv4 only with debug level of 256. If the server 
wont start the first few messages should highlight your error.

William


[gentoo-user] [SOLVED] revdep-rebuild looking for non-existant dev-libs/poppler

2010-05-22 Thread Walter Dnes
On Sat, May 22, 2010 at 04:55:37PM -0600, Brandon Vargo wrote

 The old poppler ebuilds (dev-libs/poppler*) were reunited and became
 app-text/poppler awhile back. The old poppler ebuilds should not be
 referenced anywhere, but apparently they still are on your system
 somewhere. Try remerging app-text/poppler manually (using --oneshot, so
 it isn't added to world), then running revdep-rebuild again. 
 
 Make sure you have run emerge --sync recently, so that the portage cache
 is up to date and any global updates have been applied. You could also
 try removing the revdep-rebuild cache files
 in /var/cache/revdep-rebuild/, but according to the output you included,
 the package atoms are not coming from the cache.

  Thank you very much.  That problem has been taken care of.  I last
updated my backup machine a few weeks ago, which is why it has ancient
stuff on it.  There's a lot of stuff in /var/log/portage/elog to plow
through.  I wonder what other problems I'll discover.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] Re: Java problem

2010-05-22 Thread walt

On 05/22/2010 01:10 PM, David Relson wrote:


  * Unable to determine VM for building from dependencies:
  *   Failed to determine VM for building.


Well, I've seen those error messages more than once.  If I were
half-a-bottle more sober, I'm sure I could remember how I fixed
the problem.

Gentoo offers two (competing?) ways to specify the system-vm.

#eselect java-vm
Usage: eselect java-vm action options
Extra actions:
  list  List Available Virtual Machines
  set   Set a new system or user vm
  show  Show the current vm

#java-config
Usage: java-config [options]
  -L, --list-available-vms
List available Java Virtual Machines
  -S VM, --set-system-vm=VM
Set the default Java VM for the system

I seem to recall that the important things changed by these two
gizmos are some symlinks like, for example:

/etc/java-config-2/current-system-vm - /usr/lib/jvm//sun-jdk-1.6/
/usr/bin/java - run-java-tool

Maybe I can remember more details tomorrow.






Re: [gentoo-user] {OT} Basic device for a Gentoo router/firewall?

2010-05-22 Thread scott n-h
These are used for router/firewall: http://www.soekris.com/
I would suspect that you could get Gentoo installed on it although I haven't
only seen it used w/ the Monowall which was branched from FreeBSD.

On Sat, May 22, 2010 at 2:41 PM, Grant emailgr...@gmail.com wrote:

 Does anyone know of a basic device that would function well as a
 Gentoo router/firewall?  Using typical hardware seems like overkill.
 I should be able to offload package compilation duties to another
 local machine on the network.  It would also be nice if it were small,
 cheap, and power-efficient.

 - Grant




Re: [gentoo-user] Java problem

2010-05-22 Thread Kenneth Prugh
You might try reselecting java again: `eselect java-vm system 2` (for
sun-jdk or whatever your choice is from `eselect java-vm list`)

I don't think you need to use java-config directly anymore but I'm not
sure. Eselect should create the symlinks for you.

Or my lack of coffee might be showing.



[gentoo-user] gd problem

2010-05-22 Thread Hung Dang
Hi all,

I compile my system and received the following errors:

/usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so
/usr/lib64/libexpat.so /usr/lib64/libpng14.so /usr/lib64/libXrender.so
/usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so
/usr/lib64/libXdmcp.so -lz -lm /usr/lib64/libgobject-2.0.so
/usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so -ldl -Wl,-rpath
-Wl,/usr/lib64/graphviz
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
`gdImageCreateFromPng'
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to
`gdImagePngCtx'
../../plugin/gd/.libs/libgvplugin_gd.so: undefined reference to `gdImagePng'
collect2: ld returned 1 exit status

I tried to recompile gd, however, it does not fix the problem. Any idea?

Thanks in advance
Hung