Re: [gentoo-user] help with UDEV and USB flash drive

2006-06-09 Thread znx

On 09/06/06, Daevid Vincent [EMAIL PROTECTED] wrote:

Also related, is there an easy way to make this stick auto un/mount upon
removal/insertion respectively?


Try looking into autofs .. simple to setup and works really well for
me with my USB/CD-ROM devices.

Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with UDEV and USB flash drive

2006-06-09 Thread Richard Fish

On 6/9/06, Daevid Vincent [EMAIL PROTECTED] wrote:

Thanks everybody that was the trick. I settled upon this:

BUS==usb, KERNEL==sd?1, SYSFS{idVendor}==0ef5,
SYSFS{idProduct}==2202, SYMLINK=istick%n, MODE=0666


One problem with this.  Udev will apply all matching rules until it
finds one with a NAME entry.  So you probably want MODE:=0666 to
prevent any later rules from overwriting your mode.

-Richard
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] help with UDEV and USB flash drive

2006-06-09 Thread neil

-Original Message-

From:  Daevid Vincent [EMAIL PROTECTED]
Subj:  RE: [gentoo-user] help with UDEV and USB flash drive
Date:  Fri 9 Jun 2006 20:32
Size:  848 bytes
To:  gentoo-user@lists.gentoo.org


Now the second part of this. SOMETIMES, when I plug the stick in (I assume
that's when it happens), KDE gives me a nice little window to view the files
or take no action. But it's not consistent?! What triggers that 'event', and
how can I make it happen all the time?

KDE uses HAL for this, but it can take a few seconds to see the device. You 
don't need an fstab entry for this, it may even confuse things.

Also related, is there an easy way to make this stick auto un/mount upon
removal/insertion respectively?

KDE will do that, and open a window too if you want it. It is set in the 
Control Centre.




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with UDEV and USB flash drive

2006-06-09 Thread Daniel Drake

Richard Fish wrote:

One problem with this.  Udev will apply all matching rules until it
finds one with a NAME entry.  So you probably want MODE:=0666 to
prevent any later rules from overwriting your mode.


This isn't entirely true, udev doesn't stop at NAME any more. It stops 
at the end of the rules files, or when it sees OPTIONS=last_rule.


Daniel

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with UDEV and USB flash drive

2006-06-09 Thread Richard Fish

On 6/9/06, Daniel Drake [EMAIL PROTECTED] wrote:

Richard Fish wrote:
 One problem with this.  Udev will apply all matching rules until it
 finds one with a NAME entry.  So you probably want MODE:=0666 to
 prevent any later rules from overwriting your mode.

This isn't entirely true, udev doesn't stop at NAME any more. It stops
at the end of the rules files, or when it sees OPTIONS=last_rule.


Ah, thanks.

Sadly, this change is not noted in
/usr/share/doc/udev-*/RELEASE-NOTES.gz file.  The 057 notes specify
the stop-on-NAME behavior, and nothing newer (at least through 090)
retracts  that statement.

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Help on gentoo 2.6

2006-06-01 Thread Bob Bao





Hi guys.
I installed 2.6.16-gentoo-r7 on a x86 desk top computer.
After reboot, I fond two problems.
The net work connection lost. I run the /etc/init.d/net.eth0 start, get a 
eth0 does not exist error message. Is there any one can help me fix it. I need 
to download more tools for the basic operating system. 
Another problem is when I run "rc -update" there is an error message " 
runlevel update is not existed" . 
Thanks.
Bob Bao
[EMAIL PROTECTED]


Re: [gentoo-user] Help on gentoo 2.6

2006-06-01 Thread Alan
On Thu, Jun 01, 2006 at 04:30:12PM -0500, Bob Bao wrote:
 Hi guys.
 
 I installed 2.6.16-gentoo-r7 on a x86 desk top computer.
 
 After reboot, I fond two problems.
 
 The net work connection lost. I run the /etc/init.d/net.eth0 start, get
 a eth0 does not exist error message. Is there any one can help me fix
 it. I need to download more tools for the basic operating system. 

You don't have the driver for your network card loaded.  You need to
find out what it is and then put the name of the module in
/etc/modules.autoload.d/kernel-2.6 and reboot (or you can run 'insmod
modulename' as root and then /etc/init.d/net.eth0 start).

 Another problem is when I run rc -update there is an error message 
 runlevel update is not existed . 

You have an extra space, you just need rc-update.

Alan

-- 
Alan [EMAIL PROTECTED] - http://arcterex.net

Backups are for people who don't pray. -- big Mike
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help on gentoo 2.6

2006-06-01 Thread Leandro Melo de Sales

Hi Bob,

  type lspci and see what is your network card. After this, choose a
proper driver on kernel menuconfig and make the proper adjusts.
  If you put the driver as module, edit
/etc/modules.autoload.d/kernel-2.6 file and put the name of the module
there ( follow the example given ). If you compile the driver *built
in* you don't need to add the module name in kernel-2.6 file.
  Let us know the result.

Leandro.

2006/6/1, Bob Bao [EMAIL PROTECTED]:







Hi guys.

I installed 2.6.16-gentoo-r7 on a x86 desk top computer.

After reboot, I fond two problems.

The net work connection lost. I run the /etc/init.d/net.eth0 start, get a
eth0 does not exist error message. Is there any one can help me fix it. I
need to download more tools for the basic operating system.

Another problem is when I run rc -update there is an error message 
runlevel update is not existed .

Thanks.

Bob Bao

[EMAIL PROTECTED]



--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

Sometimes people fall in love, but a little bit of them really love
or find a truth love. Or sometimes they find it but for some reason
they let love pass without live it intensely. This is the free-well.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with screen turning off

2006-04-25 Thread Geoff
Can anyone tell me where the settings are that controls the video
signal
to the screen. My screen goes off (but still has power on after about 5
minutes and I want it to stay on all the time. I have no screen saver or
anything set.

-- 
Chow,
 
Geoff.

REMEMBER:- Those that get what they want, are the ones who show up to get it
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with screen turning off

2006-04-25 Thread Teresa and Dale
Geoff wrote:

Can anyone tell me where the settings are that controls the video
signal
to the screen. My screen goes off (but still has power on after about 5
minutes and I want it to stay on all the time. I have no screen saver or
anything set.

  


If it is in a GUI, check your xorg.conf file.  If it is a server and you
are in text or command line, try man setterm and look for powersave. 
That should help.  In the past, I added mine to ~/.bash_login to make
sure it would take effect like I wanted.  It should stay set though. 
You can also by using .bash_login and .bash_logout make it cut off when
you are not logged in but stay on when you are.  That will help with
messing up your screen, if it still will.

Hope that helps.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with screen turning off

2006-04-25 Thread Simon Prosser
On Wednesday 26 April 2006 02:55, Teresa and Dale wrote:
 Geoff wrote:
 Can anyone tell me where the settings are that controls the video
 signal
 to the screen. My screen goes off (but still has power on after about 5
 minutes and I want it to stay on all the time. I have no screen saver or
 anything set.

 If it is in a GUI, check your xorg.conf file.  If it is a server and you
 are in text or command line, try man setterm and look for powersave.
 That should help.  In the past, I added mine to ~/.bash_login to make
 sure it would take effect like I wanted.  It should stay set though.
 You can also by using .bash_login and .bash_logout make it cut off when
 you are not logged in but stay on when you are.  That will help with
 messing up your screen, if it still will.

 Hope that helps.

 Dale

 :-)  :-)
setterm -blank 0
-- 
[While eating a pancake] 
Stewie Griffin: OH. mmm yes oh god this is better than SEX.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with screen turning off

2006-04-25 Thread Hemmann, Volker Armin
On Wednesday 26 April 2006 03:45, Geoff wrote:
 Can anyone tell me where the settings are that controls the video
 signal
 to the screen. My screen goes off (but still has power on after about 5
 minutes and I want it to stay on all the time. I have no screen saver or
 anything set.

xset --help

 xset --help
xset:  unknown option --help

usage:  xset [-display host:dpy] option ...
To turn bell off:
-bb off   b 0
To set bell volume, pitch and duration:
 b [vol [pitch [dur]]]  b on
To disable bug compatibility mode:
-bc
To enable bug compatibility mode:
bc
To turn keyclick off:
-cc off   c 0
To set keyclick volume:
 c [0-100]c on
To control Energy Star (DPMS) features:
-dpms  Energy Star features off
+dpms  Energy Star features on
 dpms [standby [suspend [off]]]
  force standby
  force suspend
  force off
  force on
  (also implicitly enables DPMS features)
  a timeout value of zero disables the mode


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with screen turning off

2006-04-25 Thread Teresa and Dale
Simon Prosser wrote:


setterm -blank 0
  



That too should work.  I think if you do a setterm powersave off it
will do the same thing.  I think that disables all the other power save,
standby and such.  Note the I think.  It's been a while since my servers
are headless anyway.  I also made sure to point him/her to the man page. 

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help! New install and New User to linux - Gentoo!

2006-04-19 Thread Christopher E
Sorry if your geting this two times as I posted it also to amd64 list

hello All,

I have been for the last couple of days (4) days trying to get this
system up and running and I am having a number of probs and below is a
list of them

I get all these errors when booting up:

!! The root block device is unspecified or not detected
at the prompte I can type in /dev/sda6 and it will boot then the
following comes after this

mkdir: Cannot creat directory '/newroot/tmp/.initrd':

Failed to load pcspkr [!!]
Failed to load skge
Failed to load ati_remote
Failed to load dm_mirror
Failed to load dm_mod
Failed to load pdc_adma
Failed to load sata_mv
Failed to load ahci
Failed to load sata_qstor
Failed to load sata_uli
Failed to load sata_sil24
Failed to load lidata
Failed to load sl811_hcd
Failed to load usbcore

Sincerely,
christopher

PS: this help is NOT for personal or commaul gain its for a non-profit
org project

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help : need grub,conf file : kernel wouldn't boot

2006-04-15 Thread Rohit and Bhavana
Hi all,

I have built my kernel 2.6.15-r5 [not the latest I know but should
support all that I have].
I am unable to boot it. It stops looking for root device when booting.
Corresponding line from my grub,conf is title Linux-latest

kernel (hd0,2)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
real_root=/dev/hda2 init=/linuxrc vga=7 CONSOLE=/dev/tty1
initrd (hd0,2)/initramfs-genkernel-x86-2.6.15-gentoo-r5

and from ls -tlr /boot/*2.6.15*

-rw-r--r-- 1 root root 1563446 Mar 27 23:07
/boot/kernel-genkernel-x86-2.6.15-gentoo-r5
-rw-r--r-- 1 root root  597790 Mar 27 23:07
/boot/System.map-genkernel-x86-2.6.15-gentoo-r5
-rw-r--r-- 1 root root 1016367 Mar 27 23:10
/boot/initramfs-genkernel-x86-2.6.15-gentoo-r5

So I am quite sure I have the files that I need. Not sure what I might
be missing, so request you to please send me files at
[EMAIL PROTECTED] [don't worry about multiples please - shall
really be thankful to see what you guys have and to may be learn from it].

I have the same problem with my existing kernel also. It loads initially
a lot of module, but when it comes to booting my root partition,
/dev/hda2 it just sits and waits after an error saying that couldn't
find a bootable device.

Then I type /dev/hda2 manually on the same [grub] prompt and the machine
boots fine, this is where I am writing to you from.

Regards,
Rohit

PS - If someone wishes, I could send you my own .config to look at.
Didn't want to send that to the list. Thanks for asking.
-- 
gentoo-user@gentoo.org mailing list



Almost solved :-( - Re: [gentoo-user] Help : mc and ln mixup

2006-04-15 Thread Rohit Sharma
Dear all,

Unfortunately there have been no responses on my question below - since
most likely none of us have faced/solve this bloody problem before.  A
conflict between mc and ln [part of coreutils] would be fatal to my
system - I would assume. God knows what may have already broken down there.

I am very tempted to do the following:

   1. reiserfs --rebuildtree for all of my partitions, especially for /
  and /usr [by booting off a gentoo install CD]
   2. Rebuild it from scratch with the latest Gentoo ISO [but it is a
  HELL of work, getting USB internet modem and nVIDIA module
  rebuild.. working again etc etc]

If anyone has a better idea, kindly let me know.

Rohit

Rohit Sharma wrote:

Bo Andresen wrote:
Rohit replies --

Thanks, both of you, for your response. I am re-emerging coreutils, just
in case.  Done.
The commands are below - and in summary here is what happens.
- PATH is shown. My own .bin directory has two mp3 ripping scripts. That
is all. /usr/bin comes before /bin in PATH
- /bin/ln is a proper executable. /usr/bin/ln and /usr/bin/mc are
both symlinks to /bin/ln [Not good]
- Removed mc from /usr/bin and /usr/bin/ln disappears as well [Not
good] Then which ln shoes /bin/ln and which mc shows no mc.
-  Creation of symlink /usr/bin/ln automatically creates symlink
/usr/bin/mc - pointing to /bin/ln [thus affecting my midnight
commander]. Both symlinks have same inode number on my filesystem. Also
note that I do not have another definition of ln as an alias.

This may be a filesystem inconsistency. I would consider an fsck for
reiserfs and may be a rebuiltree. What do you say?

Please help.
Thanks,
Rohit
Ps - Commands follow.

Please look at the following.

[EMAIL PROTECTED] ~ $ echo $PATH
/home/rohit/.bin:/usr/games/bin:/usr/kde/3.5/bin:/home/rohit/.bin:/usr/games/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin:/opt/limewire:/home/oracle/product/10.1.0.3/bin
[EMAIL PROTECTED] ~ $ cd /bin
[EMAIL PROTECTED] /bin $ md5sum ln
95d3db99e446dfe4cf95abbd04b60c75  ln
[EMAIL PROTECTED] /bin $ ls -l ln
-rwxr-xr-x 1 root root 27756 Apr 14 12:39 ln
[EMAIL PROTECTED] /bin $ cd /usr/bin
[EMAIL PROTECTED] /usr/bin $ md5sum ln
95d3db99e446dfe4cf95abbd04b60c75  ln
[EMAIL PROTECTED] /usr/bin $ ls -l ln
lrwxrwxrwx 1 root root 7 Apr 14 12:39 ln - /bin/ln
[EMAIL PROTECTED] /usr/bin $ md5sum mc
95d3db99e446dfe4cf95abbd04b60c75  mc
[EMAIL PROTECTED] /usr/bin $ ls -l mc
lrwxrwxrwx 1 root root 7 Apr 14 12:39 mc - /bin/ln
[EMAIL PROTECTED] /usr/bin $
[EMAIL PROTECTED] /usr/bin $ file mc
mc: symbolic link to `/bin/ln'
[EMAIL PROTECTED] /usr/bin $ rm mc
rm: remove symbolic link `mc'? y
rm: cannot remove `mc': Permission denied
[EMAIL PROTECTED] /usr/bin $ sudo rm mc
[EMAIL PROTECTED] /usr/bin $ls -l mc
ls: mc: No such file or directory
[EMAIL PROTECTED] /usr/bin $ ls -l ln
ls: ln: No such file or directory
[EMAIL PROTECTED] /usr/bin $ which ln
/bin/ln
[EMAIL PROTECTED] /usr/bin $ which mc
which: no mc in
(/home/rohit/.bin:/usr/games/bin:/usr/kde/3.5/bin:/home/rohit/.bin:/usr/games/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin:/opt/limewire:/home/oracle/product/10.1.0.3/bin)
[EMAIL PROTECTED] /usr/bin $ sudo /bin/ln -s /bin/ln ./ln
[EMAIL PROTECTED] /usr/bin $ sudo /bin/ln -s /bin/ln ./ln
[EMAIL PROTECTED] /usr/bin $ which mc
/usr/bin/mc
[EMAIL PROTECTED] /usr/bin $ which ln
/usr/bin/ln
[EMAIL PROTECTED] /usr/bin $ ls -i ln mc
300 ln  300 mc
[EMAIL PROTECTED] /usr/bin $ ls -li ln mc
300 lrwxrwxrwx 1 root root 7 Apr 14 12:48 ln - /bin/ln
300 lrwxrwxrwx 1 root root 7 Apr 14 12:48 mc - /bin/ln
[EMAIL PROTECTED] /usr/bin $ ls -li /bin/ln
34560 -rwxr-xr-x 1 root root 27756 Apr 14 12:39 /bin/ln
[EMAIL PROTECTED] ~ $ alias ln
bash: alias: ln: not found

  



-- 
Best regards,
Rohit Sharma

Senior Technical Associate with Mahindra British Telecom
Onsite co-ordinator with British Telecom, United Kingdom
Certified Linux, networking professional, UNIX systems consultant  EAI
Specialist

Contacts:  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] : Mobile +44 777 0917 951


-- 
gentoo-user@gentoo.org mailing list



Re: Almost solved :-( - Re: [gentoo-user] Help : mc and ln mixup

2006-04-15 Thread Richard Fish
On 4/15/06, Rohit Sharma [EMAIL PROTECTED] wrote:
 Dear all,

 Unfortunately there have been no responses on my question below - since
 most likely none of us have faced/solve this bloody problem before.  A
 conflict between mc and ln [part of coreutils] would be fatal to my
 system - I would assume. God knows what may have already broken down there.

 I am very tempted to do the following:

1. reiserfs --rebuildtree for all of my partitions, especially for /
   and /usr [by booting off a gentoo install CD]
2. Rebuild it from scratch with the latest Gentoo ISO [but it is a
   HELL of work, getting USB internet modem and nVIDIA module
   rebuild.. working again etc etc]

 If anyone has a better idea, kindly let me know.

You can use equery to figure out packages are messed up and how.  You
need gentoolkit if you don't already have it:

cd /var/db/pkg
for x in */* ; do equery check $x ; done

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: Almost solved :-( - Re: [gentoo-user] Help : mc and ln mixup

2006-04-15 Thread Boyd Stephen Smith Jr.
On Saturday 15 April 2006 14:57, Rohit Sharma [EMAIL PROTECTED] wrote 
about 'Almost solved :-( - Re: [gentoo-user] Help : mc and ln mixup':
1. reiserfs --rebuildtree for all of my partitions, especially for /
   and /usr [by booting off a gentoo install CD]

Do a reiserfs --check, first.  It is usually pretty good at telling you 
which fix option to use.  If it doesn't think there's a problem at all, 
then yes, do a rebuild tree.

2. Rebuild it from scratch with the latest Gentoo ISO [but it is a
   HELL of work, getting USB internet modem and nVIDIA module
   rebuild.. working again etc etc]

After you get your filesystem in order, and doubly verify that you hw isn't 
going south, just repair the packages that are broken, using Richard 
Fish's technique.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpUVnC5X6myu.pgp
Description: PGP signature


Re: Almost solved :-( - Re: [gentoo-user] Help : mc and ln mixup

2006-04-15 Thread Rohit Sharma
Boyd Stephen Smith Jr. wrote:

After you get your filesystem in order, and doubly verify that you hw isn't 
going south, just repair the packages that are broken, using Richard 
Fish's technique.
  

Thanks - but I am frustrated now.
Did --check, then --fix-fixable, and ultimately a --rebuild-tree as well.
Still the same problem. When I emerge mc [only], /usr/bin/ln appears in
/usr/bin and has the same inode number as /usr/bin/mc and both are
symlinks.  Weird.

So did what Richard F suggested .. Loads of notifications about  and 
etc.  - looks like it shall take time.
Rohit
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help : mc and ln mixup

2006-04-14 Thread Rohit Sharma
Bo Andresen wrote:
Rohit replies --

Thanks, both of you, for your response. I am re-emerging coreutils, just
in case.  Done.
The commands are below - and in summary here is what happens.
- PATH is shown. My own .bin directory has two mp3 ripping scripts. That
is all. /usr/bin comes before /bin in PATH
- /bin/ln is a proper executable. /usr/bin/ln and /usr/bin/mc are
both symlinks to /bin/ln [Not good]
- Removed mc from /usr/bin and /usr/bin/ln disappears as well [Not
good] Then which ln shoes /bin/ln and which mc shows no mc.
-  Creation of symlink /usr/bin/ln automatically creates symlink
/usr/bin/mc - pointing to /bin/ln [thus affecting my midnight
commander]. Both symlinks have same inode number on my filesystem. Also
note that I do not have another definition of ln as an alias.

This may be a filesystem inconsistency. I would consider an fsck for
reiserfs and may be a rebuiltree. What do you say?

Please help.
Thanks,
Rohit
Ps - Commands follow.

Please look at the following.

[EMAIL PROTECTED] ~ $ echo $PATH
/home/rohit/.bin:/usr/games/bin:/usr/kde/3.5/bin:/home/rohit/.bin:/usr/games/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin:/opt/limewire:/home/oracle/product/10.1.0.3/bin
[EMAIL PROTECTED] ~ $ cd /bin
[EMAIL PROTECTED] /bin $ md5sum ln
95d3db99e446dfe4cf95abbd04b60c75  ln
[EMAIL PROTECTED] /bin $ ls -l ln
-rwxr-xr-x 1 root root 27756 Apr 14 12:39 ln
[EMAIL PROTECTED] /bin $ cd /usr/bin
[EMAIL PROTECTED] /usr/bin $ md5sum ln
95d3db99e446dfe4cf95abbd04b60c75  ln
[EMAIL PROTECTED] /usr/bin $ ls -l ln
lrwxrwxrwx 1 root root 7 Apr 14 12:39 ln - /bin/ln
[EMAIL PROTECTED] /usr/bin $ md5sum mc
95d3db99e446dfe4cf95abbd04b60c75  mc
[EMAIL PROTECTED] /usr/bin $ ls -l mc
lrwxrwxrwx 1 root root 7 Apr 14 12:39 mc - /bin/ln
[EMAIL PROTECTED] /usr/bin $
[EMAIL PROTECTED] /usr/bin $ file mc
mc: symbolic link to `/bin/ln'
[EMAIL PROTECTED] /usr/bin $ rm mc
rm: remove symbolic link `mc'? y
rm: cannot remove `mc': Permission denied
[EMAIL PROTECTED] /usr/bin $ sudo rm mc
[EMAIL PROTECTED] /usr/bin $ls -l mc
ls: mc: No such file or directory
[EMAIL PROTECTED] /usr/bin $ ls -l ln
ls: ln: No such file or directory
[EMAIL PROTECTED] /usr/bin $ which ln
/bin/ln
[EMAIL PROTECTED] /usr/bin $ which mc
which: no mc in
(/home/rohit/.bin:/usr/games/bin:/usr/kde/3.5/bin:/home/rohit/.bin:/usr/games/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin:/opt/limewire:/home/oracle/product/10.1.0.3/bin)
[EMAIL PROTECTED] /usr/bin $ sudo /bin/ln -s /bin/ln ./ln
[EMAIL PROTECTED] /usr/bin $ sudo /bin/ln -s /bin/ln ./ln
[EMAIL PROTECTED] /usr/bin $ which mc
/usr/bin/mc
[EMAIL PROTECTED] /usr/bin $ which ln
/usr/bin/ln
[EMAIL PROTECTED] /usr/bin $ ls -i ln mc
300 ln  300 mc
[EMAIL PROTECTED] /usr/bin $ ls -li ln mc
300 lrwxrwxrwx 1 root root 7 Apr 14 12:48 ln - /bin/ln
300 lrwxrwxrwx 1 root root 7 Apr 14 12:48 mc - /bin/ln
[EMAIL PROTECTED] /usr/bin $ ls -li /bin/ln
34560 -rwxr-xr-x 1 root root 27756 Apr 14 12:39 /bin/ln
[EMAIL PROTECTED] ~ $ alias ln
bash: alias: ln: not found

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help : mc and ln mixup

2006-04-13 Thread Rohit Sharma
Hi there,

Please see the following. Both /usr/bin/ln and /usr/bin/mc on my system
seem to launch mc.
if I delete one, the other disappears as well.
if I emerge mc, /usr/bin/ln also appears.
Even if /usr/bin/ln is deleted, which ln returns /usr/bin/ln

What is happening. I am completely baffled.
-- 
Best regards,
Rohit Sharma
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help : mc and ln mixup

2006-04-13 Thread Willie Wong
On Fri, Apr 14, 2006 at 01:06:57AM +0100, Penguin Lover Rohit Sharma squawked:
 Hi there,
 
 Please see the following. Both /usr/bin/ln and /usr/bin/mc on my system
 seem to launch mc.
 if I delete one, the other disappears as well.
 if I emerge mc, /usr/bin/ln also appears.
 Even if /usr/bin/ln is deleted, which ln returns /usr/bin/ln
 
 What is happening. I am completely baffled.

Is it a bad symlink? On my box /usr/bin/ln is a symlink to /bin/ln

 [09:31 PM]wwong man $ ls -l `which ln`
 lrwxrwxrwx 1 root root 7 Apr 13 16:55 /usr/bin/ln - /bin/ln

W
-- 
Smart man + Smart woman = romance
Smart man + Dumb woman  = affair
Dumb man  + Smart woman = marriage
Dumb man  + Dumb woman  = pregnancy
Sortir en Pantoufles: up 152 days, 17:57
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help : mc and ln mixup

2006-04-13 Thread Bo Andresen
On Friday 14 April 2006 02:06, Rohit Sharma wrote:
 Hi there,

 Please see the following. Both /usr/bin/ln and /usr/bin/mc on my system
 seem to launch mc.
 if I delete one, the other disappears as well.
 if I emerge mc, /usr/bin/ln also appears.
 Even if /usr/bin/ln is deleted, which ln returns /usr/bin/ln

 What is happening. I am completely baffled.

Sounds weird..

# cd /usr/bin/
# which ln
/usr/bin/ln
# mv ln ..
# which ln
/bin/ln
# mv ../ln .
# which ln
/usr/bin/ln

If you run

# echo $PATH

you will see that /usr/bin is listed before /bin. which searches the 
directories in $PATH and stops at the first match so since /usr/bin comes 
before /bin it returns /usr/bin/ln.

If you delete /usr/bin/ln it should return /bin/ln which should be unaffected. 
If you delete /bin/ln then /usr/bin/ln will become a dangling symbolic link 
pointing at a file which doesn't exist..

Which version of coreutils do you have?

 # equery b ln
[ Searching for file(s) ln in *... ]
[...]
sys-apps/coreutils-5.94-r1 (/bin/ln)
sys-apps/coreutils-5.94-r1 (/usr/bin/ln - /bin/ln)

If you are still having problems with this then show us the commands that you 
are running and the output that leads you to your conclusions..

HtH

-- 
Bo Andresen


pgpXwqrbekMu4.pgp
Description: PGP signature


[gentoo-user] help with a simple file share with samba

2006-04-07 Thread Allan Spagnol Comar
Hi all in the list,

I was wondering if some one can help me with that, I am try to put to
work a simple file share with samba where I will share a folder to any
one, and one folder have to autenticate users at pam

I try it like that:
[global]

workgroup = COMMODITY
netbios name = thewho
log file = /var/log/samba3/log.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[mp3]
comment = Shared Musics
path = /home/mp3
security = share
writeable = no
browseable = yes
guest ok = yes
printable = no
guest only = yes

[sandbox]
comment = Sand Box to genrate releases
path = /home/sandbox
security = user
user = allan longhin
writeable = yes
public = no
printable = no
create mask = 0765

what did I do wrong ? or how can I make this ?

thanks for attention, Allan
--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with a simple file share with samba

2006-04-07 Thread Michael Crute
On 4/7/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 Hi all in the list,

 I was wondering if some one can help me with that, I am try to put to
 work a simple file share with samba where I will share a folder to any
 one, and one folder have to autenticate users at pam

 I try it like that:
 [global]

workgroup = COMMODITY
netbios name = thewho
log file = /var/log/samba3/log.%m
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

 [mp3]
comment = Shared Musics
path = /home/mp3
security = share
writeable = no
browseable = yes
guest ok = yes
printable = no
guest only = yes

 [sandbox]
comment = Sand Box to genrate releases
path = /home/sandbox
security = user
user = allan longhin
writeable = yes
public = no
printable = no
create mask = 0765

 what did I do wrong ? or how can I make this ?


You may just be overthinking this. Here is a snip of my config file
(only relevant portions). You may want to add the user guest to your
smbpasswd file you can even use no password, then have your guest
users authenticate with that. Maybe there is a better way but that
works for me.

[global]
workgroup = akron
netbios name = snoopy
server string = Gentoo File Server
...
map to guest = nobody
security = user
...

...

[public]
comment = Public folder for all users.
path = /home/pub
public = yes
only guest = yes
writable = yes
printable = no

[webroot]
comment = Storage for public web files.
path=/home/www
public = no
writable = yes
valid users = cruteme

--

Michael E. Crute
http://mike.crute.org

It is a mistake to think you can solve any major problems just with potatoes.
--Douglas Adams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with a simple file share with samba

2006-04-07 Thread Allan Spagnol Comar
autentication on sandbox have worked, but, mp3 folder still block the
users .
have a clue ?

On 4/7/06, Michael Crute [EMAIL PROTECTED] wrote:
 On 4/7/06, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
  Hi all in the list,
 
  I was wondering if some one can help me with that, I am try to put to
  work a simple file share with samba where I will share a folder to any
  one, and one folder have to autenticate users at pam
 
  I try it like that:
  [global]
 
 workgroup = COMMODITY
 netbios name = thewho
 log file = /var/log/samba3/log.%m
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 
  [mp3]
 comment = Shared Musics
 path = /home/mp3
 security = share
 writeable = no
 browseable = yes
 guest ok = yes
 printable = no
 guest only = yes
 
  [sandbox]
 comment = Sand Box to genrate releases
 path = /home/sandbox
 security = user
 user = allan longhin
 writeable = yes
 public = no
 printable = no
 create mask = 0765
 
  what did I do wrong ? or how can I make this ?
 

 You may just be overthinking this. Here is a snip of my config file
 (only relevant portions). You may want to add the user guest to your
 smbpasswd file you can even use no password, then have your guest
 users authenticate with that. Maybe there is a better way but that
 works for me.

 [global]
 workgroup = akron
 netbios name = snoopy
 server string = Gentoo File Server
 ...
 map to guest = nobody
 security = user
 ...

 ...

 [public]
 comment = Public folder for all users.
 path = /home/pub
 public = yes
 only guest = yes
 writable = yes
 printable = no

 [webroot]
 comment = Storage for public web files.
 path=/home/www
 public = no
 writable = yes
 valid users = cruteme

 --
 
 Michael E. Crute
 http://mike.crute.org

 It is a mistake to think you can solve any major problems just with potatoes.
 --Douglas Adams

 --
 gentoo-user@gentoo.org mailing list




--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help With vhost.conf apache2

2006-03-12 Thread Tito Valentin

Haim,

Thanks for the help.  That is now working :-D

Haim Ashkenazi wrote:


On Sat, 2006-03-11 at 10:33 +, Tito Valentin wrote:
 


Hello All,

I am trying to get apache to work with a few vhost.  The problem is that 
when I hit www.domain.com it shows the apache page rather than the 
actual site.  In order for me to be able to view the site I have to type 
www.domain.dom/folder and then the site comes up.  Here is what I have 
done so far with the vhost.conf files:


Apache2 on Gentoo

/etc/apache2/httpd.conf
Include vhosts.d/00_default_vhost.conf
Include vhosts.d/01_my_domain_vhost.conf

/etc/conf.d/apache2
-D DEFAULT_VHOST (plus ssl and other)

/etc/apache2/vhosts.d/00_default_vhost.conf
Default file with new domain information.

/etc/apache2/vhosts.d/01_my_domain_vhost.conf
VirtualHost www.my_domain.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/localhost/htdocs/parknorthcondos
DirectoryIndex index.php index.html
ServerName www.my_domain.com
ErrorLog /var/log/apache2/vhosts/my_domain_error_log
CustomLog /var/log/apache2/vhosts/my_domain_access_log common
/VirtualHost
   


HI

you have to have NameVirtualHost *:80 before the first virtual host.
then the VirtualHost directive should be as follow:
VirtualHost *:80
ServerName www.mydomain.com
...
/VirtualHost

you have to do the same with ':443' if you want SSL virtual hosts.

the above instructions are for VirtualHosts running on the same IP. if
you want to run each virtual host on a separate IP you have to discard
the 'NameVirtualHost' directive and replace the '*' with ipaddress in
the 'VirtualHost' directive.

Bye
 

I just want to be able to hit www.my_domain.com and able to see my site 
instead of the apache splash page.


Any help is greatly appreciated.

Thanks,
Tito
   


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Help With vhost.conf apache2

2006-03-11 Thread Tito Valentin

Hello All,

I am trying to get apache to work with a few vhost.  The problem is that 
when I hit www.domain.com it shows the apache page rather than the 
actual site.  In order for me to be able to view the site I have to type 
www.domain.dom/folder and then the site comes up.  Here is what I have 
done so far with the vhost.conf files:


Apache2 on Gentoo

/etc/apache2/httpd.conf
Include vhosts.d/00_default_vhost.conf
Include vhosts.d/01_my_domain_vhost.conf

/etc/conf.d/apache2
-D DEFAULT_VHOST (plus ssl and other)

/etc/apache2/vhosts.d/00_default_vhost.conf
Default file with new domain information.

/etc/apache2/vhosts.d/01_my_domain_vhost.conf
VirtualHost www.my_domain.com
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /var/www/localhost/htdocs/parknorthcondos
DirectoryIndex index.php index.html
ServerName www.my_domain.com
ErrorLog /var/log/apache2/vhosts/my_domain_error_log
CustomLog /var/log/apache2/vhosts/my_domain_access_log common
/VirtualHost

I just want to be able to hit www.my_domain.com and able to see my site 
instead of the apache splash page.


Any help is greatly appreciated.

Thanks,
Tito
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help With vhost.conf apache2

2006-03-11 Thread Haim Ashkenazi
On Sat, 2006-03-11 at 10:33 +, Tito Valentin wrote:
 Hello All,
 
 I am trying to get apache to work with a few vhost.  The problem is that 
 when I hit www.domain.com it shows the apache page rather than the 
 actual site.  In order for me to be able to view the site I have to type 
 www.domain.dom/folder and then the site comes up.  Here is what I have 
 done so far with the vhost.conf files:
 
 Apache2 on Gentoo
 
 /etc/apache2/httpd.conf
   Include vhosts.d/00_default_vhost.conf
   Include vhosts.d/01_my_domain_vhost.conf
 
 /etc/conf.d/apache2
   -D DEFAULT_VHOST (plus ssl and other)
 
 /etc/apache2/vhosts.d/00_default_vhost.conf
   Default file with new domain information.
 
 /etc/apache2/vhosts.d/01_my_domain_vhost.conf
   VirtualHost www.my_domain.com
   ServerAdmin [EMAIL PROTECTED]
   DocumentRoot /var/www/localhost/htdocs/parknorthcondos
   DirectoryIndex index.php index.html
   ServerName www.my_domain.com
   ErrorLog /var/log/apache2/vhosts/my_domain_error_log
   CustomLog /var/log/apache2/vhosts/my_domain_access_log common
   /VirtualHost
HI

you have to have NameVirtualHost *:80 before the first virtual host.
then the VirtualHost directive should be as follow:
VirtualHost *:80
ServerName www.mydomain.com
...
/VirtualHost

you have to do the same with ':443' if you want SSL virtual hosts.

the above instructions are for VirtualHosts running on the same IP. if
you want to run each virtual host on a separate IP you have to discard
the 'NameVirtualHost' directive and replace the '*' with ipaddress in
the 'VirtualHost' directive.

Bye
 
 I just want to be able to hit www.my_domain.com and able to see my site 
 instead of the apache splash page.
 
 Any help is greatly appreciated.
 
 Thanks,
 Tito
-- 
Haim


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


[gentoo-user] Help emerging PEAR-DB

2006-03-11 Thread Ronald Vincent Vazquez
Hello list:

I am experiencing the error below while attempting to install PEAR-DB on my 
Gentoo system.

# php -v
PHP 5.1.1-gentoo with Hardening-Patch 0.4.8 (cli) (built: Mar  2 2006 21:40:36) 
(DEBUG)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

# emerge PEAR-DB
Calculating dependencies ...done!
 emerge (1 of 1) dev-php/PEAR-DB-1.7.6-r1 to /
 md5 files   ;-) PEAR-DB-1.6.8.ebuild
 md5 files   ;-) PEAR-DB-1.7.6-r1.ebuild
 md5 files   ;-) PEAR-DB-1.7.6.ebuild
 md5 files   ;-) files/digest-PEAR-DB-1.7.6-r1
 md5 files   ;-) files/digest-PEAR-DB-1.6.8
 md5 files   ;-) files/digest-PEAR-DB-1.7.6
 md5 src_uri ;-) DB-1.7.6.tgz
 Unpacking source...
 Unpacking DB-1.7.6.tgz to /var/tmp/portage/PEAR-DB-1.7.6-r1/work
tar: A lone zero block at 1436
 Source unpacked.
 Test phase [not enabled]: dev-php/PEAR-DB-1.7.6-r1

 Install PEAR-DB-1.7.6-r1 into /var/tmp/portage/PEAR-DB-1.7.6-r1/image/ 
 category dev-php
ACCESS DENIED  access_wr: /usr/share/php/.depdb
man:
prepallstrip:
 Completed installing PEAR-DB-1.7.6-r1 into 
 /var/tmp/portage/PEAR-DB-1.7.6-r1/image/

--- ACCESS VIOLATION SUMMARY ---
LOG FILE = /var/log/sandbox/sandbox-dev-php_-_PEAR-DB-1.7.6-r1-15768.log

access_wr: /usr/share/php/.depdb


# emerge PEAR-DB
Calculating dependencies ...done!
 emerge (1 of 1) dev-php/PEAR-DB-1.7.6-r1 to /

I am attempting to create an overlay but I get the following error after I edit 
the ebuild file to add the needed option (addpredict  /usr/share/php/.depdb):

!!! Digest verification Failed:
!!!/usr/local/portage/dev-php/PEAR-DB/PEAR-DB-1.7.6-r1.ebuild
!!! Reason: Filesize does not match recorded size

 Please ensure you have sync'd properly. Please try 'emerge sync' and
 optionally examine the file(s) for corruption. A sync will fix most cases.

How do I fix the Filesize does not match recorded size problem?

Thanks in advance,
Ronald Vazquez
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help With vhost.conf apache2

2006-03-11 Thread Michael Stewart (vericgar)
Tito Valentin wrote:
 Hello All,
 
 I am trying to get apache to work with a few vhost.  The problem is that
 when I hit www.domain.com it shows the apache page rather than the
 actual site.  In order for me to be able to view the site I have to type
 www.domain.dom/folder and then the site comes up.  Here is what I have
 done so far with the vhost.conf files:

A quick guess without looking in detail at your config... if parts of
the virtual host are working, but the root isn't, then it makes me think
it's a cache issue. Clear your browser's cache and try the page again.


 /etc/apache2/vhosts.d/01_my_domain_vhost.conf
 VirtualHost www.my_domain.com
 ServerAdmin [EMAIL PROTECTED]
 DocumentRoot /var/www/localhost/htdocs/parknorthcondos
 DirectoryIndex index.php index.html
 ServerName www.my_domain.com
 ErrorLog /var/log/apache2/vhosts/my_domain_error_log
 CustomLog /var/log/apache2/vhosts/my_domain_access_log common
 /VirtualHost

You need to use VirtualHost *:80. The argument to a VirtualHost is the
NameVirtualHost that it matches to (NameVirtualHost *:80 should be in
the default config)

I would also suggest, using /var/www/my_domain/htdocs instead of
/var/www/localhost/htdocs/my_domain

-- 
Michael Stewart [EMAIL PROTECTED]
Gentoo Developerhttp://dev.gentoo.org/~vericgar

GnuPG Key ID 0x08614788 available on http://pgp.mit.edu
--


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Help emerging PEAR-DB

2006-03-11 Thread James Ausmus
On 3/11/06, Ronald Vincent Vazquez [EMAIL PROTECTED] wrote:
 Hello list:

 I am experiencing the error below while attempting to install PEAR-DB on my 
 Gentoo system.

 # php -v
 PHP 5.1.1-gentoo with Hardening-Patch 0.4.8 (cli) (built: Mar  2 2006 
 21:40:36) (DEBUG)
 Copyright (c) 1997-2004 The PHP Group
 Zend Engine v2.1.0, Copyright (c) 1998-2005 Zend Technologies

 # emerge PEAR-DB
 Calculating dependencies ...done!
  emerge (1 of 1) dev-php/PEAR-DB-1.7.6-r1 to /
  md5 files   ;-) PEAR-DB-1.6.8.ebuild
  md5 files   ;-) PEAR-DB-1.7.6-r1.ebuild
  md5 files   ;-) PEAR-DB-1.7.6.ebuild
  md5 files   ;-) files/digest-PEAR-DB-1.7.6-r1
  md5 files   ;-) files/digest-PEAR-DB-1.6.8
  md5 files   ;-) files/digest-PEAR-DB-1.7.6
  md5 src_uri ;-) DB-1.7.6.tgz
  Unpacking source...
  Unpacking DB-1.7.6.tgz to /var/tmp/portage/PEAR-DB-1.7.6-r1/work
 tar: A lone zero block at 1436
  Source unpacked.
  Test phase [not enabled]: dev-php/PEAR-DB-1.7.6-r1

  Install PEAR-DB-1.7.6-r1 into /var/tmp/portage/PEAR-DB-1.7.6-r1/image/ 
  category dev-php
 ACCESS DENIED  access_wr: /usr/share/php/.depdb
 man:
 prepallstrip:
  Completed installing PEAR-DB-1.7.6-r1 into 
  /var/tmp/portage/PEAR-DB-1.7.6-r1/image/

 --- ACCESS VIOLATION SUMMARY 
 ---
 LOG FILE = /var/log/sandbox/sandbox-dev-php_-_PEAR-DB-1.7.6-r1-15768.log

 access_wr: /usr/share/php/.depdb
 

 # emerge PEAR-DB
 Calculating dependencies ...done!
  emerge (1 of 1) dev-php/PEAR-DB-1.7.6-r1 to /

 I am attempting to create an overlay but I get the following error after I 
 edit the ebuild file to add the needed option (addpredict  
 /usr/share/php/.depdb):

 !!! Digest verification Failed:
 !!!/usr/local/portage/dev-php/PEAR-DB/PEAR-DB-1.7.6-r1.ebuild
 !!! Reason: Filesize does not match recorded size

  Please ensure you have sync'd properly. Please try 'emerge sync' and
  optionally examine the file(s) for corruption. A sync will fix most cases.

 How do I fix the Filesize does not match recorded size problem?



ebuild /usr/local/portage/dev-php/PEAR-DB/PEAR-DB-1.7.6-r1.ebuild digest


-James



 Thanks in advance,
 Ronald Vazquez
 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with backup script

2006-03-01 Thread Paul
Hi,
I am probably missing the obvious here but how do I get a script to recognise 
a network usb2 disk?
I konqueror I can read and write using smb:// xxx.yyy.com but if I define the 
backup disk the same I get the error message that there is no such file or 
directory.

Thanks for any help
Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with ALSA bug report

2006-02-24 Thread Holly Bostick
Hi all--

For some days now, I've been having a problem with almost all media
players and one emulator.

Xine 1.1.1-r4 opened, but crashed when closing the splash screen.

Totem 1.3.91 (bmg, gstreamer backend) opened, and then crashed immediately.

mplayer was OK (but I prefer xine, and naturally was concerned about the
other two crashing like that).

FakeNES 0.3.1 with Allegro 4.1 (yes, I tried all three versions)
crashed with a signal #6 in Allegro (but 0.1.5 with Allegro 4.0.3 worked
fine, so I just masked everything above that combination).

I ultimately found that the error was the same for all three programs:

totem: conf.c:3144: snd_config_iterator_first: Bewering `node-type ==
SND_CONFIG_TYPE_COMPOUND' mislukt.

The same line number, even, but in what program or library's conf.c, was
the question.

Goolgling revealed that the problem was ALSA, but the only solution I
found was to downgrade ALSA.

So I did that, masking

=media-libs/alsa-lib-1.0.11_rc3
=media-libs/alsa-oss-1.0.11_rc3
=media-sound/alsa-firmware-1.0.11_rc3
=media-sound/alsa-headers-1.0.11_rc3

and then doing an emerge -uaDNtv world to downgrade those packages (to
1.0.10, for the most part).

Lo and behold, Totem and Xine suddenly worked again. I unmasked Allegro
and FakeNES-0.3.1, and that works too (got FakeNES 0.3.1 open right now).

Hurrah!! The problem is, this seems very much to be a bug in some ALSA
ebuild (the person whose advice I followed on the ALSA-user's list was
also a Gentoo user, also using 1.0.11_rc3), but I don't know which part
of ALSA (which package of the four I downgraded I should file the bug
against), nor what precisely to file as a bug; can I get away with
Alsa-* fails with multiple applications? I mean, basically, all I know
is that downgrading some part of ALSA allowed these programs to run when
they stopped before-- which is weird enough in itself, since I upgraded
ALSA on the 5th of February, and this issue just manifested itself,
afaik...  I *think* xine and Totem were running up to a couple of days
ago. So it could be something else I upgraded that broke ALSA, but that
takes me completely out of my depth in terms of bug-testing.

I seem to have found a bug, and it seems to be related to ALSA, but may
be triggered by something else.

Is anybody else seeing this kind of issue, first of all, and second of
all, does anybody know how I can determine where the bug actually is so
I can submit it?

Thanks for any help,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] help

2006-02-08 Thread vikram ranade



Re: [gentoo-user] help

2006-02-08 Thread Richard Fish
On 2/8/06, vikram ranade [EMAIL PROTECTED] wrote:



My guess is that your keyboard is broken.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2006-02-08 Thread Ernie Schroder
On Wednesday 08 February 2006 12:25, a tiny voice compelled Richard Fish to 
write:
 On 2/8/06, vikram ranade [EMAIL PROTECTED] wrote:



 My guess is that your keyboard is broken.

 -Richard
Gotta love empty posts especially in HTML
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] help on install Gentoo on SATA disks

2006-02-07 Thread Ann
I just tried to download the Gentoo Universal Code, burn CD, and then to 
install it. But i found my SATA disk sda hasn't been recognized. I tried 
load gentoo doscsi, still didn't work, can somebody help me out?


Thanks in advance!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help on install Gentoo on SATA disks

2006-02-07 Thread Brett I. Holcomb
You might make sure that the modules for your SATA card are loaded.  I have a 
SYBA card and it recognized it.

On Tuesday February 7 2006 14:44, Ann wrote:
 I just tried to download the Gentoo Universal Code, burn CD, and then to
 install it. But i found my SATA disk sda hasn't been recognized. I tried
 load gentoo doscsi, still didn't work, can somebody help me out?

 Thanks in advance!

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help for ebuild needed: kpilot

2006-01-15 Thread Stefan Onken
Hello,

I am using a Palm Tungsten T5 and due to major problems syncen the 
device I changed to pilot-link-0.12pre4 (and ebuild is in the bug 
database). Now I would like to emerge or compile the CVS Version 
of kpilot. I downloaded it from SVN but when I do not understand 
the ebuild of kpilot-3.5.0. Can someone give me an helping how HOW 
I can emerge an given bz2 file to compile the CVS Version of 
kpilot ?

Thanks
Stonki

-- 
www.stonki.de:the more I see, the more I know...
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help with ebuild

2006-01-01 Thread maxim wexler


--- Lares Moreau [EMAIL PROTECTED] wrote:

 On Sat, 2005-12-31 at 11:22 -0800, maxim wexler
 wrote:
  Hello everybody,
  
  I'd like to write an ebuild for words-1.97, a
 nifty
  latin - english translator.
  
  In skel.ebuild for LICENSE= what do I put? Are
 the
  listings in /usr/portage/licenses all
 possibilities?
  Which one do I pick? There doesn't seem to be any
  direction in the docs for the words program
 itself.
  
  -mw
 
 In LICENCE you put the licence that words-1.97 is
 resleased under.
 
 Post your ebuild somewhere online and we'll take a
 look.

This is all I got so far. The guy who wrote it is
here,

[EMAIL PROTECTED]

but he hasn't replied to me yet.


# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General
Public License v2
# $Header: $

# NOTE: The comments in this file are for instruction
and documentation.  
# They're not meant to appear with your final,
production ebuild.  Please
# remember to remove them before submitting or
committing your ebuild.  That
# doesn't mean you can't add your own comments though.

# The 'Header' on the third line should just be left
alone.  When your ebuild
# will be committed to cvs, the details on that line
will be automatically
# generated to contain the correct data.

# inherit lists eclasses to inherit functions from.
Almost all ebuilds should
# inherit eutils, as a large amount of important
functionality has been
# moved there. For example, the $(get_libdir)
mentioned below wont work
# without the following line:
inherit eutils
# A well-used example of an eclass function that needs
eutils is epatch. If
# your source needs patches applied, it's suggested to
put your patch in the
# 'files' directory and use:
#
#   epatch ${FILESDIR}/patch-name-here
#
# eclasses tend to list descriptions of how to use
their functions properly.
# take a look at /usr/portage/eclasses/ for more
examples.

# Short one-line description of this package.
DESCRIPTION=This is a Latin to English translator

# Homepage, not used by Portage directly but handy for
developer reference
HOMEPAGE=http://users.erols.com/whitaker/wordslux.htm;

# Point to any required sources; these will be
automatically downloaded by
# Portage.
SRC_URI=ftp://petrus.thomasaquinas.edu/pub/linux/words/words-1.97-linux.tar.gz;

# License of the package.  This must match the name of
file(s) in
# /usr/portage/licenses/.  For complex license
combination see the developer
# docs on gentoo.org for details.
LICENSE=

# The SLOT variable is used to tell Portage if it's OK
to keep multiple
# versions of the same package installed at the same
time.  For example,
# if we have a libfoo-1.2.2 and libfoo-1.3.2 (which is
not compatible
# with 1.2.2), it would be optimal to instruct Portage
to not remove
# libfoo-1.2.2 if we decide to upgrade to
libfoo-1.3.2.  To do this,
# we specify SLOT=1.2 in libfoo-1.2.2 and SLOT=1.3
in libfoo-1.3.2.
# emerge clean understands SLOTs, and will keep the
most recent version
# of each SLOT and remove everything else.
# Note that normal applications should use SLOT=0 if
possible, since
# there should only be exactly one version installed
at a time.
# DO NOT USE SLOT=! This tells Portage to disable
SLOTs for this package.
SLOT=0

# Using KEYWORDS, we can record masking information
*inside* an ebuild 
# instead of relying on an external package.mask file.
 Right now, you should 
# set the KEYWORDS variable for every ebuild so that
it contains the names of 
# all the architectures with which the ebuild works. 
All of the official 
# architectures can be found in the keywords.desc file
which is in 
# /usr/portage/profiles/.  Usually you should just set
this to ~x86.  The ~ 
# in front of the architecture indicates that the
package is new and should be 
# considered unstable until testing proves its
stability.  So, if you've 
# confirmed that your ebuild works on x86 and ppc,
you'd specify: 
# KEYWORDS=~x86 ~ppc
# Once packages go stable, the ~ prefix is removed.
# For binary packages, use -* and then list the archs
the bin package
# exists for.  If the package was for an x86 binary
package, then
# KEYWORDS would be set like this: KEYWORDS=-* x86
# DO NOT USE KEYWORDS=*.  This is deprecated and
only for backward
# compatibility reasons.
KEYWORDS=~x86

# Comprehensive list of any and all USE flags
leveraged in the ebuild,
# with the exception of any ARCH specific flags, i.e.
ppc, sparc,
# x86 and alpha.  This is a required variable.  If
the ebuild doesn't 
# use any USE flags, set to .
IUSE=X gnome

# A space delimited list of portage features to
restrict. man 5 ebuild
# for details.  Usually not needed.
#RESTRICT=nostrip

# Build-time dependencies, such as
#ssl? ( =dev-libs/openssl-0.9.6b )
#=dev-lang/perl-5.6.1-r1
# It is advisable to use the = syntax show above, to
reflect what you
# had installed on your system when you tested the
package.  Then
# other users hopefully won't be caught without the
right version of
# a dependency.
DEPEND=

# 

[gentoo-user] help with ebuild

2005-12-31 Thread maxim wexler
Hello everybody,

I'd like to write an ebuild for words-1.97, a nifty
latin - english translator.

In skel.ebuild for LICENSE= what do I put? Are the
listings in /usr/portage/licenses all possibilities?
Which one do I pick? There doesn't seem to be any
direction in the docs for the words program itself.

-mw



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] help

2005-12-29 Thread gentoo user mail list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-12-29 Thread John Jolet


On Dec 29, 2005, at 9:14 AM, gentoo user mail list wrote:
okay...  we're good, but we need a BIT more information than that.  :)


--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-12-29 Thread Ciaran McCreesh
On Thu, 29 Dec 2005 23:14:41 +0800 gentoo user mail list
[EMAIL PROTECTED] wrote:
| 

Cut the blue wire first, then the green wire within the next five
seconds. Whatever you do, don't touch the red wire!

-- 
Ciaran McCreesh : Gentoo Developer (King of all Londinium)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


Re: [gentoo-user] help

2005-12-29 Thread Martins Steinbergs
On Thursday 29 December 2005 17:36, Ciaran McCreesh wrote:
 On Thu, 29 Dec 2005 23:14:41 +0800 gentoo user mail list
 [EMAIL PROTECTED] wrote:


 Cut the blue wire first, then the green wire within the next five
 seconds. Whatever you do, don't touch the red wire!


sometimes they fool with colors, better RUN NOW

mr.holywood
-- 
Linux 2.6.14-gentoo-r5 AMD Athlon(tm) 64 Processor 3200+
 18:10:01 up 1 day,  4:34,  4 users,  load average: 1.00, 1.01, 1.10


pgpMaGmbNlf0v.pgp
Description: PGP signature


Re: [gentoo-user] help

2005-12-29 Thread Uwe Thiem
On 29 December 2005 17:15, John Jolet wrote:
 On Dec 29, 2005, at 9:14 AM, gentoo user mail list wrote:
 okay...  we're good, but we need a BIT more information than that.  :)

Reminds me on something Matthias Ettrich once said when kwm was still KDE's 
window manager: Alright, folks, next I will implement focus follows 
mind. ;-)

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-12-29 Thread Lares Moreau
On Thu, 2005-12-29 at 23:14 +0800, gentoo user mail list wrote:

I need somebody, HELP, not just anybody, Help.
When I was younger so much younger then today...
-- 
Lares Moreau [EMAIL PROTECTED]  | LRU: 400755 http://counter.li.org
lares/irc.freenode.net |
Gentoo x86 Arch Tester |   ::0 Alberta, Canada
Public Key: 0D46BB6E @ subkeys.pgp.net |  Encrypted Mail Preferred
Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E


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


Re: [gentoo-user] help

2005-12-29 Thread John J. Foster
On Thu, Dec 29, 2005 at 10:58:11AM -0700, Lares Moreau wrote:
 On Thu, 2005-12-29 at 23:14 +0800, gentoo user mail list wrote:
 
 I need somebody, HELP, not just anybody, Help.
 When I was younger so much younger then today...

I never needed anybody's help in any way...


pgp1k89Olw7ex.pgp
Description: PGP signature


[gentoo-user] help me choose a sound recorder

2005-12-13 Thread Zhang Weiwu
Hello. I am looking forward to use a sound recorder to record my
telephone calls. These telephone calls are business phone calls that
used for business purpose and all phone calls on my line should be recorded.

I am looking forward to have a sound recorder that is:
1 record sound and save as speex format;
2 better be able to auto-start and auto-stop. E.g. when people are
talking on the phone, start a track and save a speex file; when people
stop talking (silence), stop recording and be ready to start recording
the next track. Better one tracker per file;
3 we don't need gui, but I don't mind if it's console app or gui app;
4 I am using alsa in the kernel, if supporting alsa makes sense I perfer
to have alsa recorders;
5 better allow scripting and meta info for saved sound tracks. But it's
fine if it doesn't do so;
6 better also available in SuSE so I can run the same software at home
or in my office;
7 I only need to record one line and not a full-power PBX software.

Any suggestions? Looks audacity is a good option, last year I used it a
while, but I think it is not perfect (for lack of requirement 2), but
don't know its current status.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help me choose a sound recorder

2005-12-13 Thread Jessica Rasku

Zhang Weiwu wrote:


2 better be able to auto-start and auto-stop. E.g. when people are
talking on the phone, start a track and save a speex file; when people
stop talking (silence), stop recording and be ready to start recording
the next track. Better one tracker per file;



Any suggestions? Looks audacity is a good option, last year I used it a
while, but I think it is not perfect (for lack of requirement 2), but
don't know its current status.


I would recomend audacity as a start.  I know it doesn't do auto-star 
auto-stop.  I'm not sure you'll find that.  You can setup a old 
fashioned line tap to do just that, but it sounds like you'd rather 
record digitally.  My sugestion is that if you can find a setting in 
audacity that can record your work day, you can then export multi and 
get one file per conversation.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-07 Thread Bill Roberts
On 01:55 Wed 07 Dec , Holly Bostick wrote:
 Rafael Fernández López schreef:
  Hello, I am running a emerge -u world and there is a package 
  (realplayer) that keeps failing the build due to an error in
  package retrieval.
 
 Great idea, Rafael, but that may break other updates, if any of them
 (like xmms, mplayer, xine, etc) use the real USE flag which is
 probably
 what's dragging in realplayer in the first place.
 
 As you later suggested, using the --verbose option is /always/ wise when
 doing an emerge -uD world (myself, I use emerge -uaDtv world), in order
 to get an idea of what USE flags are being enabled (or not), so that you
 have the opportunity to make changes and keep unwanted packages from
 being emerged as optional dependencies (or make sure that wanted
 packages are emerged as optional dependencies).
 
 HTH,
 Holly
 -- 
 gentoo-user@gentoo.org mailing list
 
I'm having exactly the same problem. The USE flag real is what is
bringing realplayer in. In my case, I set it to add functionality to
mplayer. When I remove it, no attempt is made to download realplayer.

There are two issues: first, I've seen some discussion indicating that the
real flag shouldn't bring in realplayer, just the libraries necessary
to allow mplayer to play real media; second, the download of realplayer
is blocked by failure of ssl to recognize a certificate. Curiously, I can
go to the site, download the files manually, and no certificate issue
appears. 

Downloading the files didn't solve the problem for me, the ebuild didn't
seem to recognize the downloaded files. Maybe I put them in the wrong
place. I was hoping waiting a few days would get the problem solved, but I
see it's still there.

Bill Roberts


pgpfqk1LJwi6g.pgp
Description: PGP signature


Re: [gentoo-user] Help with world update

2005-12-07 Thread Neil Bothwick
On Wed, 7 Dec 2005 07:00:35 -0500, Bill Roberts wrote:

 Downloading the files didn't solve the problem for me, the ebuild didn't
 seem to recognize the downloaded files. Maybe I put them in the wrong
 place.

Downloaded files go in $DISTDIR, which defaults to /usr/portage/distfiles.


-- 
Neil Bothwick

KPLA Klingon Radio : All glory, all the time!


signature.asc
Description: PGP signature


Re: [gentoo-user] Help with world update

2005-12-07 Thread Holly Bostick
Bill Roberts schreef:
 On 01:55 Wed 07 Dec, Holly Bostick wrote:
 
 Rafael Fernández López schreef:
 
 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in 
 package retrieval.
 
 Great idea, Rafael, but that may break other updates, if any of 
 them (like xmms, mplayer, xine, etc) use the real USE flag 
 which is probably what's dragging in realplayer in the first place.
 
 I'm having exactly the same problem. The USE flag real is what is
  bringing realplayer in. In my case, I set it to add functionality
  to mplayer. When I remove it, no attempt is made to download 
 realplayer.
 
 There are two issues: first, I've seen some discussion indicating 
 that the real flag shouldn't bring in realplayer, just the 
 libraries necessary to allow mplayer to play real media;

Realplayer is proprietary software (just as *.rm* files are a
proprietary media format). They are not open source, so the libraries
cannot be brought in separately; they are attached to Realplayer itself.
After realplayer is installed, then mPlayer can find the libraries and
use them. That's why using the real USE flag brings in Realplayer.

 second, the download of realplayer is blocked by failure of ssl to
  recognize a certificate. Curiously, I can go to the site, download 
 the files manually, and no certificate issue appears.
 
 Downloading the files didn't solve the problem for me, the ebuild 
 didn't seem to recognize the downloaded files. Maybe I put them in 
 the wrong place.

The downloaded file should be placed in /usr/portage/distfiles. Perhaps
you've downloaded the wrong file? I have Realplayer 10.0.6 installed,
and the file in my /distfiles folder is

RealPlayer-10.0.6.776-20050915.i586.rpm

 I was hoping waiting a few days would get the problem solved, but I 
 see it's still there.

I don't remember having any problems with the certificate, but simply
downloading the file and placing it in /usr/portage/distfiles should
allow the emerge to continue.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-07 Thread Bill Roberts
On 13:35 Wed 07 Dec , Holly Bostick wrote:
 Bill Roberts schreef:
  On 01:55 Wed 07 Dec, Holly Bostick wrote:
  
  Rafael Fernández López schreef:
  
  Hello, I am running a emerge -u world and there is a package 
  (realplayer) that keeps failing the build due to an error in 
  package retrieval.
  
  Great idea, Rafael, but that may break other updates, if any of 
  them (like xmms, mplayer, xine, etc) use the real USE flag 
  which is probably what's dragging in realplayer in the first place.
  
  I'm having exactly the same problem. The USE flag real is what is
   bringing realplayer in. In my case, I set it to add functionality
   to mplayer. When I remove it, no attempt is made to download 
  realplayer.
  
  There are two issues: first, I've seen some discussion indicating 
  that the real flag shouldn't bring in realplayer, just the 
  libraries necessary to allow mplayer to play real media;
 
 Realplayer is proprietary software (just as *.rm* files are a
 proprietary media format). They are not open source, so the libraries
 cannot be brought in separately; they are attached to Realplayer itself.
 After realplayer is installed, then mPlayer can find the libraries and
 use them. That's why using the real USE flag brings in Realplayer.
 
  second, the download of realplayer is blocked by failure of ssl to
   recognize a certificate. Curiously, I can go to the site, download 
  the files manually, and no certificate issue appears.
  
  Downloading the files didn't solve the problem for me, the ebuild 
  didn't seem to recognize the downloaded files. Maybe I put them in 
  the wrong place.
 
 The downloaded file should be placed in /usr/portage/distfiles. Perhaps
 you've downloaded the wrong file? I have Realplayer 10.0.6 installed,
 and the file in my /distfiles folder is
 
 RealPlayer-10.0.6.776-20050915.i586.rpm
 
  I was hoping waiting a few days would get the problem solved, but I 
  see it's still there.
 
 I don't remember having any problems with the certificate, but simply
 downloading the file and placing it in /usr/portage/distfiles should
 allow the emerge to continue.

Downloading the file manually to /usr/portagedistfiles solved the problem.

Tx, Holly

Bill Roberts


pgpD6xQjThbtv.pgp
Description: PGP signature


[gentoo-user] Help with world update

2005-12-06 Thread Ognjen Bezanov
Hello, I am running a emerge -u world and there is a package 
(realplayer) that keeps failing the build due to an error in package 
retrieval.


My first question is why is portage trying to emerge this package as I 
do not have it installed in the first place ( I had it once a while ago, 
then it was unmerged) and my second is how tell portage not to emerge 
the package.


I'm presuming that there was an error during the unmerging such that 
portage still thinks the package is installed, what can I do to fix this?



Thanks.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-06 Thread brettholcomb
Something thinks it needs it.  Check out the depends with equery and see what 
it tells you.
 
 From: Ognjen Bezanov [EMAIL PROTECTED]
 Date: 2005/12/06 Tue PM 06:32:56 EST
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Help with world  update
 
 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in package 
 retrieval.
 
 My first question is why is portage trying to emerge this package as I 
 do not have it installed in the first place ( I had it once a while ago, 
 then it was unmerged) and my second is how tell portage not to emerge 
 the package.
 
 I'm presuming that there was an error during the unmerging such that 
 portage still thinks the package is installed, what can I do to fix this?
 
 
 Thanks.
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-06 Thread Rafael Fernández López
 Hello, I am running a emerge -u world and there is a package
 (realplayer) that keeps failing the build due to an error in package
 retrieval.

Well, give realplayer a try, and see if it is installed in any way:

# equery list -p realplayer

You'll see in a list if any version is installed.

 My first question is why is portage trying to emerge this package as I
 do not have it installed in the first place ( I had it once a while ago,
 then it was unmerged) and my second is how tell portage not to emerge
 the package.

Just edit /etc/portage/package.mask (as root) and add this line:

media-video/realplayer

Save the changes and that's it.

Bye,
Rafael Fernández López.

-- 
A la vista de suficientes ojos todos los errores resultan evidentes - Linus 
Torvalds


pgpCB8YO1iIe8.pgp
Description: PGP signature


Re: [gentoo-user] Help with world update

2005-12-06 Thread Rafael Fernández López
Ouch !! Another thing... I suggest you to use emerge -vuD world or 
emerge 
-uD world instead of emerge -u world.

If you only use -u as parameter, and not tell portage DEEP... it will 
bring 
you troubles someday.

Bye,
Rafael Fernández López.

-- 
A la vista de suficientes ojos todos los errores resultan evidentes - Linus 
Torvalds


pgpTFjtFYfcrQ.pgp
Description: PGP signature


Re: [gentoo-user] Help with world update

2005-12-06 Thread Neil Bothwick
On Tue, 06 Dec 2005 23:32:56 +, Ognjen Bezanov wrote:

 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in package 
 retrieval.

You have to download a file manually and put it in $DISTDIR. The error
message will tell you how to do this. This is usually because you have
to agree to some licence conditions v=before you can download the file.
 
 My first question is why is portage trying to emerge this package as I 
 do not have it installed in the first place ( I had it once a while
 ago, then it was unmerged) and my second is how tell portage not to
 emerge the package.

What does emerge -tuv world tell you? -t will show what package is
pulling it in? It is probably a dependency of something else you have
installed, in which case you have three possible choices

Install realplayer.
Uninstall the dependent packages.
Reinstall the dependent package with different USE flags, so that it no
longer depends on realplayer.

emerge -tuv world will help you decide the best solution.


-- 
Neil Bothwick

Honk if you love peace and quiet.


signature.asc
Description: PGP signature


Re: [gentoo-user] Help with world update

2005-12-06 Thread Holly Bostick
Rafael Fernández López schreef:
 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in
 package retrieval.
 
 
 Well, give realplayer a try, and see if it is installed in any way:
 
 # equery list -p realplayer
 
 You'll see in a list if any version is installed.
 
 
 My first question is why is portage trying to emerge this package
 as I do not have it installed in the first place ( I had it once a
 while ago, then it was unmerged) and my second is how tell portage
 not to emerge the package.
 
 
 Just edit /etc/portage/package.mask (as root) and add this line:
 
 media-video/realplayer
 
 Save the changes and that's it.
 

Great idea, Rafael, but that may break other updates, if any of them
(like xmms, mplayer, xine, etc) use the real USE flag which is
probably
what's dragging in realplayer in the first place.

As you later suggested, using the --verbose option is /always/ wise when
doing an emerge -uD world (myself, I use emerge -uaDtv world), in order
to get an idea of what USE flags are being enabled (or not), so that you
have the opportunity to make changes and keep unwanted packages from
being emerged as optional dependencies (or make sure that wanted
packages are emerged as optional dependencies).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with world update

2005-12-06 Thread Matthias Langer
On Tue, 2005-12-06 at 23:32 +, Ognjen Bezanov wrote:
 Hello, I am running a emerge -u world and there is a package 
 (realplayer) that keeps failing the build due to an error in package 
 retrieval.
 
 My first question is why is portage trying to emerge this package as I 
 do not have it installed in the first place ( I had it once a while ago, 
 then it was unmerged) and my second is how tell portage not to emerge 
 the package.
 
 I'm presuming that there was an error during the unmerging such that 
 portage still thinks the package is installed, what can I do to fix this?
 
 
 Thanks.
 

As explained at the end of the migration guide (did not see it myself
the first time) use:

# emerge --resume --skipfirst

This will continue your last emerge but skip the first package in the
list (which is the one that failed).

realplayer is most likley pulled in as dependecy by another package,
maybe because of a specific use flag. If you have gentoolkit installed,
try

# equery depends realplayer

HTH,
Matthias

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help, Marvell patched sk98lin for livecd 2005.1

2005-10-28 Thread Qiangning Hong
I am installing gentoo on a new machine with an onboard Marvel 8E8053
Gigabit LAN controller.  However, LiveCD 2005.1 can not detect this
controller, both sk98lin and skge don't work.  After googling, I find
this artical http://pavuk.7gods.org/notebook.html#network and know that
I must patch the kernel and recompile it.  But the LiveCD minimal has no
gcc built in.  I tried patch and compile in my working laptop, and
insmod sk98lin.ko in the livecd environment, it tells me the kernel
versions don't match:
2.6.12-suspend-r6 preempt PENTIUMM gcc-3.4
versus
2.6.12-gentoo-r6 SMP perempt 586 4KSTACKS gcc-3.3

It seems gentoo-sources-r6 has been removed from portage currently.  How
can I do?  Or, could anyone send me a patched sk98lin.ko which is
insmod-able in LiveCD 2005.1 environment in private mail?  Thanks a lot!

-- 
Qiangning Hong
http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)

Registered Linux User #396996
Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help, Marvell patched sk98lin for livecd 2005.1

2005-10-28 Thread Rumen Yotov
On Fri, 2005-10-28 at 23:49 +0800, Qiangning Hong wrote:
 I am installing gentoo on a new machine with an onboard Marvel 8E8053
 Gigabit LAN controller.  However, LiveCD 2005.1 can not detect this
 controller, both sk98lin and skge don't work.  After googling, I find
 this artical http://pavuk.7gods.org/notebook.html#network and know that
 I must patch the kernel and recompile it.  But the LiveCD minimal has no
 gcc built in.  I tried patch and compile in my working laptop, and
 insmod sk98lin.ko in the livecd environment, it tells me the kernel
 versions don't match:
 2.6.12-suspend-r6 preempt PENTIUMM gcc-3.4
 versus
 2.6.12-gentoo-r6 SMP perempt 586 4KSTACKS gcc-3.3
 
 It seems gentoo-sources-r6 has been removed from portage currently.  How
 can I do?  Or, could anyone send me a patched sk98lin.ko which is
 insmod-able in LiveCD 2005.1 environment in private mail?  Thanks a lot!
 
 -- 
 Qiangning Hong
 http://www.hn.org/hongqn (RSS: http://feeds.feedburner.com/hongqn)
 
 Registered Linux User #396996
 Get Firefox! http://www.spreadfirefox.com/?q=affiliatesid=67907t=1
 Thunderbird! http://www.spreadfirefox.com/?q=affiliatesid=67907t=183
Hi,
Could try the *universal* install-2005.1 CD, it includes all the sources
 ebuilds. Or the Beta-LiveCD-2005.1 with a graphical installer (don't
know if it also has the sourcesebuilds - check).
HTH.Rumen


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


[gentoo-user] help

2005-10-26 Thread Tamer Higazi









Re: [gentoo-user] help

2005-10-26 Thread b.n.

Michael Crute wrote:
On 10/26/05, *Tamer Higazi* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:




With what?


Probably he vanished before having time to tell us what was putting him 
in danger. Poor Mr.Higazi. We will miss him.


m.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] help with new install

2005-10-13 Thread damian bamforth
I am fairly new to linux, and have decided to 'give it
a shot'. I have read the manual for gentoo... but I
have run into problems.

My system is an AMD64 3000, with abit AX8 mobo. I
downloaded Gentoo 2005.1 Universal install CD and it
boots fine, but does not detect the network card,
which is an on-board device controlled by a 'c plus'
gigabit ethernet chip. 

I managed to get drivers from the manufacturer, in
source code, but I can't work out how to compile it.
According to the stuff I read in the manual and on the
internet, I need to turn the driver source code into a
.ko file for this to work, then use the
'insmod'command. 

The 'make' command that I have read about on the
internet doesn't work. Some documentation talked about
ensuring links point to the right place, and then
recompile the kernel, but obviously this is not an
option on a bootable cd. There doesn't seem to be a c
compiler either - I tried 'gcc'.

It says in the manual that if I have a universal cd
then I don't actually need an internet connection at
this point of the install, but firstly I want to start
at stage 1, because from what I understand gentoo will
be configered more acurately to my system (hence
*better*, I think), and secondly I think I need to
have the network connection set up at this point in
order for portage to work right.

So, what do I do now?

Thanks,
Damian.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help setting up my HP USB CD-Writer

2005-10-10 Thread Alexey Asprov
Hi list,

I'm trying to set up my HP USB drive, but confused what options have to be
inabled in the kernel. Live CD configures just fine. Thanks in advance.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help setting up my HP USB CD-Writer

2005-10-10 Thread Alexey Asprov
Thanks, that seemed to work:

scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: HPModel: CD-Writer+ 8200e  Rev: 0001
  Type:   Direct-Access  ANSI SCSI revision: 00
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete


Are you sure that /dev is indeed sr0? not sg0? I am confused here.
Since X-CD-Roast failed to recognize my drive, don;t you know btc
how to burn .iso with cdrecord?

cdrecord --scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.12-gentoo-r6
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
Linux sg driver version: 3.5.33
Using libscg version 'schily-0.8'.
scsibus1:
1,0,0   100) 'HP' 'CD-Writer+ 8200e' '0001' Removable Disk
1,1,0   101) *
1,2,0   102) *
1,3,0   103) *
1,4,0   104) *
1,5,0   105) *
1,6,0   106) *
1,7,0   107) *


THanks again.




On Mon, 10 Oct 2005 08:00:45 -0700
Richard Fish [EMAIL PROTECTED] wrote:

 Alexey Asprov wrote:
 
 Hi list,
 
 I'm trying to set up my HP USB drive, but confused what options have to be
 inabled in the kernel. Live CD configures just fine. Thanks in advance.
   
 
 
 Try:
 
 Device Drivers -
 SCSI device support -
 [*] SCSI CDROM support
 USB support -
 [*] EHCI HCD
 [*] USB Mass Storage support
 [*] Freecom USB/ATAPI Bridge support
 [*] ISD-200 USB/ATA Bridge support
 [*] USBAT/USBAT02-based storage support
 
 With the above, the reader should appear at /dev/sr0, with the normal 
 cdrom  cdrw symlinks.
 
 -Richard
 
 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-07 Thread Neil Bothwick
On Thu, 06 Oct 2005 20:59:16 -0700, Richard Fish wrote:

 For example, sys-portage/portage is not depended on 
 by something else, but it would be very bad to remove it from world!!

Why? I have neither portage nor glibc in world. portage is part of system
and glibc is a dependency of just about everything.


-- 
Neil Bothwick

A computer scientist is someone who, when told to Go to Hell,
sees the go to, rather than the destination, as harmful.


pgpTN9KwKUt7H.pgp
Description: PGP signature


Re: [gentoo-user] help

2005-10-07 Thread Benno Schulenberg
Wes Gray wrote:
 On Thu, Oct 06, 2005 at 10:17:20PM +0200, Benno Schulenberg wrote:
  Delete all the other kde files from /etc/env.d/, keeping only
  the 3.4 one.  The older ones are not needed any more since
  you've uninstalled those versions, no?  This may solve some of
  your problems by removing that KDEDIR env var.

 That solved everything!  I didn't have to emerge or anything. 
 You are wonderful!

:)  Thanks.

 I'm still going to go through and do the 
 other things you suggest here to get my system cleaned up.

Take care with the depcleaning, it can cripple your system 
completely.  Most of the things in your depclean list look 
harmless, except for acl and attr -- they tripped me up several 
moons ago.  To play it safe, first tar up /lib and /usr/lib, and if 
after the cleaning anything starts to fail, re-extract the missing 
lib.  If even tar should fail, use 'busybox tar' instead.

After you're done with that, you may want to clean up your world 
file, as suggested by Richard.  And after that, another round of 
depcleaning.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread DmD (Spider) LJungmark
On Wed, 2005-10-05 at 21:18 -0700, Wes Gray wrote:
 On Wed, Oct 05, 2005 at 08:46:55PM -0700, Ted Ozolins wrote:
  At the login screen, what have your chosen as the session type. Perhaps
  its still selecting your old KDE. Check that and select KDE-3.4 and see
  what happens.
 
 Yes, of course I am selecting 3.4.  That is the only choice.  I've tried
 the obvious stuff, trust me.


Try this then :  Add a brand new sparkling user.
Log in to X and KDE.  Is the problem persisting then, or not?



//Spider
-- 
begin  .signature
Tortured users / Laughing in pain
See Microsoft KB Article Q265230 for more information.
end



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


Re: [gentoo-user] help

2005-10-06 Thread Roger Miliker
On Thursday 06 October 2005 04:46, Wes Gray wrote:
 My 3-year old gentoo system has decided to be a big headache.  My
 troubles started when I upgraded to kde 3.4.  The kde taskbar apps
 wouldn't start.  I tried unmerging kde-base and emerging kdebase-meta
 to see if it was related to the kde split, but that didn't help.  I got
 the idea that the problem was some old kde packages, so I tried unmerging
 everything on my system which was kde related, including some old packages
 which are no longer in portage, then I reemerged everything.  THis was
 a big mistake as afterwards kde was even more broken, and kde apps like
 k3b now don't even work.  I've given up on kde and moved to enlightenment,
 but it will be really hard to deal without any kde apps.  Lots of people
 have given me advice, but everything I try just seems to make things worse.
  It seems like there is something about old versions of kde that won't go
 away, which I don't understand at all.  It seems like if you reemerge
 something it should move to the newest versions.  I really could use some
 help because I have no idea what to do next.

 -Wes
One thing you could try (while not running kde) is:
mv ~/.kde ~/myold.kde
Kde will regenerate ,kde on next start and if that works fine you can merge 
back the configs from the old ~/myold.kde

Hope this helps

Roger

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Benno Schulenberg
Wes Gray wrote:
 My 3-year old gentoo system has decided to be a big headache.  My
 troubles started when I upgraded to kde 3.4.

Upgrading from which version precisely?

What is the full output of 'ls -l ~/.kde*' ?

And of 'grep kde /var/lib/portage/world | sort' ?

And of 'grep kde /etc/env.d/*' ?

 The kde taskbar apps wouldn't start.

Does Konqueror work?  KMail?  KWrite?  Konsole?
The Control Center?  The Menu Editor?  Do most things work?

Looking back at your other emails...  Are you keeping the rest of 
your system up-to-date?  What does 'emerge -Dup world' say (after a 
sync)?  Do you still have an old python-2.2* installed?  What says 
'eix -e python'?  (If you don't have eix installed, first do 
'emerge eix; update-eix'.)  What says 'emerge -p --depclean'?  Does 
revdep-rebuild now run without problems?

(And please don't tell us to trust you, we're just asking questions, 
as you're not being very specific.)

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Michael Crute
On 10/5/05, Wes Gray [EMAIL PROTECTED] wrote:
# emerge -p kde-metaThese are the packages that I would merge, in order:Calculating dependencies ...done![ebuild R ] kde-base/kde-meta-3.4.1I tried emerging kde-meta.I then tried unmerging all the blockers it
created and then emerging back kde, to get rid of kde-meta.When thatdidn't help I reversed the process and reemerged kde-meta, which iswhere I am now.I've rebuilt all of kde a couple of times now withthe situation getting worse, not better.
Try `emerge -eDav kde-meta` to rebuild all of KDEs dependencies.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates?


Re: [gentoo-user] help

2005-10-06 Thread Wes Gray
On Thu, Oct 06, 2005 at 12:57:09PM +0200, Benno Schulenberg wrote:

Here is the rest of the requested info:

 What does 'emerge -Dup world' say (after a  sync)?

# emerge -Dup world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[blocks B ] media-libs/giflib (is blocking media-libs/libungif-4.1.3)
[blocks B ] media-libs/libquicktime (is blocking media-libs/openquicktime-1.
0-r1)
[ebuild U ] sys-apps/texinfo-4.8-r1 [4.8]
[ebuild U ] sys-devel/binutils-config-1.8-r5 [1.8-r3]
[ebuild U ] sys-libs/glibc-2.3.5-r2 [2.3.5-r1]
[ebuild U ] sys-apps/shadow-4.0.7-r4 [4.0.7-r3]
[ebuild U ] sys-apps/util-linux-2.12r [2.12q-r3]
[ebuild U ] sys-apps/utempter-0.5.5.6 [0.5.5.5-r1]
[ebuild U ] x11-terms/xterm-204 [196]
[ebuild U ] dev-libs/libIDL-0.8.6 [0.8.5]
[ebuild U ] gnome-base/orbit-2.12.3 [2.12.2]
[ebuild U ] gnome-base/libbonobo-2.10.1 [2.10.0]
[ebuild U ] media-sound/esound-0.2.36-r1 [0.2.34]
[ebuild U ] gnome-base/gnome-vfs-2.10.1-r2 [2.10.1-r1]
[ebuild U ] gnome-base/libbonoboui-2.10.1 [2.10.0]
[ebuild U ] x11-themes/gtk-engines-2.6.5 [2.6.4-r2]
[ebuild U ] app-text/gtkspell-2.0.11 [2.0.4-r1]
[ebuild  N] media-libs/giflib-4.1.3
[ebuild U ] app-text/docbook-sgml-dtd-4.1-r3 [4.1-r1]
[ebuild U ] app-text/docbook-sgml-dtd-4.0-r3 [4.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-3.0-r3 [3.0-r1]
[ebuild U ] app-text/docbook-sgml-dtd-3.1-r3 [3.1-r1]
[ebuild U ] app-text/docbook-xml-simple-dtd-4.1.2.4-r2 [4.1.2.4]
[ebuild  NS   ] app-text/docbook-xml-simple-dtd-1.0-r1
[ebuild U ] media-libs/a52dec-0.7.4-r5 [0.7.4-r4]
[ebuild U ] www-client/links-2.1_pre18 [2.1_pre17-r1]
[ebuild  NS   ] app-text/docbook-xml-dtd-4.4
[ebuild U ] app-text/docbook-sgml-utils-0.6.14 [0.6.11-r2]
[ebuild U ] app-text/docbook-xml-dtd-4.1.2-r5 [4.1.2-r4]
[ebuild U ] dev-perl/Compress-Zlib-1.35 [1.33]
[ebuild U ] perl-core/digest-base-1.10 [1.05]
[ebuild U ] dev-perl/Digest-SHA1-2.10 [2.07]
[ebuild U ] dev-perl/Net-DNS-0.49 [0.48]
[ebuild U ] perl-core/DB_File-1.811-r1 [1.811]
[ebuild U ] app-text/enscript-1.6.3-r3 [1.6.3-r1]
[ebuild  NS   ] sys-apps/i2c-2.9.1
[ebuild  NS   ] sys-apps/lm_sensors-2.9.1-r1
[ebuild U ] gnome-extra/gcalctool-5.5.42-r2 [5.5.42-r1]
[ebuild U ] sys-libs/db-1.85-r2 [1.85-r1]
[ebuild U ] gnome-base/gnome-print-0.37 [0.35-r3]
[ebuild U ] kde-base/kdebase-pam-6 [4]
[ebuild U ] gnome-base/gconf-1.0.9 [1.0.8-r3]
[ebuild  N] gnome-base/gnome-common-2.8.0
[ebuild U ] gnome-base/gnome-vfs-1.0.5-r4 [1.0.5-r2]
[ebuild U ] gnome-extra/guppi-0.40.3-r2 [0.40.3-r1]
[ebuild U ] dev-lang/swig-1.3.21 [1.3.10-r2]
[ebuild U ] dev-libs/g-wrap-1.3.4-r1 [1.3.4]
[ebuild U ] app-arch/sharutils-4.2.1-r11 [4.2.1-r10]
[ebuild U ] sci-libs/fftw-3.0.1-r2 [3.0.1]
[ebuild U ] x11-libs/gtkglext-1.0.6-r2 [1.0.5]
[ebuild U ] dev-perl/libintl-perl-1.11 [1.10]
[ebuild U ] media-libs/freetype-1.3.1-r4 [1.3.1-r3]
[ebuild  N] games-util/loki_setupdb-20050109
[ebuild  N] dev-util/xdelta-1.1.3
[ebuild  N] games-util/loki_patch-20050324
[ebuild  NS   ] x11-libs/wxGTK-2.6.1
[ebuild U ] games-emulation/xmame-0.100 [0.97]
[ebuild U ] gnome-base/gdm-2.8.0.3 [2.8.0.1-r1]
[ebuild U ] media-gfx/xv-3.10a-r11 [3.10a-r3]
[ebuild U ] net-im/centericq-4.21.0 [4.20.0-r3]
[ebuild U ] sys-libs/db-3.2.9-r10 [3.2.9-r7]
[ebuild U ] x11-themes/gnome-backgrounds-2.10.2 [2.10.1]
[ebuild U ] gnome-base/gnome-2.10.2 [2.10-r1]
[ebuild U ] dev-perl/Filter-1.30 [1.29]
[ebuild U ] app-emulation/wine-20050725-r1 [20050524]
#

Oddly I tried unmerging giflib and it unmerged ok, but I still get the blocker.

 What says 'eix -e python'?

# eix -e python 
* dev-lang/python 
 Available versions:  2.1.3-r1 2.2.3-r6 2.3.4-r1 2.3.5 ~2.3.5-r1 2.3.5-r2 ~
2.4-r3 ~2.4.1 ~2.4.1-r1 ~2.4.2
 Installed:   2.2.3-r6 2.3.5-r2
 Homepage:http://www.python.org/
 Description: Python is an interpreted, interactive, object-orienta
ted programming language.


Found 1 matches
# 

 Does revdep-rebuild now run without problems?

yes, just reran it.

 What says 'emerge -p --depclean'?

# emerge -p --depclean

*** WARNING *** : DEPCLEAN CAN  SERIOUSLY  IMPAIR YOUR SYSTEM. USE CAUTION.
*** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE
*** WARNING *** : CANDIDATE LIST FOR  SANITY  BEFORE  ALLOWING DEPCLEAN TO
*** WARNING *** : UNMERGE ANY PACKAGES.
*** WARNING *** :
*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT.
*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT
*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS.
*** WARNING *** : emerge --update --deep --newuse world TO VERIFY
*** WARNING *** : SANITY IN THIS REGARD.
*** WARNING *** :
*** WARNING *** : Packages  in the list  that are  desired  may be added
*** WARNING 

Re: [gentoo-user] help

2005-10-06 Thread Benno Schulenberg
Wes Gray wrote:
 # grep kde /var/lib/portage/world | sort
 kde-base/arts
 kde-base/kde-env
 kde-base/kde-meta
 kde-base/kdebase-meta
 kde-base/kdelibs
 kde-base/konqueror

Hmm, if I'm not mistaken, if you've emerged kde-meta, none of the 
other kde things should be in your world file.  You've probably 
done a few emerges without using the --oneshot option.  When all 
the things below don't help, or have heleped, you may want to 
delete the superfluous lines and do a fresh 'emerge -Du world', 
just to be sure all is okay.

 # grep kde /etc/env.d/*
 /etc/env.d/46kdepaths-3.4:PATH=/usr/kde/3.4/bin
 /etc/env.d/46kdepaths-3.4:ROOTPATH=/usr/kde/3.4/sbin:/usr/kde/3.4
/bin /etc/env.d/46kdepaths-3.4:LDPATH=/usr/kde/3.4/lib
 /etc/env.d/46kdepaths-3.4:CONFIG_PROTECT=/usr/kde/3.4/share/conf
ig /usr/kde/3.4/env /usr/kde/3.4/shutdown

Delete all the other kde files from /etc/env.d/, keeping only the 
3.4 one.  The older ones are not needed any more since you've 
uninstalled those versions, no?  This may solve some of your 
problems by removing that KDEDIR env var.

 I suspect that if I could figure out why konqueror (and other
 apps) seem to still want to point to 3.1 libraries I could get to
 the bottom of my problems.

Maybe because of that KDEDIR var.  When you've deleted the obsolete 
env files, do 'env-update' and restart KDE.

 # emerge -Dup world
 [...]

Okay, your system looks pretty much up-to-date.  But:

 [ebuild U ] kde-base/kdebase-pam-6 [4]

Try updating this one, with 'emerge --oneshot kdebase-pam'.  It may 
solve some access problems, maybe those of kicker.  After emerging, 
log out and back in.

 # eix -e python
[...]
  Installed:   2.2.3-r6 2.3.5-r2

The ancient version is still installed, no harm in it probably, but 
no need for it either.  If you wish, unmerge it with 'emerge -C 
=python-2.2.3-r6', ignoring the warning.

 # emerge -p --depclean
 [...]
 !!! There appears to be a problem with the following package:
 !!! media-libs/libquicktime

Use 'eix -e ...'  to see which of these packages, libquicktime, 
openquicktime, giflib, libungif, you've got installed, uninstall 
each of them with 'emerge -C =...', and later let a fresh 'emerge 
-Du world' install the one's that are really needed.

That's a long list...  So first resolve the blocking issues (if it 
gives you trouble, search bugs.gentoo.org or the forums or the 
archives of this list), then run 'emerge --depclean' in earnest to 
get rid of all the obsoletes, after that do a 'revdep-rebuild', and 
conclude with 'emerge -Du world'.

Perseverance,

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Wes Gray
On Thu, Oct 06, 2005 at 10:17:20PM +0200, Benno Schulenberg wrote:
 Delete all the other kde files from /etc/env.d/, keeping only the 
 3.4 one.  The older ones are not needed any more since you've 
 uninstalled those versions, no?  This may solve some of your 
 problems by removing that KDEDIR env var.

That solved everything!  I didn't have to emerge or anything.  You
are wonderful!  I'm still going to go through and do the other things
you suggest here to get my system cleaned up.  Thank you so much for
the help.

-Wes
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Richard Fish



kde-base/kdeaccessibility
   selected: 3.3.2
  protected: none
omitted: none
 



This one tells me that you've got old versions of KDE merged alongside 
the current version.  I suspect path and library problems are the result...


My suggestion is to:

ls -ld /var/db/pkg/kde-base/*-3[0-3]*

This will give you a list of all old kde packages that are merged.  You 
can then unmerge those, then do a revdep-rebuild.




Packages in world:457



This is a huge number of packages.  As Benno suggested, this probably 
means you have [re]merged packages without the --oneshot flag, so they 
got added to your world file, and portage now things you require those 
packages regardless of any dependancies.


The following script will show you all packages in world that are not 
depended on by something else.  Most (but not ALL!!) can be safely 
removed from world.  For example, sys-portage/portage is not depended on 
by something else, but it would be very bad to remove it from world!!


   cat /var/lib/portage/world | while read pkg; do
   count=`equery depends $pkg | wc -l`
   test $count -eq 0  echo pkg
   done

This may or may not have an effect on your KDE installation.  Mostly, 
this just a case of portage cleanup.


HTH,
-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-06 Thread Richard Fish

Richard Fish wrote:



   cat /var/lib/portage/world | while read pkg; do
   count=`equery depends $pkg | wc -l`
   test $count -eq 0  echo pkg
   done



Um, sorry, I'm a complete idiot sometimes.  You want to remove from 
world packages that are included as a dependancy of something else.  So 
that -eq 0 above should be -gt 0.  But again, some results are not 
going to be safe to remove from world, like sys-libs/glibc.


Again, my apologies...


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] help

2005-10-05 Thread Wes Gray
My 3-year old gentoo system has decided to be a big headache.  My
troubles started when I upgraded to kde 3.4.  The kde taskbar apps
wouldn't start.  I tried unmerging kde-base and emerging kdebase-meta
to see if it was related to the kde split, but that didn't help.  I got
the idea that the problem was some old kde packages, so I tried unmerging
everything on my system which was kde related, including some old packages
which are no longer in portage, then I reemerged everything.  THis was
a big mistake as afterwards kde was even more broken, and kde apps like
k3b now don't even work.  I've given up on kde and moved to enlightenment,
but it will be really hard to deal without any kde apps.  Lots of people have
given me advice, but everything I try just seems to make things worse.  It
seems like there is something about old versions of kde that won't go away,
which I don't understand at all.  It seems like if you reemerge something it
should move to the newest versions.  I really could use some help because
I have no idea what to do next.

-Wes
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-05 Thread Eduard Vaykher
On 10/5/05, Wes Gray [EMAIL PROTECTED] wrote:
My 3-year old gentoo system has decided to be a big headache.Mytroubles started when I upgraded to kde 3.4.The kde taskbar appswouldn't start.I tried unmerging kde-base and emerging kdebase-metato see if it was related to the kde split, but that didn't help.I got
the idea that the problem was some old kde packages, so I tried unmergingeverything on my system which was kde related, including some old packageswhich are no longer in portage, then I reemerged everything.THis was
a big mistake as afterwards kde was even more broken, and kde apps likek3b now don't even work.I've given up on kde and moved to enlightenment,but it will be really hard to deal without any kde apps.Lots of people have
given me advice, but everything I try just seems to make things worse.Itseems like there is something about old versions of kde that won't go away,which I don't understand at all.It seems like if you reemerge something it
should move to the newest versions.I really could use some help becauseI have no idea what to do next.-Wes--gentoo-user@gentoo.org mailing list
KDE should separate its releases by minor version. KDE 3.2 or 3.3 shouldn't interfere with KDE 3.4, which makes me wonder why and older version is blocking things. emerge kde-meta and see what kind of trouble it gives you.



Re: [gentoo-user] help

2005-10-05 Thread Ted Ozolins
Wes Gray wrote:

# emerge -p kde-meta

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] kde-base/kde-meta-3.4.1  

I tried emerging kde-meta.  I then tried unmerging all the blockers it
created and then emerging back kde, to get rid of kde-meta.  When that
didn't help I reversed the process and reemerged kde-meta, which is
where I am now.  I've rebuilt all of kde a couple of times now with
the situation getting worse, not better.
  

At the login screen, what have your chosen as the session type. Perhaps
its still selecting your old KDE. Check that and select KDE-3.4 and see
what happens.

-- 
Ted Ozolins(VE7TVO)
Westbank, B. C

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] help

2005-10-05 Thread Wes Gray
On Wed, Oct 05, 2005 at 08:46:55PM -0700, Ted Ozolins wrote:
 At the login screen, what have your chosen as the session type. Perhaps
 its still selecting your old KDE. Check that and select KDE-3.4 and see
 what happens.

Yes, of course I am selecting 3.4.  That is the only choice.  I've tried
the obvious stuff, trust me.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with an IBM 3791 modem

2005-09-28 Thread Allan Spagnol Comar
Hi all

I am having trouble with one isa pnp modem; I installed isapnp, the
tcpdump program has generated the isapnp.conf, I remove the comment
mark from the lines that are related with the modem, when I run isapnp
isapnp.conf It loads and enable the modem at address 0x110 and IRQ 7,
then I tried to run wvdialconf and it didn´t find anything :(

what have I miss 

PS my modem is an IBM 3791 isa modem.

thanks

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-20 Thread Nick Rout
On Sat, 2005-09-17 at 08:56 +0800, Ow Mun Heng wrote:
 mail -a Content-type: text/html; -s Your Daily Stock Quote
 [EMAIL PROTECTED]  filename.html 
 
 I have another problem now. for some reason, the system I was
 developing
 for (FC3), the mail command does not have a -a option. 
 
 I'm still searching for the correct mail 'version' in fc3. Anyone else
 has any more suggestions?

All I can say is that there are various packages that all
supply /bin/mail. In gentoo the package commonly used is
mail-client/mailx which hails from  debian.org (according to portage
$HOMEPAGE) but the source looks for like BSD, and the copyright is to
the Regents of the University of California, and the license is BSD.

mail-client/nail (nail.sf.net) will do the same job, and is described as
enhanced. It looks like it handles mime:

Supports the MIME specifications. Nail can send and receive attachments
and code and decode international character strings. If the system
libraries provide appropriate support, conversion between different
character encodings is performed. In combination with a UTF-8 terminal,
nearly all international languages are supported. External converter
programs can be automatically invoked e. g. to view messages in HTML
format.


I would look for a nail package for FC. 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Sun, 2005-09-18 at 22:36 -0500, John Jolet wrote:
 On Sunday 18 September 2005 22:11, A. Khattri wrote:
  On Mon, 19 Sep 2005, Ow Mun Heng wrote:
   Be that as it may, I'm not Perl person (picked up the book, but haven't
   really progressed anywhere hehe).
  
   But.. when push comes to shove
 
  Im assuming there is probably a CPAN module that does most of this for you
  - this is why I think Perl might be a better way to go.
 
 
  --
 there is...MIME::Entity...used thusly (from a perl program I use to email pdf 
 files, but you pass the mim-type on the command line, so it can send any mime 
 type):
 my $top = MIME::Entity-build(Type  = multipart/mixed,
   From  = [EMAIL PROTECTED],
   Bcc   = $address,
   Subject   = Mills Messenger by 
 e-Mail);
 
 $top-attach( Path  = $file_to_send,
   Type  = $mime_type,
   Encoding  = base64);
 
 my $message = Attached is your Mills Messenger for this week.  Enjoy!;
 $top-attach(Data=$message);
 
 open MAIL, |/usr/sbin/sendmail.postfix -t -oi -oem or die Error on 
 mail 
 o
 pen is: $!\n;
 $top-print(\*MAIL);
 close MAIL;

I did it, didn't have to go through perl. Just added a mail_header() to
my script.
mail_header()
{
echo MIME-Version:1.0
echo From:[EMAIL PROTECTED]
echo To:$RECIPIENT
echo Subject:Quotes $DATE
echo Content-Type: text/html
echo
}

and then I added a script for cron 
#!/bin/sh
#
TEMPFILE=/tmp/file.$$
PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh

$PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
 /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE

Next, I think the above code can be enhanced by not using a tempfile.
perhaps a  EOF 



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:46:43 up 1 day, 4 min, 7 users, load average: 2.75, 2.30,
2.24 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread A. Khattri
On Tue, 20 Sep 2005, Ow Mun Heng wrote:

 I did it, didn't have to go through perl. Just added a mail_header() to
 my script.
 mail_header()
 {
 echo MIME-Version:1.0
 echo From:[EMAIL PROTECTED]
 echo To:$RECIPIENT
 echo Subject:Quotes $DATE
 echo Content-Type: text/html
 echo
 }

 and then I added a script for cron
 #!/bin/sh
 #
 TEMPFILE=/tmp/file.$$
 PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh

 $PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
  /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE

 Next, I think the above code can be enhanced by not using a tempfile.
 perhaps a  EOF


You could probably use a HERE document.

http://www.tldp.org/LDP/abs/html/here-docs.html

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Tue, 2005-09-20 at 01:23 -0400, A. Khattri wrote:
 On Tue, 20 Sep 2005, Ow Mun Heng wrote:
 
  I did it, didn't have to go through perl. Just added a mail_header() to
  my script.

  #!/bin/sh
  #
  TEMPFILE=/tmp/file.$$
  PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh
 
  $PORTFOLIO_SCRIPT --html  $TEMPFILE 2/dev/null1
   /usr/sbin/sendmail -t  $TEMPFILE  rm $TEMPFILE
 
  Next, I think the above code can be enhanced by not using a tempfile.
  perhaps a  EOF
 
 
 You could probably use a HERE document.
 
 http://www.tldp.org/LDP/abs/html/here-docs.html

Not sure what that is. No I-Net access currently.

Anyway, on the gentoo box, a simple 

$PORTFOLIO_SCRIPT --html 2/dev/null1 | /usr/sbin/sendmail -t

works. In Fedora, the system which will be sending it out, well, I
remember doing just that but it didn't work. Will try again.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread Ow Mun Heng
On Sat, 2005-09-17 at 01:15 -0400, A. Khattri wrote:
 On Sat, 17 Sep 2005, Ow Mun Heng wrote:
 
  I have another problem now. for some reason, the system I was developing
  for (FC3), the mail command does not have a -a option.
 
  I'm still searching for the correct mail 'version' in fc3. Anyone else
  has any more suggestions?
 
 Unless you're prepared to use raw sendmail and generate all the headers
 yourself, you might be better off using perl and a module specifically
 designed to encode mail attachments correctly.

Sigh.. Yeah.. I can do this. It just involves using the -t to sendmail.

 
 Speaking as a programmer, perl is a lot easier to deal with than bash for
 textual operations such as this.

Be that as it may, I'm not Perl person (picked up the book, but haven't
really progressed anywhere hehe).

But.. when push comes to shove
 
 -- 
 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:28:00 up 45 min, 6 users, load average: 0.21, 0.50, 0.78 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread A. Khattri
On Mon, 19 Sep 2005, Ow Mun Heng wrote:

 Be that as it may, I'm not Perl person (picked up the book, but haven't
 really progressed anywhere hehe).

 But.. when push comes to shove

Im assuming there is probably a CPAN module that does most of this for you
- this is why I think Perl might be a better way to go.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-18 Thread John Jolet

On Sunday 18 September 2005 22:11, A. Khattri wrote:
 On Mon, 19 Sep 2005, Ow Mun Heng wrote:
  Be that as it may, I'm not Perl person (picked up the book, but haven't
  really progressed anywhere hehe).
 
  But.. when push comes to shove

 Im assuming there is probably a CPAN module that does most of this for you
 - this is why I think Perl might be a better way to go.


 --
there is...MIME::Entity...used thusly (from a perl program I use to email pdf 
files, but you pass the mim-type on the command line, so it can send any mime 
type):
my $top = MIME::Entity-build(Type  = multipart/mixed,
  From  = [EMAIL PROTECTED],
  Bcc   = $address,
  Subject   = Mills Messenger by 
e-Mail);

$top-attach( Path  = $file_to_send,
  Type  = $mime_type,
  Encoding  = base64);

my $message = Attached is your Mills Messenger for this week.  Enjoy!;
$top-attach(Data=$message);

open MAIL, |/usr/sbin/sendmail.postfix -t -oi -oem or die Error on mail 
o
pen is: $!\n;
$top-print(\*MAIL);
close MAIL;

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-16 Thread Ow Mun Heng
On Thu, 2005-09-15 at 20:47 -0400, Willie Wong wrote:
 On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote:
  Hi,
  
  I'm writing a bash script that basically checks for stocks prices and I
  want the formatted output to be mailed to me. I've got the script
  working already. The only problem is the HTML is well, not displayed as
  HTML, it's displayed RAW(and not formatted).
  
  I'm using cron to send the email out.
  
 
 Try using the mail command 
 
 behold the power of google:
 
   http://www.debian-administration.org/articles/171
 
 to put it simply: 
 
mail -a Content-type: text/html; -s Your Daily Stock Quote [EMAIL 
 PROTECTED]  filename.html 

I have another problem now. for some reason, the system I was developing
for (FC3), the mail command does not have a -a option. 

I'm still searching for the correct mail 'version' in fc3. Anyone else
has any more suggestions?

 Sortir en Pantoufles: up 35 days,  3:49

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 08:56:21 up 12:56, 7 users, load average: 0.27, 0.37, 0.36 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-16 Thread A. Khattri
On Sat, 17 Sep 2005, Ow Mun Heng wrote:

 I have another problem now. for some reason, the system I was developing
 for (FC3), the mail command does not have a -a option.

 I'm still searching for the correct mail 'version' in fc3. Anyone else
 has any more suggestions?

Unless you're prepared to use raw sendmail and generate all the headers
yourself, you might be better off using perl and a module specifically
designed to encode mail attachments correctly.

Speaking as a programmer, perl is a lot easier to deal with than bash for
textual operations such as this.


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Help with Script that sends out HTML emails

2005-09-15 Thread Ow Mun Heng
Hi,

I'm writing a bash script that basically checks for stocks prices and I
want the formatted output to be mailed to me. I've got the script
working already. The only problem is the HTML is well, not displayed as
HTML, it's displayed RAW(and not formatted).

I'm using cron to send the email out.

I've even put the echo statement :

html_header()
{
echo Content-Type: text/html; charset=iso-8859-1
echo HTMLHEADTITLEStock Quotes : $DATE /TITLE/HEAD
echo 'STYLE TYPE=TEXT/CSS'
echo h1 {color: gray; border-bottom: 3px double silver}
echo h2,h3 {color: gray; border-bottom: 1px solid silver}
echo /STYLE/HEAD
echo BODY
echo H1Stock Quotes : $DATE /H1
echo BRBR
}


but all I get is :

Content-Type: text/html; charset=iso-8859-1
HTMLHEADTITLEStock Quotes : Fri Sep 16 06:52:02 2005
/TITLE/HEAD
STYLE TYPE=TEXT/CSS
h1 {color: gray; border-bottom: 3px double silver}
h2,h3 {color: gray; border-bottom: 1px solid silver}
/STYLE/HEAD
BODY
H1Stock Quotes : Fri Sep 16 06:52:02 2005 /H1
BRBR

What sort of content-type do I need to put into it? or do I have to
format the message and use sendmail -t  quote


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 07:03:30 up 2 days, 19:38, 6 users, load average: 0.80,
0.49, 0.52 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-15 Thread Mike Williams
On Friday 16 September 2005 00:07, Ow Mun Heng wrote:
 I'm writing a bash script that basically checks for stocks prices
 and I want the formatted output to be mailed to me. I've got the script
 working already. The only problem is the HTML is well, not displayed as
 HTML, it's displayed RAW(and not formatted).

 I'm using cron to send the email out.

I don't think it'll ever work. The problem is you need to add the content type 
to the headers.
Mutt has an option to specify a draft file to read header and body from, but 
seems to lose/re-write the content-type.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-15 Thread Nick Rout
It seems to me that you need a couple of other things:

1. a look at a couple of the html emails in my inbox show a mail
header (ie part of the email where stuff like from, to and subject go) like 
this:

MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=_=_NextPart_001_01C5B8D9.821B04F0

you can add extra headers using the mail command with the -a parameter 
(according to man mail)

 -a  Specify additional header fields on the command line such as X-Loop: 
[EMAIL PROTECTED] etc.  You have to use
 quotes if the string contains spaces.  This argument may be 
specified more than once, the headers
 will then be concatenated.

2. The body of the message must be in mime format using the same boundary as 
is specified in the header like this:

--_=_NextPart_001_01C5B8D9.821B04F0
Content-Type: text/plain
(here is the text part of the message)

--_=_NextPart_001_01C5B8D9.821B04F0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 3.2//EN
HTML (all the html bits)
/HTML

below that the boundary is specified again:

--_=_NextPart_001_01C5B8D9.821B04F0--

(thats the very last line in the file)


3. i tried using mpack to make an html message from the command line,
but it didn't work - I might be doing something wrong.


On Fri, 16 Sep 2005 07:07:23 +0800
Ow Mun Heng wrote:

 Hi,
 
   I'm writing a bash script that basically checks for stocks prices and I
 want the formatted output to be mailed to me. I've got the script
 working already. The only problem is the HTML is well, not displayed as
 HTML, it's displayed RAW(and not formatted).
 
 I'm using cron to send the email out.
 
 I've even put the echo statement :
 
 html_header()
 {
 echo Content-Type: text/html; charset=iso-8859-1
 echo HTMLHEADTITLEStock Quotes : $DATE /TITLE/HEAD
 echo 'STYLE TYPE=TEXT/CSS'
 echo h1 {color: gray; border-bottom: 3px double silver}
 echo h2,h3 {color: gray; border-bottom: 1px solid silver}
 echo /STYLE/HEAD
 echo BODY
 echo H1Stock Quotes : $DATE /H1
 echo BRBR
 }
 
 
 but all I get is :
 
 Content-Type: text/html; charset=iso-8859-1
 HTMLHEADTITLEStock Quotes : Fri Sep 16 06:52:02 2005
 /TITLE/HEAD
 STYLE TYPE=TEXT/CSS
 h1 {color: gray; border-bottom: 3px double silver}
 h2,h3 {color: gray; border-bottom: 1px solid silver}
 /STYLE/HEAD
 BODY
 H1Stock Quotes : Fri Sep 16 06:52:02 2005 /H1
 BRBR
 
 What sort of content-type do I need to put into it? or do I have to
 format the message and use sendmail -t  quote
 
 
 -- 
 Ow Mun Heng
 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
 98% Microsoft(tm) Free!! 
 Neuromancer 07:03:30 up 2 days, 19:38, 6 users, load average: 0.80,
 0.49, 0.52 
 
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails

2005-09-15 Thread Willie Wong
On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote:
 Hi,
 
   I'm writing a bash script that basically checks for stocks prices and I
 want the formatted output to be mailed to me. I've got the script
 working already. The only problem is the HTML is well, not displayed as
 HTML, it's displayed RAW(and not formatted).
 
 I'm using cron to send the email out.
 

Try using the mail command 

behold the power of google:

  http://www.debian-administration.org/articles/171

to put it simply: 

   mail -a Content-type: text/html; -s Your Daily Stock Quote [EMAIL 
PROTECTED]  filename.html 

HTH

W
-- 
I know that there are people in this world
who do not love their fellow man,
and I HATE people like that.   -- Tom Lehrer
Sortir en Pantoufles: up 35 days,  3:49
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread Ow Mun Heng
On Thu, 2005-09-15 at 20:47 -0400, Willie Wong wrote:
 On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote:
  Hi,
  
  I'm writing a bash script that basically checks for stocks prices and I
  want the formatted output to be mailed to me. I've got the script
  working already. The only problem is the HTML is well, not displayed as
  HTML, it's displayed RAW(and not formatted).
  
  I'm using cron to send the email out.
  
 
 Try using the mail command 
 
 behold the power of google:

I did, but obviously searching for bash script + email + HTML + format
doesn't yield anything since it can't be done(?)

 
   http://www.debian-administration.org/articles/171
 
 to put it simply: 
 
mail -a Content-type: text/html; -s Your Daily Stock Quote [EMAIL 
 PROTECTED]  filename.html 

I tried that. It worked perfectly. Only thing now, I'll have to hack the
script to put the output into a file and send our the file instead of
using cron.

Should be a simple thing.

Thanks.

 
 HTH
 
 W
 -- 
 I know that there are people in this world
 who do not love their fellow man,
 and I HATE people like that.   -- Tom Lehrer
 Sortir en Pantoufles: up 35 days,  3:49

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:14:16 up 2 days, 21:48, 7 users, load average: 1.55,
1.10, 2.36 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread John Jolet


On Sep 15, 2005, at 8:14 PM, Ow Mun Heng wrote:


On Thu, 2005-09-15 at 20:47 -0400, Willie Wong wrote:


On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote:


Hi,

I'm writing a bash script that basically checks for stocks  
prices and I

want the formatted output to be mailed to me. I've got the script
working already. The only problem is the HTML is well, not  
displayed as

HTML, it's displayed RAW(and not formatted).

I'm using cron to send the email out.




Try using the mail command

behold the power of google:



I did, but obviously searching for bash script + email + HTML +  
format

doesn't yield anything since it can't be done(?)




  http://www.debian-administration.org/articles/171

to put it simply:

   mail -a Content-type: text/html; -s Your Daily Stock Quote  
[EMAIL PROTECTED]  filename.html




I tried that. It worked perfectly. Only thing now, I'll have to  
hack the

script to put the output into a file and send our the file instead of
using cron.

Should be a simple thing.

Thanks.




HTH

W
--
I know that there are people in this world
who do not love their fellow man,
and I HATE people like that.   -- Tom Lehrer
Sortir en Pantoufles: up 35 days,  3:49



--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 09:14:16 up 2 days, 21:48, 7 users, load average: 1.55,
1.10, 2.36


--
gentoo-user@gentoo.org mailing list




you could also write a small perl script to actually send the  
emailI send out a newsletter that way every week.

--
gentoo-user@gentoo.org mailing list



<    1   2   3   4   5   6   >