[gentoo-user] mingetty on CD isn't mingetty in ebuild

2003-12-04 Thread William (Andy) Smith
I'm not sure where to look this one up, or if anyone's bothered to mention 
it. The mingetty that is made with the ebuild is only one shot. After you 
logout, it won't let you log back in. I've had to download the mingetty 
source and the autologin behaves the same as the one on the CD, but then 
I've just trashed the usefulness of 'emerge mingetty'. Could someone 
please direct me to any Gentoo notes on why the CD's mingetty  emerge 
mingetty?

--Romaq


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [gentoo-dev] gentoo vs. the FHS

2003-09-26 Thread Andy Smith
On Thu, Sep 25, 2003 at 05:07:43PM +0200, [EMAIL PROTECTED] wrote:
 No. /usr should _not_ be pronounced as user, since it stands for UNIX
 System Resources (USR).

Do you have a cite for that?  I believe it to be a backronym.

-- 
SCSI is usually fixed by remembering that it needs three terminations: One at
 each end of the chain. And the goat.
 -- Andrew McDonald, HantsLUG


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] portage broken

2003-09-17 Thread Andy Smith
On Wed, Sep 17, 2003 at 03:12:50PM +0900, Jason Stubbs wrote:
 On Wednesday 17 September 2003 14:58, Andy Smith wrote:
  Does anyone have any more ideas? 
 
 Check /var/log/emerge.log and post all the packages that were upgraded since 
 the last time you used portage without problems. We can then go on from 
 there.

[EMAIL PROTECTED] andy]$ grep ' emerge.*of 109' /var/log/emerge.log 
1063758884:   emerge (1 of 109) sys-devel/gnuconfig-20030708 to /
1063758912:   emerge (2 of 109) sys-libs/db-1.85-r1 to /
1063758974:   emerge (3 of 109) sys-libs/gdbm-1.8.0-r5 to /
1063759058:   emerge (4 of 109) sys-devel/gettext-0.12.1 to /
1063759530:   emerge (5 of 109) sys-apps/sed-4.0.7 to /
1063759624:   emerge (6 of 109) sys-libs/ncurses-5.3-r4 to /
1063760209:   emerge (7 of 109) sys-apps/texinfo-4.6 to /
1063760354:   emerge (8 of 109) sys-apps/groff-1.18.1-r3 to /
1063760637:   emerge (9 of 109) sys-apps/cronbase-0.2.1-r2 to /
1063760665:   emerge (10 of 109) sys-apps/man-1.5m to /
1063760739:   emerge (11 of 109) dev-java/java-config-0.2.8-r2 to /
1063760767:   emerge (12 of 109) dev-java/blackdown-jdk-1.4.1 to /
1063760913:   emerge (13 of 109) sys-libs/db-4.0.14-r2 to /
1063761476:   emerge (14 of 109) sys-libs/zlib-1.1.4-r1 to /
1063761518:   emerge (15 of 109) dev-python/python-fchksum-1.6.1-r1 to /
1063761552:   emerge (16 of 109) sys-apps/bzip2-1.0.2-r2 to /
1063761602:   emerge (17 of 109) sys-apps/coreutils-5.0-r4 to /
1063762060:   emerge (18 of 109) sys-apps/debianutils-1.16.7-r3 to /
1063762093:   emerge (19 of 109) app-shells/bash-2.05b-r7 to /
1063762346:   emerge (20 of 109) sys-libs/readline-4.3-r4 to /
1063762446:   emerge (21 of 109) dev-libs/expat-1.95.6-r1 to /
1063762520:   emerge (22 of 109) dev-lang/python-2.2.3-r1 to /
1063763110:   emerge (23 of 109) sys-apps/portage-2.0.49-r4 to /
1063763177:   emerge (24 of 109) sys-devel/libperl-5.8.0 to /
1063763655:   emerge (25 of 109) dev-lang/perl-5.8.0-r12 to /
1063765366:   emerge (26 of 109) sys-devel/binutils-2.14.90.0.6-r3 to /
1063766107:   emerge (27 of 109) sys-apps/gawk-3.1.3 to /
1063766224:   emerge (28 of 109) sys-kernel/linux-headers-2.4.19-r1 to /
1063766343:   emerge (29 of 109) sys-devel/m4-1.4 to /
1063766381:   emerge (30 of 109) sys-devel/autoconf-2.57-r1 to /
1063766410:   emerge (31 of 109) sys-devel/flex-2.5.4a-r5 to /
1063766433:   emerge (32 of 109) sys-apps/miscfiles-1.3-r1 to /
1063766442:   emerge (33 of 109) sys-devel/gcc-config-1.3.3-r1 to /
1063766452:   emerge (34 of 109) sys-libs/cracklib-2.7-r7 to /
1063766467:   emerge (35 of 109) sys-devel/bison-1.875 to /
1063766565:   emerge (36 of 109) sys-devel/gcc-3.3.1-r1 to /

Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
newly installed gcc does seem to work; I can compile things.

Shall I download the source for an earlier version of gcc and
compile and install it within my home directory, then try to use it
to compile python and see if it makes a difference?

Alternatively it could be binutils?  Really scared about leaving
myself with no working gcc/binutils though.

  If I end up having to reinstall
  the OS I probably will not be putting gentoo back, as it took me 4
  days to have it working exactly as I would like and I can't spare
  that sort of time right now.
 
 I have to have a whinge about this. Many people ask for help and then end it 
 with saying, if you can't help, i'm gonna leave!

Well, I didn't quite say that.  I was just expressing my reasons for
not wanting to completely reinstall, which I could see many people
thinking would be the easiest option.

 To be perfectly honest, 
 every time I see something like this, I get the inclination to not help the 
 person at all. It is totally unrelated to the problem and therefore 
 unnecessary. I could say a lot more but I'd just be repeating myself...

This isn't really unrelated to my problem.  If I had 4 days spare
then I would probably reinstall.  Also related is the fact that this
is my desktop machine which I need to do my work on, and recently
one of its (two) P3 700 CPUs died, so if I did start again I'd be
recompiling everything with half the CPU power.

I see what you're saying though.  I agree that when you see people
say things like if no one can help me then I'm going back to
windows or something then you just think, go back to windows
then!

I just meant to show that I'm willing to try anything no matter how
wacky in the hope of being able to recover from here without a total
reinstall.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] etc-update versus Manual update opinions..

2003-09-17 Thread Andy Smith
On Tue, Sep 16, 2003 at 11:30:14PM -0700, Joshua Banks wrote:
 Come-on... No fish in the Gentoo pond..tonight
 
 I'm not asking for you to hold my hand. I just need someone to confirm whether or 
 not I'm doing
 this correctly. It seems that any time there's questions about etc-update everyone 
 seems to be
 hush-hush.

I don't understand what you're trying to achieve.  etc-update
already allows you to see the differences and manually sort them out
line by line or (my preference) in vimdiff mode.

Only crazy people use the option for etc-update to automatically fix
the files, and they end up with a broken system.

  Again, My Goal, to manually update the files without the use of ect-update.  
  
  How to do this correctly I'm unsure of and want confirmation of, please.

Why?

Sure if you want to you can take all those files it says are changed
and look at both versions with diff or vimdiff or whatever.. but
etc-update calls these progams for you anyway.

  **
  
  At this point, I'm just manually diffing each file, one by one. (Any suggestions 
  on using
  diff
  and cp in a better way than I'm using will be helpful  appreciated as well.)
  
  **

etc-update *is* the better way. :)

  At this point, (1)I know logically that I've never messed with this file and, 
  (2)its obvious
  that
  I want the new file in replace of the old one. Not only is it obvious but I was 
  told so:
  
  Quote:
  * NOTICE: PLEASE *REPLACE* your make.globals. All user changes to variables
   * in make.globals should be placed in make.conf. DO NOT MODIFY make.globals.
  
   * Feature additions are noted in help and make.conf descriptions. Update
   * them using 'etc-update' please. Maintaining current configs for portage
   * and other system packages is fairly important for the continued health
   * of your system.
  End Quote:
  
  
  So would the correct thing to do in this (Specific) case, being inside the /etc 
  directory, too:
  
  1)
  bash-2.05b# cp ._cfg_make.globals make.globals
  
  2)
  bash-2.05b# rm ._cfg_make.globals

Yes, if you have never edited a config file and now you have to
merge in new changes then usually what you want to do is just take
the update.  And etc-update has an option for doing this.

  Now my other question is:
  
  Assuming that this were the only file that had differences (hypothectically 
  speaking), WHAT, if
  anything do I need to do to next to let Gentoo know I've made the changes manually 
  instead of
  using etc-update? Again, correct my thinking of this where you see fit...if it 
  fits.. :P

Removing the ._cfg file is enough to make portage forget about it, I
think.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-17 Thread Andy Smith
On Wed, Sep 17, 2003 at 05:44:46PM +0900, Jason Stubbs wrote:
 On Wednesday 17 September 2003 15:52, Jason Stubbs wrote:
  On Wednesday 17 September 2003 15:38, Andy Smith wrote:
   Hmm.  So it's quite likely that gcc is the culprit here.  Yet that
   newly installed gcc does seem to work; I can compile things.
 
  gcc-3.3.1-r2 has some bugs. Check on bugzilla. There's also been a bit of
  mention of gentoo-dev.
 
 It's also mentioned in the forums. Check this thread for downloading a working 
 version: http://forums.gentoo.org/viewtopic.php?t=84803

Jason,

you're a life saver, thanks!

I followed the suggested workaround of moving libgcc_s.a in
http://forums.gentoo.org/viewtopic.php?t=84803postdays=0postorder=ascstart=25sid=28c4e3c9a33ac8d51fc7a94ce5e6a3c1
- this made my gcc work.

I then manually unpacked python and installed it, and it worked.

Then the rescue archive of portage allowed me to get a working
portage.

I am now in the process of merging a working version of gcc, then
python, and then I guess I should do my whole system.

In light of this unfortunate incident, is there any easy way to
choose ebuilds from ~x86 in general, but from x86 for some specific
ebuilds that should never be allowed to break?  I am thinking
binutils, gcc, python, portage for example.

I'm happy for my web browsers, irc clients and what not to be
bleeding edge but unstable, but it kind of ruins my day when I merge
a broken gcc that recompiles half my system and breaks it.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] portage broken

2003-09-16 Thread Andy Smith
Hello,

My galeon web browser mysteriously stopped working today.  In an
attempt to get it to work again, I did the following:

emerge -euv galeon

The idea was to recompile galeon and absolutely everything it
depends upon.

I had to stop the compilation at one point with a control-c,
although this was at a point that should have been safe to do this.
When I then tried to run emerge again, I got this:

Traceback (most recent call last):
  File /usr/bin/emerge, line 14, in ?
import portage
  File /usr/lib/python2.2/site-packages/portage.py, line 10, in ?
from select import *
ImportError: No module named select

This happens whatever arguments I give to emerge, and obviously
means that the python select module is for some reason not
installed.  Python was not the ebuild that I interrupted, so I am
confused why this should be the case.

So, I am now completely unable to run emerge to do anything else.

Does anyone have any suggestions on how I can get a working portage
setup now?

I am sorry if this is explained in the forum, I am having difficulty
viewing web pages at the moment due to having no working web
browser (I have wget though!).

Regards,
Andy.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Tue, Sep 16, 2003 at 11:22:11PM -0500, David H. Askew wrote:
 
 I've never done this, but take a look at :
 
 /usr/portage/sys-apps/portage/files/README.RESCUE

Thanks for the suggestion.  I tried this and afterwards I still
get:

Traceback (most recent call last):
  File /usr/bin/emerge, line 6, in ?
import 
os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
  File /usr/lib/python2.2/site-packages/portage.py, line 10, in ?
from select import *
ImportError: No module named select

on any invocation of emerge.  This is the same as before. :(


pgp0.pgp
Description: PGP signature


Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Wed, Sep 17, 2003 at 02:54:07PM +1000, blade- wrote:
 Hi,
 
 I found this on the forum for you since you cant get there. Its how to 
 manually re-install python.
 
 # cd
 # tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
 # cd Python-2.2.1
 
 # ./configure --with-fpectl --infodir=/usr/share/info/ 
 --mandir=/usr/share/man
 # make
 # make install prefix=/usr
 # rm /usr/bin/python 2/dev/null
 # ln -s /usr/bin/python2 /usr/bin/python
 
 This guy had a simular problem and he said this fixed it.

Thanks.  Now we are getting somewhere.

It was the select module that portage was complaining about, and
when I compile python from source and install it I see this:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
-I/home/andy/tmp/Python-2.2.2/./Include -I/u
sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
-c /home/andy/t
mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
build/lib.linux-i686-2.2/se
lect.so
WARNING: removing select since importing it failed

Needless to say, python still does not have a select module after
this python is installed.  Now I need to figure out why it can't
compile this and I may be part of the way towards fixing this.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage broken

2003-09-16 Thread Andy Smith
On Wed, Sep 17, 2003 at 06:41:14AM +0100, Andy Smith wrote:
 gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. 
 -I/home/andy/tmp/Python-2.2.2/./Include -I/u
 sr/local/include -I/home/andy/tmp/Python-2.2.2/Include -I/home/andy/tmp/Python-2.2.2 
 -c /home/andy/t
 mp/Python-2.2.2/Modules/selectmodule.c -o build/temp.linux-i686-2.2/selectmodule.o
 gcc -shared build/temp.linux-i686-2.2/selectmodule.o -L/usr/local/lib -o 
 build/lib.linux-i686-2.2/se
 lect.so
 WARNING: removing select since importing it failed

In fact *every single python module* has this error, which seems to
install a python with no modules.  So, I can hypothesis that the
following happened:

- The emerge -e recompiled some essential part of my system
  involving the development of dynamically loaded modules, and it
  did it wrongly (I am using ~x86 btw, so maybe I am asking for
  this?)

- It then went on to recompile python with all its modules failing
  to import.

- This python was installed, leaving me with no working portage.

I now have to work out exactly what was installed that broke this.
The thing is though, that as far as I can tell, gcc and binutils
do seem to work.  I really don't want to go messing with those
especially without portage to configure them properly for gentoo.

Does anyone have any more ideas?  If I end up having to reinstall
the OS I probably will not be putting gentoo back, as it took me 4
days to have it working exactly as I would like and I can't spare
that sort of time right now.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Nested Maildirs

2003-09-02 Thread Andy Smith
On Tue, Sep 02, 2003 at 04:52:30PM +0200, Sebastian Bergmann wrote:
 maildirmake /home/sb/.maildir
 
 maildirmake /home/sb/.maildir/spam
 maildirmake /home/sb/.maildir/spam/probable
 maildirmake /home/sb/.maildir/spam/record
 maildirmake /home/sb/.maildir/spam/sure
 
   The mails are sorted into their correct maildir directory, but both
   mutt (working directly on /home/sb/.maildir) and Mozilla Thunderbird
   (accessing /home/sb/.maildir via courier-imap) only see the mails that
   are stored in the
 
 /home/sb/.maildir
 
   folder.
 
   What am I doing wrong? :)

In your .muttrc:

mailboxes /home/sb/.maildir /home/sb/.maildir/spam /home/sb/.maildir/spam/probable 
/home/sb/.maildir/spam/record /home/sb/.maildir/spam/sure

Dunno about Mozilla.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] bash HOME - END ?

2003-06-07 Thread Andy Smith
[top-posting is evil]

On Sat, Jun 07, 2003 at 06:39:25PM +0300, raptor wrote:
 I'm using gnome-terminal
 
 home = ^[OH 
 end =  ^[OF
 
 
 #env | grep TER
 COLORTERM=gnome-terminal
 TERM=xterm
 
 Can't check at the moment at console..will post later..

Make sure your /etc/inputrc has these codes:

\eOH: beginning-of-line
\eOF: end-of-line

In my stock inputrc file it looks like this:

#
# Home and End
#
$if term=xterm
#
# Normal keypad and cursor of xterm
#
\e[1~:history-search-backward
\e[4~:set-mark
\e[H: beginning-of-line
\e[F: end-of-line
# Home and End of application keypad and cursor of xterm
\eOH: beginning-of-line
\eOF: end-of-line
$else

.. etc

which should work for you as long as your TERM is set to xterm.

-- 
I am the permanent milk monitor of all hobbies!
 -- Simon Quinlank

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Postfix vs. Qmail

2003-06-06 Thread Andy Smith
On Thu, Jun 05, 2003 at 11:45:21AM +0200, Frank Tegtmeyer wrote:
 The discussion Postfix vs. qmail nearly always comes down to the point
 where someone says that either the qmail license or Bernstein
 sucks. But personal feelings or FUD feeded knowledge are not the base
 to choose an MTA.

Although, it is not wrong to reject qmail on philosophical grounds.  A
serious Free software person might wish to do that, but I do see
this done a lot and then passed off as a technical failing.

-- 
Andy
(postfix _and_ qmail)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] bash HOME - END ?

2003-06-06 Thread Andy Smith
On Fri, Jun 06, 2003 at 07:54:27PM +0300, raptor wrote:
 hi,
 
 why when I'm editing at the bash prompt the keys HOME/END dont move the marker at 
 begin/end position ?!
 And DEL writes ~ instead of deleting the char at which the marker is ?!
 
 how to correct this...

Heh, I've just been through this.

Does this happen on the console or only in X?

If in X, what terminal emulator (xtern, rxvt, gnome-terminal,
konsole, ...) do you use?  What codes do these keys produce (in
concole and X if different)?  To see the codes, type:

ctrl-vHome
ctrl-vEnd

-- 
You are entitled to think what you like, but if you post it here and
 people don't agree with you, you will feel the Hot Gritty Traffic Cone
 of Clue Transference being sledgehammered into your rectum.
  -- Jon Parry-McCulloch, CoFD mailing list

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] How do I change the Home and End keys in X?

2003-06-05 Thread Andy Smith
On Wed, Jun 04, 2003 at 09:13:38AM +0100, Mark Fisher wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wednesday 04 Jun 2003 12:54 am, Andy Smith wrote:
 
  Just installed gentoo over the weekend and now I notice that my Home
  and End keys seem to produce different escape sequences when in X
  compared to from the console.
 
 I found I had a simpilar thing and posted a fix on the gentoo forums:
 
 http://forums.gentoo.org/viewtopic.php?t=53721

I finally worked out how to change it:

[EMAIL PROTECTED] tmp]$ cat ~/.Xdefaults
rxvt*keysym.0xFF50: \e[1~
rxvt*keysym.0xFF57: \e[4~

and then making sure that the same escape codes are set in
/etc/inputrc for xterm (because rxvt sets your TERM to xterm).  Now
my machine produces the same escape codes for Home and End whether I
am in X or at console, and things like mutt are happy.

--
[EMAIL PROTECTED] mailing list



[gentoo-user] How do I change the Home and End keys in X?

2003-06-04 Thread Andy Smith
Hi guys,

Just installed gentoo over the weekend and now I notice that my Home
and End keys seem to produce different escape sequences when in X
compared to from the console.

When at the console if I type: ctrl-vHome I will see ^[[1~.  End
is ^[[4~.  In X, however, I get ^[[7~ and ^[[8~ respectively.  This
appears to have been compensated for in most applications on my
machine by having the correct entries in /etc/inputrc, but this
cannot help with everything:

- I can't quickly get to the top or bottom of the file in pagers
  like less which do not use the GNU readline library (and hence
  don't read inputrc.
- When I log into remote hosts, I can't use Home and End in bash as
  I would expect without creating a custom .inputrc.
- I use Mutt for email which has keybindings for Home and End
  that now do not work.  I could add more key bindings for the new
  sequences that Home and End are making, but this seems messy.

So, how can I make Home and End produce the same sequences in X as
they do on the console?

Here is the relevant part of my XF86Config:

Section InputDevice
Identifier  Keyboard1
Driver  Keyboard
Option AutoRepeat 500 30
Option XkbRules   xfree86
Option XkbModel   pc101
Option XkbLayout  gb
EndSection

If anyone has any ideas, please let me know.

Regards,
Andy

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rxvt oddness

2003-06-02 Thread Andy Smith
On Sun, Jun 01, 2003 at 08:17:50PM +0100, Andy Smith wrote:
 Having merged rxvt in gentoo I tried this, but rxvt seems to close
 itself immediately when the -e option is used.  rxvt by itself
 does provide me with a working terminal on the local machine, and
 rxvt -e bash does too, but pretty much anything else after the -e
 leads to the terminal just closing itself flashing away too fast to
 see any output or errors (if there were any).

More investigation with strace revealed that rxvt was trying to open
the utmp file.  By running with rxvt -ut it now works for me.  I
guess I never had the utmp option enabled before.

Whether this is the best solution I do not know.

--
[EMAIL PROTECTED] mailing list