Re: [gentoo-user] ruby gems

2007-11-21 Thread Neil Bothwick
On Wed, 21 Nov 2007 07:38:52 + (UTC), Thufir wrote:

 The version of rails which I'm running appears to be out of date.  Is 
 this a ruby gems issue or an emerge issue?

It's a we have no idea which versions of ruby and ruby-gems you are
using issue.


-- 
Neil Bothwick

Top Oxymorons Number 7: Definite maybe


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Grab info off the net

2007-11-21 Thread Roger Luethi
On Mon, 19 Nov 2007 23:39:29 -0600, [EMAIL PROTECTED] wrote:
 What are people using and can vouch for that can snag webpages or
 parts of web pages to store/save/organize/report on etc etc, as well
 as handling clipboard content or the like?  Something to collect
 disparate pieces of information with that can organize and present it.

For web pages, the scrapbook extension for Firefox works pretty well:

http://amb.vis.ne.jp/mozilla/scrapbook/

It is an add-on popular enough to have spawned its own set of extensions.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [OT] Grab info off the net

2007-11-21 Thread reader
Roger Luethi [EMAIL PROTECTED] writes:

 On Mon, 19 Nov 2007 23:39:29 -0600, [EMAIL PROTECTED] wrote:
 What are people using and can vouch for that can snag webpages or
 parts of web pages to store/save/organize/report on etc etc, as well
 as handling clipboard content or the like?  Something to collect
 disparate pieces of information with that can organize and present it.

 For web pages, the scrapbook extension for Firefox works pretty well:

 http://amb.vis.ne.jp/mozilla/scrapbook/


Thanks, yes that does part of what I was after but still missing the
opportunity to collect from other sources than web pages.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: .vimrc

2007-11-21 Thread Kenneth Prugh
On Wed, 21 Nov 2007 16:29:39 + (UTC)
James [EMAIL PROTECTED] wrote:

 Hello,
 
 
 I'm not the swiftest (hack) around with finessing the (bash) shell
 and customizations for c/c++  (command line) programming. What I'm 
 doing is trying to setup .vimrc so that when I edit a file 
 (*.c or *.cpp) my shell uses the entries in the (user's) .vimrc file. 
 However any other file I access via 'vi' I want it to ignore these
 customizations or use a second config file for 'vim' customizations. 
 Ideas on how to accomplish this are  welcome.
 
 
 I've stumbled across ideas on how to make .vimrc really cool for
 writing c/c++ programs. I have not found a comprehensive reference on
 all of the possibilities and what works. A wiki would be very cool.
 I've been testing a custom setup for .vimrc:
 
   set ai autoindent
   set si smartindent
   set cindentdo c-style indenting
   set tabstop=3  tab spacing settings below are just to
 unify it set softtabstop=3  unify
   set shiftwidth=3   unify
   set noexpandtabreal tabs please!
   set nowrap do not wrap lines
   set smarttab   use tabs at the start of a line, spaces
 elsewhere
 
 
 Additionally, I'm experimenting with QT4 so any suggestions
 related to QT4 are also appreciated. Any comments, ideas or resources 
 I can look at, would be  most appreciated.
 
 
 James
 
 

hmm, have you tried something like:

autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you want?)

that's how I did some stuff wrt to python...
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] OT: .vimrc

2007-11-21 Thread James
Hello,


I'm not the swiftest (hack) around with finessing the (bash) shell
and customizations for c/c++  (command line) programming. What I'm 
doing is trying to setup .vimrc so that when I edit a file 
(*.c or *.cpp) my shell uses the entries in the (user's) .vimrc file. 
However any other file I access via 'vi' I want it to ignore these
customizations or use a second config file for 'vim' customizations. 
Ideas on how to accomplish this are  welcome.


I've stumbled across ideas on how to make .vimrc really cool for writing
c/c++ programs. I have not found a comprehensive reference on all of the
possibilities and what works. A wiki would be very cool. I've been 
testing a custom setup for .vimrc:

  set ai autoindent
  set si smartindent
  set cindentdo c-style indenting
  set tabstop=3  tab spacing settings below are just to unify it
  set softtabstop=3  unify
  set shiftwidth=3   unify
  set noexpandtabreal tabs please!
  set nowrap do not wrap lines
  set smarttab   use tabs at the start of a line, spaces elsewhere


Additionally, I'm experimenting with QT4 so any suggestions
related to QT4 are also appreciated. Any comments, ideas or resources 
I can look at, would be  most appreciated.


James


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] {OT} Weird image-serving behavior

2007-11-21 Thread Grant
There is a photo on my website that has been served perfectly for a
long time but today I noticed it wasn't being served and there were no
errors printed in apache2's error_log (or ssl_error_log).  I
downloaded the file, opened it locally just fine, uploaded it again,
and it has since been served perfectly again.  There is nothing
unusual about the image.  Has anyone seen anything like that before?
Could this indicate a hard drive or memory problem?

- Grant
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] dhcpcd brokenness

2007-11-21 Thread Grant Edwards
Ever since an upgrade a few weeks, dhcpcd has been broken.

If I start up my laptop withput a hard-wired ethernet
connection on eth0, dhcpcd starts up for eth0 and notices that
it's got a record of an unexpired lease stored away for eth0.

So it decides to just go ahead and use that lease to bring up
eth0 even though eth0 _isn't_connected_to_anything_.  Since
eth0 comes up first, it gets priorty in the routing table over
eth1 (a wireless interface that _is_ up and working). All
traffic gets routed out eth0 (which isn't connected).

I've got to manually shut down eth0 to get a working network.

WTF does dhcpcd think it can go ahead an use an old lease like
that?  That particular bit of brain-deadedness isn't supposed
to be enabled unless you use the -E option.  I double-checked
my network configuration files and checked the running dhcpcd
command line with ps.  I don't use the -E option.

Does anybody know how to prevent dhcpcd from enabling the -E
option when you don't specify -E?

-- 
Grant Edwards   grante Yow! Should I get locked
  at   in the PRINCICAL'S
   visi.comOFFICE today -- or have
   a VASECTOMY??

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: OT: .vimrc

2007-11-21 Thread James
Kenneth Prugh ken69267 at gmail.com writes:

 autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you want?)


Here's my .vimrc file:

autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3, softtabstop=3}


I get this error when I source the .vimrc file:

source /home/james/.vimrc
bash: autocmd: command not found


Any suggestions?


James




-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: OT: .vimrc

2007-11-21 Thread Kenneth Prugh
On Wed, 21 Nov 2007 18:20:19 + (UTC)
James [EMAIL PROTECTED] wrote:

 Kenneth Prugh ken69267 at gmail.com writes:
 
  autocmd BufRead,BufNewFile *.cpp set ai(or whatever options you
  want?)
 
 
 Here's my .vimrc file:
 
 autocmd BufRead,BufNewFile *.c set {ai, si, cindent, tabstop=3,
 softtabstop=3}
 
 
 I get this error when I source the .vimrc file:
 
 source /home/james/.vimrc
 bash: autocmd: command not found
 
 
 Any suggestions?
 
 
 James
 
 
 
 
Indeed sourcing will error out..

Just launch vim again and it should be using those new settings...

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dhcpcd brokenness

2007-11-21 Thread Neil Bothwick
On Wed, 21 Nov 2007 17:04:18 + (UTC), Grant Edwards wrote:

 So it decides to just go ahead and use that lease to bring up
 eth0 even though eth0 _isn't_connected_to_anything_.  Since
 eth0 comes up first, it gets priorty in the routing table over
 eth1 (a wireless interface that _is_ up and working). All
 traffic gets routed out eth0 (which isn't connected).

Install ifplugd and read the comments in /etc/conf.d/net.example


-- 
Neil Bothwick

Quantum Physics: The dreams that stuff is made of


signature.asc
Description: PGP signature


Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread b.n.
Billy Holmes ha scritto:
 Quoting b.n. [EMAIL PROTECTED]:
 
 I found your exact same symptoms, on a SATA hard disk. I frankly have
 troubles in understanding the smartctl outputs (googled of course, but
 
 while I think the seek time metric is mostly informational and not
 really indicative of harddrive failure, my experience was different and
 I'll explain why.
 
 * my harddrive made strange noises at times.
 * it's seek time metric kept getting lower
 
 So, I guess what I'm trying to say is that you have to take all this
 data in context.

Ok. What I did find most interesting, after some painful googling is:
http://scottstuff.net/blog/articles/2005/01/08/anatomy-of-a-drive-failure

It is of course anecdotical, but interesting. Basically it seems that
the seek_time_performance stuff is more or less noise, at least when it
oscillates.

However those lines I found in his opinion seem more worrisome:
Nov 21 03:52:23 voynich smartd[7451]: Device: /dev/sda, SMART Usage
Attribute: 195 Hardware_ECC_Recovered changed from 253 to 252
Nov 21 04:22:23 voynich smartd[7451]: Device: /dev/sda, SMART Usage
Attribute: 195 Hardware_ECC_Recovered changed from 252 to 253

what do you think about?

I already have looked for a new hard drive, and tonight I will launch an
extended self-test.

By the way, for the new HD I found those two interesting:
1)Hard Disk 320 Gb Western Digital WD3200KS, Sata II 300, 7200 Rpm, 16
Mb Cache
2)Hard Disk Hitachi 320gb HDT725032-VLA360 S-Ata2, Ata 300,7200rpm, 16mb
Cache, Rohs 

I always heard good about Western-Digital; the WD drive is also the
least expensive so I'd choose it. However any advice is welcome.

m.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Failure to compile gcc-3.3.6-r1

2007-11-21 Thread Łeandro Sales
Hi folks,
  someone to help me on this issue:

 * Messages for package sys-devel/gcc-3.3.6-r1:

 *
 * ERROR: sys-devel/gcc-3.3.6-r1 failed.
 * Call stack:
 *  ebuild.sh, line 1701:  Called dyn_compile
 *  ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *  ebuild.sh, line   44:  Called src_compile
 *  ebuild.sh, line 1383:  Called toolchain_src_compile
 *   toolchain.eclass, line   26:  Called gcc_src_compile
 *   toolchain.eclass, line 1548:  Called gcc_do_make
 *   toolchain.eclass, line 1422:  Called die
 * The specific snippet of code:
 *  emake \
 *  LDFLAGS=${LDFLAGS} \
 *  STAGE1_CFLAGS=${STAGE1_CFLAGS} \
 *  LIBPATH=${LIBPATH} \
 *  BOOT_CFLAGS=${BOOT_CFLAGS} \
 *  ${GCC_MAKE_TARGET} \
 *  || die emake failed with ${GCC_MAKE_TARGET}
 *  The die message:
 *   emake failed with bootstrap-lean

Thanks,
Leandro.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Failure to compile gcc-3.3.6-r1

2007-11-21 Thread Łeandro Sales
2007/11/21, Łeandro Sales [EMAIL PROTECTED]:
 Hi folks,
   someone to help me on this issue:

  * Messages for package sys-devel/gcc-3.3.6-r1:

  *
  * ERROR: sys-devel/gcc-3.3.6-r1 failed.
  * Call stack:
  *  ebuild.sh, line 1701:  Called dyn_compile
  *  ebuild.sh, line 1039:  Called qa_call 'src_compile'
  *  ebuild.sh, line   44:  Called src_compile
  *  ebuild.sh, line 1383:  Called toolchain_src_compile
  *   toolchain.eclass, line   26:  Called gcc_src_compile
  *   toolchain.eclass, line 1548:  Called gcc_do_make
  *   toolchain.eclass, line 1422:  Called die
  * The specific snippet of code:
  *  emake \
  *  LDFLAGS=${LDFLAGS} \
  *  STAGE1_CFLAGS=${STAGE1_CFLAGS} \
  *  LIBPATH=${LIBPATH} \
  *  BOOT_CFLAGS=${BOOT_CFLAGS} \
  *  ${GCC_MAKE_TARGET} \
  *  || die emake failed with ${GCC_MAKE_TARGET}
  *  The die message:
  *   emake failed with bootstrap-lean

 Thanks,
 Leandro.


Hi, just to complete the error msg:

3.6-r1/work/gcc-3.3.6/gcc/c-common.c
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-common.h
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-pragma.c
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-objc-common.c;
\
for f in $gf; do \
echo \$f\, ; done  tmp-gtyp.h
bison  -v 
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y\

--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c
--defines
bison: cannot open file
`/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c':
No such file or directory
echo  NULL};  tmp-gtyp.h
make[2]: *** 
[/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.h]
Error 1
make[2]: *** Waiting for unfinished jobs
echo static const char *lang_dir_names[] = { \c\,   tmp-gtyp.h
gf=cp f treelang; \
for l in $gf; do \
echo \$l\, ; done  tmp-gtyp.h
echo NULL};  tmp-gtyp.h
/bin/sh 
/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/move-if-change
tmp-gtyp.h gtyp-gen.h
make[2]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2


Re: [gentoo-user] Re: Failure to compile gcc-3.3.6-r1

2007-11-21 Thread Dale
Łeandro Sales wrote:
 2007/11/21, Łeandro Sales [EMAIL PROTECTED]:
   
 Hi folks,
   someone to help me on this issue:

  * Messages for package sys-devel/gcc-3.3.6-r1:

  *
  * ERROR: sys-devel/gcc-3.3.6-r1 failed.
  * Call stack:
  *  ebuild.sh, line 1701:  Called dyn_compile
  *  ebuild.sh, line 1039:  Called qa_call 'src_compile'
  *  ebuild.sh, line   44:  Called src_compile
  *  ebuild.sh, line 1383:  Called toolchain_src_compile
  *   toolchain.eclass, line   26:  Called gcc_src_compile
  *   toolchain.eclass, line 1548:  Called gcc_do_make
  *   toolchain.eclass, line 1422:  Called die
  * The specific snippet of code:
  *  emake \
  *  LDFLAGS=${LDFLAGS} \
  *  STAGE1_CFLAGS=${STAGE1_CFLAGS} \
  *  LIBPATH=${LIBPATH} \
  *  BOOT_CFLAGS=${BOOT_CFLAGS} \
  *  ${GCC_MAKE_TARGET} \
  *  || die emake failed with ${GCC_MAKE_TARGET}
  *  The die message:
  *   emake failed with bootstrap-lean

 Thanks,
 Leandro.

 

 Hi, just to complete the error msg:

 3.6-r1/work/gcc-3.3.6/gcc/c-common.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-common.h
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-pragma.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-objc-common.c;
 \
 for f in $gf; do \
 echo \$f\, ; done  tmp-gtyp.h
 bison  -v 
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y\
 
 --output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c
 --defines
 bison: cannot open file
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c':
 No such file or directory
 echo  NULL};  tmp-gtyp.h
 make[2]: *** 
 [/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.h]
 Error 1
 make[2]: *** Waiting for unfinished jobs
 echo static const char *lang_dir_names[] = { \c\,   tmp-gtyp.h
 gf=cp f treelang; \
 for l in $gf; do \
 echo \$l\, ; done  tmp-gtyp.h
 echo NULL};  tmp-gtyp.h
 /bin/sh 
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/move-if-change
 tmp-gtyp.h gtyp-gen.h
 make[2]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make[1]: *** [stage2_build] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make: *** [bootstrap-lean] Error 2
 �éí˘�Źz¸�Ú(˘¸j)b�   bst==


Since it says it can not find bison, I would make sure you have bison
installed.  If not, emerge it as a --oneshot and then try again.  Mine
shows this:

[EMAIL PROTECTED] / # equery belongs bison
[ Searching for file(s) bison in *... ]
sys-devel/bison-2.3 (/usr/share/bison)
sys-devel/bison-2.3 (/usr/bin/bison)
[EMAIL PROTECTED] / #

Hope that helps.

Dale

:-)  :-) 


Re: [gentoo-user] Re: Failure to compile gcc-3.3.6-r1

2007-11-21 Thread Dale
Łeandro Sales wrote:
 2007/11/21, Łeandro Sales [EMAIL PROTECTED]:
   
 Hi folks,
   someone to help me on this issue:

  * Messages for package sys-devel/gcc-3.3.6-r1:

  *
  * ERROR: sys-devel/gcc-3.3.6-r1 failed.
  * Call stack:
  *  ebuild.sh, line 1701:  Called dyn_compile
  *  ebuild.sh, line 1039:  Called qa_call 'src_compile'
  *  ebuild.sh, line   44:  Called src_compile
  *  ebuild.sh, line 1383:  Called toolchain_src_compile
  *   toolchain.eclass, line   26:  Called gcc_src_compile
  *   toolchain.eclass, line 1548:  Called gcc_do_make
  *   toolchain.eclass, line 1422:  Called die
  * The specific snippet of code:
  *  emake \
  *  LDFLAGS=${LDFLAGS} \
  *  STAGE1_CFLAGS=${STAGE1_CFLAGS} \
  *  LIBPATH=${LIBPATH} \
  *  BOOT_CFLAGS=${BOOT_CFLAGS} \
  *  ${GCC_MAKE_TARGET} \
  *  || die emake failed with ${GCC_MAKE_TARGET}
  *  The die message:
  *   emake failed with bootstrap-lean

 Thanks,
 Leandro.

 

 Hi, just to complete the error msg:

 3.6-r1/work/gcc-3.3.6/gcc/c-common.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-common.h
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-pragma.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-objc-common.c;
 \
 for f in $gf; do \
 echo \$f\, ; done  tmp-gtyp.h
 bison  -v 
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y\
 
 --output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c
 --defines
 bison: cannot open file
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c':
 No such file or directory
 echo  NULL};  tmp-gtyp.h
 make[2]: *** 
 [/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.h]
 Error 1
 make[2]: *** Waiting for unfinished jobs
 echo static const char *lang_dir_names[] = { \c\,   tmp-gtyp.h
 gf=cp f treelang; \
 for l in $gf; do \
 echo \$l\, ; done  tmp-gtyp.h
 echo NULL};  tmp-gtyp.h
 /bin/sh 
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/move-if-change
 tmp-gtyp.h gtyp-gen.h
 make[2]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make[1]: *** [stage2_build] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make: *** [bootstrap-lean] Error 2
 �éí˘�Źz¸�Ú(˘¸j)b�   bst==

Disregard my last email.  It's Bison that can't open a missing file.  My
bad.

Dale

:-)  :-) 


Re: [gentoo-user] Re: Failure to compile gcc-3.3.6-r1

2007-11-21 Thread Łeandro Sales
2007/11/21, Dale [EMAIL PROTECTED]:

  Łeandro Sales wrote:
  2007/11/21, Łeandro Sales [EMAIL PROTECTED]:


  Hi folks,
  someone to help me on this issue:

  * Messages for package sys-devel/gcc-3.3.6-r1:

  *
  * ERROR: sys-devel/gcc-3.3.6-r1 failed.
  * Call stack:
  * ebuild.sh, line 1701: Called dyn_compile
  * ebuild.sh, line 1039: Called qa_call 'src_compile'
  * ebuild.sh, line 44: Called src_compile
  * ebuild.sh, line 1383: Called toolchain_src_compile
  * toolchain.eclass, line 26: Called gcc_src_compile
  * toolchain.eclass, line 1548: Called gcc_do_make
  * toolchain.eclass, line 1422: Called die
  * The specific snippet of code:
  * emake \
  * LDFLAGS=${LDFLAGS} \
  * STAGE1_CFLAGS=${STAGE1_CFLAGS} \
  * LIBPATH=${LIBPATH} \
  * BOOT_CFLAGS=${BOOT_CFLAGS} \
  * ${GCC_MAKE_TARGET} \
  * || die emake failed with ${GCC_MAKE_TARGET}
  * The die message:
  * emake failed with bootstrap-lean

 Thanks,
 Leandro.




 Hi, just to complete the error msg:

 3.6-r1/work/gcc-3.3.6/gcc/c-common.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-common.h
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-pragma.c
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/c-objc-common.c;
 \
  for f in $gf; do \
  echo \$f\, ; done  tmp-gtyp.h
 bison -v
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y\
 --output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c
 --defines
 bison: cannot open file
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.y--output=/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.c':
 No such file or directory
 echo  NULL};  tmp-gtyp.h
 make[2]: ***
 [/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/treelang/parse.h]
 Error 1
 make[2]: *** Waiting for unfinished jobs
 echo static const char *lang_dir_names[] = { \c\,   tmp-gtyp.h
 gf=cp f treelang; \
  for l in $gf; do \
  echo \$l\, ; done  tmp-gtyp.h
 echo NULL};  tmp-gtyp.h
 /bin/sh
 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/gcc/move-if-change
 tmp-gtyp.h gtyp-gen.h
 make[2]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make[1]: *** [stage2_build] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/gcc'
 make: *** [bootstrap-lean] Error 2
 �éí˘�Źz¸ �Ú(˘¸j)b� bst==

  Disregard my last email.  It's Bison that can't open a missing file.  My
 bad.

  Dale

  :-)  :-)


OK. Don't worry. Any other clue?

Thanks,
Leandro


Re: [gentoo-user] dhcpcd brokenness

2007-11-21 Thread Peter Alfredsen
On Wednesday 21 November 2007, Grant Edwards wrote:
 Ever since an upgrade a few weeks, dhcpcd has been broken.

 If I start up my laptop withput a hard-wired ethernet
 connection on eth0, dhcpcd starts up for eth0 and notices that
 it's got a record of an unexpired lease stored away for eth0.

I just forwarded your mail to uberlord and he recommended that you try 
dhcpcd-3.1.7. This version is masked by ~arch, so you will have to do:
echo =net-misc/dhcpcd-3.1.7  /etc/portage/package.keywords
to upgrade to that version.
He also noticed that a bug had been filed at berlios. Since he isn't 
subscribed to this list, it'd probably be better to take this over there. For 
anyone else following this matter, the URL is:
http://developer.berlios.de/bugs/?func=detailbugbug_id=12519group_id=4229

-- 
/PA
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread b.n.
Ok,I did a long test and this is the result.
.
voynich cyclopia # smartctl /dev/sda -l selftest
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted: read failure   20% 21475
 293500570
# 2  Short offline   Completed without error   00% 10458
 -

Doesn't look good. :(

m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread Dale
b.n. wrote:
 Ok,I did a long test and this is the result.
 .
 voynich cyclopia # smartctl /dev/sda -l selftest
 smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
 Home page is http://smartmontools.sourceforge.net/

 === START OF READ SMART DATA SECTION ===
 SMART Self-test log structure revision number 1
 Num  Test_DescriptionStatus  Remaining
 LifeTime(hours)  LBA_of_first_error
 # 1  Extended offlineCompleted: read failure   20% 21475
  293500570
 # 2  Short offline   Completed without error   00% 10458
  -

 Doesn't look good. :(

 m.
   

Can those tests be run while it is mounted and in use? 

Thanks

Dale

:-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread b.n.
Dan Farrell ha scritto:
 On Tue, 20 Nov 2007 23:25:06 +0100
 b.n. [EMAIL PROTECTED] wrote:
 it is; however if the partition is live the data could be messed up if
 you read half of an overwritten file or something.  in other words, it
 works really well on partitions that aren't live, and if the partition
 is live, you could potentially have a bad file.  You might even
 potentially have a bad partition.  This all is from my own
 consideration; I wouldn't bet the house on it.  

Well, dd-ing live partitions was out of the question -however thanks for
the reminder :)

But I was thinking: if my old drive is 200 Gb and my new drive is 320
Gb, what happens to the partition table? That is, the old partition
table will refer to a 200 Gb disk, on a 320 Gb disk. What happens to the
120 Gb left? Are they recognized as an empty partition? Are they left
unrecognized?

Maybe I should just dd the MBR and then repartition the disk and use cp
for the rest.

m.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread b.n.
Dale ha scritto:
 b.n. wrote:
 Ok,I did a long test and this is the result.
 .
 voynich cyclopia # smartctl /dev/sda -l selftest
 smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
 Home page is http://smartmontools.sourceforge.net/

 === START OF READ SMART DATA SECTION ===
 SMART Self-test log structure revision number 1
 Num  Test_DescriptionStatus  Remaining
 LifeTime(hours)  LBA_of_first_error
 # 1  Extended offlineCompleted: read failure   20% 21475
  293500570
 # 2  Short offline   Completed without error   00% 10458
  -

 Doesn't look good. :(

 m.
   
 
 Can those tests be run while it is mounted and in use? 

Yes. It is explicitly written on the smartctl man page.
Begin  an extended self-test of drive /dev/hdc.  You can issue this
command on a running system.  The results can be seen in the self-test
log visible with the '-l selftest' option after it has completed.

at least, that's how I understood it.

m.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Is my hard drive sick?

2007-11-21 Thread Dale
Dale wrote:
 Dan Farrell wrote:
 On Tue, 20 Nov 2007 16:09:38 -0600
 Dale [EMAIL PROTECTED] wrote:

   
 Dan Farrell wrote:
 
 On Tue, 20 Nov 2007 06:12:17 -0600
 Dale [EMAIL PROTECTED] wrote:

   
 Hmmm, the last time I looked for a SATA controller it was expensive.
 I guess the price came down a lot since I looked last.  I assume it
 would be faster than my IDE drives too?  That would be nice.

 Thanks again,

 Dale

 :-)  :-) 
 

 If you get a newer model, it will be faster.  From my tests, the
 difference between SATA and IDE is not very large if its the same hard
 drive model.  In other words, I think newer drives are going to go
 faster than older drives regardless of the bus arch.  

 nevertheless I went with sata myself, even though I had to buy a card,
 because I wanted to start going in that direction.  I want that drive
 to be around a while and at the speed technology goes, i think SATA is
 a good way to make sure I'll still be able to talk to it when the
 warranty expires.  
   

 One reason I want to get a SATA is that I plan to build a new box to
 replace this one.  It will have SATA so why buy a drive now then have
 to buy another one a while later.

 Thanks

 Dale

 :-)  :-)  :-) 

This is the results of the test on all three drives currently on this rig:

[EMAIL PROTECTED] / # smartctl /dev/hda -l selftest
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted without error   00%
23702 -

[EMAIL PROTECTED] / # smartctl /dev/hdb -l selftest
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted without error   00%  
629 -

[EMAIL PROTECTED] / # smartctl /dev/hdd -l selftest
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offlineCompleted without error   00% 
3965 -
# 2  Short offline   Completed without error   00% 
3965 -

[EMAIL PROTECTED] / #

Looks like no errors so should I be worried about replacing the drive at
all?

Thanks

Dale

:-)  :-)  :-)


[gentoo-user] Re: dhcpcd brokenness

2007-11-21 Thread Grant Edwards
On 2007-11-21, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 21 Nov 2007 17:04:18 + (UTC), Grant Edwards wrote:

 So it decides to just go ahead and use that lease to bring up
 eth0 even though eth0 _isn't_connected_to_anything_.  Since
 eth0 comes up first, it gets priorty in the routing table over
 eth1 (a wireless interface that _is_ up and working). All
 traffic gets routed out eth0 (which isn't connected).

 Install ifplugd and read the comments in /etc/conf.d/net.example

I'm going to try to try a newer version of dhcpcd first.  I
don't want to start installing daemons to try to cover up bugs
in other daemons.

-- 

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: dhcpcd brokenness

2007-11-21 Thread Grant Edwards
On 2007-11-21, Peter Alfredsen [EMAIL PROTECTED] wrote:
 On Wednesday 21 November 2007, Grant Edwards wrote:
 Ever since an upgrade a few weeks, dhcpcd has been broken.

 If I start up my laptop withput a hard-wired ethernet
 connection on eth0, dhcpcd starts up for eth0 and notices that
 it's got a record of an unexpired lease stored away for eth0.

 I just forwarded your mail to uberlord and he recommended that you try 
 dhcpcd-3.1.7.

I'll give that a try.

-- 
Grant


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Ghostscript - font path

2007-11-21 Thread Joseph

gs -h gives me the following font path for Ghostscript
Search path:
   . : /home/joseph/.fonts : /usr/share/ghostscript/8.15/lib :
   /usr/share/ghostscript/8.15/Resource :
   /usr/share/fonts/default/ghostscript/ :
   /usr/share/fonts/default/ghostscript :

I have the above paths but not the below ones.

   /usr/share/fonts/default/Type1 :
   /usr/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
   /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType

Where these paths are coming from?
According to documentation: /usr/share/doc/ghostscript-esp-8.15.3/html/Use.htm
The documentation only mention Xfree86 display servers but I would imagine is 
it is applicable to Xorg as well.
So, the fonts path from xorg.conf should be searchable by Ghostscript as well but they are not. Ghostscript doesn't 
know anything about them; as one of the pdf document was giving me an error, I couldn't convert from pdf2ps it was 
looking for: gbsn00lp.ttf font I have this font in /usr/share/fonts/arphicfonts/

Only when I created a link in: /usr/share/fonts/default/ghostscript/

ln -s /usr/share/fonts/arphicfonts/gbsn00lp.ttf gbsn00lp.ttf
to this font it converted from pdf2ps

Shouldn't gs -h show list of path fonts from xorg.conf file?


- 
#Joseph

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-21 Thread Thufir
On Wed, 21 Nov 2007 09:03:23 +, Neil Bothwick wrote:

 On Wed, 21 Nov 2007 07:38:52 + (UTC), Thufir wrote:
 
 The version of rails which I'm running appears to be out of date.  Is
 this a ruby gems issue or an emerge issue?
 
 It's a we have no idea which versions of ruby and ruby-gems you are
 using issue.

When I emerged rails:

dev-lang/ruby-1.8.5_p2-r1
dev-ruby/rails-1.1.6


Now, http://packages.gentoo.org/package/dev-ruby/rails?full_cat shows 
that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable 
release of ruby available through portage for x86 systems.

I'd rather not emerge world if at all possible.  How do I find out why 
I'm not getting the most recent packages?



thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: gtkpod won't start

2007-11-21 Thread Thufir
On Wed, 21 Nov 2007 07:56:33 +0100, Dirk Heinrichs wrote:


 That has it all. Is your $DISPLAY variable set correctly? Is this the
 same user who started the X session?

I only started googling $DISPLAY, but yes, it's the same user who started 
the X session.  Normally I use GNOME, but will also try just X and KDE.


thanks,

Thufir


ps:  sorry about too much info.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: ruby gems

2007-11-21 Thread Thufir
On Thu, 22 Nov 2007 02:47:24 +, Thufir wrote:


 Now, http://packages.gentoo.org/package/dev-ruby/rails?full_cat shows
 that 1.2.5 is stable, though.  1.8.6_p110-r1 looks to be latest stable
 release of ruby available through portage for x86 systems.


arrakis ~ # eix rails
[I] dev-ruby/rails
 Available versions:  
(1.1)   1.1.6 ~1.1.6-r1
(1.2)   ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3
 Installed versions:  1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql 
-postgres sqlite -sqlite3)
 Homepage:http://www.rubyonrails.org
 Description: ruby on rails is a web-application and 
persistance framework

arrakis ~ # 


If I'm interpreting eix correctly there's not even an option to unmask 
1.2.5 (which shouldn't need unmasking).




thanks,

Thufir

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: gtkpod won't start

2007-11-21 Thread Dirk Heinrichs
Am Donnerstag, 22. November 2007 schrieb ext Thufir:
 On Wed, 21 Nov 2007 07:56:33 +0100, Dirk Heinrichs wrote:
  That has it all. Is your $DISPLAY variable set correctly? Is this the
  same user who started the X session?

 I only started googling $DISPLAY, but yes, it's the same user who started
 the X session.

So, what does echo $DISPLAY show? Also helpfull would be the output 
of ps -ef|grep X. How do you start X, via display manager (gdm, xdm, 
kdm,...) or with startx after text console login? 

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


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