[gentoo-user] subscribe

2008-05-04 Thread Anders Trobäck
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] sys-libs/libstdc++-v3-3.3.6 dies!

2007-12-30 Thread Anders Trobäck
On Sat, 29 Dec 2007 23:54:44 +0100
Anders Trobäck [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm trying to run 'emerge -uDN world' but it's dies on
 sys-libs/libstdc++-v3-3.3.6.
 
 Here are some info:
 8--
 make TARGETS=oneprocess SHELL=/bin/tcsh CC=gcc CFLAGS=
 -march=prescott -O2 -pipe s -Wstrict-prototypes -Wmissing-prototypes
 -Wtraditional -pedantic -Wno-long-long -DHA FLAGS=
 LIBERTY=/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/../libib
 make[2]: Entering directory
 `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/g /bin/tcsh 
 /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/genfi
 SHELL=/bin/sh: Command not found. export: Command not found.
 if: Expression Syntax.
 make[2]: *** [machname.h] Fel 1
 make[2]: Leaving directory
 `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make[1]:
 *** [fixinc.sh] Fel 2 make[1]: *** Inväntar oavslutade jobb...
 done
 Forming and outputing automata tables...done
 Output functions to work with automata...done
 
 Automaton `pentium'
48 NDFA states, 90 NDFA arcs
48 DFA states,  90 DFA arcs
20 minimal DFA states,  62 minimal DFA arcs
29 all insns 16 insn equivalence classes
62 transition comb vector els,   320 trans table els: use comb vect
62 state alts comb vector els,   320 state alts table els: use comb
 vect 768 min delay table els, compression factor 2
 
 Automaton `pentium_fpu'
80 NDFA states,172 NDFA arcs
80 DFA states, 172 DFA arcs
75 minimal DFA states, 162 minimal DFA arcs
29 all insns  8 insn equivalence classes
   164 transition comb vector els,   600 trans table els: use comb vect
   164 state alts comb vector els,   600 state alts table els: use comb
 vect 640 min delay table els, compression factor 1
 
   237 all allocated states,   236 all allocated arcs
   342 all allocated alternative states
   226 all transition comb vector els,   920 all trans table els
   226 all state alts comb vector els,   920 all state alts table els
  1408 all min delay table els
12 locked states num
 
   transformation: 0.004001, building DFA: 0.012000
   DFA minimization: 0.00, making insn equivalence: 0.00
  all automaton generation: 0.012000, output: 0.004000
 /bin/sh 
 /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change
 echo timestamp  s-attrtab
 make[1]: Leaving directory
 `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make: ***
 [all-gcc] Fel 2
  * 
  * ERROR: sys-libs/libstdc++-v3-3.3.6 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
  *   libstdc++-v3-3.3.6.ebuild, line  228:  Called die
  * The specific snippet of code:
  *  S=${WORKDIR}/build \
  *  emake all-target-libstdc++-v3 \
  *  LIBPATH=${LIBPATH} \
  *  BOOT_CFLAGS=${CFLAGS} STAGE1_CFLAGS=-O || die
  *  The die message:
  *   (no error message)
  * 
  * If you need support, post the topmost build error, and the call
 stack if relevant.
  * A complete build log is located at
 '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/te
  * 
 
 8--
 
 Anyone have a clue?
 
 Thanks!!!
 

Answer my self here:-)

Normally I'm a tcsh user so I changed root's default shell to tcsh.
After I change it back to bash everything builds just fine!

\\anders
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sys-libs/libstdc++-v3-3.3.6 dies!

2007-12-30 Thread Anders Trobäck
On Mon, 31 Dec 2007 00:21:41 +0100
Anders Trobäck [EMAIL PROTECTED] wrote:

 On Sat, 29 Dec 2007 23:54:44 +0100
 Anders Trobäck [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I'm trying to run 'emerge -uDN world' but it's dies on
  sys-libs/libstdc++-v3-3.3.6.
  
  Here are some info:
  8--
  make TARGETS=oneprocess SHELL=/bin/tcsh CC=gcc CFLAGS=
  -march=prescott -O2 -pipe s -Wstrict-prototypes -Wmissing-prototypes
  -Wtraditional -pedantic -Wno-long-long -DHA FLAGS=
  LIBERTY=/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/../libib
  make[2]: Entering directory
  `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/g /bin/tcsh 
  /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/genfi
  SHELL=/bin/sh: Command not found. export: Command not found.
  if: Expression Syntax.
  make[2]: *** [machname.h] Fel 1
  make[2]: Leaving directory
  `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make[1]:
  *** [fixinc.sh] Fel 2 make[1]: *** Inväntar oavslutade jobb...
  done
  Forming and outputing automata tables...done
  Output functions to work with automata...done
  
  Automaton `pentium'
 48 NDFA states, 90 NDFA arcs
 48 DFA states,  90 DFA arcs
 20 minimal DFA states,  62 minimal DFA arcs
 29 all insns 16 insn equivalence classes
 62 transition comb vector els,   320 trans table els: use comb
  vect 62 state alts comb vector els,   320 state alts table els: use
  comb vect 768 min delay table els, compression factor 2
  
  Automaton `pentium_fpu'
 80 NDFA states,172 NDFA arcs
 80 DFA states, 172 DFA arcs
 75 minimal DFA states, 162 minimal DFA arcs
 29 all insns  8 insn equivalence classes
164 transition comb vector els,   600 trans table els: use comb
  vect 164 state alts comb vector els,   600 state alts table els:
  use comb vect 640 min delay table els, compression factor 1
  
237 all allocated states,   236 all allocated arcs
342 all allocated alternative states
226 all transition comb vector els,   920 all trans table els
226 all state alts comb vector els,   920 all state alts table els
   1408 all min delay table els
 12 locked states num
  
transformation: 0.004001, building DFA: 0.012000
DFA minimization: 0.00, making insn equivalence: 0.00
   all automaton generation: 0.012000, output: 0.004000
  /bin/sh 
  /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change
  echo timestamp  s-attrtab
  make[1]: Leaving directory
  `/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make:
  *** [all-gcc] Fel 2
   * 
   * ERROR: sys-libs/libstdc++-v3-3.3.6 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
   *   libstdc++-v3-3.3.6.ebuild, line  228:  Called die
   * The specific snippet of code:
   *  S=${WORKDIR}/build \
   *  emake all-target-libstdc++-v3 \
   *  LIBPATH=${LIBPATH} \
   *  BOOT_CFLAGS=${CFLAGS} STAGE1_CFLAGS=-O || die
   *  The die message:
   *   (no error message)
   * 
   * If you need support, post the topmost build error, and the call
  stack if relevant.
   * A complete build log is located at
  '/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/te
   * 
  
  8--
  
  Anyone have a clue?
  
  Thanks!!!
  
 
 Answer my self here:-)
 
 Normally I'm a tcsh user so I changed root's default shell to tcsh.
 After I change it back to bash everything builds just fine!
 
 \\anders

Just some more info:

https://bugs.gentoo.org/show_bug.cgi?id=135706
--
[EMAIL PROTECTED] mailing list



[gentoo-user] sys-libs/libstdc++-v3-3.3.6 dies!

2007-12-29 Thread Anders Trobäck
Hi,

I'm trying to run 'emerge -uDN world' but it's dies on
sys-libs/libstdc++-v3-3.3.6.

Here are some info:
8--
make TARGETS=oneprocess SHELL=/bin/tcsh CC=gcc CFLAGS=
-march=prescott -O2 -pipe s -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long -DHA FLAGS=
LIBERTY=/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gcc/../libib
make[2]: Entering directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/g /bin/tcsh 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/fixinc/genfi
SHELL=/bin/sh: Command not found. export: Command not found.
if: Expression Syntax.
make[2]: *** [machname.h] Fel 1
make[2]: Leaving directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make[1]:
*** [fixinc.sh] Fel 2 make[1]: *** Inväntar oavslutade jobb...
done
Forming and outputing automata tables...done
Output functions to work with automata...done

Automaton `pentium'
   48 NDFA states, 90 NDFA arcs
   48 DFA states,  90 DFA arcs
   20 minimal DFA states,  62 minimal DFA arcs
   29 all insns 16 insn equivalence classes
   62 transition comb vector els,   320 trans table els: use comb vect
   62 state alts comb vector els,   320 state alts table els: use comb
vect 768 min delay table els, compression factor 2

Automaton `pentium_fpu'
   80 NDFA states,172 NDFA arcs
   80 DFA states, 172 DFA arcs
   75 minimal DFA states, 162 minimal DFA arcs
   29 all insns  8 insn equivalence classes
  164 transition comb vector els,   600 trans table els: use comb vect
  164 state alts comb vector els,   600 state alts table els: use comb
vect 640 min delay table els, compression factor 1

  237 all allocated states,   236 all allocated arcs
  342 all allocated alternative states
  226 all transition comb vector els,   920 all trans table els
  226 all state alts comb vector els,   920 all state alts table els
 1408 all min delay table els
   12 locked states num

  transformation: 0.004001, building DFA: 0.012000
  DFA minimization: 0.00, making insn equivalence: 0.00
 all automaton generation: 0.012000, output: 0.004000
/bin/sh 
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/gcc-3.3.6/gcc/move-if-change
echo timestamp  s-attrtab
make[1]: Leaving directory
`/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/work/build/gc make: ***
[all-gcc] Fel 2
 * 
 * ERROR: sys-libs/libstdc++-v3-3.3.6 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
 *   libstdc++-v3-3.3.6.ebuild, line  228:  Called die
 * The specific snippet of code:
 *  S=${WORKDIR}/build \
 *  emake all-target-libstdc++-v3 \
 *  LIBPATH=${LIBPATH} \
 *  BOOT_CFLAGS=${CFLAGS} STAGE1_CFLAGS=-O || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6/te
 * 

8--

Anyone have a clue?

Thanks!!!

-- 
Anders Trobäck
Sweden
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] where to place command to be executed on X.org start

2007-07-31 Thread Anders Trobäck
On Tue, 31 Jul 2007 13:23:04 +0300
Alex V. Fansky [EMAIL PROTECTED] wrote:

 Hello,
 I want command xmodmap ~/.Xmodmap to be executed on my X.org start
 and even restart. Where is the best place to put it?
 

How do you start X, XDM, GDM, KDM or maybe startx?

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Winbind...

2007-07-31 Thread Anders Trobäck
On Tue, 31 Jul 2007 07:44:38 +0200
Anders Trobäck [EMAIL PROTECTED] wrote:

 On Mon, 30 Jul 2007 15:44:14 +0200
 Anders Trobäck [EMAIL PROTECTED] wrote:
 
  On Mon, 30 Jul 2007 14:17:37 +0100
  Stroller [EMAIL PROTECTED] wrote:
  
   
   On 30 Jul 2007, at 12:07, Anders Trobäck wrote:
...
However, I did add the winbind to the system-auth like this:
auth   required pam_env.so
auth   sufficient   /lib/security/pam_winbind.so
auth   sufficient   pam_unix.so use_first_pass likeauth
nullok
   
accountrequired pam_unix.so
   
password sufficient pam_winbind.so
password   required pam_cracklib.so difok=2 minlen=8
dcredit=2 ocredit=2 retry=3
password sufficient  pam_unix.so nullok md5 shadow use_authtok
password   required pam_deny.so
   
sessionrequired pam_limits.so
sessionrequired pam_unix.so
   
   
Now I can ssh to the box but I as soon as I are logged on I'm
kicked off!
   
   Do the winbind users have a shell  homedir?
   
   I'm afraid I can't recall how the shell is defined for them, but
   I use pam_mkhomedir for the latter. I have always used
   courier-imap at home, but it doesn't use a pam session, required
   for pam_mkhomedir, so chose Dovecot IMAP for this office. I'm
   pretty sure that ssh works fine with pam_mkhomedir, tho'.
   
   Stroller.
   
  
  Yes the have home folders. I think that you set the shell with
  template shell in smb.conf!(?)
  
 
 Now it's working! It was file permissions, the home folder was set to
 770 but if I chmod to 750 it worked!
 
 Thanks for your time!!!
 
 
 \\troback
 

Hmmm...spoke to early:-]

Well I can logon but if I enter a blank/wrong password I can logon
anyway!

Here are my /etc/pam.d/system-auth

auth   required pam_env.so
auth   sufficient   pam_winbind.so
auth   sufficient   pam_unix.so use_first_pass likeauth nullok

accountrequired pam_unix.so
accountsufficient   pam_winbind.so

password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
ocredit=2 ret ry=3
password   sufficient   pam_winbind.so
password   sufficient   pam_unix.so nullok md5 shadow use_authtok
password   required pam_deny.so

sessionrequired pam_limits.so
sessionrequired pam_unix.so


-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Winbind...

2007-07-30 Thread Anders Trobäck
On Sun, 29 Jul 2007 13:25:50 +0400
Vladimir Rusinov [EMAIL PROTECTED] wrote:

 On 7/27/07, Stroller [EMAIL PROTECTED] wrote:
 
   I have not done anything with my PAM files yet but I think this
   step should work anyway!(?)
 
  I have found `getent passwd` and `getent group` not to work entirely
  as expected.
 
 EG:
  $ getent group | grep -i dave
  domain users:x:
  1:administrator,support_399845a0,krbtgt,iusr_bodmin,iwam_bodmin,mobi
  le user tmpl,user tmpl,power user tmpl,administrator tmpl,sbs backup
  user,ned,usertemplate-
  lanesre,evelyn,tim,charlotte,dave,mandi,kim,vebra,deanne,alex,laura,anne
  ,anne.h,gillian,maintenance,gail
  $ getent passwd  | grep -i dave
 
 
 I had the simular problem.
 I had winbind uid range 1000-1, and I had real user with uid 1001.
 Solution was to set uid range to 1010-1.
 
 My advice is to move on to the next step (PAM)  see what happens. I
  have always worked off the Testing Things Out section of Chapter
  24 of the Samba manual, Winbind: Use of Domain Accounts http://
  www.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html
  and have always found following it to work perfectly, but winbind
  doesn't seem well-documented elsewhere or by 3rd parties.
 
 
 Also, try to add winbind everywhere at nsswitch.
 I can't reach my config now, but I'm sure I have more the 2 winbind
 lines at nsswitch.conf.
 
 PS: sorry for my English.
 

Hi,

I have the rid set to 1-2 and I have no local users in that
range!

I can chown and chgrp but still getent are not working...

However, I did add the winbind to the system-auth like this:
auth   required pam_env.so
auth   sufficient   /lib/security/pam_winbind.so
auth   sufficient   pam_unix.so use_first_pass likeauth nullok

accountrequired pam_unix.so

password sufficient pam_winbind.so
password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
ocredit=2 retry=3
password sufficient  pam_unix.so nullok md5 shadow use_authtok
password   required pam_deny.so

sessionrequired pam_limits.so
sessionrequired pam_unix.so


Now I can ssh to the box but I as soon as I are logged on I'm kicked
off!

Any ideas?


\\anders


PS. Don't forget...I'm new to Gentoo:-) 

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Winbind...

2007-07-30 Thread Anders Trobäck
On Mon, 30 Jul 2007 14:17:37 +0100
Stroller [EMAIL PROTECTED] wrote:

 
 On 30 Jul 2007, at 12:07, Anders Trobäck wrote:
  ...
  However, I did add the winbind to the system-auth like this:
  auth   required pam_env.so
  auth   sufficient   /lib/security/pam_winbind.so
  auth   sufficient   pam_unix.so use_first_pass likeauth nullok
 
  accountrequired pam_unix.so
 
  password sufficient pam_winbind.so
  password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
  ocredit=2 retry=3
  password sufficient  pam_unix.so nullok md5 shadow use_authtok
  password   required pam_deny.so
 
  sessionrequired pam_limits.so
  sessionrequired pam_unix.so
 
 
  Now I can ssh to the box but I as soon as I are logged on I'm kicked
  off!
 
 Do the winbind users have a shell  homedir?
 
 I'm afraid I can't recall how the shell is defined for them, but I  
 use pam_mkhomedir for the latter. I have always used courier-imap at  
 home, but it doesn't use a pam session, required for pam_mkhomedir,  
 so chose Dovecot IMAP for this office. I'm pretty sure that ssh
 works fine with pam_mkhomedir, tho'.
 
 Stroller.
 

Yes the have home folders. I think that you set the shell with
template shell in smb.conf!(?)

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Winbind...

2007-07-30 Thread Anders Trobäck
On Mon, 30 Jul 2007 15:44:14 +0200
Anders Trobäck [EMAIL PROTECTED] wrote:

 On Mon, 30 Jul 2007 14:17:37 +0100
 Stroller [EMAIL PROTECTED] wrote:
 
  
  On 30 Jul 2007, at 12:07, Anders Trobäck wrote:
   ...
   However, I did add the winbind to the system-auth like this:
   auth   required pam_env.so
   auth   sufficient   /lib/security/pam_winbind.so
   auth   sufficient   pam_unix.so use_first_pass likeauth nullok
  
   accountrequired pam_unix.so
  
   password sufficient pam_winbind.so
   password   required pam_cracklib.so difok=2 minlen=8 dcredit=2
   ocredit=2 retry=3
   password sufficient  pam_unix.so nullok md5 shadow use_authtok
   password   required pam_deny.so
  
   sessionrequired pam_limits.so
   sessionrequired pam_unix.so
  
  
   Now I can ssh to the box but I as soon as I are logged on I'm
   kicked off!
  
  Do the winbind users have a shell  homedir?
  
  I'm afraid I can't recall how the shell is defined for them, but I  
  use pam_mkhomedir for the latter. I have always used courier-imap
  at home, but it doesn't use a pam session, required for
  pam_mkhomedir, so chose Dovecot IMAP for this office. I'm pretty
  sure that ssh works fine with pam_mkhomedir, tho'.
  
  Stroller.
  
 
 Yes the have home folders. I think that you set the shell with
 template shell in smb.conf!(?)
 

Now it's working! It was file permissions, the home folder was set to
770 but if I chmod to 750 it worked!

Thanks for your time!!!


\\troback

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Winbind...

2007-07-27 Thread Anders Trobäck
Hi,

new to this list and Gentoo, keep that in mind:-)

I'm trying to set up winbind on a Gentoo box but I can't get it to work!

I have joined the domain and I have added winbind
to /etc/nsswitch.conf.  wbinfo -u and  wbinfo -g are working but
getent passwd and getent group only list the local accounts and
groups!

I have not done anything with my PAM files yet but I think this
step should work anyway!(?)

Any ideas out there?

Thanks!!!

-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Winbind...

2007-07-27 Thread Anders Trobäck
On Fri, 27 Jul 2007 16:02:46 +0400
Vladimir Rusinov [EMAIL PROTECTED] wrote:

 On 7/27/07, Anders Trobäck [EMAIL PROTECTED] wrote:
 
  I'm trying to set up winbind on a Gentoo box but I can't get it to
  work!
 
  I have joined the domain and I have added winbind
  to /etc/nsswitch.conf.  wbinfo -u and  wbinfo -g are working but
  getent passwd and getent group only list the local accounts and
  groups!
 
 
 cat /etc/nsswitch.conf
 
 I have not done anything with my PAM files yet but I think this
  step should work anyway!(?)
 
 
 Yes. This step should work without pam.
 
 

cat /etc/nsswitch.conf:

passwd:  compat winbind
shadow:  compat
group:   compat winbind

hosts:   files dns
networks:files dns

services:db files
protocols:   db files
rpc: db files
ethers:  db files
netmasks:files
netgroup:files
bootparams:  files

automount:   files
aliases: files


-- 


Microsoft is not the answer.
Microsoft is the question.
And 'No' is the answer!

Anders Trobäck
http://www.troback.com
--
[EMAIL PROTECTED] mailing list