Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Armin K.
On 12/15/2012 05:10 AM, Bruce Dubbs wrote:
 I've been experimenting with multimedia, but have run into a problem
 with accessing an audio CD in some applications, but not others.

 There is no problem with accessing the CD with k3b and it copies the
 tracks to the hard disk just fine.

 The system can also play audio CDs with vlc (specifically qvlc).

 Using xfce, I cannot get audacious, mplayer, or amarok to access an
 audio CD, although all three can play a track from the hard disk without
 problem.


I have KDE and Amarok and I couldn't get audio cd to play. I found this 
thread http://forum.kde.org/viewtopic.php?f=115t=96855 and I noticed 
someone mentioned audiocd-kio.

I went to ftp://ftp.kde.org/pub/kde/stable/4.9.4/src/ grabbed 
libkcompatdisc-4.9.4.tar.xz and audiocd-kio-4.9.4.tar.xz (built in that 
order), built and installed them and now I have Amarok playing audio 
cd's - hell yeah!

I switched to vlc backend, but I can try using gstreamer if you like (I 
have all plugins).

mplayer plays audio cd's for me just fine:

$ mplayer cdda:dev/sr0 
 

MPlayer SVN-r35467-4.7.2 (C) 2000-2012 MPlayer Team 
 

199 audio  416 video codecs 
 

Can't open joystick device /dev/input/js0: No such file or directory 
 

Can't init input joystick

Playing cdda:dev/sr0.
Found audio CD with 15 tracks.

Track 1
rawaudio file format detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400-176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or 
directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 176.0 (02:55.9) of 4219.8 ( 1:10:19.8)  1.4%

I did have libcdio when I ran mplayer configure which is, I believe, 
used for audio cd playback. I am not sure if libcdparanoia can be used 
with mplayer.

$ ldd `which mplayer` | grep cdio
 libcdio_cdda.so.1 = /usr/lib/libcdio_cdda.so.1 
(0x7f39a3a7d000)
 libcdio.so.13 = /usr/lib/libcdio.so.13 (0x7f39a3858000)
 libcdio_paranoia.so.1 = /usr/lib/libcdio_paranoia.so.1 
(0x7f39a3651000)

If you want to try mplayer with libcdio, I wouldn't recommend 0.90 
version since it breaks lots of stuff.

 I thought that I might have had a D-Bus problem, but the D-Bus session
 appears to be set correctly in the environment.  At first I did not have
 udisks but I did install udisks-1.0.4 and rebuilt audacious and amarok
 and still cannot use them to play an audio CD.


I don't think udisks has something to do with playing audio cd's.

 In amarok, I checked that Settings  Configure Amarok  Playback 
 Configure Phonon is configured to prefer vlc.  When I eject the CD, and
 re-insert, Amarok recognizes that the CD has been inserted, but says 0
 tracks.

 A couple of things that I have *not* done is build gobject-introspection
 or all the gstreamer plugins (I've just got the base plugins installed).
The version of gstreamer is 0.10.36.  I didn't think that gstreamer
 was really needed if I was using vlc.  I can certainly go back and build
 those, but wanted to see if anyone had some insight into this issue.

 -- Bruce

You don't really need introspection outside of GNOME nor you need 
GStreamer plugins if you use GStreamer for playback which you don't as 
you said you use VLC for that.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Weird problem when building libarchive

2012-12-15 Thread Andrew Fleckenstein
 On 12/14/2012 12:23 AM, Andrew Fleckenstein wrote:
  Sorry I sent this when I wasn't subscribed, so maybe it will go through
now :)
 
  On 12/12/12, Andrew Fleckenstein andrew.fleckenst...@gmail.com wrote:
  Hello all,
  I'm building libarchive 3.0.4, following the instructions in the book,
and
  when I type make an odd error occurs
 
  /bin/grep: /usr/usr/lib/libattr.la: No such file or directory
  /bin/sed: can't read /usr/usr/lib/libattr.la: No such file or directory
  libtool: link '/usr/usr/lib/libattr.a' is not a valid libtool archive
 
  The /usr/usr part is really what's throwing me off. libattr is in
  /usr/lib, and /usr/usr doesn't exist.
  I configured with ./configure --prefix=/usr --disable-static
  So I have no idea what's up, any help would be appreciated!
 
  Cheers!
 

 sed s@/usr/usr@/usr@g -i /usr/lib/libacl.la

 This occured with one of Dj's fixes to libacl and libattr when I
 modified the instructions. I think it should be fixed now though.

This did the trick, thanks!
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Bruce Dubbs
Armin K. wrote:
 On 12/15/2012 05:10 AM, Bruce Dubbs wrote:
 I've been experimenting with multimedia, but have run into a problem
 with accessing an audio CD in some applications, but not others.

 There is no problem with accessing the CD with k3b and it copies the
 tracks to the hard disk just fine.

 The system can also play audio CDs with vlc (specifically qvlc).

 Using xfce, I cannot get audacious, mplayer, or amarok to access an
 audio CD, although all three can play a track from the hard disk without
 problem.


 I have KDE and Amarok and I couldn't get audio cd to play. I found this
 thread http://forum.kde.org/viewtopic.php?f=115t=96855 and I noticed
 someone mentioned audiocd-kio.

 I went to ftp://ftp.kde.org/pub/kde/stable/4.9.4/src/ grabbed
 libkcompatdisc-4.9.4.tar.xz and audiocd-kio-4.9.4.tar.xz (built in that
 order), built and installed them and now I have Amarok playing audio
 cd's - hell yeah!

I'll try that.

 I switched to vlc backend, but I can try using gstreamer if you like (I
 have all plugins).

 mplayer plays audio cd's for me just fine:

 $ mplayer cdda:dev/sr0
 MPlayer SVN-r35467-4.7.2 (C) 2000-2012 MPlayer Team
 199 audio  416 video codecs
 Can't open joystick device /dev/input/js0: No such file or directory
 Can't init input joystick
 Playing cdda:dev/sr0.
 Found audio CD with 15 tracks.

 Track 1
 rawaudio file format detected.
 ==
 Opening audio decoder: [pcm] Uncompressed PCM audio decoder
 AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400-176400)
 Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
 ==
 [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or
 directory
 AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
 Video: no video
 Starting playback...
 A: 176.0 (02:55.9) of 4219.8 ( 1:10:19.8)  1.4%

I get:
$ mplayer cdda:dev/sr0
MPlayer 1.1-4.7.1 (C) 2000-2012 MPlayer Team
192 audio  400 video codecs

Playing cdda:dev/sr0.
No stream found to handle url cdda:dev/sr0
Exiting... (End of file)

I'll go review my build dependencies.  I don't have /dev/dsp

 I did have libcdio when I ran mplayer configure which is, I believe,
 used for audio cd playback. I am not sure if libcdparanoia can be used
 with mplayer.

 $ ldd `which mplayer` | grep cdio
   libcdio_cdda.so.1 = /usr/lib/libcdio_cdda.so.1
 (0x7f39a3a7d000)
   libcdio.so.13 = /usr/lib/libcdio.so.13 (0x7f39a3858000)
   libcdio_paranoia.so.1 = /usr/lib/libcdio_paranoia.so.1
 (0x7f39a3651000)

 If you want to try mplayer with libcdio, I wouldn't recommend 0.90
 version since it breaks lots of stuff.

 I thought that I might have had a D-Bus problem, but the D-Bus session
 appears to be set correctly in the environment.  At first I did not have
 udisks but I did install udisks-1.0.4 and rebuilt audacious and amarok
 and still cannot use them to play an audio CD.


 I don't think udisks has something to do with playing audio cd's.

OK, It was a thought.  I wasn't sure.

 You don't really need introspection outside of GNOME nor you need
 GStreamer plugins if you use GStreamer for playback which you don't as
 you said you use VLC for that.

But I should be able to use GStreamer if desired.  I'll continue to 
investigate.  Thanks for the tips.

   -- bruce




-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Bruce Dubbs
Ken Moffat wrote:
 On Fri, Dec 14, 2012 at 10:10:56PM -0600, Bruce Dubbs wrote:

 Using xfce, I cannot get audacious, mplayer, or amarok to access an
 audio CD, although all three can play a track from the hard disk without
 problem.


   I only use Audacious (from icewm, with alsa audio), and it is
 playing a CD at the moment.  I did get more error/warning dialogs
 than when I open a radio station, but they seem harmless.

   1. just in case you are doing it differently, play a CD from the
 Services menu.  This reports that it is scanning cdda:// so perhaps
 it can be accessed there on the File menu.

   2. if you were already doing that,perhaps you are missing libcddb ?

I do have libkcddb.so.  Are you referring to that.  I don't see a 
libcddb in the index.  I'm alos going to try Armin's suggestions.

 As to dbus, on this box my startx (when running icewm) has only
 exec icewm-session, no reference to dbus-launch.

OK.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Installation : Udev Extras

2012-12-15 Thread Sagar Padhye
Linux From Scratch - Version SVN-20121122
Beyond Linux From Scratch - Version SVN-20121205

I am trying to compile udev-extras package.

root [ /sources/systemd-196 ]# /sbin/udevadm --version
196
root [ /sources/systemd-196 ]# echo $LD_LIBRARY_PATH
/usr/local/lib
root [ /sources/systemd-196 ]# which python
/usr/local/bin/python
root [ /sources/systemd-196 ]# ldd /usr/local/bin/python
 linux-gate.so.1 (0xb77b4000)
 libpython2.7.so.1.0 = /usr/local/lib/libpython2.7.so.1.0 (0xb760)
 libpthread.so.0 = /lib/libpthread.so.0 (0xb75e3000)
 libdl.so.2 = /lib/libdl.so.2 (0xb75de000)
 libutil.so.1 = /lib/libutil.so.1 (0xb75da000)
 libm.so.6 = /lib/libm.so.6 (0xb759a000)
 libc.so.6 = /lib/libc.so.6 (0xb73f6000)
 /lib/ld-linux.so.2 (0xb77b5000)
root [ /sources/systemd-196 ]# make -f udev-lfs-196/Makefile.lfs gir-data
G-IR-SCANNER build/GUdev-1.0.gir
/usr/local/bin/python: error while loading shared libraries: 
libpython2.7.so.1.0: cannot open shared object file: No such file or 
directory
make: *** [build/GUdev-1.0.gir] Error 127
root [ /sources/systemd-196 ]#

I am not able to figure out why the so is not found by make. any idea?

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Mesa-7.8.2 compile fails

2012-12-15 Thread Paul Rogers
Base: LFS-6.6
Building XOrg 7.5-3 from BLFS-svn-r8641-10/10/16, but most of 
the rest from BLFS-6.3 stable.
Searched Google for patches, other reports of this error unhelpfully.
Anybody have any experience getting around this?  Not using -j2
in make, (this time ;-).  (Had no trouble w/ Mesa-7.5.2)

Config summary:
prefix:  /usr
exec_prefix: ${prefix}
libdir:  ${exec_prefix}/lib
includedir:  ${prefix}/include

Driver:  dri
OSMesa:  no
DRI drivers: i810 i915 i965 mach64 mga r128 r200 r300 r600 
radeon savage sis tdfx unichrome swrast
DRI driver dir:  ${libdir}/dri
Use XCB: no

Gallium: yes
Gallium dirs:auxiliary drivers state_trackers
Winsys dirs:  drm
Winsys drm dirs:
Driver dirs: softpipe failover trace identity svga i915 i965
r300
Trackers dirs:   dri egl

Shared libs: yes
Static libs: no
EGL: glx
GLU: yes
GLw: yes (Motif: no)
glut:yes
Demos:   xdemos egl demos redbook samples glsl

CFLAGS: -march=i686 -Wall -Wmissing-prototypes -std=c99 
-ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC
CXXFLAGS:-march=i686 -Wall -fno-strict-aliasing -fPIC
Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM 
-DUSE_3DNOW_ASM -DUSE_SSE_ASM

Run 'make' to build Mesa

End of make log:
make[5]: Entering directory 
`/usr/local/src/Mesa-7.8.2/src/mesa/drivers/dri/i915'
make[6]: Entering directory 
`/usr/local/src/Mesa-7.8.2/src/mesa/drivers/dri/i915'
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../src/mesa 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
-I/usr/include/drm -I/usr/include/libdrm -march=i686 -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I../intel -I../intel/server 
-DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_context.c -o 
i830_context.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../src/mesa 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
-I/usr/include/drm -I/usr/include/libdrm -march=i686 -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I../intel -I../intel/server 
-DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_state.c -o i830_state.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../src/mesa 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
-I/usr/include/drm -I/usr/include/libdrm -march=i686 -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I../intel -I../intel/server 
-DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_texblend.c -o 
i830_texblend.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../src/mesa 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
-I/usr/include/drm -I/usr/include/libdrm -march=i686 -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -I../intel -I../intel/server 
-DI915 -DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP i830_texstate.c -o 
i830_texstate.o
gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../src/mesa 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
-I/usr/include/drm -I/usr/include/libdrm -march=i686 -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING 
-DGLX_INDIRECT_RENDERING 

Re: [blfs-support] Installation : Udev Extras

2012-12-15 Thread Armin K.
On 12/15/2012 06:36 PM, Sagar Padhye wrote:
 Linux From Scratch - Version SVN-20121122
 Beyond Linux From Scratch - Version SVN-20121205

 I am trying to compile udev-extras package.

 root [ /sources/systemd-196 ]# /sbin/udevadm --version
 196
 root [ /sources/systemd-196 ]# echo $LD_LIBRARY_PATH
 /usr/local/lib
 root [ /sources/systemd-196 ]# which python
 /usr/local/bin/python
 root [ /sources/systemd-196 ]# ldd /usr/local/bin/python
   linux-gate.so.1 (0xb77b4000)
   libpython2.7.so.1.0 = /usr/local/lib/libpython2.7.so.1.0 (0xb760)
   libpthread.so.0 = /lib/libpthread.so.0 (0xb75e3000)
   libdl.so.2 = /lib/libdl.so.2 (0xb75de000)
   libutil.so.1 = /lib/libutil.so.1 (0xb75da000)
   libm.so.6 = /lib/libm.so.6 (0xb759a000)
   libc.so.6 = /lib/libc.so.6 (0xb73f6000)
   /lib/ld-linux.so.2 (0xb77b5000)
 root [ /sources/systemd-196 ]# make -f udev-lfs-196/Makefile.lfs gir-data
 G-IR-SCANNER build/GUdev-1.0.gir
 /usr/local/bin/python: error while loading shared libraries:
 libpython2.7.so.1.0: cannot open shared object file: No such file or
 directory
 make: *** [build/GUdev-1.0.gir] Error 127
 root [ /sources/systemd-196 ]#

 I am not able to figure out why the so is not found by make. any idea?


I'm not going to ask why you installed python in /usr/local in first place.

echo /usr/local/lib  /etc/ld.so.conf
ldconfig

This should've been done on glibc install in LFS.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Mesa-6.8.2 compile failure addendum

2012-12-15 Thread Paul Rogers
Kernel-2.6.39.4, 
DRI enabled
agpgart for Intel BX...i8xx etc enabled
Went looking for i915 support in kernel, but not finding it . :-(
-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/help/overview_quotes.html

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Mesa-7.8.2 compile failure addendum

2012-12-15 Thread Paul Rogers
Dang!  Sorry for the 6.8.2 typo in the subject, previous.

- Original message -
From: Paul Rogers paulgrog...@fastmail.fm
To: blfs-support@linuxfromscratch.org
Subject: Mesa-6.8.2 compile failure addendum
Date: Sat, 15 Dec 2012 10:45:56 -0800

Kernel-2.6.39.4, 
DRI enabled
agpgart for Intel BX...i8xx etc enabled
Went looking for i915 support in kernel, but not finding it . :-(
-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL
:-)



-- 
http://www.fastmail.fm - One of many happy users:
  http://www.fastmail.fm/help/overview_quotes.html

-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Ken Moffat
On Sat, Dec 15, 2012 at 11:29:26AM -0600, Bruce Dubbs wrote:
 Ken Moffat wrote:
 
2. if you were already doing that,perhaps you are missing libcddb ?
 
 I do have libkcddb.so.  Are you referring to that.  I don't see a 
 libcddb in the index.  I'm alos going to try Armin's suggestions.
 
 No, libcddb-1.3.2.  No idea if it is mentioned in the book :)

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Bruce Dubbs
alex lupu wrote:
 Hi Bruce,

 I assume the premise is
 have run into a problem with accessing an audio CD
   in some applications, but not others.

 If it's more complicated and/or deeper than that
 please disregard the following.

 What I do for the rare occasions I _listen_ to
 (not rip, or do other fancy things) an audio CD:

 In /dev I make sure I have something like
   /dev/cdrom - sr0
 and in fstab something like
   /dev/cdrom/mnt/cdrom iso9660 noauto,owner,ro

I've got that, but its for data CDs, not audio CDs. My options are a 
little different:  user,noauto,nosuid,exec,nodev,ro

 1.  At command line (when I want to listen to, say, Chattanooga Choo Choo),

 []$ mplayer cdda://29
   or
 []$ cdparanoia 29 - | aplay

What is 29?  In any case, I get:

MPlayer 1.1-4.7.1 (C) 2000-2012 MPlayer Team
192 audio  400 video codecs

Playing cdda://2.
No stream found to handle url cdda://2

It doesn't matter what the number is.  I guess I need to figure out the 
missing optional dependency.

   -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Accessing Audio CDs

2012-12-15 Thread Armin K.
On 12/15/2012 06:23 PM, Bruce Dubbs wrote:

 I get:
 $ mplayer cdda:dev/sr0
 MPlayer 1.1-4.7.1 (C) 2000-2012 MPlayer Team
 192 audio  400 video codecs

 Playing cdda:dev/sr0.
 No stream found to handle url cdda:dev/sr0
 Exiting... (End of file)

 I'll go review my build dependencies.  I don't have /dev/dsp


/dev/dsp is related to OSS. I didn't specify any -ao as you see so it 
tried to use oss in the first place and since it failed it went forward 
using ALSA.

Just try to install libcdio  0.90 and rebuild mplayer against it.


 But I should be able to use GStreamer if desired.  I'll continue to
 investigate.  Thanks for the tips.

 -- bruce

If you want to play anything you'll need GStreamer Plugins - At least 
Good and FFmpeg but I strongly recommend Bad and Ugly to be installed.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] A bootscript

2012-12-15 Thread Jean-Philippe MENGUAL
Hi,

II plan using bitlbee or prosody. But these servers cannot be run
classically and easily. For example, for bitlbee, it seems I need run
the server as bitlbee user, while he doesn't exist. Do you have some
experience about this kind of software? How can I run a daemon as a
specific user (instead of root)? Are there bootscripts examples?

Regards,

-- 
   Jean-Philippe MENGUAL
   Président de l'association traduc.org 
   Coordinateur du projet Linux From Scratch
   Coordinateur au sein du projet Trad GNU de l'April
   Animateur suppléant du groupe de travail Accessibilité de l'April



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


[blfs-support] Mutt

2012-12-15 Thread Jean-Philippe MENGUAL
Hi,

Do you know if mutt can be used as utility to fetch mail via pop, sort,
and send mail? My purpose is avoiding any MTA server. Does a solution
exist?

Thanks,

Regards,

-- 
   Jean-Philippe MENGUAL
   Président de l'association traduc.org 
   Coordinateur du projet Linux From Scratch
   Coordinateur au sein du projet Trad GNU de l'April
   Animateur suppléant du groupe de travail Accessibilité de l'April



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mutt

2012-12-15 Thread Bruce Dubbs
Jean-Philippe MENGUAL wrote:
 Hi,

 Do you know if mutt can be used as utility to fetch mail via pop, sort,
 and send mail? My purpose is avoiding any MTA server. Does a solution
 exist?

I haven't used mutt in years, but it does support pop and imap.  I'm not 
sure how to set it up though.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mutt

2012-12-15 Thread Andrew Elian
Hello,

On Sun, Dec 16, 2012 at 02:55:15AM +0100, Jean-Philippe MENGUAL wrote:
 Hi,
 
 Do you know if mutt can be used as utility to fetch mail via pop, sort,
 and send mail? My purpose is avoiding any MTA server. Does a solution
 exist?
Mutt can be configured to fetch pop3.  Although, you may find looking
into fetchmail + procmail to be useful.

To send mail, I would recommend msmtp, although there are other good
small smtp programs out there.

With fetchmail/procmail/msmtp, it is possible to avoid using a full
blown MTA like qmail, sendmail, etc. which probably is overkill for a 
desktop linux system.

best of luck,
ae
-- 
http://elian001.wordpress.com
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] A bootscript

2012-12-15 Thread Bruce Dubbs
Jean-Philippe MENGUAL wrote:
 Hi,

 II plan using bitlbee or prosody. But these servers cannot be run
 classically and easily. For example, for bitlbee, it seems I need run
 the server as bitlbee user, while he doesn't exist. Do you have some
 experience about this kind of software? How can I run a daemon as a
 specific user (instead of root)? Are there bootscripts examples?

Generally a server like bind drops privileges and changes to the 
specified user internally.  However, you can probably start a server 
from root with something like:

su - someuser -c my-daemon 21 /dev/null 

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mutt

2012-12-15 Thread Randy McMurchy
Jean-Philippe MENGUAL wrote these words on 12/15/12 19:55 CST:
 Do you know if mutt can be used as utility to fetch mail via pop, sort,
 and send mail? My purpose is avoiding any MTA server. Does a solution
 exist?

Ken would be the one to ask about this as I think his current mail client
is Mutt (at least his last post to this list used Mutt). If I recall
correctly, it has been his mail client for, well, about forever.

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
21:31:00 up 10 days, 7:30, 1 user, load average: 0.06, 0.02, 0.00
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mutt

2012-12-15 Thread Ken Moffat


Randy McMurchy ra...@linuxfromscratch.org wrote:

Jean-Philippe MENGUAL wrote these words on 12/15/12 19:55 CST:
 Do you know if mutt can be used as utility to fetch mail via pop,
sort,
 and send mail? My purpose is avoiding any MTA server. Does a solution
 exist?

Ken would be the one to ask about this as I think his current mail
client
is Mutt (at least his last post to this list used Mutt). If I recall
correctly, it has been his mail client for, well, about forever.

-- 
Randy

rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3]
[GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686]
21:31:00 up 10 days, 7:30, 1 user, load average: 0.06, 0.02, 0.00
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

With postfix and fetchmail/procmail.

No idea if it can do all of the requirements on its own.

ken
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

[blfs-support] Wifi

2012-12-15 Thread Jean-Philippe MENGUAL
Hi,

Before starting a new LFS (and help actually the project I hope, beyond
sranslations), I try eliminating all things which made me suspend so
far. Among others I've already mentioned in other threads, I've WiFi I
don't find convinient, but probably because I don't know.

My purpose is having the same behavior than on Debian. There,
in /etc/network/interfaces, you put:
auto wlan1
iface wlan1 inet dhcp 
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Then, when you start the network service, it ifups all the interfaces,
including wlan1 and enables wpa_supplicant automatically and connects to
an available network among these in wpa_supplicant.conf.

On my LFS, I had to start the computer, once connected go as root and
run wpa_supplicant manually, then setting up wlan1 interface.

Does a mechanism exist in LFS to have the same as Debian? Should I write
some script? So far bootscripts I tried didn't give the same efficient
result.

Thanks,

Regards,


-- 
   Jean-Philippe MENGUAL
   Président de l'association traduc.org 
   Coordinateur du projet Linux From Scratch
   Coordinateur au sein du projet Trad GNU de l'April
   Animateur suppléant du groupe de travail Accessibilité de l'April



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mutt

2012-12-15 Thread Bruce Dubbs
Ken Moffat wrote:


 Randy McMurchy ra...@linuxfromscratch.org wrote:

 Jean-Philippe MENGUAL wrote these words on 12/15/12 19:55 CST:
 Do you know if mutt can be used as utility to fetch mail via pop,
 sort,
 and send mail? My purpose is avoiding any MTA server. Does a solution
 exist?

 Ken would be the one to ask about this as I think his current mail
 client
 is Mutt (at least his last post to this list used Mutt). If I recall
 correctly, it has been his mail client for, well, about forever.

 With postfix and fetchmail/procmail.

 No idea if it can do all of the requirements on its own.

Let me mention that there are several graphical mail clients that do a 
pretty good job: thunderbird, seamonkey, kail, just to name three.  My 
preference is seamonkey and there is no need for a mail server of any 
kind on the system.

I do understand that some experienced folks prefer text oriented mail 
clients.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Wifi

2012-12-15 Thread Bruce Dubbs
Jean-Philippe MENGUAL wrote:
 Hi,

 Before starting a new LFS (and help actually the project I hope, beyond
 sranslations), I try eliminating all things which made me suspend so
 far. Among others I've already mentioned in other threads, I've WiFi I
 don't find convinient, but probably because I don't know.

 My purpose is having the same behavior than on Debian. There,
 in /etc/network/interfaces, you put:
 auto wlan1
 iface wlan1 inet dhcp
 wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

 Then, when you start the network service, it ifups all the interfaces,
 including wlan1 and enables wpa_supplicant automatically and connects to
 an available network among these in wpa_supplicant.conf.

 On my LFS, I had to start the computer, once connected go as root and
 run wpa_supplicant manually, then setting up wlan1 interface.

 Does a mechanism exist in LFS to have the same as Debian? Should I write
 some script? So far bootscripts I tried didn't give the same efficient
 result.

We do need a capability for wifi.  I'd write the script myself if I had 
a way to test it.  There is a capability in the ifup program to run 
multiple services, e.g. SERVICE=wifi dhcp should run the program 
/lib/services/wifi followed by  /lib/services/dhclient (or dhcpcd).

Alternatively, the script could use SERVICE=wifi ipv4-static

We would need to look at both wpa_supplicant and wireless-tools and add 
a script (or scripts) to add the service(s).  The kernel seems to have 
support for Cisco/Aironet, Atmel, and Intersil Prism2/2.5/3 wireless 
chipsets.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Mesa-7.8.2 compile fails

2012-12-15 Thread Paul Rogers
Resolved.

When I went to my favorite local source for source, Oregon State's
Open Source Lab's Gentoo distfiles, they had libdrm-2.4.20, but not
21.  Should be close enough, I thought.  Wasn't.  But now I find 
Python's a prereq for Mesa/Gallium install. 8-(  So, off to install
Python!
Oh well, that was scheduled for later anyhow

Thanks anyway.  8-)
-- 
Paul Rogers
paulgrog...@fastmail.fm
http://www.xprt.net/~pgrogers/
Rogers' Second Law: Everything you do communicates.
(I do not personally endorse any additions after this line. TANSTAAFL :-)



-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page