[gentoo-user] Re: gthumb doesn't display images

2005-09-15 Thread Arkady Grudzinsky
Hmm...  Since this e-mail went totally ignored, I have to answer my own question (just for the record).
The problem went away after I installed Nautilus.  Gthumb
magically started to "see" images and display thumbs (as it is supposed
to if the name means anything).  Apparently, both Nautilus and
Gthumb use some dependency to generate thumbnails.  This
dependency is not stated explicitly in Gthumb README.  Nautilus
pulled a dozen of dependencies, and I did not spend time to find out
which particular one was the culprit.  I guess, people installing
Gthumb typically have Gnome with all bells and whistles which wasn't
the case with me.  This is why very few people encounter the
problem.  Apparently this omission in documentation must be fixed,
but I wouldn't bother with bug submissions.

Arkady.On 9/14/05, Arkady Grudzinsky <[EMAIL PROTECTED]> wrote:
Hi,I have emerged gthumb-2.6.5 on my machine.  I have
not noticed any errors during installation.  However, when I start
gthumb from the terminal, I get the following messages:(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `pixbuf != NULL' failed
(gthumb:24708): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `pixbuf != NULL' failed(gthumb:24708): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failedThe
application starts, but it always says "No image" in the thumbnails
window.  As I switch to a directory containing some jpegs from my
camera, I get a bunch of additional messages:
** (gthumb:24708): CRITICAL **: gth_image_list_append_with_data: assertion `pixbuf != NULL' failedI
didn't count, but I assume that the number of these messages is equal
to the number of images in the directory.  And the thumbnail
window still says "No image".
Any suggestions?  It appears to me that gthumb is unhappy
about some dependency.  All dependencies seem to be there. 
One more detail.  The file browser window in gthumb lacks folder
icons.  I have read some reports of similar problems with other
Gnome applications using GTK and Gnome themes, but nothing that would
suggest a solution for my problem.
On my laptop, I have compiled Linux from scratch manually and
gthumb has the same problem there.   I use XFCE as window
manager.  I have not explicitly installed Gnome.  Is that a
problem?  Does gthumb have some dependency which is not explicitly
stated?
Your help will be highly appreciated.
(This is a my second e-mail on this topic.  The first one had
no response for some reason and I am not sure if it has reached the
list).Arkady. 




Re: [gentoo-user] Unable to calculate Linux Kernel version

2005-09-15 Thread Ow Mun Heng
On Fri, 2005-09-16 at 15:42 +1200, Bogo Mipps wrote:
> Hi 
> 
> Simple problem, simple answer I'm sure. Not clear to me ex-list or google.
> 
> Trying to emerge svgalib-1.9.21 get following error:
> 
> Could not detect kernel version
> Please ensure that /usr/src/linux points to complete set of kernel sources
> Function linux-info_pkg_setup line 521 Exitcode 1
> Unable to calculate linux kernel version
> 
> Link is in place:
> 
> "/usr/src/-> linux-2.6.11-gentoo-r4"

Did you miss type?

/usr/src/linux -> linux-2.6.13-suspend2-r1/


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:53:14 up 3 days, 27 min, 8 users, load average: 1.96,
1.28, 0.94 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clarification of packages cd's for 2005.1

2005-09-15 Thread Ted Ozolins
Nick Rout wrote:

>On Fri, 16 Sep 2005 03:28:47 +0100
>Mike Williams wrote:
>
>  
>
>>On Friday 16 September 2005 03:11, Nick Rout wrote:
>>
>>
>>>I am looking at building a box this weekend. I want to use 2005.1 and if
>>>possible the packages cd (for a quick result) .
>>>
>>>I have an athlon 1133.
>>>
>>>The package cd's don't seem to have an athlon version any more. the
>>>choices seem to be alpha amd64 ppc (32 bit) ppc (64 bit) sparc64 x86.
>>>
>>>Is it true that the packagers have abandoned p3, p4 and athlon-*??
>>>  
>>>
>>http://tracker.netdomination.org/ appears to have them, but I too find it odd 
>>they aren't listed elsewhere.
>>
>>
>
>Yeah i just found them! But I wonder who built them? They are not
>mentioned on the gentoo release page.
>
>Also can a straight old "athlon" use the "athlon-xp" builds?
>
>Dazed & Confused.
>
>  
>
>>-- 
>>Mike Williams
>>-- 
>>gentoo-user@gentoo.org mailing list
>>
>>
>
>  
>
No, don't go there, I have both Athlon and Athlon-xp boxes here. I once
mixed up what was where and set up my Athlon as if it were an Athlon-xp.
Nothing but outright grief.

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

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Unable to calculate Linux Kernel version

2005-09-15 Thread Bogo Mipps
Hi 

Simple problem, simple answer I'm sure. Not clear to me ex-list or google.

Trying to emerge svgalib-1.9.21 get following error:

Could not detect kernel version
Please ensure that /usr/src/linux points to complete set of kernel sources
Function linux-info_pkg_setup line 521 Exitcode 1
Unable to calculate linux kernel version

Link is in place:

"/usr/src/-> linux-2.6.11-gentoo-r4"

"/usr/src/linux-2.6.11-gentoo-r4" exists

.config exists in this directory

modversion.h exists in /usr/src/linux-2.6.11-gentoo-r4/include/


What more can I do? 

Any help appreciated.

Bogo  

  
-- 
Sent via KMail 1.8.0, & o/s Linux-2.6.11-gentoo-r4
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with Script [SOLVED] + Help Make it more efficient

2005-09-15 Thread Ow Mun Heng
On Fri, 2005-09-16 at 14:03 +1200, Nick Rout wrote:
> On Fri, 16 Sep 2005 09:43:50 +0800
> Ow Mun Heng wrote:
> 
> > That's what I just did..
> > $ cat cron_fetch_stock.sh 
> > #!/bin/bash
> > #
> > TEMPFILE="/tmp/file.$$"
> > PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh
> > 
> > $PORTFOLIO_SCRIPT --html > $TEMPFILE 2>/dev/null>&1 && mail -a
> > "Content-Type: text/html" -s "Stock Quotes `date +%c`" < $TEMPFILE
> > gentoo && rm $TEMPFILE
> 
> 
> whats wrong with :
> 
> $PORTFOLIO_SCRIPT --html 2>/dev/null | mail -a  "Content-Type: text/html" -s 
> "Stock Quotes `date +%c`"
> 
> Assuming $PORTFOLIO_SCRIPT outputs to stdout (it should).

That worked too. I could've sworn I tried that but it didn't work. Oh
well, It works now anyway :-)

More than 1 way to skin a cat.

The other issue with my script is the actual script that parses
screen-scrapes. Initial script only went to get the "Last Price" now, I
would like to add the "Day Range" 

last_price()
{
value="$(lynx -dump "$url$symbol" | grep 'Last price:' | \
awk -F: 'NF > 1 && $(NF) != "N/A" { print $(NF) }' )"
}

day_range()
{
day_range="$(lynx -dump "$url$symbol" | grep 'Low \& High:' | \
awk -F: 'NF > 1 && $(NF) != "N/A" { print $(NF) }' )"
}

The above is in-efficient because I need to call the script to get the
page 2 times.

Doing a 

lynx -dump "$url$symbol" | egrep -i '(Last Price|Low \& High)'| awk -F:
'NF > 1 && $(NF) != "N/A" { print $(NF) }'

will work, but then, there will be 2 values associated with it :
7.35
  7.127 - 7.38

Can anyone help with a better awk script so that each value will be
associated with each line?

eg:
last_price=7.35
day_range=7.127 - 7.38

w/o actually piping the lynx output to a file (actually, that would be
the easy way)

On the other hand, how does one use awk for multigreps like egrep '(pop|
test)'

I've tried variation of 
1. awk "/Low & High/"
2. awk "/Low & High/" && /Last/
3. awk '{"/Low & High/" && /Last/}'
all of which doesn't work except for No. 1

> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:47:05 up 2 days, 23:21, 7 users, load average: 1.43,
1.47, 1.15 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvtv Seg Faults After 'emerge -uvD world' -- SOLVED!!!

2005-09-15 Thread Drew Tomlinson
Apparently nvtv does not work with the nvidia drivers after 1.0.7174.  
See 'man portage' and look for package.mask to see how to limit versions.


Drew

On 9/14/2005 6:59 PM Drew Tomlinson wrote:


On 9/13/2005 2:30 PM Nick Rout wrote:


On Tue, 2005-09-13 at 07:06 -0700, Drew Tomlinson wrote:
 

I'm running a 2.6.11-r6 kernel on a box whose main purpose is 
MythTV.  Everything was working fine until I did an upgrade using 
'emerge -uvD world' followed with 'revdep-rebuild'.  Now nvtv seg 
faults when I first attempt to run it.  Additional attempts result 
in this error message:


Fatal: Cannot access video cards. Either you are not root, or the
NVidia devices are not accessible.

I get the same message when attempting to run as root.

I've tried  removing and reinstalling both nvtv and nvidia-kernel 
but no joy.  I'm new to Gentoo and Linux but do have a bit of a *nix 
background with FreeBSD.  Any suggestions on how to resolve this 
would be greatly appreciated.
  



Drew I ahve seen a few messages here from you about mythtv related
stuff. Although I have no problem at all with you posting here, you may
get better results on the mythtv-user list. You can sub from a link on
www.mythtv.org
 

Thanks for the tip.  I do post there when my issue is directly related 
to MythTV.  I just felt this was more of a Gentoo thing as my issues 
started after a "emerge -uvD world".



It is a busy list, quite knowledgeable.

As for nvtv, are you actually using the nvidia driver? - do you get the
nvidia splash screen when you start X?
 

Yes, I am using the latest (I have ~x86 set) nvidia-kernel driver from 
portage as I was before upgrading.  I've read that many times the 
nvidia-kernel driver has to be recompiled after an upgrade.  I think 
it's just when upgrading the actual kernel but I recompiled anyway 
just to check.  It didn't help.  I also recompiled nvtv from portage 
but no help there either.


I also have TightVNC installed on this box and normally start a 
session on :1.  In checking this further, it is interesting that nvtv 
starts fine when using :1 via the TightVNC viewer if X is not running 
on :0.  However once X is on :0, that's when the seg faults start.  
Maybe I have a problem with my X config.  BTW, I'm using xorg.


Oh, and yes, I do see the nvidia splash screen when starting X on :0.

Thanks for your help!  Although I come from the FreeBSD world, I'm a 
noob when it comes to both Linux and Gentoo (and MythTV for that matter).


Drew




--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clarification of packages cd's for 2005.1

2005-09-15 Thread Nick Rout

On Fri, 16 Sep 2005 03:28:47 +0100
Mike Williams wrote:

> On Friday 16 September 2005 03:11, Nick Rout wrote:
> > I am looking at building a box this weekend. I want to use 2005.1 and if
> > possible the packages cd (for a quick result) .
> >
> > I have an athlon 1133.
> >
> > The package cd's don't seem to have an athlon version any more. the
> > choices seem to be alpha amd64 ppc (32 bit) ppc (64 bit) sparc64 x86.
> >
> > Is it true that the packagers have abandoned p3, p4 and athlon-*??
> 
> http://tracker.netdomination.org/ appears to have them, but I too find it odd 
> they aren't listed elsewhere.

Yeah i just found them! But I wonder who built them? They are not
mentioned on the gentoo release page.

Also can a straight old "athlon" use the "athlon-xp" builds?

Dazed & Confused.

> 
> -- 
> Mike Williams
> -- 
> gentoo-user@gentoo.org mailing list

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clarification of packages cd's for 2005.1

2005-09-15 Thread Dave Nebinger

Is it true that the packagers have abandoned p3, p4 and athlon-*??


I don't know about that, Nick, but if you can't find the p3, p4, or athlon 
packages I can tell you that distcc will be your best friend ;-) 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Doubts about how to create a free software project

2005-09-15 Thread Raphael Melo de Oliveira Bastos Sales
Hi everyone,

   I work with biotech and for about an 1 year I've been working on a
web interface for genome/proteome data analysis. And I'd like to make
it free software. But I still have doubts about legal problems I might
face and about intellectual property.
Basically, I don't want to restrict people on using and
contributing with source or whatever, but don't want anyone taking
credit for my work or pateting it and sending me a cease-and-desist
letter.
   If anyone has any insight, references or links on this subject,
please let me know.

Thanks for the attention,

Raphael

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Clarification of packages cd's for 2005.1

2005-09-15 Thread Mike Williams
On Friday 16 September 2005 03:11, Nick Rout wrote:
> I am looking at building a box this weekend. I want to use 2005.1 and if
> possible the packages cd (for a quick result) .
>
> I have an athlon 1133.
>
> The package cd's don't seem to have an athlon version any more. the
> choices seem to be alpha amd64 ppc (32 bit) ppc (64 bit) sparc64 x86.
>
> Is it true that the packagers have abandoned p3, p4 and athlon-*??

http://tracker.netdomination.org/ appears to have them, but I too find it odd 
they aren't listed elsewhere.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Clarification of packages cd's for 2005.1

2005-09-15 Thread Nick Rout
I am looking at building a box this weekend. I want to use 2005.1 and if 
possible the packages cd (for a quick result) .

I have an athlon 1133. 

The package cd's don't seem to have an athlon version any more. the
choices seem to be alpha amd64 ppc (32 bit) ppc (64 bit) sparc64 x86.

Is it true that the packagers have abandoned p3, p4 and athlon-*??
-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



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

2005-09-15 Thread Nick Rout

On Fri, 16 Sep 2005 09:43:50 +0800
Ow Mun Heng wrote:

> That's what I just did..
> $ cat cron_fetch_stock.sh 
> #!/bin/bash
> #
> TEMPFILE="/tmp/file.$$"
> PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh
> 
> $PORTFOLIO_SCRIPT --html > $TEMPFILE 2>/dev/null>&1 && mail -a
> "Content-Type: text/html" -s "Stock Quotes `date +%c`" < $TEMPFILE
> gentoo && rm $TEMPFILE


whats wrong with :

$PORTFOLIO_SCRIPT --html 2>/dev/null | mail -a  "Content-Type: text/html" -s 
"Stock Quotes `date +%c`"

Assuming $PORTFOLIO_SCRIPT outputs to stdout (it should).

-- 
Nick Rout <[EMAIL PROTECTED]>

-- 
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:30 -0500, John Jolet wrote:
> 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
> >>   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.
> >
> >
> 
> you could also write a small perl script to actually send the  
> emailI send out a newsletter that way every week.

That's what I just did..
$ cat cron_fetch_stock.sh 
#!/bin/bash
#
TEMPFILE="/tmp/file.$$"
PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh

$PORTFOLIO_SCRIPT --html > $TEMPFILE 2>/dev/null>&1 && mail -a
"Content-Type: text/html" -s "Stock Quotes `date +%c`" < $TEMPFILE
gentoo && rm $TEMPFILE



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:42:48 up 2 days, 22:17, 7 users, load average: 1.06,
0.86, 1.06 


-- 
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



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] Printing a bunch of images files, 2 images per page

2005-09-15 Thread Matthias Bethke
Hi gentoo-user,
on Friday, 2005-09-16 at 02:54:33, you wrote:
> Or there might be something in the > netpbm package...

Uh...silly me! I overlooked the part where you said they're PPM already.
So just skip the anytopnm :)

cheers!
Matthias

-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpWjWhw1hIKs.pgp
Description: PGP signature


Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread Denis
I read AnandTech.  And many other reviews by now.  But since I've been
out of hardware buying venture for a long time, I figured I'd read up
on the specs directly from the manufacturers' websites first and then
the reviews.  I can't say I am handy with different relationships
between front size bus speeds, system clock, and memory transfer
rates.  The point that Bob brought up about memory bus limitations was
very specific and only appeared in a couple reviews that I could
locate when I knew what to look for.

The general spirit seems to proclaim AMD ahead of the game, leaving
Intel in the dust.  However, there are things where Intel is still
ahead - such as areas of specialized scientific computing, for
example.  For example, I can get a 4-thread capability much cheaper
from Intel than from AMD, thanks to their much-criticized
HyperThreading technology.  Hyperthreading has been excellent for my
particular application of computing.  So, if I can build a good Intel
workstation with will give me 4 threads for around $2,000 instead of a
similar AMD workstation with 4 threads for over $3,500 - then I'd
rather stick to Intel on my budget.  At least for now.  Perhaps, in a
year or so, I'll migrate to AMD if Intel hasn't come up with something
suitable for my computing needs for a reasonable price.  I am sure
many people will disagree with what I am saying here, and I am not
trying to start a flame war over preferences, but in the case of
highly multithreaded computing in my case, this solution seems to make
sense right now.  For people with less specific needs, a dual AMD box
with single-core processors would probably make more sense on the same
budget.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Printing a bunch of images files, 2 images per page

2005-09-15 Thread Matthias Bethke
Hi romildo,
on Thursday, 2005-09-15 at 09:47:53, you wrote:

> I have a bunch of ppm image files that I want to print,
> putting 2 images per page. How can I do that, please?

If you know LaTeX, you could try writing a shellscript that prints a
LaTeX document that includes two images per page, run this through TeX
and print the resulting postscript. Or there might be something in the
netpbm package...untested:
( for f in $*; do anytopnm $f; done ) | pnmtops -setpage=a4 | \
  psnup -n 2 | lp

HTH
Matthias

-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgp9BeRjZNyMJ.pgp
Description: PGP signature


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

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


 (all the html bits)


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 "Stock Quotes :" $DATE ""
> echo ''
> echo "h1 {color: gray; border-bottom: 3px double silver}"
> echo "h2,h3 {color: gray; border-bottom: 1px solid silver}"
> echo ""
> echo ""
> echo "Stock Quotes :" $DATE ""
> echo ""
> }
> 
> 
> but all I get is :
> 
> Content-Type: text/html; charset=iso-8859-1
> Stock Quotes : Fri Sep 16 06:52:02 2005
> 
> 
> h1 {color: gray; border-bottom: 3px double silver}
> h2,h3 {color: gray; border-bottom: 1px solid silver}
> 
> 
> Stock Quotes : Fri Sep 16 06:52:02 2005 
> 
> 
> 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] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread Dave Nebinger

I was under the impression that the Opterons didn't have the same type
of a NorthBridge bottleneck that Intel processors experience and were
thus quite a bit more efficient in the way they integrate with RAM and
themselves!...  In fact, from reading the numbers posted on the AMD
website comparing FSB and memory bandwidth, the numbers for the
Opteron were much superior to those for Intel.  Reading what you wrote
would make me think that the numbers AMD published were some kind of a
marketing ploy??

The numbers I am referring to are in this PDF:
http://multicore2.amd.com/Products/CompetitiveComparisons/2P_Server_Comparison.pdf


Dude, you really should know by now that all of the numbers coming from a 
vendor and some of the numbers from 'independents' are always worked out to 
put their product on top.  [I say 'independents' in quotes because even 
sometimes those folks have an agenda that isn't always clear at first 
glance, and it also is unclear where they get their financial backing, i.e. 
are they in bed with Intel or AMD].


Stick with those that have community backing, namely sites like Anandtech 
and/or Toms Hardware.  You'll get more of a straight deal from them than any 
others I've seen.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread Michael Crute
On 9/15/05, C. Beamer <[EMAIL PROTECTED]> wrote:
However, I am still learning Gentoo and haven't yet figured out allthe nuances of portage.  I was just curious to find out if anyone hadtried the program.  I was not necessarily suggesting that I was aboutto jump on the bandwagon.

 IMO if you want to learn Portage there is no better way than the
command line. Check out the man pages and the online resources then use
the command line. The problem with trying to learning a tool using a
gui is that it does all the command work for you and you are none the
wiser. 

-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] ati-drivers: bad md5 sum [SOLVED]

2005-09-15 Thread Michael Crute
On 9/15/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
 of some useful info about DX9 on Wine.HollyThanks for the info. I'm gonna try the free DX for Wine as soon as I get home.

-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] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread Bob Sanders
On Thu, 15 Sep 2005 19:27:08 -0400
- - <[EMAIL PROTECTED]> wrote:

> 
> 
> This is the first time I heard of intel compilers and I am using dual
> 3.2GHz irwindales with 1 mb cache each and 2 GB of ram. Is there any
> advantage
> to using these compilers over GCC? What performance gain can I expect?
> 

It depends.  Straight compiles with no-optimization has shown them to
be faster in some case and slower in others.  If you have a specific application
set that you can actually hand code a few things, the Intel compilers will
take advantage of most of the features, gcc doesn't optimize.

Some folks have gone with the Intel compilers for the entire system, but I've
not heard of any reported results from their efforts.

You can go over the SpecOrg and look at the results of the INT/FP results.  All
the Intel results are with the Intel compilers.  Look at the test make up - 
which programs
they used for testing, and see if it matches your workload.  Then run the same 
thing
on your currect system to see if it comes close or wildly  different.

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



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread - -
After a google search, it seems like the ICC compiler compiles faster
and runs certain programs better. Gentoo has a package, can anyone say
if the ICC compiler has any issues compiling common packages such as
the gentoo base packages, gnome, or kde?


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] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread - -
On 9/12/05, Bob Sanders <[EMAIL PROTECTED]> wrote:
 
 
Intel's compiler fairly cheap - approx. $600.  Free for
non-commericalhome use.

This is the first time I heard of intel compilers and I am using dual
3.2 GHz irwindales with 1 mb cache each and 2 GB of ram. Is there any
advantage to using these compilers over GCC? What performance gain can
I expect?

And more on topic: the dual 3.2 GHz irwindales run like a charm. I
think that installing my entire system from stage 1 to full gnome took
approximately 5 hours in compile time. 


[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 "Stock Quotes :" $DATE ""
echo ''
echo "h1 {color: gray; border-bottom: 3px double silver}"
echo "h2,h3 {color: gray; border-bottom: 1px solid silver}"
echo ""
echo ""
echo "Stock Quotes :" $DATE ""
echo ""
}


but all I get is :

Content-Type: text/html; charset=iso-8859-1
Stock Quotes : Fri Sep 16 06:52:02 2005


h1 {color: gray; border-bottom: 3px double silver}
h2,h3 {color: gray; border-bottom: 1px solid silver}


Stock Quotes : Fri Sep 16 06:52:02 2005 


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] Plesk...

2005-09-15 Thread Mike Williams
On Thursday 15 September 2005 23:28, W.Kenworthy wrote:
> Then what is it?  A quick look at the web site tells me how good it is,
> but not what it does?  One of the faq questions deals with email.  Its a
> "control panel" - but for what.  They mention things like skinning it,
> but not "what does plex do" ...

It's a control panel, for a server.

Mail, DNS, virtual hosting, etc, etc.

Something akin to webmin/usermin.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread Holly Bostick
Mauro Faccenda schreef:
>
 > You understood what it means => you are geek
> 
> And don't try to avoid been called geek by using those fancy smileys. ;)


Drat! And I would have got away with it, too, if it wasn't for you
meddling kids .!!!

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



Re: [gentoo-user] Opinions?

2005-09-15 Thread Mauro Faccenda
On Thursday 15 September 2005 19:20, Holly Bostick wrote:
>
> :-) :-) :-) :-)
>
> I would guess that it means 'not equal to', and is typed this way
> because either 1) that's what programmers use, and we *are* all geeks
> (except me, obviously) and/or 2) the symbol of an equal sign with a
> slash through it (the standard mathematical/scientific symbol that 'the
> average user' might reasonably be expected to know from school) cannot
> be typed easily from most keyboards.

You understood what it means => you are geek

And don't try to avoid been called geek by using those fancy smileys. ;)

[]'s
Mauro
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread Holly Bostick
Christoph Eckert schreef:

> To be honest, this has nothing to do with command line or not. I use
> a great command line script called unp. It unpacks any archive format
>  without knowing the options of the various packing tools. Simply
> type »unp FILENAME« and you're done. Like it.
> 

Oh, and thanks for the tip. Unp looks quite useful (and takes about 10
seconds to emerge, which is also neat).

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



Re: [gentoo-user] Plesk...

2005-09-15 Thread W.Kenworthy
Then what is it?  A quick look at the web site tells me how good it is,
but not what it does?  One of the faq questions deals with email.  Its a
"control panel" - but for what.  They mention things like skinning it,
but not "what does plex do" ...

BillK


On Thu, 2005-09-15 at 12:39 -0400, Mark Shields wrote:
> Rumen,
> 
> Plesk isn't an MTA. http://www.sw-soft.com/en/plesk/
> 
> On 9/15/05, Rumen Yotov <[EMAIL PROTECTED]> wrote:
> Mal Herring wrote:

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



Re: [gentoo-user] named init-script error

2005-09-15 Thread Dave Nebinger

What version of bind are we talking about?

net-dns/bind-9.3.1-r4


Well, this version is masked, maybe for this reason?

I'm running 9.2.5-r6, the latest stable, and do not have this issue...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread Holly Bostick
Christoph Eckert schreef:
> GUI != ease of use

:-) :-) :-) :-)

See, statements like this are why 'the average user' says that Linux is
only for geeks.

:-) :-) :-) :-)

What in the bloody blue blazes does "!=" mean?

:-) :-) :-) :-)

I would guess that it means 'not equal to', and is typed this way
because either 1) that's what programmers use, and we *are* all geeks
(except me, obviously) and/or 2) the symbol of an equal sign with a
slash through it (the standard mathematical/scientific symbol that 'the
average user' might reasonably be expected to know from school) cannot
be typed easily from most keyboards.

But really... talk normal, please.

:-) :-) :-) :-)

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



Re: [gentoo-user] Opinions?

2005-09-15 Thread Volker Armin Hemmann
On Thursday 15 September 2005 08:13, Arkady Grudzinsky wrote:
> I would compare GUI to helper wheels for bycicles. You may need them if you
> can't ride, but once you know how to ride they start limiting you and
> getting in your way. In my experience, time spent to learn the text
> interface is much better invested than time spent to learn which button to
> push, which box to check and where the menu item is located. Text commands
> combined with the arsenal of standard UNIX tools (awk, sed, Perl, piping,
> regular expressions, output redirection, shell scripting, job scheduling)
> are way more powerful and flexible than any imaginable GUI.
>
> Image processing tools are exceptions (to certain extent) to which portage
> does not belong.
>
> Just an opinion... (you asked for one).
>

well, some of the guis have the advantage, that you can see easily, which 
packets are installed, or have the descriptions readily there. That is 
sometimes usefull. 
But most of the time - yes. the guis are not needed in any way ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread Christoph Eckert
Hi,


> I would compare GUI to helper wheels for bycicles. You may need them
> if you can't ride, but once you know how to ride they start limiting
> you and getting in your way.

Hm, good comparison, but only half of the truth.

Most people only need a small part of the options command line tools 
allow. Therefore, GUIs are, yes, limiting, but limiting to a reasonable 
set of commonly used features.

I can see nothing bad with it *as long* the command line options are 
still available to people who need finer control.

To be honest, this has nothing to do with command line or not. I use a 
great command line script called unp. It unpacks any archive format 
without knowing the options of the various packing tools. Simply type 
»unp FILENAME« and you're done. Like it.

Noone looses control due to the fact this script exists, but n00bs will 
benefit from it as well as professionals.

> In my experience, time spent to learn 
> the text interface is much better invested than time spent to learn
> which button to push, which box to check and where the menu item is
> located.

Then the UI has been designed without respecting usability facts and 
you're right, CLI usage can be better. GUI != ease of use. It can be, 
but GUI alone doesn't make ease of use.


Gruß / regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] named init-script error

2005-09-15 Thread Peper
> What do you have in /etc/conf.d/named?
OPTIONS=""
CPU="1"

> What version of bind are we talking about?
net-dns/bind-9.3.1-r4


-- 
Best Regards
Piotr Jaroszynski

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] named init-script error

2005-09-15 Thread Dave Nebinger

$ /etc/init.d/named start
* Starting named ...
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n
number_of_cpus]
[-p port] [-s] [-t chrootdir] [-u username]
[-m {usage|trace|record}]
named: extra command line arguments

What do you think about it?


What do you have in /etc/conf.d/named?

What version of bind are we talking about?

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Opinions?

2005-09-15 Thread C. Beamer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arkady Grudzinsky wrote:

> I would compare GUI to helper wheels for bycicles. You may need
> them if you can't ride, but once you know how to ride they start
> limiting you and getting in your way. In my experience, time spent
> to learn the text interface is much better invested than time
> spent to learn which button to push, which box to check and where
> the menu item is located. Text commands combined with the arsenal
> of standard UNIX tools (awk, sed, Perl, piping, regular
> expressions, output redirection, shell scripting, job scheduling)
> are way more powerful and flexible than any imaginable GUI.
>
> Image processing tools are exceptions (to certain extent) to which
> portage does not belong.
>
> Just an opinion... (you asked for one).

Yes, I did ask for an opinion.  :-)

Just for the record, this isn't an issue of not being able to use the
command line.  I *love* the command line.  That's one of a number of
reasons that I moved to Linux.  :-)

However, I am still learning Gentoo and haven't yet figured out all
the nuances of portage.  I was just curious to find out if anyone had
tried the program.  I was not necessarily suggesting that I was about
to jump on the bandwagon.

Thanks for the opinions.  As of now, I think I'll just stick to
learning portage!  :-)

Regards,

Colleen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDKeuW7FsR4jhcRJoRAnKFAKCDbB4xUxH2XQe02ozhL6xOwOJUFwCbBmpG
NueM6ndzRTlHFg22MoLWNs0=
=RPHq
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] named init-script error

2005-09-15 Thread Peper
Hello,

How is it possible that:
$ /etc/init.d/named start
 * Starting named ...
usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n
number_of_cpus]
 [-p port] [-s] [-t chrootdir] [-u username]
 [-m {usage|trace|record}]
named: extra command line arguments

is not working as

$ start-stop-daemon --start --quiet --pidfile \
/var/run/named/named.pid --exec /usr/sbin/named -- -u named -n 1

works perfectly well.

fragment of /etc/init.d/named:
start() {
ebegin "Starting ${CHROOT:+chrooted }named"
checkconfig || return 1
start-stop-daemon --start --quiet --pidfile ${PIDFILE}
--exec \/usr/sbin/named

#removed this just for testing but nothing changed
#\ -- -u named -n ${CPU} ${OPTIONS} ${CHROOT:+-t $CHROOT}
eend $?
}

What do you think about it?

-- 
Best Regards
Piotr Jaroszynski
begin:vcard
fn;quoted-printable:Piotr Jaroszy=C5=84ski
n;quoted-printable:Jaroszy=C5=84ski;Piotr
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-15 Thread kashani

Mal Herring wrote:

Hi List,
Been looking on forums.gentoo.org looking for a way to pair two NIC's so
that should the primary fail, the secondary takes over...

The situation is this:

8 HP DL380G4's all running Gentoo moving into a data centre rack, the
firewall is currently a Netscreen(Juniper) 25 and another will be added
to give us Active/Passive failover on the firewalls.

Redundant switches will be added behind the firewalls to ensure that is
not a single point of failure, all the DL380 have two NIC's in them and
currently only one is active.

All boxes covered with HP on a 24x7x4 Carepaq, redundant power supplies
to be added - DC is a N+1 so fine there...

Biggest issue I am facing and becoming lost on is teaming the NIC's so I
can connect NIC1 to Switch 1 and NIC2 to switch 2 etc...


I've got three scenarios which may work, but none are close to perfect.

1. Take the hit.
	Build your setup with enough extra capacity that losing a switch and 
all the machines behind it won't cause downtime. The pros are it's easy, 
failover isn't complicated, but you may need more machines than you have 
now.


2. Routers routers everywhere
	Run a routing daemon on each server. Real interfaces become /30 links 
and the server daemons run on a loopback address. The end effect is that 
there are two paths to your loopback, OSPF converges quickly, and src 
IP's and arp addresses never change. The cons is that it's complicated 
and there are a thousand and one ways to shoot yourself in the foot.


3. local VRRP
	Set eth0 as .2 and eth1 as .3 and then have them collude to make .1. 
Assuming things fail in such a way that eth0 fails completely then .3 
should take over as the primary interface and take .1 with it. Better 
machine use, less complicated than OSPF everywhere, but I'm not sure 
it'll work. I suspect that eth0 and eth1 will stay up as far as the 
local machine is concerned and won't move the virtual IP around.


None of these ideas are great, but might get you thinking about 
something that might work.


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



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-15 Thread Michael Sullivan
On Thu, 2005-09-15 at 13:46 -0700, Daevid Vincent wrote:
> Okay. Last night I ripped out every 'mailman' directory and file I could
> find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n
> problem. WTF?!
> 
> Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error.  Mailman
> expected the mail_wrapper script to be executed as group "mailman", but_the
> system's mail server executed the mail script as_group "mail".  Try tweaking
> the mail server to run the_script as group "mailman", or re-run configure,
> _providing the command line option `--with-mail-gid=mail'._
> 
> Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW **
> |/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> R=system_aliases
> T=address_pipe: Child process of address_pipe transport returned 2 from
> command: /usr/local/mailman/mail/mailman
> 
> 
> Upgrading from version 0x to 0x20105f0
> getting rid of old source files
> no lists == nothing to do, exiting
>  * Running `/usr/local/mailman/bin/check_perms -f` *
> directory must be at least 02775: /usr/local/mailman/logs (fixing)
> directory permissions must be 02775: /usr/local/mailman/lists (fixing)
> directory permissions must be 02775: /usr/local/mailman/locks (fixing)
> directory permissions must be 02775: /usr/local/mailman/spam (fixing)
> directory permissions must be 02770: /usr/local/mailman/qfiles (fixing)
> ...
> 
> daevid portage-logs # /usr/local/mailman/bin/check_perms -f
> No problems found
> 
> daevid portage-logs # su mailman
> [EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms 
> -f
> No problems found
> 

I'm not sure if I understand your problem correctly - I haven't been
following this particular thread (sorry!), but it sounds like you're
having a similar problem to one I had awhile ago.  Here is the response
I got that fixed it:

Michael,
I've had the same problem before.  In order for Mailman to work 
properly, it has to know the gid of the mail program at compile time.  
In this case it was told the mail program's gid was that of group 
"mailman", but when the script was executed it was with the gid of
group 
"deamon".  The easiest way I've found (and possibly the only?) to fix
it 
is to use vigr to get the gid of the daemon group, then edit the
mailman 
ebuild file.  Right near the top of the file is an option for setting 
the mail-gid.  Change that number to the one you found from vigr, then 
re-emerge mailman.  Keep in mind that you'll have to repeat this 
procedure every time you upgrade mailman because the new ebuild won't 
have your changes in it.
Bryan

>
>   - Transcript of session follows -
>Group mismatch error.  Mailman expected the mail
>wrapper script to be executed as group "mailman", but
>the system's mail server executed the mail script as
>group "daemon".  Try tweaking the mail server to run the
>script as group "mailman", or re-run configure, 
>providing the command line option `--with-mail-gid=daemon'.
>554 5.3.0 unknown mailer error 2

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] mailman stopped working after upgrade

2005-09-15 Thread Daevid Vincent
Okay. Last night I ripped out every 'mailman' directory and file I could
find. Unmerged mailman. Backed up my lists. And re-emerged mailman. Same f'n
problem. WTF?!

Sep 15 13:31:17 [Mailman mail-wrapper] Group mismatch error.  Mailman
expected the mail_wrapper script to be executed as group "mailman", but_the
system's mail server executed the mail script as_group "mail".  Try tweaking
the mail server to run the_script as group "mailman", or re-run configure,
_providing the command line option `--with-mail-gid=mail'._

Sep 15 13:31:17 [exim] 2005-09-15 13:31:17 1EG0O5-0005FA-EW **
|/usr/local/mailman/mail/mailman post rbc <[EMAIL PROTECTED]> R=system_aliases
T=address_pipe: Child process of address_pipe transport returned 2 from
command: /usr/local/mailman/mail/mailman


Upgrading from version 0x to 0x20105f0
getting rid of old source files
no lists == nothing to do, exiting
 * Running `/usr/local/mailman/bin/check_perms -f` *
directory must be at least 02775: /usr/local/mailman/logs (fixing)
directory permissions must be 02775: /usr/local/mailman/lists (fixing)
directory permissions must be 02775: /usr/local/mailman/locks (fixing)
directory permissions must be 02775: /usr/local/mailman/spam (fixing)
directory permissions must be 02770: /usr/local/mailman/qfiles (fixing)
...

daevid portage-logs # /usr/local/mailman/bin/check_perms -f
No problems found

daevid portage-logs # su mailman
[EMAIL PROTECTED] /var/tmp/portage-logs $ /usr/local/mailman/bin/check_perms -f
No problems found

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-15 Thread Mike Williams
On Thursday 15 September 2005 19:08, A. Khattri wrote:
> Shame we dont have anything like CARP for Linux yet... (unless someone
> knows better?).

UCARP, but it's fundamentally flawed, as iptables has no method to keep state 
tables in sync between machines.

Personally, I prefer to have iptables set up to allow traffic over connections 
that are already established.
This way you can swap firewalls (and update arp), reboot them, etc, without 
interupting the connection. Far from perfect, but it works to a degree.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread Neil Bothwick
On Thu, 15 Sep 2005 12:25:14 -0700, Carl Flippin wrote:

> The trick to getting it all to work together is doing the raid setup
> first and then using the /dev/md* devices for the LVM2 setup.

I did something similar here. By creating the RAID first, you only need
to RAID one large partition.


-- 
Neil Bothwick

Seduced by the Chocolate side of the Force...


pgpUNnoZGGtiu.pgp
Description: PGP signature


Re: [gentoo-user] ati-drivers: bad md5 sum [SOLVED]

2005-09-15 Thread Holly Bostick
Michael Crute schreef:
> On 9/14/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
> 
>> Would have done it months ago, Mike, if there was any way, but I 
>> really have absolutely no budget, even for an MX440 (true 
>> desperation, if I'm even considering an MX 440 in this day and age.
>>  But I'd rather that than a 5200, all things considered.
> 
> 
> I know not everyone can afford a nVidia card... I was just giving you
>  a hard time. It is worth noting though that nVidia on Linux is so 
> easy. If anyone is building a new Linux box I wouldn't go with ATI, 
> but then again I am biased against ATI.
> 
>> What I'd really like -- a 6600-- is right out).
> 
> 
> If you're gonna spend that much money go all the way for a 6800 its 
> well worth the cash.

Thanks for the tip.
> 
>> I may wind up putting my Matrox G400 Max back in here, but Wine is 
>> soo close on DX 9 (which the G400 of course does not support) 
>> that I can't bear it.
>> 
> 
> Wine and DX9... I find this very interesting, where did you hear 
> that? How would I follow that development? I am really hoping to see 
> DX9 support in Wine so I can finally run some of the games I had to 
> give up when jumping from Windoze. -Mike

I subscribe to the wine-devel mailing list (as well as wine-users).
There's an IRC channel as well, I think (you can find out on the Wine
site, http://www.winehq.org , as well as how to subscribe to either,
both, or more of the lists, like wine-bugs,. or wine-patches), but I
hate IRC almost as much as I hate IM, so I don't usually go there. I
would, if I could write a patch, though :) .

You might also consider getting wine from cvs, which might have some of
the uncommitted patches there, and Oliver Steiber (who's doing most of
the work on DX9 support) has a homepage for his work at
http://directxwine.sourceforge.net/ . Nice thing is he seems to have an
ATI card as well, so I'm hopeful that when the work does get committed,
it will work well with the ATI card (and maybe I'll be able to finish
Myst 4 and Uru, not to mention play the Sims 2, although I recently
managed to get the original Sims installed and running, so I might not
get too worried about the sequel. Being able to play NWN 2 -- if it's
not native, which I haven't checked yet-- and The Elder Scrolls:
Oblivion when they come out would be very, very nice,
though).

Since you have an nVidia card, you might also consider Cedega, which
runs a lot of DX9 games already (up to 9.0b, I think). If you have
another way to install them other than via the installer (like
previously installed on a Windows partition), you should be able to use
Cedega's CVS version (free). Or, of course, you could subscribe (5 USD
p/m, 3 month minimum) for the full monty (InstallShield support, current
version of the program, Point2Play, the graphical install and management
utility, support, ability to vote on what they work on supporting next,
ability to post on the forums, etc).

I don't so much like Cedega as opposed to Wine, because Wine tends to
work on 'global' issues (getting DirectX 9 working, for example), which
I consider 'normal', wheras Transgaming tends to work on 'getting the
game-of-the-week running, no matter what else breaks by doing so', but
hey, if you want to play HL2, and that's all you want, then Cedega is
definitely an option though not so much if you have an ATI card. I
know of at least two games that supposedly run perfectly under Cedega
with nVidia cards, but run like trash with my ATI card (severe graphical
corruption), and in fact the Cedega release notes mention several games
that they support which do not run, or run with severe problems
specifically when using ATI cards.

Oh, and btw, the original issue of this thread is [SOLVED], I updated
today and it went through fine. Haven't restarted X yet, though. But
afaik, the update isn't for me so much anyway (Gentoo changelog
indicates -r5 fixes some bug in 64-bit), but since there seems to be a
revision in the RPM as well, there might be some unmentioned
improvements for 32-bit users as well.

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



Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread Carl Flippin
I have such a setup. It was fairly easy to do.

For the LVM2 part, just follow this howto:

http://www.gentoo.org/doc/en/lvm2.xml

For the raid part, the documentation you need is here:

http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml#software-raid

The trick to getting it all to work together is doing the raid setup first
and then using the /dev/md* devices for the LVM2 setup.

If you have any questions, feel free to email me.

Carl Flippin

On 9/15/05, A. Khattri <[EMAIL PROTECTED]> wrote:
> 
> Anybody using lvm2 and RAID together on the same partitions?
> 
> Can anyone detail how to create such a setup?
> 
> 
> --
> 
> --
> gentoo-user@gentoo.org mailing list
> 
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cdk build error

2005-09-15 Thread Robert Crawford
On Thursday 15 September 2005 12:44 pm, Aleksandr Guidrevitch wrote:
> Hi there,
>
> I get the following error while `emerge -uD world`:

> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No
> such file or directory
> make: *** [libcdk.la] Error 1
>
> I have 3.3.6 installed. I've also run `fix_libtool_files.sh 3.3.5` but
> it doesn't help
>
> Sincerely,
> Aleksandr Guidrevitch

Try rebuilding libtool, then do fix_libtool_files.sh again. Then try your 
emerge -uD world again.

Sometimes that seems to be required.  If that doesn't work, have you also kept 
up with doing revdep-rebuild after big emerges- that might contribute to the 
problem too. (use the -p option first to see what you are dealing with).

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2 and RAID

2005-09-15 Thread brettholcomb
I did it with EVMS.  I created the raid, then lvm on it.  It's been a while so 
I don't remember the details.  If you're not using EVMS you can create the 
raid, then apply LVM to do what you want.

> 
> From: "A. Khattri" <[EMAIL PROTECTED]>
> Date: 2005/09/15 Thu PM 02:30:42 EDT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] lvm2 and RAID
> 
> 
> Anybody using lvm2 and RAID together on the same partitions?
> 
> Can anyone detail how to create such a setup?
> 
> 
> -- 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sort of OT - dev-lang/php vs dev-php/php

2005-09-15 Thread Michael Crute
On 9/15/05, Antoine <[EMAIL PROTECTED]> wrote:
Hi,I am at a bit of a loss to understand the difference between the shellinterpreter and the runtime engine - could someone clarify?
CheersAntoine
The runtime engine allows you to embed PHP scripting ability into programs while the CLI allows you to run PHP scripts from the command line. Basically, you can't interact with the runtime engine you need the CLI or Apache module or something else to interact with PHP directly.

 
-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] ati-drivers: bad md5 sum

2005-09-15 Thread Michael Crute
On 9/14/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
Would have done it months ago, Mike, if there was any way, but I reallyhave absolutely no budget, even for an MX440 (true desperation, if I'm
even considering an MX 440 in this day and age. But I'd rather that thana 5200, all things considered. 
 
I know not everyone can afford a nVidia card... I was just giving you a hard time. It is worth noting though that nVidia on Linux is so easy. If anyone is building a new Linux box I wouldn't go with ATI, but then again I am biased against ATI.

What I'd really like -- a 6600-- is rightout).
 
If you're gonna spend that much money go all the way for a 6800 its well worth the cash.
I may wind up putting my Matrox G400 Max back in here, but Wine issoo close on DX 9 (which the G400 of course does not support) that I
can't bear it.
Wine and DX9... I find this very interesting, where did you hear that? How would I follow that development? I am really hoping to see DX9 support in Wine so I can finally run some of the games I had to give up when jumping from Windoze.

 
-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?" 



[gentoo-user] lvm2 and RAID

2005-09-15 Thread A. Khattri

Anybody using lvm2 and RAID together on the same partitions?

Can anyone detail how to create such a setup?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hardware advice for dual-processor set-up on gentoo

2005-09-15 Thread A. Khattri
On Mon, 12 Sep 2005, Denis wrote:

> So basically...  I would pretty much be buying an already outdated
> technology if I were to purchase a dual Xeon or a dual Opteron system
> now?

One could say that about any technology you buy ;-)

> I guess the other advantage is that a good dual Xeon system with 4GB
> RAM will run me around $3000, whereas a dual Opteron (with dual core)
> system with 4GB RAM will run me more like $4300.  If the Opterons are
> currently at their memory bandwidth limit, I will have spent the $4300
> for nothing, especially since I need the fastest memory integration I
> can get for my codes.
>
> Would I be better buying a dual Xeon system if I needed to buy right
> now instead of waiting for the bandwidth issue to be resolved?

It has to be said: Intel have been completely outmaneuvered by AMD with
respect to multicore chips. Intel have been chasing faster clock speeds
with larger transister counts while AMD have been pursuing a smarter
solution IMHO. I think it will be awhile before Intel starting cranking
out decent dual-core chips. Dont forget AMD have quad-core chips in the
pipeline too so they will be maintaining their lead for awhile.

As far as multicore support in boards go, last time I looked, Tyan seemed
to be in the lead with this. They have a quad-cpu board (effectively 8
cores when using dual-core chips - each chip has its own memory slots
with up to 4 or 8Gb per CPU). Tyan also now have a way of connecting
two quad-cpu boards together allowing you to build a 16-core Opteron
system. You could always buy a quad-core board and just keep adding
CPU's to upgrade and eventually add the second board when you need more
CPU ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] sort of OT - dev-lang/php vs dev-php/php

2005-09-15 Thread Antoine

Hi,
I am at a bit of a loss to understand the difference between the shell 
interpreter and the runtime engine - could someone clarify?

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Load Balancing / Redundant Network ?

2005-09-15 Thread A. Khattri
On Wed, 14 Sep 2005, Olaf Niermann wrote:

> Maybe you can try a lookup onto 'heartbeat' (emerge -s heartbeat) allthough
> it might be overloaded for your needs and I personally just use it for
> failover between different physical servers.

Just wanted to add that heartbeat is part of the HA Linux project - maybe
you'll find useful stuff at their site or on their mailing lists?

http://www.linux-ha.org/

Shame we dont have anything like CARP for Linux yet... (unless someone
knows better?).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ati-drivers: bad md5 sum

2005-09-15 Thread Rafael Fernández López
I wonder why I bought a computer with an ATI graphics card. I know, it
was really cheap. Next time I'll bought another with an nVidia, but I
can't understand why X.org drivers cannot handle damage extensions and
so on with ati cards...

Bye.


Re: [gentoo-user] Plesk...

2005-09-15 Thread Holly Bostick
Mal Herring schreef:
> Hi List,
> Anyone ever installed Plesk onto a Gentoo server ?
> 
> Can it be done and if so how did you find the install ?
> 
> Got someone wanting me to install a Plesk box for them and I don't want
> to have to use Red-Hat
> 
Apparently, you don't, anymore:

OS Requirements

* Standard configuration of Red Hat® Linux 7.3, or 9.0
* Standard configuration of Red Hat® Enterprise Linux 2.1 (AS/ES)
* Standard configuration of Red Hat® Enterprise Linux 3.0 (AS/ES)
* NEW Standard configuration of Red Hat® Enterprise Linux 4.0 (AS/ES)
* Standard configuration of FreeBSD® 4.9 or 5.3
* Standard configuration of SuSE® Linux 9.1
* NEW Standard configuration of SuSE® Linux 9.3
* Standard configuration of SuSE® 64bit
* NEW Standard configuration of of SuSE® Linux 9.3 64bit
* Standard configuration of Fedora Core 1
* Standard configuration of Fedora Core 2
* NEW Standard configuration of Fedora Core 3
* Standard configuration of CentOS 3.3
* Standard configuration of Debian 3.1
* NEW Standard configuration of Ubuntu 5.04


No Gentoo, of course, but it's still a lot more flexible than being
stuck with RH

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



Re: [gentoo-user] Plesk...

2005-09-15 Thread Rumen Yotov
Mark Shields wrote:
> Rumen,
> 
> Plesk isn't an MTA. http://www.sw-soft.com/en/plesk/
> 
> On 9/15/05, *Rumen Yotov* < [EMAIL PROTECTED]
> > wrote:
> 
> Mal Herring wrote:
> > Hi List,
> > Anyone ever installed Plesk onto a Gentoo server ?
> >
> > Can it be done and if so how did you find the install ?
> >
> > Got someone wanting me to install a Plesk box for them and I don't
> want
> > to have to use Red-Hat
> >
> > Thanks in advance.
> >
> > Mal
> >
> Hi,
> Why not install qmail instead, there's an ebuild for it in portage plus
> many utilities related to qmail. See also the other response about
> compatibility (packages qmail depends on).
> HTH. Rumen
> --
> gentoo-user@gentoo.org  mailing list
> 
> 
> 
> 
> -- 
> - Mark Shields
Hi Mark,
Thanks for the info, confess i haven't checked about Plesk, only from
rare emails about it (seen them here/ML) assumed it's a qmail-clone
(just customized/paid one). Just there's still no Plesk in Gentoo.
Rumen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fwd: gnome-spell build failing

2005-09-15 Thread Holly Bostick
Nelis Lamprecht schreef:
>  * Applying gnome-spell-1.0.6-enchant.patch ...
>[ ok ] * Applying
> gnome-spell-1.0.6-combo.patch ...
>[ ok ] * Runnig aclocal
> /usr/share/aclocal/path_dps.m4:202: warning: underquoted definition of
> AC_PATH_DPS_GUESS_GNUSTEP
>   run info '(automake)Extending aclocal'
>   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> /usr/share/aclocal/path_dps.m4:239: warning: underquoted definition of
> AC_PATH_DPS_GUESS
> /usr/share/aclocal/path_dps.m4:333: warning: underquoted definition of
> AC_PATH_DPS_CHECK_LIB
> /usr/share/aclocal/path_dps.m4:405: warning: underquoted definition of
> AC_PATH_DPS_CHECK_HEADER
> /usr/share/aclocal/path_dps.m4:440: warning: underquoted definition of
> AC_PATH_DPS_CHECK
> /usr/share/aclocal/path_dps.m4:450: warning: underquoted definition of
> AC_PATH_DPS
> /usr/share/aclocal/path_dps.m4:525: warning: underquoted definition of
> AC_CHECK_DPS_NXAGENT
> /usr/share/aclocal/path_dps.m4:558: warning: underquoted definition of
> AC_PATH_DPSET
> /usr/share/aclocal/path_dps.m4:579: warning: underquoted definition of
> AC_PROG_PSWRAP
> /usr/share/aclocal/path_dps.m4:172: file `path_dps.m4' does not exist
>
You might also be interested in this; just showed up in Portage today:

dgs 1234
Thu Sep 15 04:38:29 2005

Description: fake ebuild to force removal of broken path_dps.m4

Looks like it's intended to fix exactly your problem.

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



Re: [gentoo-user] Plesk...

2005-09-15 Thread Mark Shields
Rumen,

Plesk isn't an MTA. http://www.sw-soft.com/en/plesk/On 9/15/05, Rumen Yotov <
[EMAIL PROTECTED]> wrote:Mal Herring wrote:> Hi List,> Anyone ever installed Plesk onto a Gentoo server ?
>> Can it be done and if so how did you find the install ?>> Got someone wanting me to install a Plesk box for them and I don't want> to have to use Red-Hat>> Thanks in advance.
>> Mal>Hi,Why not install qmail instead, there's an ebuild for it in portage plusmany utilities related to qmail. See also the other response aboutcompatibility (packages qmail depends on).
HTH. Rumen--gentoo-user@gentoo.org mailing list-- - Mark Shields


[gentoo-user] cdk build error

2005-09-15 Thread Aleksandr Guidrevitch

Hi there,

I get the following error while `emerge -uD world`:

creating libcdk.la
i686-pc-linux-gnu-g++ -shared -nostdlib 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crti.o 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o  
.libs/dscale.o .libs/fscale.o .libs/fslider.o .libs/scale.o 
.libs/slider.o .libs/uscale.o .libs/uslider.o .libs/alphalist.o 
.libs/binding.o .libs/button.o .libs/buttonbox.o .libs/calendar.o 
.libs/cdk.o .libs/cdk_compat.o .libs/cdk_objs.o .libs/cdk_params.o 
.libs/cdkscreen.o .libs/debug.o .libs/dialog.o .libs/draw.o 
.libs/entry.o .libs/fselect.o .libs/get_index.o .libs/get_string.o 
.libs/graph.o .libs/histogram.o .libs/itemlist.o .libs/label.o 
.libs/marquee.o .libs/matrix.o .libs/mentry.o .libs/menu.o 
.libs/popup_dialog.o .libs/popup_label.o .libs/position.o .libs/radio.o 
.libs/scroll.o .libs/selection.o .libs/swindow.o .libs/select_file.o 
.libs/template.o .libs/traverse.o .libs/version.o .libs/view_file.o 
.libs/view_info.o .libs/viewer.o  
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130 
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../../i686-pc-linux-gnu/lib 
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../.. -lstdc++ 
-lm -lc -lgcc_s 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtendS.o 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o  
-Wl,-soname -Wl,libcdk.so.1 -o .libs/libcdk.so.1.1.4
i686-pc-linux-gnu-g++: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crti.o: No 
such file or directory
i686-pc-linux-gnu-g++: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtbeginS.o: No such 
file or directory
i686-pc-linux-gnu-g++: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/crtendS.o: No such 
file or directory
i686-pc-linux-gnu-g++: 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No 
such file or directory

make: *** [libcdk.la] Error 1

I have 3.3.6 installed. I've also run `fix_libtool_files.sh 3.3.5` but 
it doesn't help


Sincerely,
Aleksandr Guidrevitch
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Plesk...

2005-09-15 Thread Rumen Yotov
Mal Herring wrote:
> Hi List,
> Anyone ever installed Plesk onto a Gentoo server ?
> 
> Can it be done and if so how did you find the install ?
> 
> Got someone wanting me to install a Plesk box for them and I don't want
> to have to use Red-Hat
> 
> Thanks in advance.
> 
> Mal
> 
Hi,
Why not install qmail instead, there's an ebuild for it in portage plus
many utilities related to qmail. See also the other response about
compatibility (packages qmail depends on).
HTH. Rumen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Plesk...

2005-09-15 Thread Jonathan Wright
Mal Herring wrote:
> Hi List,
> Anyone ever installed Plesk onto a Gentoo server ?
> 
> Can it be done and if so how did you find the install ?
> 
> Got someone wanting me to install a Plesk box for them and I don't want
> to have to use Red-Hat
> 
> Thanks in advance.

Good luck! :)

Actually, it's very difficult as Plesk relies both on knowing the
location of certain files (which gentoo doesn't always keep in the same
place as other distributions - apache2 being an example) and the
installation of some of it's own utilities and programs (all of which
come in RPM format).

While it is (in the long run) possible to setup Plesk on a gentoo
server, it's not supported by Plesk and it's not as simple as just
downloading the RPMs and running an ebuild. AFAIK, no-one has a
successful installation!

I would like to try myself, but our company has too much on the go at
the moment and I can't spare the time to try. Good luck though.

(BTW, I use CentOS 4.1 - although ur better with 3.4, as it's a bitch to
get the dependencies correct on 4.1 and upgrades are difficult.)

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r9-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up  1:48,  2 users,  load average: 1.24, 0.93, 0.60
--
 "A study done in the Des Moines  public  schools  showed  that  the
 average high school student hears anti-gay comments like 'dyke' and
 'faggot' a stunning 26 times a day, and that teachers  who  witness
 such incidents do nothing a shocking 97 percent of  the  time.  The
 results of this kind of behavior for gay and  lesbian  students  is
 terrifying."

   ~ Martina Navratilova
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP authentification and management

2005-09-15 Thread Andrew MacKenzie
> Uh...why was the "management" in the subject line? Because I forgot yet
> another question:
> What dou you guys use for LDAP data management?
Check out phpldapadmin:

# eix phpldapadmin
* net-nds/phpldapadmin 
Available versions:  ~0.9.7_alpha6 ~0.9.7_rc1 
Installed:   no
Homepage:http://phpldapadmin.sourceforge.net
Description: phpLDAPadmin is a web-based tool
for managing all aspects of your LDAP server.


-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// As Will Rogers would have said, "There is no such thing as a free
// variable."
// - Alan Perlis


pgp0ClCnyc5ym.pgp
Description: PGP signature


Re: [gentoo-user] Fwd: gnome-spell build failing

2005-09-15 Thread Nelis Lamprecht
http://forums.gentoo.org/viewtopic-t-370684-view-next.html?sid=3955ee980f1c0f4997bf8fda92c001c9

On 9/15/05, Nelis Lamprecht <[EMAIL PROTECTED]> wrote:
> On 9/14/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
> > Nelis Lamprecht schreef:
> > > Hi,
> > >
> > > No takers on the below error ? I've tried removing it completely,
> > > re-installing it but still get the same error. I have to skip it every
> > > time I upgrade my ports. Didn't see any bugs relating to it either.
> > >
> > > Nelis
> >
> > No problems here (just emerged it)
> >
> 
> Thanks for the reply Holly. I'll just wait for the next update to
> gnome-spell and hopefully it will fix itself. At least the older
> version(gnome-spell-1.0.5-r2) compiles and installs fine.
> 
> Regards,
> Nelis
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing portage in my LAN without rsync?

2005-09-15 Thread Matthew Cline
On 9/15/05, aka Sevein Jes__s Garc__a Crespo <[EMAIL PROTECTED]> wrote:
> Hi! Was Portage developed to work with a /usr/portage directory mounted
> from another computer with NFS or SMB? I did it and it worked.
> 
> I thought this way could be easier than rsync when you have maybe two
> or three computer working with the same network-shared directory. But I
> noticed a poor performance even when the newtwork connection is very
> good. And I get messages like this:
> 


I have a similar setup, with one portage tree shared via NFS to
several computers. I have also noticed some performance drawbacks.
Usually, the first time I run a command like "emerge -av whatever"
there is a noticable delay (20-30 seconds). However, subsequent
invocations of emerge start-up normally.

HTH,

Matt

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question regarding trick portage.mask situation

2005-09-15 Thread Matthew Cline
On 9/14/05, Paul Varner <[EMAIL PROTECTED]> wrote:
> In /etc/portage/package.mask:
> >sys-kernel/gentoo-sources-2.6.12-r4
> 
> In /etc/portage/package.unmask
> >=sys-kernel/gentoo-sources-2.6.12-r10
> 

Thanks for the help. So the atoms in package.unmask are evaluated
after the atoms in package.mask?


Matt

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question regarding trick portage.mask situation

2005-09-15 Thread Matthew Cline
> My partner's computer is running the 1.0.7174 drivers, the latest that
> work with the TNT2 card, on gentoo-sources-2.6.13-r1 with no stability
> problems. It also worked fine on later the 2.6.12 revisions.
> 
> That may indicate that the fault is elsewhere in your setup, or it may
> mean that the combination is only flakey on certain hardware, but I
> thought I'd let you know.
> 

Thanks for the info, that is good to know. I wouldn't be suprised if
there were some other hardware issues also involved. I may try out the
2.6.13 series, though, to see if the problem persists.


Matt

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Plesk...

2005-09-15 Thread Mal Herring
Hi List,
Anyone ever installed Plesk onto a Gentoo server ?

Can it be done and if so how did you find the install ?

Got someone wanting me to install a Plesk box for them and I don't want
to have to use Red-Hat

Thanks in advance.

Mal

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Printing a bunch of images files, 2 images per page

2005-09-15 Thread romildo
Hello.

I have a bunch of ppm image files that I want to print,
putting 2 images per page. How can I do that, please?

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



Re: [gentoo-user] LDAP authentification and management

2005-09-15 Thread Eric Crossman
On Thu, 2005-09-15 at 13:59 +0200, Matthias Bethke wrote:
> Uh...why was the "management" in the subject line? Because I forgot yet
> another question:
> What dou you guys use for LDAP data management?
> I've tried quite a few tools now. app-admin/diradm seems the only usable
> one so far. net-nds/directoryadministrator segfaults on startup;
> net-nds/gq works until you actually create a connection to the server,
> then segfaults; net-nds/luma hangs while receiving data. net-nds/led I
> haven't tried yet...
> 
> TIA!
>   Matthias

When I first migrated to OpenLDAP in the 1.x days, I created a bunch of
home grown perl utilities to make suitable replacements for things like
useradd, groupadd, passwd, etc. For new accounts we had to use our own
template so that an account would be valid for both unix and smb logins.
For management of existing accounts, we tried gq but found it only to be
stable for reading/browsing. We installed phpldapadmin on a web server
and that has worked really nicely. I know the current sysadmin continues
to use that on the OpenLDAP 2.x/Samba 3.0 combination.

Eric


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Sharing portage in my LAN without rsync?

2005-09-15 Thread aka Sevein
Hi! Was Portage developed to work with a /usr/portage directory mounted
from another computer with NFS or SMB? I did it and it worked.

I thought this way could be easier than rsync when you have maybe two
or three computer working with the same network-shared directory. But I
noticed a poor performance even when the newtwork connection is very
good. And I get messages like this:


jgm jgm # emerge -upDv world

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

Calculating world dependencies  -QA Notice: USE Flag 'userland_Darwin'
not in IUSE for
dev-lang/perl-5.8.7   \QA
Notice: USE Flag 'elibc_uclibc' not in IUSE for
sys-devel/libperl-5.8.5-r1 QA Notice: USE Flag 'elibc_uclibc' not in
IUSE for sys-devel/libperl-5.8.5 QA Notice: USE Flag 'userland_Darwin'
not in IUSE for
sys-devel/libperl-5.8.7
-QA Notice: has_version() in global scope: dev-php/mod_php-4.4.0 QA
Notice: has_version() in global scope: dev-php/mod_php-4.4.0 QA Notice:
has_version() in global scope: dev-php/mod_php-4.3.11 QA Notice:
has_version() in global scope: dev-php/mod_php-4.3.11 QA Notice:
has_version() in global scope: dev-php/mod_php-4.4.0-r1 QA Notice:
has_version() in global scope: dev-php/mod_php-4.4.0-r1  
[...]


What's wrong? Maybe I should think seriously about to mirror the portage
directory with rsync? Is not this a good way?

I have another situation. I have a Gentoo Linux running as a server. It
runs also another linux inside thanks to UserMode-Linux. To avoid
having two portage directories, I use hostfs (UML stuff) to share the
portage between the two computers but in the Linux one where the
portage is not, I get the same errors messages and the performance is
so slow too!

Thanks, :).

-- 
Jes_s Garc_a Crespo (aka Sevein)
http://www.sevein.com
[EMAIL PROTECTED]

GnuPG key ID: E2DB17E8 (pgp.escomposlinux.org)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP authentification and management

2005-09-15 Thread Matthias Bethke
Uh...why was the "management" in the subject line? Because I forgot yet
another question:
What dou you guys use for LDAP data management?
I've tried quite a few tools now. app-admin/diradm seems the only usable
one so far. net-nds/directoryadministrator segfaults on startup;
net-nds/gq works until you actually create a connection to the server,
then segfaults; net-nds/luma hangs while receiving data. net-nds/led I
haven't tried yet...

TIA!
Matthias
-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpMcNHI2am9q.pgp
Description: PGP signature


RE: [gentoo-user] Dell 1850/Dell Partition

2005-09-15 Thread Michael Kintzios


> -Original Message-
> From: Timo Boettcher [mailto:[EMAIL PROTECTED] 
> Sent: 15 September 2005 08:44
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Dell 1850/Dell Partition
> 
> 
> Hi Edoceo,
> 
> 
> * Edoceo Lists <[EMAIL PROTECTED]>, Thursday, September 15, 
> 2005, 4:08:08 AM:
> 
> > List,
> >Is at /dev/sda1. Does anyone know if I need this?
> Probably not. IIRC, the stuff on it is also on a CD you got and/or
> downloadable from the web. If not, you can make a backup yourself
> (dd if=/def/sda1 of=/somewhere/safe)

Most of the big PC builders (Dell, Compaq, et al) save a WinXP image (as
built) and sometimes some diagnostic utilities in the first small
partition, while they install the WinXP OS in the second partition.
Their websites and documentation usually offer instructions as to how to
save the image onto a CD/DVD and empty the first partition to create
some more disk space.  Before I installed Gentoo on a Compaq machine I
saved both the as built image and the current OS onto a DVD using
partimage from Knoppix and then I royally wiped the lot off the drive.

> > I'm way nervous about blasting this thing away and replacing Dell's
> > 65M partition with my /boot and stuffs.
> No need to be. I did it, and I had no problems, even with Dell
> Service. Just had to run the diagnostic stuff from CD.

As long as you have saved the back up image on a CD (just as suggested
by the previous poster) you can always restore it should you need to.
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fwd: gnome-spell build failing

2005-09-15 Thread Nelis Lamprecht
On 9/14/05, Holly Bostick <[EMAIL PROTECTED]> wrote:
> Nelis Lamprecht schreef:
> > Hi,
> >
> > No takers on the below error ? I've tried removing it completely,
> > re-installing it but still get the same error. I have to skip it every
> > time I upgrade my ports. Didn't see any bugs relating to it either.
> >
> > Nelis
> 
> No problems here (just emerged it)
> 

Thanks for the reply Holly. I'll just wait for the next update to
gnome-spell and hopefully it will fix itself. At least the older
version(gnome-spell-1.0.5-r2) compiles and installs fine.

Regards,
Nelis

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-15 Thread Ow Mun Heng
On Wed, 2005-09-14 at 21:46 -0700, gentuxx wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Nick Rout wrote:
> 
> >WHAT is at /dev/sda1?
> >
> >On Wed, 2005-09-14 at 19:08 -0700, Edoceo Lists wrote:
> >
> >>List,
> >> Is at /dev/sda1. Does anyone know if I need this? Where will I put
> /boot? At /dev/sda2? Will GRUB work OK? I'm way
> >>nervous about blasting this thing away and replacing Dell's 65M
> partition with my /boot and stuffs. Help.
> >>
> >>/djb
> 
> I think he's referring to the factory created "restore" partition.
> 
> Just my 2¢, I don't think having /boot on /dev/sda2 is a problem,

I agree. NO problem.



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 15:21:25 up 2 days, 3:56, 7 users, load average: 1.12, 1.10,
0.81 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Question regarding trick portage.mask situation

2005-09-15 Thread Neil Bothwick
On Wed, 14 Sep 2005 21:20:01 -0400, Matthew Cline wrote:

> As an aside, I think this latest instability with new versions of
> gentoo-sources has to do with problems using older versions of the
> nvidia drivers with newer kernel versions. Unfortunately, I cannot
> upgrade my nvidia drivers because my Geforce2 GTS is officially
> unsupported by the latest drivers.

My partner's computer is running the 1.0.7174 drivers, the latest that
work with the TNT2 card, on gentoo-sources-2.6.13-r1 with no stability
problems. It also worked fine on later the 2.6.12 revisions.

That may indicate that the fault is elsewhere in your setup, or it may
mean that the combination is only flakey on certain hardware, but I
thought I'd let you know.


-- 
Neil Bothwick

I'm Marvin of Borg. Guess what kinds of weapons we have. Go on, guess.


pgp6GinSkBHpU.pgp
Description: PGP signature


Re: [gentoo-user] Question regarding trick portage.mask situation

2005-09-15 Thread Michael Kintzios
 



> From:: Matthew Cline <[EMAIL PROTECTED]>
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Question regarding trick portage.mask situation
> Date: Wed, 14 Sep 2005 21:20:01 -0400

> I've been having serious problems with newer versions of
> gentoo-sources (basically 2.6.12-r9 and 2.6.12-r10), so I have
> downgraded to 2.6.12-r4, which is rock solid for me. So, I thought to
> add something like this atom to /etc/portage/package.mask:
> 
> >sys-kernel/gentoo-sources-2.6.12-r4
> 
> However, what I really want to to is mask all versions of
> gentoo-sources greater than 2.6.12-r4 and less than or equal to
> 2.6.12-r10, so that I can test newer versions of gentoo-sources beyond
> 2.6.12-r10 when they become available. So, what I really want is
> something like this:
> 
> sys-kernel/gentoo-sources-2.6.12-r4< >=sys-kernel/gentoo-sources-2.6.12-r10
> 
> Of course, this syntax doesn't work and spits out an "Invalid atom"
> error when I run emerge. Does anyone know the proper syntax for what I
> want to achieve? Is it even possible to acheive this?

Couldn't you just name the specific packages you would like masked?

==
=sys-kernel/gentoo-sources-2.6.12-r9
=sys-kernel/gentoo-sources-2.6.12-r10
==

-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at 
mail.lycos.co.uk

Re: [gentoo-user] Dell 1850/Dell Partition

2005-09-15 Thread Timo Boettcher
Hi Edoceo,


* Edoceo Lists <[EMAIL PROTECTED]>, Thursday, September 15, 2005, 4:08:08 AM:

> List,
>Is at /dev/sda1. Does anyone know if I need this?
Probably not. IIRC, the stuff on it is also on a CD you got and/or
downloadable from the web. If not, you can make a backup yourself
(dd if=/def/sda1 of=/somewhere/safe)

> I'm way nervous about blasting this thing away and replacing Dell's
> 65M partition with my /boot and stuffs.
No need to be. I did it, and I had no problems, even with Dell
Service. Just had to run the diagnostic stuff from CD.

 Timo

-- 
gentoo-user@gentoo.org mailing list