Re: [gentoo-ppc-user] openoffice - last question

2005-06-13 Thread David Holm
On Wed, 2005-06-08 at 20:34 +0200, Peter Kiraly wrote:
 Hello there!
 
 I have updated the toolchain, and this time compiling openoffice went for  
 ~10 hours... :) Then failed... :(
 There is only three packages yet 'who' failed out of 50... (Including  
 openoffice) For my last chance I grabbed the binary from David Holm's  
 website, and emerged it as described there. I have no luck. :(  When try  
 to start openoffice with 'ooffice' or other suggested command, this is the  
 message:

Can you either post the last 20-30 or so lines of the openoffice compile
or make a log of the complete compile available to us.

Which are the other two packages that failed?

 bash-2.05b$ ooffice
 running openoffice.org setup...
 setup failed.. abort
 
 What now? What am I doing wrong???

As far as I can tell you haven't done anything wrong.

//David Holm


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


Re: [gentoo-user] Re: can't install Xosview

2005-06-13 Thread Zac Medico
askar ... wrote:
 Hello!
 
 My this message left unanswered.
 I notice when I install gentoo only using live cd, xosview can not be
 installed with error below. It seems this problem can be solved after
 updating portage.
 In my case I cannot update portage often, and I'm still curious did
 anybody had such problem and how solved?
 
 askar
 
 On 5/29/05, askar ... [EMAIL PROTECTED] wrote:
 
Hello!

I can't install xosview for a long time.
Below I picked up error related info.

askar


configure: WARNING: iostream: present but cannot be compiled
configure: WARNING: iostream: check for missing prerequisite headers?
configure: WARNING: iostream: proceeding with the preprocessor's result
configure: WARNING: ##
-- ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ##
-- ##
checking for iostream... yes
checking fstream usability... no
checking fstream presence... yes
configure: WARNING: fstream: present but cannot be compiled
configure: WARNING: fstream: check for missing prerequisite headers?
configure: WARNING: fstream: proceeding with the preprocessor's result
configure: WARNING: ##
-- ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ##
-- ##
...
make[1]: Leaving directory
`/var/tmp/portage/xosview-1.8.2/work/xosview-1.8.2/linux'

!!! ERROR: x11-misc/xosview-1.8.2 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status 
message.

 
 

Sombody else had it too:

http://forums.gentoo.org/viewtopic-t-200282-highlight-.html

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



Re: [gentoo-user] Re: can't install Xosview

2005-06-13 Thread askar ...
In the forum, as I understand, the problem was in a hard drive. In my
case I have this problem in many systems installed in different hard
drives...

askar

On 6/13/05, Zac Medico [EMAIL PROTECTED] wrote:
 askar ... wrote:
  Hello!
 
  My this message left unanswered.
  I notice when I install gentoo only using live cd, xosview can not be
  installed with error below. It seems this problem can be solved after
  updating portage.
  In my case I cannot update portage often, and I'm still curious did
  anybody had such problem and how solved?
 
  askar
 
  On 5/29/05, askar ... [EMAIL PROTECTED] wrote:
 
 Hello!
 
 I can't install xosview for a long time.
 Below I picked up error related info.
 
 askar
 
 
 configure: WARNING: iostream: present but cannot be compiled
 configure: WARNING: iostream: check for missing prerequisite headers?
 configure: WARNING: iostream: proceeding with the preprocessor's result
 configure: WARNING: ##
 -- ##
 configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
 configure: WARNING: ##
 -- ##
 checking for iostream... yes
 checking fstream usability... no
 checking fstream presence... yes
 configure: WARNING: fstream: present but cannot be compiled
 configure: WARNING: fstream: check for missing prerequisite headers?
 configure: WARNING: fstream: proceeding with the preprocessor's result
 configure: WARNING: ##
 -- ##
 configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
 configure: WARNING: ##
 -- ##
 ...
 make[1]: Leaving directory
 `/var/tmp/portage/xosview-1.8.2/work/xosview-1.8.2/linux'
 
 !!! ERROR: x11-misc/xosview-1.8.2 failed.
 !!! Function src_compile, Line 29, Exitcode 2
 !!! compilation failed
 !!! If you need support, post the topmost build error, NOT this status 
 message.
 
 
 
 
 Sombody else had it too:
 
 http://forums.gentoo.org/viewtopic-t-200282-highlight-.html
 
 Zac
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: can't install Xosview

2005-06-13 Thread Zac Medico
askar ... wrote:
 In the forum, as I understand, the problem was in a hard drive. In my
 case I have this problem in many systems installed in different hard
 drives...
 

What did they all have in common, the same livecd, stage tarballs, distfiles, 
portage snapshots?

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



[gentoo-user] How to know if a Xeon is EMT64 capable?

2005-06-13 Thread Jose Gonzalez Gomez
Hi there,

I'm about to install a Gentoo system in a Xeon based computer, but I'm
not sure if this processor is 64-bit capable or not, as there seems to
exist 32 and 64 versions of this processor. Is there any way to know
it?

The output of cat /proc/cpuinfo:

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 3.06GHz
stepping: 9
cpu MHz : 3067.211
cache size  : 512 KB
physical id : 0
siblings: 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 6062.08

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Intel(R) Xeon(TM) CPU 3.06GHz
stepping: 9
cpu MHz : 3067.211
cache size  : 512 KB
physical id : 0
siblings: 2
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 6127.61


Thanks in advance, best regards
Jose

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to know if a Xeon is EMT64 capable?

2005-06-13 Thread Zac Medico
Jose Gonzalez Gomez wrote:
 Hi there,
 
 I'm about to install a Gentoo system in a Xeon based computer, but I'm
 not sure if this processor is 64-bit capable or not, as there seems to
 exist 32 and 64 versions of this processor. Is there any way to know
 it?
 
 The output of cat /proc/cpuinfo:
 
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 3.06GHz
 stepping: 9
 cpu MHz : 3067.211
 cache size  : 512 KB
 physical id : 0
 siblings: 2
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
 xtpr
 bogomips: 6062.08
 
 processor   : 1
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Intel(R) Xeon(TM) CPU 3.06GHz
 stepping: 9
 cpu MHz : 3067.211
 cache size  : 512 KB
 physical id : 0
 siblings: 2
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
 mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
 xtpr
 bogomips: 6127.61
 
 
 Thanks in advance, best regards
 Jose
 

An EM64T enabled processor will have the lm flag which stands for long mode.  
Sorry, it seems to be 32 bit.

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



Re: [gentoo-user] How to know if a Xeon is EMT64 capable?

2005-06-13 Thread Travis Rousseau
You have a 32 bit processor, the  64bit Xeons have 1-2MB of L2 cache,
yours has 512KB.

Travis R.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Kicker crashes almost everytime I close my KDE session

2005-06-13 Thread info
Hi !!

I'm a very satisfied Gentoo user, but with KDE 3.4.1, kicker crashes 
everytime I'm going to shutdown or to close my session. Actually it doesn't 
crash always, but almost always. I can't understand why sometimes it does 
crash and sometimes not.

Does anyone suffer from this apart from me?

Thank you.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Glenn Enright
On Mon, 13 Jun 2005 13:17, Danny Luker wrote:
 Hi all,
The other night I did an emerge sync; emerge world -vu and got a
 new and improved version of baselayout.  I screwed up and let
 etc-update clobber all my config files (stupid I know ;() ... anyway,
 I've recovered from it except I can't get wireless working.  
snip

Prob not useful, but when I upgraded I got error messages on reboot from 
having my net.eth0 in the 'boot' runlevel, rather than 'default'. Not sure 
why the change, but moving it to 'default' made everything work again and 
error messgaes went away. Is this helpful?

-- 

For every complex problem, there is a solution that is simple, neat, and 
wrong.
-- H. L. Mencken


pgpeq58Mzo5ou.pgp
Description: PGP signature


Re: [gentoo-user] cvs passwords

2005-06-13 Thread pat
Well, I'll try to tunnel the cvs through ssh. Do you have a good
tutorial - better to say quick one ;-)

Thanks

Pat

Raphael Melo de Oliveira Bastos Sales wrote:
 The safest way to do it is working through ssh, but since he wants to
 work as a pserver, I doubt that it is his case ;)
 
 2005/6/13, Norberto Bensa [EMAIL PROTECTED]:
 
Raphael Melo de Oliveira Bastos Sales wrote:

pserver doesn't cryptographs the passwords, so they travel
through the net as plain text

Couldn't you tunnel it thru ssh? I'm not a cvs guru, I'm just curious. Anyway,
I use svn now :D

--
Norberto Bensa
informática BeNSA
4544-9692 / 15-4190-6344
Ciudad de Buenos Aires, Argentina

--
gentoo-user@gentoo.org mailing list


 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Danny Luker
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 Danny Luker wrote:
 
 Hi all,
The other night I did an emerge sync; emerge world -vu and got a
 new and improved version of baselayout.  I screwed up and let
 etc-update clobber all my config files (stupid I know ;() ... anyway,
 I've recovered from it except I can't get wireless working.  It all
 was so simple before.  Even doing it manually was simple but I can't
 get it to connect (associate) with my access points.  Before all this
 I could do it manually by:
 
 # modprobe ath_pci  // using the madwifi drivers on my Thinkpad T40
 # ifconfig ath0 192.168.1.53 netmask 255.255.255.0 up
 # route add default gw 192.168.1.1 ath0
 
 
 
 
 Well, nothing in the new baselayout should have prevented your ability
 to bring things up manually.  The only thing I can think of that you
 might be missing is an iwconfig ath0 essid 'any' command.
 
 For bringing things up automatically, the following lines in
 /etc/conf.d/net should work:
 
 modules_ath0=( ifconfig iwconfig )
 config_ath0=( 192.168.1.53 netmask 255.255.255.0 )
 routes_ath0=(
default via 192.168.1.1
 )
 
 If you need encryption, you will also need to configure
 /etc/conf.d/wireless appropriately.  Take a look at
 /etc/conf.d/net.example and wireless.example.
 
 If this doesn't help, please post your /etc/conf.d/net and wireless
 files.  And also exactly what happens when you try to bring up the
 interface manually.
 
 -Richard
 
 --
 gentoo-user@gentoo.org mailing list
 
 

Thanks Richard,  I have since made progress in the area of manually
bringing up wireless.  I discovered, after much experimentation, that
I can get my interface to play well by giving it the following:

iwconfig ap off

and then proceding with ifconfig and route as normal.  Still can't get
it to do it automatically.  And, like you,  I don't understand why the
base layout change would cause me to have to issue the above command
when I never had to in the past.  So, after putting the text in
/etc/conf.d/net you suggested I get the same results.  I tried adding
the ap off in the /etc/conf.d/wireless iwconfig_ath0 variable ...
didn't work.  Tried a little preup() function to issue the iwconfig
ap off command ... didn't work ... well at least I can do it manually
now ;)

As for what it does ...

* Starting ath0
 *   Loading networking modules for ath0
  * modules: iwconfig essidnet iptunnel ifconfig dhcpcd apipa
  *   iwconfig provides wireless
  *   ifconfig provides interface
  *   dhcpcd provides dhcp
  *   Running preup function
iwconfig ath0 ap off
 *   Configuring wireless network for ath0
  *   Connecting to any (WEP Disabled) ...  
[ !! ]
 *   Failed to configure wireless for ath0[ !! ]


/var/log/messages gets an entry ...
Jun 13 04:27:49 localhost rc-scripts: Failed to configure wireless for ath0

and nothing else very interesting happens ... I wish there were more
info ;)  Maybe I just do know where to look .. ;(

I've attached the net and wireless config files.  

Thank you for taking time to look at this ... really has me scratching my head.
Danny Luker


net
Description: Binary data


wireless
Description: Binary data


Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Danny Luker
On 6/13/05, Glenn Enright [EMAIL PROTECTED] wrote:
 On Mon, 13 Jun 2005 13:17, Danny Luker wrote:
  Hi all,
 The other night I did an emerge sync; emerge world -vu and got a
  new and improved version of baselayout.  I screwed up and let
  etc-update clobber all my config files (stupid I know ;() ... anyway,
  I've recovered from it except I can't get wireless working.
 snip
 
 Prob not useful, but when I upgraded I got error messages on reboot from
 having my net.eth0 in the 'boot' runlevel, rather than 'default'. Not sure
 why the change, but moving it to 'default' made everything work again and
 error messgaes went away. Is this helpful?
 
 --
 
 For every complex problem, there is a solution that is simple, neat, and
 wrong.
 -- H. L. Mencken


Thanks for the info ...  I checked and my net.lo is in boot.  net.ath0
is in default.  I think this is correct but I could be mistaken.

Thank you.
Danny Luker

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] iptables blocks ssh

2005-06-13 Thread Norbert Kamenicky
Antonio Coralles wrote:
 gentoo-user@lists.gentoo.org wrote:
 
 
On Wed, 8 Jun 2005, Antonio Coralles wrote:


I've recently turned my workstation into a router for my laptop, using
the great gentoo home router guide. Everthing is ok so far, with one
exception: I can't connect to my ssh server anymore from outside the
LAN, becuase iptables seems to prevent this, allthough i
# iptables -A INPUT -p TCP --dport ssh -i eth1 -j ACCEPT .

The ordering of the rules is important. Perhaps you can provide more
context by showing us the rules preceding the one above?

 
 Well, this is a hot tip. I think that the order in which I entered my
 iptables rules is the same as in
 'http://www.gentoo.org/doc/en/home-router-howto.xml code Listing 5.3',
 whith the exception that
 I entered '# iptables -A INPUT -p TCP --dport ssh -i eth1 -j ACCEPT'
 after the nat rules. I'll try to reenter them in the correct order ...
 
 Thanks,

 Antonio

iptables -A INPUT -p TCP --dport ssh -i eth1 -j ACCEPT

replace eth1 with eth0, or remove string -i eth1


noro


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] updating sysvinit coreutils and baselayout broke some locales/letters

2005-06-13 Thread sIbOk
before posting i reemerged kbd and didn't help. I don't use the
console on these Pc cause it's my daughter's Pc so i don't have
consolefont in any runlevel, but that's not the problem. When i have
to do anything i start it manually, it's not very often. By now
someone tells that the problem i get is due tu a strange behavour of
splahsutils and it's solved in a new version, so gonna try to solve it
this way. If i can solve it i will post here so if someone has a
similar problem could know the solution. Thanks to all you :)

2005/6/13, Richard Fish [EMAIL PROTECTED]:
 Zac Medico wrote:
 
 Zac Medico wrote:
 
 
 sIbOk wrote:
 
 
 
 i thanks your time to all, i run etc-update. I have 3 different Gentoo
 machines i updated them all and converted to unicode just because i
 planned a long time ago and they all work great escept the one that
 gave me first the error. I didn't miss anything, maybe there is some
 broken package althought revdep-debuild doesn't show.
 thanks again to all who read the post, and i ddin't mean to eb rude,
 just wanted to remark that before answering it's mportant to read
 everything well. thanks again :)
 
 
 
 Is /etc/runlevels/boot/keymaps a symlink to /etc/init.d/keymaps and does 
 /etc/init.d/keymaps look okay?
 
 Zac
 
 
 
 
 Also, maybe for some reason you need to remerge sys-apps/kbd.
 
 Zac
 
 
 
 Yep, that's the next step.  Make sure that 'rc-update -s' shows both
 consolefont and keymaps.  I have them both starting in 'boot'.
 
 And yes, I wen't back and read your original message again (sorry about
 that), and you don't mention whether these are in your startup or not! ;-
 
 -Richard
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
Cualquier hijo de puta sabe lo que darte si tiene que dolerte, pero no
cualquier hijo de puta saber lo que darte si tiene que gustarte. Yo
soy sIbOk un hijo puta especial...!!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: can't install Xosview

2005-06-13 Thread Paul Varner
On Mon, 2005-06-13 at 05:40 +, askar ... wrote:
 Hello!
 
 My this message left unanswered.
 I notice when I install gentoo only using live cd, xosview can not be
 installed with error below. It seems this problem can be solved after
 updating portage.
 In my case I cannot update portage often, and I'm still curious did
 anybody had such problem and how solved?
 

I can't guarantee that this will work since your error is different from
the errors I received.  Try adding -DHAVE_SNPRINTF=1 to your CFLAGS
entry in make.conf and re-emerging xosview.

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] rc.conf is very short now?

2005-06-13 Thread James
Hello,

I just updated a system, vi 'emerge -uD world'

The rc.conf file is now very short:

# /etc/rc.conf: Global startup script configuration settings
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/rc.conf,v 1.30.4.1
 2005/02/10 01
:11:52 vapier Exp $

# UNICODE specifies whether you want to have UNICODE support in the console.
# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and
# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files.

UNICODE=no

# Set EDITOR to your preferred editor.
# You may use something other than what is listed here.

#EDITOR=/bin/nano
EDITOR=/usr/bin/vim
#EDITOR=/usr/bin/emacs

# What display manager do you use ?  [ xdm | gdm | kdm | entrance ]
#DISPLAYMANAGER=xdm
DISPLAYMANAGER=kdm

# XSESSION is a new variable to control what window manager to start
# default with X if run with xdm, startx or xinit.  The default behavior
# is to look in /etc/X11/Sessions/ and run the script in matching the
# value that XSESSION is set to.  The support scripts are smart enough to
# look in all bin directories if it cant find a match in /etc/X11/Sessions/,
# so setting it to enlightenment can also work.  This is basically used
# as a way for the system admin to configure a default system wide WM,
# allthough it will work if the user export XSESSION in his .bash_profile, etc.
#
# NOTE:  1) this behaviour is overridden when a ~/.xinitrc exists, and startx
#   is called.
#2) even if ~/.xsession exists, if XSESSION can be resolved, it will
#   be executed rather than ~/.xsession, else KDM breaks ...
#
# Defaults depending on what you install currently include:
#
# Gnome - will start gnome-session
# kde-version - will start startkde (ex: kde-3.0.2)
# Xsession - will start a terminal and a few other nice apps

#XSESSION=Gnome
XSESSION=kde-3.3.2


snip
This is the new rc.conf file I was given, I only changed the
DISPLAYMANAGER, EDITOR and XSESSION entries.
Lots of stuff, like the protoocols are missing? Why?

I kept an old copy but, what gives with this new, shorter
version of rc.conf? Is it because the previous configuration
information has moved to other config files? Did I do
something wrong?  Or is this just an abboration?

None of my 5 other Gentoo sytems have this problem.

-curious,

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] rc.conf is very short now?

2005-06-13 Thread Neil Bothwick
On Mon, 13 Jun 2005 14:45:27 + (UTC), James wrote:

 I kept an old copy but, what gives with this new, shorter
 version of rc.conf? Is it because the previous configuration
 information has moved to other config files? 

Many of the options have been moved into separate files in /etc/conf.d.


-- 
Neil Bothwick

After all is said and done let there not be more said than done.


pgp67YkCntbd2.pgp
Description: PGP signature


Re: [gentoo-user] cvs passwords

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
Is there a package in portage that does that, or do I need to do it
the hard way?

2005/6/13, Niklas Herder [EMAIL PROTECTED]:
 Raphael Melo de Oliveira Bastos Sales wrote:
  Huummm, I dunno, always used CVS in controlled enviroments, so always
  used pserver.
 
  I guess you could use scp to copy your files to the remote machine and
  then start using cvs through the remote shell as if it were in your
  localhost.
 
 
 It's actually easier to set upp cvs with ssh than with pserver, IMHO.
 
 Just have an sshd running on the cvs server, then
 use an address a la :ext:[EMAIL PROTECTED]:/cvsroot
 You may need to have the CVS_RSH variable set to /usr/bin/ssh (or
 whatever your path is) on your client for this to work.
 
 Piece of cake! :)
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
It's been about 9 months now that Java 1.5 has been an official release from Sun
and I see no ebuilds, masked or not.  I'm going to be teaching this
puppy starting
in September, and I need to start using it.  This raises two questions:

1) Is there a simple way to install the current release without damaging the
ebuild-installed ones I have, or should I just blunder ahead and mangle my
own PATH and such in .bashrc_local (or whereever -- this is a
one-user machine).

2) Better yet, is there a way to integrate such a release with
java-config.  I took
a very brief look at the Python, and java-config is just cryptic
and undocumented
enough for me to prefer to *not* learn it well enough to answer this myself.

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Sync only installed and dependence packages with portage.

2005-06-13 Thread Qian Qiao
Hi,

As the title suggested, I've got a box with very limited disk space,
is it possible to sync only the packages currently installed and their
dependencies with the portage tree and leave out the rest?

TIA.

-- Joe

-- 
Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Haim Ashkenazi
On Mon, 2005-06-13 at 08:33 -0700, Kevin O'Gorman wrote:
 It's been about 9 months now that Java 1.5 has been an official release from 
 Sun
 and I see no ebuilds, masked or not.  I'm going to be teaching this
 puppy starting
 in September, and I need to start using it.  This raises two questions:
Unless I completely misunderstood your question... 
why do you say there is no ebuild for java 1.5?

parker ~ # etcat -v sun-jdk
[ Results for search key   : sun-jdk ]
[ Candidate applications found : 6 ]

 Only printing found installed programs.

*  dev-java/sun-jdk :
[M~ ] 1.2.2.017 (1.2)
[   ] 1.3.1.13 (1.3)
[   ] 1.4.2.07-r1 (1.4)
[  I] 1.4.2.08 (1.4)
[M~ ] 1.5.0.02-r1 (1.5)
[M~ ] 1.5.0.03 (1.5)



Bye
-- 
Haim


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


Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Wade Brown
Java 1.5 is in the portage tree, though I'm not entirely sure on its
masked state.  I do know that some programs have issues with 1.5, and
there are plenty of warnings all over the place that using a
system-wide configuration of java 1.5 is potentially hazardous when
building up some of the older packages that depend on a sane version
of java.  Anyway, to unmask it (I use it, and it does work just fine
so far, but my use of java is limited), do the following

echo dev-java/sun-jdk ~x86  /etc/portage/package.keywords
echo dev-java/sun-jre-bin ~x86  /etc/portage/package.keywords
echo =dev-java/sun-jdk-1.4.99  /etc/portage/package.unmask
echo =dev-java/java-sdk-docs-1.4.99  /etc/portage/package.unmask
emerge -DuvaN world
java-config -S sun-jdk-1.5.0.03
env-update  source /etc/profile


Should this ever become a problem down the road, your old version of
java still exists, use java-config -L to see which one to set it back
to.  So far I've been able to run eclipse, azureus, and mozilla java
with no problems using the latest sun-jdk, but do be warned several
programs are expected to fail building.


On 6/13/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 It's been about 9 months now that Java 1.5 has been an official release from 
 Sun
 and I see no ebuilds, masked or not.  I'm going to be teaching this
 puppy starting
 in September, and I need to start using it.  This raises two questions:
 
 1) Is there a simple way to install the current release without damaging the
 ebuild-installed ones I have, or should I just blunder ahead and mangle my
 own PATH and such in .bashrc_local (or whereever -- this is a
 one-user machine).
 
 2) Better yet, is there a way to integrate such a release with
 java-config.  I took
 a very brief look at the Python, and java-config is just cryptic
 and undocumented
 enough for me to prefer to *not* learn it well enough to answer this 
 myself.
 
 --
 Kevin O'Gorman, PhD
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Matthew Cline
 
 echo dev-java/sun-jdk ~x86  /etc/portage/package.keywords
 echo dev-java/sun-jre-bin ~x86  /etc/portage/package.keywords
 echo =dev-java/sun-jdk-1.4.99  /etc/portage/package.unmask
 echo =dev-java/java-sdk-docs-1.4.99  /etc/portage/package.unmask

What's the difference between sun-jdk and sun-jre-bin? At first
glance, it appears that one should be the development kit whereas the
other should only install the runtime environment, however URL for
each ebuild points to the same website and the tarbell that the
sun-jre-bin ebuild instructs you to download contains the full J2SE
development kit and runtime environment.

I'm mostly interest, because the sun-jdk-1.5.03 is hard-masked,
whereas sun-jre-bin-1.5.03 is not.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Holly Bostick
Wade Brown schreef:
 So far I've been able to run eclipse, azureus, and mozilla java
 with no problems using the latest sun-jdk, but do be warned several
 programs are expected to fail building.
 

I use a variation on this; my system jre and jdk are blackdown-1.4.2,
but azureus really really prefers sun-1.5.whatever (or at least 2.3.0.0
did, just upgraded to 2.3.0.2--which finally made it into Portage-- but
haven't used it yet; it's supposed to solve this issue, afaik).

Since 1) azureus crashed alot with blackdown, and 2) I didn't want to
change my entire system to sun 1.5, since I had no idea of the effects
and 3) not changing my entire system results in having only the sun jre,
but not the sun jdk (so a mismatched system), my solution was to write a
small script to run azureus:

#!/bin/sh
java-config -s sun-jre-bin-1.5.0.03
source /home/motub/.gentoo/*
azureus


Works fine, and saves me having to remember to do it manually every time
I want to start the program (and being reminded when I tried to open the
Configuration tab and the program crashed with a Java HotSpot error).

So, for what it's worth, it is possible to manage 'stable' and
'unstable' java versions on the system, at least as far as pre-compiled
 java-based executables go. I'm not a Java developer (or any kind of
developer), so I don't really have much interest in testing the
compilation of programs against the new Java, which, as I understand it,
may work, but may not.

What I'm wondering is whether blackdown is ever going to update to a 1.5
version.

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



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Qian Qiao
On 13/06/05, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 It's been about 9 months now that Java 1.5 has been an official release from 
 Sun
 and I see no ebuilds, masked or not.  I'm going to be teaching this
 puppy starting
 in September, and I need to start using it.  This raises two questions:
 
 1) Is there a simple way to install the current release without damaging the
ebuild-installed ones I have, or should I just blunder ahead and mangle my
own PATH and such in .bashrc_local (or whereever -- this is a
 one-user machine).
 
 2) Better yet, is there a way to integrate such a release with
 java-config.  I took
a very brief look at the Python, and java-config is just cryptic
 and undocumented
enough for me to prefer to *not* learn it well enough to answer this 
 myself.

The JDK/JRE ebuilds are in the tree for a very long time, if you
haven't noticed, :)

The JDK is masked. Many of the old ebuilds won't build with the new
JDK as their build scripts don't specify -source and -target and the
new JDK assumes they are 1.5 and spits out a hell lot of errors.

If this doesn't apply to you, you can probably unmask the new ebuild
and install it.

The JRE, is recently unmasked and, I believe, is safe to use, despite
the fact that you can only run byte codes compiled elsewhere.

The people in the java herd are trying their best to resolve this
issue for you and for many of us. For the time being, my working
solution is:

Unmask 1.5 JDK and install it, install another 1.4 alongside with it.
Switch to the 1.4 when you need to build a java ebuild. Switch back to
the 1.5.

BTW, is there something terribly fancy in 1.5 that you are so desperate to use?

HTH.

-- Joe

-- 
Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Wade Brown
JDK is more than likely the one you want, the difference is exactly as
you said, one is supposed to be just runtime environment (what most
Windows users get to view java on web pages) whereas JDK lets you
build java applications on your machine.  You can probably ignore that
line with jre-bin seeing as how the JDK provides everything the JRE
provides and then some (If you use java-config to set your java to a
JRE, it informs you several functions are missing).  They both point
you to the same website, but from there you can choose which to
download, including rpm binaries and documentation, though you'll want
the one that matches the filename portage instructed you to use.

On 6/13/05, Matthew Cline [EMAIL PROTECTED] wrote:
 
  echo dev-java/sun-jdk ~x86  /etc/portage/package.keywords
  echo dev-java/sun-jre-bin ~x86  /etc/portage/package.keywords
  echo =dev-java/sun-jdk-1.4.99  /etc/portage/package.unmask
  echo =dev-java/java-sdk-docs-1.4.99  /etc/portage/package.unmask
 
 What's the difference between sun-jdk and sun-jre-bin? At first
 glance, it appears that one should be the development kit whereas the
 other should only install the runtime environment, however URL for
 each ebuild points to the same website and the tarbell that the
 sun-jre-bin ebuild instructs you to download contains the full J2SE
 development kit and runtime environment.
 
 I'm mostly interest, because the sun-jdk-1.5.03 is hard-masked,
 whereas sun-jre-bin-1.5.03 is not.
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Java java java, I miss my java

2005-06-13 Thread Roy Wright
I left the default java as blackdown-jdk-1.4.2.01 so emerging doesn't
break, then set my Eclipse up to run using sun-jdk-1.5.0.03
(/usr/bin/eclipse-3 -vm /opt/sun-jdk-1.5.0.03/bin/java).  I usually launch
my programs via a script and for now just specify the jre in the script.

BTW, 1.5 offers a real nice new feature.  Drum roll please...
XDnD support. 

Then of course, the real enums look sweet...  I'm itching to find an
excuse to play with them.  Not so sure about the annotations... my
first impression is there be dragons.

I'll admit that I'm currently waiting for Eclipse 3.1 to be not
hard-masked.  When I last looked, the 3.1 ebuilds were requiring gcc 4
which I haven't been brave enough to try...

Have fun,
Roy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sync only installed and dependence packages with portage.

2005-06-13 Thread Holly Bostick
Qian Qiao schreef:
 Hi,
 
 As the title suggested, I've got a box with very limited disk space,
 is it possible to sync only the packages currently installed and their
 dependencies with the portage tree and leave out the rest?
 
 TIA.
 
 -- Joe
 

Hi,

I don't think so, but I don't think it makes such a huge amount of
difference. When you sync the Portage tree, you are only adding and
deleting ebuilds, which are very small.

On my system, 98,135 files in the Portage tree take up 296.5 MB-- which
is actually more than I expected; have to look into that. Oh... I did a
couple of qpkgs when I was unmerging that extra version of Python.
Without counting /usr/portage/packages, 97,919 files take up 93.5MB of
space, which is more like what I would have figured.

IMHO, if you don't even have that much room available, it's time to
start clearing out space, repartitioning, or considering getting a new
HDD anyway.

However, this is without counting /usr/portage/distfiles, which holds
the tarballs... if you don't mind re-downloading them if you decide to
reinstall a program previously installed (or installed, then
uninstalled), a more effective space-saving measure might be to delete
the contents of that folder, as well as backing any packages you may
have used qpkg to create off the drive. IIrc, there's a setting in
/etc/make.conf that will allow you to dump the tarballs automatically,
but you could always do so as a cron job.

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



[gentoo-user] Lost my NFS shares...

2005-06-13 Thread Mark Knecht
Hi,
   I've done some kernel updates, along with a lot of normal emerge
world work, on a machine that acts as a desktop for my wife as well as
a MythTV backend and NFS-based music library. Since doing those
updates I seem to have lost my NFS shares:

1) The server's exports file:

dragonfly ~ # cat /etc/exports
# /etc/exports: NFS file systems being exported.  See exports(5).
/Musiclib   192.168.1.0/255.255.255.0(sync,insecure,no_root_squash,ro)
dragonfly ~ #

2) From the server:

dragonfly ~ # exportfs
/Musiclib   192.168.1.0/255.255.255.0
dragonfly ~ #

3) My laptop's fstab entry:

dragonfly:/Musiclib /home/mark/Musiclib  nfs noauto,user,ro 0 0

4) From my laptop:

flash ~ $ mount Musiclib
mount: dragonfly:/Musiclib failed, reason given by server: Permission denied
flash ~ $

5) In the server's /var/log/message file after attempting to connect:

Jun 13 09:25:38 dragonfly rpc.mountd: authenticated mount request from
Flash:970 for /Musiclib (/Musiclib)
Jun 13 09:25:38 dragonfly rpc.mountd: getfh failed: Function not implemented

   This used to work, or so I think. I don't remember changing
anything in the NFS area other than building a new kernel a week or
two ago. I do not know exactly when this stopped working since I have
my own copy of the music library locally.

   Thanks in advance for any hints.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] music.raw?

2005-06-13 Thread Heinrich Nirschl
On 6/13/05, Michael Sullivan [EMAIL PROTECTED] wrote:
 It is capable of playing music, but I have that feature disabled.  It
 didn't make the music.raw file before the gnome upgrade...
 
 On Mon, 2005-06-13 at 02:13 +0200, Holly Bostick wrote:
  Michael Sullivan schreef:
   I've discovered that whenever I run monsterz the file is created.  I
   don't know why.  monsterz is a python script, so I opened it up in vi
   and searched for the string music.raw but did not find it
   in /usr/games/monsterz.  Maybe something the pygame module or python
   itself, but I don't know how to check for that...
  
 
  Does the game play music? Maybe the file is how it converts the music
  from whatever form it's in, wherever it's kept, to something that is
  played during the course of the game. Maybe it's the music itself.
 
  I don't know a lot about this, and certainly not about monsterz
  specifically, never having played it, but I've seen games get up to all
  kinds of hijinks in order to play music or sound effects, under both Win
  and Lin.
 
  Holly
 
 --
 gentoo-user@gentoo.org mailing list
 
 
I googled a bit for music.raw. It seems to be created by libmikmod
when the library isn't able to get an audio output device. Maybe
something changed in your audio setup?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread maxim wexler

 If you have a FAT partition for sharing files
 between Linux and XP, you
Done. Same result. Perhaps the call to mkisofs was at fault.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Compile error

2005-06-13 Thread Charles Trois

Hello!

While installing Gentoo on my G4 iMac from the Universal 2005.0 disk, I 
was able to go as far as configuring the kernel. But, at the make step, 
I got this error (text copied by hand):


net/ipv4/netfilter/ip_fw_compat.c: In function fw_in
net/ipv4/netfilter/ip_fw_compat.c: 83: error: too few arguments to 
function 'ip_ct_gather_frags'

[/net/ipv4/netfilter/ip_fw_compat.o] Error 1

I can't properly look at the files, because the console is quite lame.

There is nothing very special about my configuration, except that I 
added support for Firewire, ATM, pppoatm, speedtouch.


I would be grateful for all suggestions.

Charles

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin
This is really annoying.  I just finished a Gentoo install on my
computer and rebooted after installing GRUB with the command
grub-install --root-directory=/boot /dev/hde as stated in the
Handbook.  Right after GRUB loads the stage1.5 file, the system
reboots.

The first partition is active.  Marking partition 2 as active can't
get me into Windows, though, so I'm kinda screwed ATM.

I created my Gentoo partitions by resizing my NTFS partition with
PartitionMagic (I love that software).  I moved it down the disk by 32
MB, shrunk it by 20 GB, and converted /home/colin and my swap
partition to logical ones.  Windows still booted, even after
formatting the partitions.  I also used PM to switch the entries in
the partition table, so that my partitions would be numbered in disk
order--a change to BOOT.INI and Windows still worked.

It's /dev/hde because it's hooked up to my motherboard's on-board RAID
controller--it's got its own CPU, so data transfers are faster.  I
wanted to use two hard drives, but my other drive was giving a lot of
DMA errors and sector read errors.  (Surprisingly, it runs fine under
Windows.)

/boot/grub/grub.conf
===
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B

title=Windows XP Pro SP2
rootnoverify (hd0,1)
makeactive
chainloader +1

/etc/fstab (so you can get an idea of my partitions)
===
/dev/hde1 /boot   ext3 defaults,noatime 1 2
/dev/hde2 /mnt/windrive   ntfs  
ro,umask=070,fmask=070,dmask=070   0 0
/dev/hde3 / reiserfs attrs
0 1
/dev/hde5 /home/colin vfat  
umask=000,fmask=000,dmask=000 0 0
/dev/hde6 none   swapsw 0 0
# That's it for hard drives, the rest is removable media, /proc, /dev/shm

-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Kicker crashes almost everytime I close my KDE session

2005-06-13 Thread Richard Fish
[EMAIL PROTECTED] wrote:

Hi !!

I'm a very satisfied Gentoo user, but with KDE 3.4.1, kicker crashes 
everytime I'm going to shutdown or to close my session. Actually it doesn't 
crash always, but almost always. I can't understand why sometimes it does 
crash and sometimes not.

Does anyone suffer from this apart from me?

Thank you.
  


It is probably one of the applets or system tray programs that is
causing the crash.  Try removing each applet one-by-one and see if the
crash goes away.  Then you can search for bug reports on that program,
and possibly file a new one...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Sync only installed and dependence packages with portage.

2005-06-13 Thread Thomas Kirchner
* On Jun 13 16:42, Qian Qiao (gentoo-user@lists.gentoo.org) wrote:
 As the title suggested, I've got a box with very limited disk space,
 is it possible to sync only the packages currently installed and their
 dependencies with the portage tree and leave out the rest?

I'll assume you're clearing out /usr/portage/distfiles, which you don't 
really need once things are installed.  As for your suggestion, I don't 
think it's possible, but you can set the following in /etc/make.conf -

RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes

Then, use /etc/portage/rsync_excludes to list top-level categories that 
you don't want rsync to get.  For example, my file is the following:

app-emacs
app-i18n
app-laptop
app-xemacs
dev-ada
games-kids
gnustep-apps
gnustep-base
gnustep-libs
media-radio
media-tv
net-wireless
sys-cluster

I don't use any of those, and they don't contain deps of anything I do 
use, so I don't see the purpose of wasting everyone's bandwidth.  
(Actually, the list could probably use a few additions, I haven't touched 
it in around a year.)
Tom


pgp8rTlmfkvpW.pgp
Description: PGP signature


Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Richard Fish
Danny Luker wrote:

 Thanks Richard, I have since made progress in the area of manually
 bringing up wireless. I discovered, after much experimentation, that
 I can get my interface to play well by giving it the following:

 iwconfig ap off


That's an 'odd' command to have to issue...how is your wireless network
setup?  Do you actually have an access point, or do you have another PC
providing the network access?  The first is generally known as managed
mode, the other is ad-hoc mode.

 iwconfig ath0 ap off
 * Configuring wireless network for ath0
 * Connecting to any (WEP Disabled) ...


Well, if you don't have an access point, I see the problem.  At the
point the 'Connecting to any...' message appears, the network scripts
do the equivalent of iwconfig ath0 essid any, which undoes your ap
off command.

If you are using ad-hock mode, you can try to set the following in
/etc/conf.d/wireless:

essid_ath0=off
mode_ath0=ad-hoc

The essid..off setting might cause an error.  It isn't officially
supported, although it should be a valid option to iwconfig for an
essid.  If it causes an error, just comment it out.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rc.conf is very short now?

2005-06-13 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  I kept an old copy but, what gives with this new, shorter
  version of rc.conf? Is it because the previous configuration
  information has moved to other config files? 

 Many of the options have been moved into separate files in /etc/conf.d.


OK, where did the PROTOCOS selection/setting config  go that was previously
in /etc/rc.conf? 
I looked in all of the files in /etc/conf.d and did not find PROTOCOLS, and
it's not in my new rc.conf file

James







-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Lost my NFS shares...

2005-06-13 Thread Mark Knecht
Solved - problem with the server's configuration.

cheers,
Mark

On 6/13/05, Mark Knecht [EMAIL PROTECTED] wrote:
 Hi,
I've done some kernel updates, along with a lot of normal emerge
 world work, on a machine that acts as a desktop for my wife as well as
 a MythTV backend and NFS-based music library. Since doing those
 updates I seem to have lost my NFS shares:
 
 1) The server's exports file:
 
 dragonfly ~ # cat /etc/exports
 # /etc/exports: NFS file systems being exported.  See exports(5).
 /Musiclib   192.168.1.0/255.255.255.0(sync,insecure,no_root_squash,ro)
 dragonfly ~ #
 
 2) From the server:
 
 dragonfly ~ # exportfs
 /Musiclib   192.168.1.0/255.255.255.0
 dragonfly ~ #
 
 3) My laptop's fstab entry:
 
 dragonfly:/Musiclib /home/mark/Musiclib  nfs noauto,user,ro 0 0
 
 4) From my laptop:
 
 flash ~ $ mount Musiclib
 mount: dragonfly:/Musiclib failed, reason given by server: Permission denied
 flash ~ $
 
 5) In the server's /var/log/message file after attempting to connect:
 
 Jun 13 09:25:38 dragonfly rpc.mountd: authenticated mount request from
 Flash:970 for /Musiclib (/Musiclib)
 Jun 13 09:25:38 dragonfly rpc.mountd: getfh failed: Function not implemented
 
This used to work, or so I think. I don't remember changing
 anything in the NFS area other than building a new kernel a week or
 two ago. I do not know exactly when this stopped working since I have
 my own copy of the music library locally.
 
Thanks in advance for any hints.
 
 Cheers,
 Mark


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Wordpress - How to override security mask?

2005-06-13 Thread Jason Newquist

Hi,

I'd like to install the most recent version of Wordpress (1.5.1.2, I 
believe), but there's a security mask.  I'm aware of the problem, 
but I'd like to install anyway.  How does one override this kind of 
mask to get emerge to cooperate?


As might be obvious from the question, I'm new to Gentoo.  Apologies 
if this question is answerable via RTFM.  :)


Jason Newquist
San Francisco Bay Area
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread A. Khattri
On Mon, 13 Jun 2005, Colin wrote:

 /boot/grub/grub.conf
 ===
 default 0
 timeout 10
 splashimage=(hd0,0)/grub/splash.xpm.gz

 title=Gentoo Linux 2.6.11-r9
 root (hd0,0)
 kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap 
 vga=0x31B

Shouldn't that be:

kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap vga=0x31B



 title=Windows XP Pro SP2
 rootnoverify (hd0,1)
 makeactive
 chainloader +1

 /etc/fstab (so you can get an idea of my partitions)
 ===
 /dev/hde1 /boot   ext3 defaults,noatime 1 2
 /dev/hde2 /mnt/windrive   ntfs
 ro,umask=070,fmask=070,dmask=070   0 0
 /dev/hde3 / reiserfs attrs
 0 1
 /dev/hde5 /home/colin vfat
 umask=000,fmask=000,dmask=000 0 0
 /dev/hde6 none   swapsw 0 0
 # That's it for hard drives, the rest is removable media, /proc, /dev/shm



-- 
alpha geek n.

 [from animal ethologists' `alpha
   male'] The most technically accomplished or skillful person in some
   implied context.  Ask Larry, he's the alpha geek here.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Richard Fish
Colin wrote:

This is really annoying.  I just finished a Gentoo install on my
computer and rebooted after installing GRUB with the command
grub-install --root-directory=/boot /dev/hde as stated in the
Handbook.  Right after GRUB loads the stage1.5 file, the system
reboots.
  


What does /boot/grub/device.map contain?

Assuming that it has a line that reads (hd0) /dev/hde, then everything
should be correct. 

I guess your next step would be to get dirty with grub.  Start with the
following:

# grub --device-map=/boot/grub/device.map
grub root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub setup (hd0)
 Checking if /boot/grub/stage1 exists... no
 Checking if /grub/stage1 exists... yes
 Checking if /grub/stage2 exists... yes
 Checking if /grub/e2fs_stage1_5 exists... yes
 Running embed /grub/e2fs_stage1_5 (hd0)...  16 sectors are embedded.
succeeded
 Running install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst... succeeded



The command we are looking for is that final 'install' command.  We need
to run that again, adding a 'd' after stage1:

grub install /grub/stage1 d (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
/grub/menu.lst

grub quit


The 'd' option is a workaround for BIOSs that get confused about which
drive is being used to boot.

HTH

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread Richard Fish
maxim wexler wrote:

If you have a FAT partition for sharing files
between Linux and XP, you


Done. Same result. Perhaps the call to mkisofs was at fault.

  


What happens if you try to mount it under Linux or view it under
Windows?  Do you see the files?

You can double check the ISO by doing:

# mount -o loop cdboot.iso /mnt/cdrom

And then compare the files to those on your /boot partition.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wordpress - How to override security mask?

2005-06-13 Thread Rumen Yotov
Jason Newquist wrote:

 Hi,

 I'd like to install the most recent version of Wordpress (1.5.1.2, I
 believe), but there's a security mask.  I'm aware of the problem, but
 I'd like to install anyway.  How does one override this kind of mask
 to get emerge to cooperate?

 As might be obvious from the question, I'm new to Gentoo.  Apologies
 if this question is answerable via RTFM.  :)

 Jason Newquist
 San Francisco Bay Area

Hi,
Check if you have '/etc/portage/package.unmask' dirfile, if not create
them 'mkdir /etc/portage', then 'touch /etc/portage/package.unmask'.
Second run 'echo www-apps/wordpress  /etc/portage/package.unmask'.
Now should have 'www-apps/wordpress' inside then file (it's unmasked now).
Run emerge wordpress
That's all.
HTH. Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Wordpress - How to override security mask?

2005-06-13 Thread Neil Bothwick

On Mon, June 13, 2005 6:43 pm, Jason Newquist said:

 I'd like to install the most recent version of Wordpress (1.5.1.2, I
 believe), but there's a security mask.  I'm aware of the problem,
 but I'd like to install anyway.  How does one override this kind of
 mask to get emerge to cooperate?

echo www-apps/wordpress /etc/portage/package.unmask

 As might be obvious from the question, I'm new to Gentoo.  Apologies
 if this question is answerable via RTFM.  :)

man portage :)


-- 
Neil Bothwick



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT] Iomega Rev Drive on Linux

2005-06-13 Thread Hani Duwaik
I know this isn't specifically a Gentoo issue, but it's what I use and
if any patches/changes are necessary, I'd like to know the Gentoo
specific ones.

I'm interested in using Iomega's Rev Drive (probably the USB 2.0
version) to backup some large files/directories on my system. 
However, before I purchase the drive, I want to know if anyone has
used/is using this drive successfully on Gentoo without any third
party software.

Specifically, is anyone able to simply connect the drive, insert a
disk, mount it and create a filesystem?

I understand that the Rev Drive uses a UDF-like filesystem.  If it is
possible to mount the disk and create a udf filesystem, can the same
drive/disk be mounted on other OSs (ie: Windows or Mac OS X)?

TIA,

-Hani

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Richard Fish
A. Khattri wrote:

 On Mon, 13 Jun 2005, Colin wrote:

 /boot/grub/grub.conf
 ===
 default 0
 timeout 10
 splashimage=(hd0,0)/grub/splash.xpm.gz

 title=Gentoo Linux 2.6.11-r9
 root (hd0,0)
 kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3
 video=vesafb:mtrr,ywrap vga=0x31B


 Shouldn't that be:

 kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap
 vga=0x31B


Good catch!  Yes, fix this first.  Also, there is no '=' for the title.

-Richard


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Enscript a diff file

2005-06-13 Thread Hareesh Nagarajan
On 6/13/05, Hareesh Nagarajan [EMAIL PROTECTED] wrote:
 Hi,
 
 I have a unified diff file and I need need to pretty print it using
 enscript. Can someone give me the recipe to do so?

enscript -Ediffu trace.patch -o trace.ps

Thank you Hareesh! ;)

Hareesh

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin
Firstly, A. Khattri, I had the grub.conf correct on the disk.  I just
mistyped it here.  There is no equal sign after kernel.

On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote: 
 What does /boot/grub/device.map contain?

 Assuming that it has a line that reads (hd0) /dev/hde, then everything
 should be correct.

(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdg

And it is.

 I guess your next step would be to get dirty with grub.  Start with the
 following:
 
 # grub --device-map=/boot/grub/device.map
 grub root (hd0,0)
  Filesystem type is ext2fs, partition type 0x83
 
 grub setup (hd0)
  Checking if /boot/grub/stage1 exists... no
  Checking if /grub/stage1 exists... yes
  Checking if /grub/stage2 exists... yes
  Checking if /grub/e2fs_stage1_5 exists... yes
  Running embed /grub/e2fs_stage1_5 (hd0)...  16 sectors are embedded.
 succeeded
  Running install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
 /grub/menu.lst... succeeded
 
 The command we are looking for is that final 'install' command.  We need
 to run that again, adding a 'd' after stage1:
 
 grub install /grub/stage1 d (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
 /grub/menu.lst
 
 grub quit

Okay, I tried that.  No dice.  I tried removing all occurences of
/boot in case it didn't like symlinks, but that didn't work either.

 The 'd' option is a workaround for BIOSs that get confused about which
 drive is being used to boot.

No, I haven't had problems booting before.  The RAID controller's BIOS
is set to boot from the primary master (/dev/hde).  Windows liked it.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 A. Khattri wrote:
 
  On Mon, 13 Jun 2005, Colin wrote:
 
  /boot/grub/grub.conf
  ===
  default 0
  timeout 10
  splashimage=(hd0,0)/grub/splash.xpm.gz
 
  title=Gentoo Linux 2.6.11-r9
  root (hd0,0)
  kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3
  video=vesafb:mtrr,ywrap vga=0x31B
 
 
  Shouldn't that be:
 
  kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap
  vga=0x31B
 
 
 Good catch!  Yes, fix this first.  Also, there is no '=' for the title.

The handbook shows an equal sign.  It's worked before on another system.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge pppconfig hassle

2005-06-13 Thread maxim wexler
Hello everyone,

When I set up pppconfig on my K6-II box w/2004.3
distro, there was no problem. I downloaded the proper
tarballs from the gentoo mirror and they emerged OK. 

Now I'm trying to do the same on my other(Sempron3100)
box w/2005.0 distro. The one w/ the broken grub.

When I mount the pkg dir and do an emerge -av --usepkg
pppconfig, it asks for pppconfig-2.3.9. But I
downloaded the very same pkg and copied to
/usr/portage/distfiles, just as I did on the K6-II
box,IIRC. FWIW the matching ebuild *is* under
/usr/portage/net-dalup/pppconfig. 

I think if I had some sort of net access on the
Sempron I'd be in a better position to tackle issues
such as the inability to boot that's been plaguing me.

Anyone?

-mw



__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Enscript a diff file

2005-06-13 Thread Mark Shields
Now see, if you had spent 16 minutes (more) to research the question,
you wouldn't have had to answer it yourself :P

On 6/13/05, Hareesh Nagarajan [EMAIL PROTECTED] wrote:
 On 6/13/05, Hareesh Nagarajan [EMAIL PROTECTED] wrote:
  Hi,
 
  I have a unified diff file and I need need to pretty print it using
  enscript. Can someone give me the recipe to do so?
 
 enscript -Ediffu trace.patch -o trace.ps
 
 Thank you Hareesh! ;)
 
 Hareesh
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Remote program - no remote printer

2005-06-13 Thread Mark Knecht
Hi,
   I had not noticed this before. When I ssh into on of the other
machines here at home and run Open Office, when I want to print using
CUPS the printer is not defined. However if I walk to that machine,
log in using the same user account and do the same thing with the same
file then the printer is defined.

   Is there some config option that could make the printer visible
when I'm ssh'ed into the machine?

   This is out of Samba laziness really. I haven't wanted to deal with
using Samba and making the printer visible to the network. If there is
some way other than Samba (NFS for instance) to make the printer
visible on the network then that would be great.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Mark Shields
Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
which unmerged it just fine.  But, doing a emerge -DNtpvu world
returns:

[EMAIL PROTECTED] ~ $ sudo emerge -DNtpvu world

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

Calculating world dependencies ...done!
[nomerge  ] x11-terms/xterm-200-r3  -Xaw3d -debug -toolbar
+truetype +unicode
[nomerge  ]  sys-apps/utempter-0.5.5.5-r1  -debug
[ebuild  N]   mail-mta/ssmtp-2.61  +ipv6 -mailwrapper -md5sum +ssl 0 kB

Total size of downloads: 0 kB
[EMAIL PROTECTED] ~ $

I assume either xterm or utempter is requiring ssmtp, but I don't
understand why.  Any ideas?
-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers

2005-06-13 Thread Peter Karlsson

On Sun, 12 Jun 2005, Chad Leigh -- Shire.Net LLC wrote:

yes, but most knowledgable people  know that exim blows the pants off qmail 
and postfix.


Ok, then perhaps you could explain why a mail server (running 
exim4) suddenly stops to relay emails (this worked before) and then all of 
a sudden starts to relay them again (without me changing any settings)... 
I have looked for clues in the logs and tried the debug mode but I still 
haven't understood why. Help?


Best regards

Peter K
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Richard Fish
Colin wrote:

 Okay, I tried that. No dice. I tried removing all occurences of
 /boot in case it didn't like symlinks, but that didn't work either.


Well, I didn't expect to find any 'dice' here.maybe some error
output or at least a better description (command failed, same reboot
problem, ...?) ;-


The 'd' option is a workaround for BIOSs that get confused about which
drive is being used to boot.



No, I haven't had problems booting before.  The RAID controller's BIOS
is set to boot from the primary master (/dev/hde).  Windows liked it.
  


Have you booted Linux before on this controller?  Don't assume the BIOS
isn't brain damaged, just because Windows likes it.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Matthew Cline
 I assume either xterm or utempter is requiring ssmtp, but I don't
 understand why.  Any ideas?

Looking at the ebuilds themselves, neither ebuild has a dependency
upon ssmtp or an other mta.

Matt

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Dave Nebinger

 Trying to remove any MTAs from my system...

Normal unix OS's require an MTA to be defined.  Portage has virtual mta
placeholders that define the MTA that is installed on the system (i.e. I'm
using postfix).

If you don't have an MTA installed (which you don't), portage knows that the
MTA is missing and wants to install ssmtp as the default mta.

The question I have is why would you want to remove all MTAs?



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cvs passwords [SOLVED]

2005-06-13 Thread pat
Yes, it was easy :-) Thanks a lot for the help.

Pat

Niklas Herder wrote:
 Raphael Melo de Oliveira Bastos Sales wrote:
 
Huummm, I dunno, always used CVS in controlled enviroments, so always
used pserver.

I guess you could use scp to copy your files to the remote machine and
then start using cvs through the remote shell as if it were in your
localhost.

 
 
 It's actually easier to set upp cvs with ssh than with pserver, IMHO.
 
 Just have an sshd running on the cvs server, then
 use an address a la :ext:[EMAIL PROTECTED]:/cvsroot
 You may need to have the CVS_RSH variable set to /usr/bin/ssh (or
 whatever your path is) on your client for this to work.
 
 Piece of cake! :)
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Iomega Rev Drive on Linux

2005-06-13 Thread Zac Medico
Hani Duwaik wrote:
 I know this isn't specifically a Gentoo issue, but it's what I use and
 if any patches/changes are necessary, I'd like to know the Gentoo
 specific ones.
 
 I'm interested in using Iomega's Rev Drive (probably the USB 2.0
 version) to backup some large files/directories on my system. 
 However, before I purchase the drive, I want to know if anyone has
 used/is using this drive successfully on Gentoo without any third
 party software.
 
 Specifically, is anyone able to simply connect the drive, insert a
 disk, mount it and create a filesystem?
 
 I understand that the Rev Drive uses a UDF-like filesystem.  If it is
 possible to mount the disk and create a udf filesystem, can the same
 drive/disk be mounted on other OSs (ie: Windows or Mac OS X)?
 
 TIA,
 
 -Hani
 

I imagine that it is a usb mass storage device (usb-storage driver).  AFAIK 
mkudffs from the udf-tools package will produce filesystems that interoperate 
with other OSs.  You probably want to have a look at 
http://iomrrdtools.sourceforge.net/.

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



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 Colin wrote:
 
  Okay, I tried that. No dice. I tried removing all occurences of
  /boot in case it didn't like symlinks, but that didn't work either.
 
 
 Well, I didn't expect to find any 'dice' here.maybe some error
 output or at least a better description (command failed, same reboot
 problem, ...?) ;-

No dice = no luck.  It's not a very common phrase, at least not where I live.

Anyway, the same problem is still here.  When the BIOS gives GRUB
control, it shows a message that it's loading stage 1.5.  And then,
almost instantly, the system reboots.  I don't know if stage 1.5 loads
or not.  I don't suppose there's a way to recompile it to show
debugging output?

 The 'd' option is a workaround for BIOSs that get confused about which
 drive is being used to boot.
 
 No, I haven't had problems booting before.  The RAID controller's BIOS
 is set to boot from the primary master (/dev/hde).  Windows liked it.
 
 Have you booted Linux before on this controller?  Don't assume the BIOS
 isn't brain damaged, just because Windows likes it.

No, I haven't.  The 2004.3 LiveCD would hang when booted because it
couldn't get the right timings for the HPT372N, or something like
that, I forget.  2005.0 (2.6.11-gentoo-r3) is the first Gentoo LiveCD
to support my controller, so there still might be a few bugs to work
out.

If it helps any, it's a Highpoint HPT372N IDE RAID controller,
integrated into my motherboard (DFI LANParty PRO875B, Intel i865
Canterwood chipset).  The hard drive in question is a Western
Digital, 120 GB ATA/100, 2 MB cache.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers

2005-06-13 Thread Chad Leigh -- Shire.Net LLC


On Jun 13, 2005, at 1:14 PM, Peter Karlsson wrote:


On Sun, 12 Jun 2005, Chad Leigh -- Shire.Net LLC wrote:


yes, but most knowledgable people  know that exim blows the pants  
off qmail and postfix.




Ok, then perhaps you could explain why a mail server (running  
exim4) suddenly stops to relay emails (this worked before) and then  
all of a sudden starts to relay them again (without me changing any  
settings)... I have looked for clues in the logs and tried the  
debug mode but I still haven't understood why. Help?


I would suggest you go to the very active exim-users mail list and be  
prepared to show your config and the log entries.  You can find a  
link to the mail list at www.exim.org .  The author of exim is very  
forthcoming and helpful as well as the well established and  
knowledgable userbase.


Without a copy of your config and the log file entries, I cannot  
start to answer your questions.


I have been running exim since 0.5x (since 97) and it has been rock  
solid for me and everyone I know including the ISPs who handle  
millions of email addresses with it.


best
Chad



Best regards

Peter K
--
gentoo-user@gentoo.org mailing list




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Danny Luker
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 Danny Luker wrote:
 
  Thanks Richard, I have since made progress in the area of manually
  bringing up wireless. I discovered, after much experimentation, that
  I can get my interface to play well by giving it the following:
 
  iwconfig ap off
 
 
 That's an 'odd' command to have to issue...how is your wireless network
 setup?  Do you actually have an access point, or do you have another PC
 providing the network access?  The first is generally known as managed
 mode, the other is ad-hoc mode.
 
  iwconfig ath0 ap off
  * Configuring wireless network for ath0
  * Connecting to any (WEP Disabled) ...
 
 
 Well, if you don't have an access point, I see the problem.  At the
 point the 'Connecting to any...' message appears, the network scripts
 do the equivalent of iwconfig ath0 essid any, which undoes your ap
 off command.
 
 If you are using ad-hock mode, you can try to set the following in
 /etc/conf.d/wireless:
 
 essid_ath0=off
 mode_ath0=ad-hoc
 
 The essid..off setting might cause an error.  It isn't officially
 supported, although it should be a valid option to iwconfig for an
 essid.  If it causes an error, just comment it out.
 
 -Richard
 
 --
 gentoo-user@gentoo.org mailing list
 
 

I never had to issue that command before and I do have a access point.
 Pretty standard Netgear 802.11b setup.  No encryption, MAC access
restriction, channel 1 ... nothing out of the normal and nothing has
been changed on the AP.  I have tried ad-hoc ... just out of curiosity
... no luck.  When I issue the iwconfig ap off command the system
connects in managed mode.  I will try the ad-hoc parameters you
suggested.

Thanks,
Danny

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cvs passwords

2005-06-13 Thread Niklas Herder
Don't know, but it shouldn't be too hard to do it yourself.
Just make sure all users that should have CVS access have
read-write access to the CVS repository (easiest is to make a 'cvs' group,
add them to that, and do 'chgrp -R cvs /cvsroot ; chmod -R 6775 /cvsroot'

This is from the top of my head, but that's the general principle.
I'm sure other people can fill in if I've missed something.


Raphael Melo de Oliveira Bastos Sales wrote:

Is there a package in portage that does that, or do I need to do it
the hard way?

2005/6/13, Niklas Herder [EMAIL PROTECTED]:
  

Raphael Melo de Oliveira Bastos Sales wrote:


Huummm, I dunno, always used CVS in controlled enviroments, so always
used pserver.

I guess you could use scp to copy your files to the remote machine and
then start using cvs through the remote shell as if it were in your
localhost.

  

It's actually easier to set upp cvs with ssh than with pserver, IMHO.

Just have an sshd running on the cvs server, then
use an address a la :ext:[EMAIL PROTECTED]:/cvsroot
You may need to have the CVS_RSH variable set to /usr/bin/ssh (or
whatever your path is) on your client for this to work.

Piece of cake! :)

--
gentoo-user@gentoo.org mailing list





  


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] grub still broke

2005-06-13 Thread maxim wexler


 What happens if you try to mount it under Linux or
 view it under
 Windows?  Do you see the files?
 
 You can double check the ISO by doing:
 
 # mount -o loop cdboot.iso /mnt/cdrom
 
 And then compare the files to those on your /boot
 partition.
hmmm, 

livecd / # mount -o loop cdboot.iso /cdrom
cdboot.iso: Mo such file or directory

but,

livecd / # ls -l /cdrom
total 4
drwxr-xr-x  3 root root 2048 Jun  6 14:23 boot
-r--r--r--  1 root root 2048 Jun  9 09:26 boot.catalog
livecd / # ls -l /cdrom/boot
total 1538
drwxr-xr-x  2 root root2048 Jun  6 14:29 grub
-rw-r--r--  1 root root 1572135 Jun  6 14:23 vmlinuz
livecd / # ls -l /cdrom/boot/grub
total 168
-rw-r--r--  1 root root174 Jun  7 08:05 menu.lst
-rw-r--r--  1 root root  33856 Jun  6 14:27
splash.xpm.gz
-rw-r--r--  1 root root 137004 Jun  6 14:26
stage2_eltorito

and,

livecd / # ls -l /tmp
total 2074
drwxr-xr-x  3 root root  72 Jun  7 20:01 cdboot
-rw-r--r--  1 root root 2113536 Jun  9 09:26
cdboot.iso
-rwxr--r--  1 root root2211 May 26 14:05
grub-2005.0
-rw-r--r--  1 root root 375 May 26 14:21
grub-setup
livecd / # ls -l /tmp/cdboot
total 0
drwxr-xr-x 3 root root 96 Jun 6 14:23 boot
livecd / # ls -l /tmp/cdboot/boot
total 1538
drwxr-xr-x 2 root root   136 Jun 6 14:29 grub
-rw-r--r-- 1 root root 1572135 Jun 6 14:23 vmlinuz
livecd / # ls /tmp/cdboot/boot/grub
menu.list splash.xpm.gz stage2_eltorito

As for /boot, there's no(well, very little) comparison
at all. Besides I thought all I needed was the stuff
we put under /tmp.

Arrrgh, everytime I hit forward-slash or an
apostrophe the find dialogue opens and
Iapostrophem knocked out of this text window.
Firefox v.1.0.4

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




__ 
Discover Yahoo! 
Stay in touch with email, IM, photo sharing and more. Check it out! 
http://discover.yahoo.com/stayintouch.html
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] AthlonXP flags

2005-06-13 Thread Allan Spagnol Comar
I was looking over the internet for some CFLAGS for athlon XP and I
didn't found any. Does someone knows what are the best C and CXXFLASG
for athlon XP ?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Richard Fish
Colin wrote:

On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
  

Colin wrote:



Okay, I tried that. No dice. I tried removing all occurences of
/boot in case it didn't like symlinks, but that didn't work either.
  

Well, I didn't expect to find any 'dice' here.maybe some error
output or at least a better description (command failed, same reboot
problem, ...?) ;-



No dice = no luck.  It's not a very common phrase, at least not where I live.
  


Actually, I got the reference...I was just being a bit condescending
about the lack of information in that phrase.  Forgive me.

Anyway, the same problem is still here.  When the BIOS gives GRUB
control, it shows a message that it's loading stage 1.5.  And then,
almost instantly, the system reboots.  I don't know if stage 1.5 loads
or not.  I don't suppose there's a way to recompile it to show
debugging output?
  


Well, the loading stage 1.5 message comes *from* the stage 1.5, and I
think it is pretty much impossible for that to fail to load since it is
embedded in the space between the MBR and the first partition and block
mapped.

More likely is that grub gets confused trying to talk to the RAID BIOS,
and either cannot decipher the ext2 filesystem to find the stage2, or
loads what it thinks is the stage2 but turns out to be garbage that
causes the reboot.

One remaining possiblity here: try renaming /boot/grub/e2fs_stage1_5 to
e2fs_stage1_5.sav.  Then run:

# grub --device-map=/boot/grub/device.map
grub root (hd0,0)
...
grub setup (hd0)
...
grub quit
...

The setup command should show 'e2fs_stage1_5 exists...no'.  But the
install command should still show succeeded at the end.  If that all
looks good, try rebooting.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Colin
On 6/13/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 I was looking over the internet for some CFLAGS for athlon XP and I
 didn't found any. Does someone knows what are the best C and CXXFLASG
 for athlon XP ?

You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
-march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
SSE2, add those flags in as well.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remote program - no remote printer

2005-06-13 Thread Zac Medico
Mark Knecht wrote:
 Hi,
I had not noticed this before. When I ssh into on of the other
 machines here at home and run Open Office, when I want to print using
 CUPS the printer is not defined. However if I walk to that machine,
 log in using the same user account and do the same thing with the same
 file then the printer is defined.
 
Is there some config option that could make the printer visible
 when I'm ssh'ed into the machine?
 
This is out of Samba laziness really. I haven't wanted to deal with
 using Samba and making the printer visible to the network. If there is
 some way other than Samba (NFS for instance) to make the printer
 visible on the network then that would be great.
 
 Thanks,
 Mark
 

Hi Mark,

These 2 sections of the CUPS manual are relevant:

http://localhost:631/sam.html#CLIENT_SERVER
http://localhost:631/sam.html#CLIENT_AUTO

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



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
I know the safe ones:

-march=athlon-xp -O3 -fomit-frame-pointer -pipe

You can use -02 if you don't want to take much time in compiling and
in some cases the binary is actually faster than -O3 (I heard this
from others, I'm testing it now).

Also -pipe is only supposed to make compile time faster, but don't use
it unless you have a lot of RAM.


2005/6/13, Allan Spagnol Comar [EMAIL PROTECTED]:
 I was looking over the internet for some CFLAGS for athlon XP and I
 didn't found any. Does someone knows what are the best C and CXXFLASG
 for athlon XP ?
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin
On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 Colin wrote:
 
 On 6/13/05, Richard Fish [EMAIL PROTECTED] wrote:
 
 
 Colin wrote:
 
 
 
 Okay, I tried that. No dice. I tried removing all occurences of
 /boot in case it didn't like symlinks, but that didn't work either.
 
 
 Well, I didn't expect to find any 'dice' here.maybe some error
 output or at least a better description (command failed, same reboot
 problem, ...?) ;-
 
 
 
 No dice = no luck.  It's not a very common phrase, at least not where I live.
 
 
 
 Actually, I got the reference...I was just being a bit condescending
 about the lack of information in that phrase.  Forgive me.

No problem.  Besides, a lot of people on this list don't have English
as their first language.  It's good to point out idioms anyway.

 Anyway, the same problem is still here.  When the BIOS gives GRUB
 control, it shows a message that it's loading stage 1.5.  And then,
 almost instantly, the system reboots.  I don't know if stage 1.5 loads
 or not.  I don't suppose there's a way to recompile it to show
 debugging output?
 
 Well, the loading stage 1.5 message comes *from* the stage 1.5, and I
 think it is pretty much impossible for that to fail to load since it is
 embedded in the space between the MBR and the first partition and block
 mapped.
 
 More likely is that grub gets confused trying to talk to the RAID BIOS,
 and either cannot decipher the ext2 filesystem to find the stage2, or
 loads what it thinks is the stage2 but turns out to be garbage that
 causes the reboot.
 
 One remaining possiblity here: try renaming /boot/grub/e2fs_stage1_5 to
 e2fs_stage1_5.sav.  Then run:
 
 # grub --device-map=/boot/grub/device.map
 grub root (hd0,0)
 ...
 grub setup (hd0)
 ...
 grub quit
 ...
 
 The setup command should show 'e2fs_stage1_5 exists...no'.  But the
 install command should still show succeeded at the end.  If that all
 looks good, try rebooting.

It worked!  One would think stage1.5 would be an integral step between
1 and 2, but apparently now.  Gentoo works!  (And Windows does too...)
 I got a lot of errors while booting Gentoo, so I've still got a few
bugs to work out.  Thanks, guys.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread A. Khattri
On Mon, 13 Jun 2005, Mark Shields wrote:

 Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
 which unmerged it just fine.

Its a virtual dependency.

ssmtp is not really an MTA, but a wrapper for a script that emulates
sendmail. Its harmless and uses very little space so you should keep it
(besides, you might need it if you want output from cron scripts emailed
to you).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Allan Spagnol Comar
thak you all

On 6/13/05, Raphael Melo de Oliveira Bastos Sales
[EMAIL PROTECTED] wrote:
 I know the safe ones:
 
 -march=athlon-xp -O3 -fomit-frame-pointer -pipe
 
 You can use -02 if you don't want to take much time in compiling and
 in some cases the binary is actually faster than -O3 (I heard this
 from others, I'm testing it now).
 
 Also -pipe is only supposed to make compile time faster, but don't use
 it unless you have a lot of RAM.
 
 
 2005/6/13, Allan Spagnol Comar [EMAIL PROTECTED]:
  I was looking over the internet for some CFLAGS for athlon XP and I
  didn't found any. Does someone knows what are the best C and CXXFLASG
  for athlon XP ?
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Compile error

2005-06-13 Thread Zac Medico
Charles Trois wrote:
 Hello!
 
 While installing Gentoo on my G4 iMac from the Universal 2005.0 disk, I
 was able to go as far as configuring the kernel. But, at the make step,
 I got this error (text copied by hand):
 
 net/ipv4/netfilter/ip_fw_compat.c: In function fw_in
 net/ipv4/netfilter/ip_fw_compat.c: 83: error: too few arguments to
 function 'ip_ct_gather_frags'
 [/net/ipv4/netfilter/ip_fw_compat.o] Error 1
 
 I can't properly look at the files, because the console is quite lame.
 
 There is nothing very special about my configuration, except that I
 added support for Firewire, ATM, pppoatm, speedtouch.
 
 I would be grateful for all suggestions.
 
 Charles
 

Hi Charles,

That net/ipv4/netfilter/ip_fw_compat.c file doesn't even exist in my 2.6.11 
sources.  If the problem feature isn't needed then perhaps you can simply 
disable it in the kernel config.

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



Re: [gentoo-user] Re: rc.conf is very short now?

2005-06-13 Thread Holly Bostick
Richard Fish schreef:
 
 I think PROTOCOLS was voted off the island.  

Watching a bit too much Survivor/Big Brother/The Real World (any
city)/The Farm/The Bus/Temptation Island/Expeditie Robinson/Celebrity
Survivor/Idols/American Idols/America's Next Top Model lately?

:D

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



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Holly Bostick
Colin schreef:

On Mon, 13 Jun 2005, Colin wrote:


/boot/grub/grub.conf
===
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3
video=vesafb:mtrr,ywrap vga=0x31B


Shouldn't that be:

kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap
vga=0x31B


Good catch!  Yes, fix this first.  Also, there is no '=' for the title.
 
 
 The handbook shows an equal sign.  It's worked before on another system.

No, it does not:

Code Listing 3: grub.conf for non-genkernel users

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r3
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda3

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1


Code Listing 4: grub.conf for genkernel users

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc
ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r3

# Only in case you want to dual-boot
title=Windows XP
root (hd0,5)
makeactive
chainloader +1


Perhaps you're thinking of the LiLO config:

Code Listing 11: Example /etc/lilo.conf

boot=/dev/hda # Install LILO in the MBR
prompt# Give the user the chance to select another
section
timeout=50# Wait 5 (five) seconds before booting the
default section
default=gentoo# When the timeout has passed, boot the
gentoo section

# For non-genkernel users
image=/boot/kernel-2.6.11-gentoo-r3
  label=gentoo# Name we give to this section
  read-only   # Start with a read-only root. Do not alter!
  root=/dev/hda3  # Location of the root filesystem

# For genkernel users
image=/boot/kernel-2.6.11-gentoo-r3
  label=gentoo
  read-only
  root=/dev/ram0
  append=init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
  initrd=/boot/initrd-2.6.11-gentoo-r3

# The next two lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
other=/dev/hda6
  label=windows

GRUB does not take an equal sign in that position, but Istr that Lilo does.

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



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Bruno Lustosa
On 6/13/05, Colin [EMAIL PROTECTED] wrote:
 You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
 -march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
 SSE2, add those flags in as well.

Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are
implied by -march=athlon-xp. From the online documentation at
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html:

athlon-4, athlon-xp, athlon-mp
Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full
SSE instruction set support.

-- 
Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil  |

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sorta OT - honest (!) opinions on mailservers

2005-06-13 Thread Peter Karlsson

On Mon, 13 Jun 2005, Chad Leigh -- Shire.Net LLC wrote:

I would suggest you go to the very active exim-users mail list and be 
prepared to show your config and the log entries.  You can find a link to the 
mail list at www.exim.org .  The author of exim is very forthcoming and 
helpful as well as the well established and knowledgable userbase.


Ok, I'll try that. Thanks!

Best regards

Peter K

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
You're welcome. By the way, look for something about using sse
instruction for math. It speeds things up a bit. And put mmx and sse
in you USE variable

2005/6/13, Allan Spagnol Comar [EMAIL PROTECTED]:
 thak you all
 
 On 6/13/05, Raphael Melo de Oliveira Bastos Sales
 [EMAIL PROTECTED] wrote:
  I know the safe ones:
 
  -march=athlon-xp -O3 -fomit-frame-pointer -pipe
 
  You can use -02 if you don't want to take much time in compiling and
  in some cases the binary is actually faster than -O3 (I heard this
  from others, I'm testing it now).
 
  Also -pipe is only supposed to make compile time faster, but don't use
  it unless you have a lot of RAM.
 
 
  2005/6/13, Allan Spagnol Comar [EMAIL PROTECTED]:
   I was looking over the internet for some CFLAGS for athlon XP and I
   didn't found any. Does someone knows what are the best C and CXXFLASG
   for athlon XP ?
  
   --
   gentoo-user@gentoo.org mailing list
  
  
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cvs passwords [SOLVED]

2005-06-13 Thread pat
Well, there are problems ... :-( This works by logging for each request,
that can be used but not so gently.

Next is that I want to access CVS from the developement IDE (IntelliJ
IEA), so I need to generate public/private keys for the cvs access, but
don't know how :-((

Could someone help me ??? Or point me to documentation.

Thanks a lot.

Pat

pat wrote:
 Yes, it was easy :-) Thanks a lot for the help.
 
   Pat
 
 Niklas Herder wrote:
 
Raphael Melo de Oliveira Bastos Sales wrote:


Huummm, I dunno, always used CVS in controlled enviroments, so always
used pserver.

I guess you could use scp to copy your files to the remote machine and
then start using cvs through the remote shell as if it were in your
localhost.



It's actually easier to set upp cvs with ssh than with pserver, IMHO.

Just have an sshd running on the cvs server, then
use an address a la :ext:[EMAIL PROTECTED]:/cvsroot
You may need to have the CVS_RSH variable set to /usr/bin/ssh (or
whatever your path is) on your client for this to work.

Piece of cake! :)

 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
By the way, Sempron accepts athlon-xp, right?

2005/6/13, Bruno Lustosa [EMAIL PROTECTED]:
 On 6/13/05, Colin [EMAIL PROTECTED] wrote:
  You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
  -march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
  SSE2, add those flags in as well.
 
 Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are
 implied by -march=athlon-xp. From the online documentation at
 http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html:
 
 athlon-4, athlon-xp, athlon-mp
 Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full
 SSE instruction set support.
 
 --
 Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
 Network Administrator/Web Programmer | ICQ: 1406477
 Rio de Janeiro - Brazil  |
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Mark Shields
A. Khattri,

Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it? 
This is a personal server; I have ssh setup, I check the log files
myself.

On 6/13/05, A. Khattri [EMAIL PROTECTED] wrote:
 On Mon, 13 Jun 2005, Mark Shields wrote:
 
  Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
  which unmerged it just fine.
 
 Its a virtual dependency.
 
 ssmtp is not really an MTA, but a wrapper for a script that emulates
 sendmail. Its harmless and uses very little space so you should keep it
 (besides, you might need it if you want output from cron scripts emailed
 to you).
 
 
 --
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Remote program - no remote printer

2005-06-13 Thread Mark Knecht
On 6/13/05, Zac Medico [EMAIL PROTECTED] wrote:

 
 
 Hi Mark,
 
 These 2 sections of the CUPS manual are relevant:
 
 http://localhost:631/sam.html#CLIENT_SERVER
 http://localhost:631/sam.html#CLIENT_AUTO
 
 Zac

Hi Zac,
   First, as always, thanks!

   OK, in reading through these two secions it seems that these are
for making the printer which resides on the machine 'Christmas'
visible by other machines primarily on the same subnet. Correct?

   I'm trying to get it going using an ipp address for the server but
so far the printer doesn't budge and the client says the printer is
busy. Possibly I have a port blocked ro something like that? The
server is an FC2 machine. (The last one in the hosue. If that's the
problem it will be Gentoo in a few days!)

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: rc.conf is very short now?

2005-06-13 Thread James
Richard Fish bigfish at asmallpond.org writes:


 I think PROTOCOLS was voted off the island.  You just load the kernel
 modules for the protocols that you need now.

Yes, well it was redundant, but, hey, I'm still learing the details
of Gentoo

thanks,
James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Bryan Whitehead

My reason,

Disk space is too cheap to waste time keeping a small tiny place-holder 
MTA inactive... The fact you and others have emailed about this has 
already not been worth the cost in disk space... ;)


On Mon, 13 Jun 2005, Mark Shields wrote:


A. Khattri,

Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it?
This is a personal server; I have ssh setup, I check the log files
myself.

On 6/13/05, A. Khattri [EMAIL PROTECTED] wrote:

On Mon, 13 Jun 2005, Mark Shields wrote:


Trying to remove any MTAs from my system, so I did an emerge -C ssmtp,
which unmerged it just fine.


Its a virtual dependency.

ssmtp is not really an MTA, but a wrapper for a script that emulates
sendmail. Its harmless and uses very little space so you should keep it
(besides, you might need it if you want output from cron scripts emailed
to you).


--

--
gentoo-user@gentoo.org mailing list








--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
Yes, as long as it's the Socket A version.  Not sure about the socket
754 version, which may (or may not) use amd64.

On 6/13/05, Raphael Melo de Oliveira Bastos Sales
[EMAIL PROTECTED] wrote:
 By the way, Sempron accepts athlon-xp, right?
 
 2005/6/13, Bruno Lustosa [EMAIL PROTECTED]:
  On 6/13/05, Colin [EMAIL PROTECTED] wrote:
   You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
   -march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
   SSE2, add those flags in as well.
 
  Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are
  implied by -march=athlon-xp. From the online documentation at
  http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html:
 
  athlon-4, athlon-xp, athlon-mp
  Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full
  SSE instruction set support.
 
  --
  Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
  Network Administrator/Web Programmer | ICQ: 1406477
  Rio de Janeiro - Brazil  |
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
Oh, Raphael, concerning what you said: By the way, look for something
about using sse
instruction for math. It speeds things up a bit..  I think you're
speaking of -mfpmath=sse.

On 6/13/05, Mark Shields [EMAIL PROTECTED] wrote:
 Yes, as long as it's the Socket A version.  Not sure about the socket
 754 version, which may (or may not) use amd64.
 
 On 6/13/05, Raphael Melo de Oliveira Bastos Sales
 [EMAIL PROTECTED] wrote:
  By the way, Sempron accepts athlon-xp, right?
 
  2005/6/13, Bruno Lustosa [EMAIL PROTECTED]:
   On 6/13/05, Colin [EMAIL PROTECTED] wrote:
You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
-march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
SSE2, add those flags in as well.
  
   Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are
   implied by -march=athlon-xp. From the online documentation at
   http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html:
  
   athlon-4, athlon-xp, athlon-mp
   Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full
   SSE instruction set support.
  
   --
   Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
   Network Administrator/Web Programmer | ICQ: 1406477
   Rio de Janeiro - Brazil  |
  
   --
   gentoo-user@gentoo.org mailing list
  
  
 
  --
  gentoo-user@gentoo.org mailing list
 
 
 
 
 --
 - Mark Shields
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Compile error

2005-06-13 Thread Bryan Whitehead
Maybe you have old kernel stuff lying around? did you do a make clean 
first?


you can try disabling the advanced tcpip kernel options till you can 
resync with a gentoo mirror and get newer/better sources?


On Mon, 13 Jun 2005, Zac Medico wrote:


Charles Trois wrote:

Hello!

While installing Gentoo on my G4 iMac from the Universal 2005.0 disk, I
was able to go as far as configuring the kernel. But, at the make step,
I got this error (text copied by hand):

net/ipv4/netfilter/ip_fw_compat.c: In function fw_in
net/ipv4/netfilter/ip_fw_compat.c: 83: error: too few arguments to
function 'ip_ct_gather_frags'
[/net/ipv4/netfilter/ip_fw_compat.o] Error 1

I can't properly look at the files, because the console is quite lame.

There is nothing very special about my configuration, except that I
added support for Firewire, ATM, pppoatm, speedtouch.

I would be grateful for all suggestions.

Charles



Hi Charles,

That net/ipv4/netfilter/ip_fw_compat.c file doesn't even exist in my 2.6.11 
sources.  If the problem feature isn't needed then perhaps you can simply 
disable it in the kernel config.

Zac



--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Neil Bothwick
On Mon, 13 Jun 2005 17:17:11 -0400, Mark Shields wrote:

 Ah yes, I remember reading it's not a full-fledged MTA.  I was just
 curious as to why it was trying to install.  And to answer the first
 reply's question: The question I have is why would you want to remove
 all MTAs?.  Why have something on your system when you don't use it? 
 This is a personal server; I have ssh setup, I check the log files
 myself.

Do you have a cron daemon installed? They all require an MTA.


-- 
Neil Bothwick

In 1750 Issac Newton became discouraged when he fell up a flight of
stairs.


pgpFEiL6yDNpn.pgp
Description: PGP signature


Re: [gentoo-user] Remote program - no remote printer

2005-06-13 Thread Zac Medico
Mark Knecht wrote:
 On 6/13/05, Zac Medico [EMAIL PROTECTED] wrote:
 
 
Hi Mark,

These 2 sections of the CUPS manual are relevant:

http://localhost:631/sam.html#CLIENT_SERVER
http://localhost:631/sam.html#CLIENT_AUTO

Zac
 
 
 Hi Zac,
First, as always, thanks!
 
OK, in reading through these two secions it seems that these are
 for making the printer which resides on the machine 'Christmas'
 visible by other machines primarily on the same subnet. Correct?
 
I'm trying to get it going using an ipp address for the server but
 so far the printer doesn't budge and the client says the printer is
 busy. Possibly I have a port blocked ro something like that? The
 server is an FC2 machine. (The last one in the hosue. If that's the
 problem it will be Gentoo in a few days!)
 
 Thanks,
 Mark
 

The server needs to be listening (Listen and Port directives) and if you're 
using iptables then you need to allow TCP and UDP on port 631 (it's a good idea 
to log all dropped packets for debugging).  Assuming that's done, check the 
CUPS logs under /var/log/cups.  You can increase verbosity with the LogLevel 
directive.

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



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Raphael Melo de Oliveira Bastos Sales
Thanks ;)

2005/6/13, Mark Shields [EMAIL PROTECTED]:
 Oh, Raphael, concerning what you said: By the way, look for something
 about using sse
 instruction for math. It speeds things up a bit..  I think you're
 speaking of -mfpmath=sse.
 
 On 6/13/05, Mark Shields [EMAIL PROTECTED] wrote:
  Yes, as long as it's the Socket A version.  Not sure about the socket
  754 version, which may (or may not) use amd64.
 
  On 6/13/05, Raphael Melo de Oliveira Bastos Sales
  [EMAIL PROTECTED] wrote:
   By the way, Sempron accepts athlon-xp, right?
  
   2005/6/13, Bruno Lustosa [EMAIL PROTECTED]:
On 6/13/05, Colin [EMAIL PROTECTED] wrote:
 You'll want the usual -O2 -pipe -fomit-frame-pointer, but also use
 -march=athlon-xp.  If your processor supports MMX, 3DNow!, SSE or
 SSE2, add those flags in as well.
   
Fine, but no need to add mmx, 3dnow!, sse or sse2, as these are
implied by -march=athlon-xp. From the online documentation at
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html:
   
athlon-4, athlon-xp, athlon-mp
Improved AMD Athlon CPU with MMX, 3dNOW!, enhanced 3dNOW! and full
SSE instruction set support.
   
--
Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil  |
   
--
gentoo-user@gentoo.org mailing list
   
   
  
   --
   gentoo-user@gentoo.org mailing list
  
  
 
 
  --
  - Mark Shields
 
 
 --
 - Mark Shields
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssmtp - what wants to install it?

2005-06-13 Thread Zac Medico
Neil Bothwick wrote:
 On Mon, 13 Jun 2005 17:17:11 -0400, Mark Shields wrote:
 
 
Ah yes, I remember reading it's not a full-fledged MTA.  I was just
curious as to why it was trying to install.  And to answer the first
reply's question: The question I have is why would you want to remove
all MTAs?.  Why have something on your system when you don't use it? 
This is a personal server; I have ssh setup, I check the log files
myself.
 
 
 Do you have a cron daemon installed? They all require an MTA.
 
 

Yep, that's probably it.  I ran into this a while back.  Unfortunately equery 
is unreasonably slow with such queries.  The fastest way I've found: find 
/var/db/pkg -path '*DEPEND' | xargs grep virtual/mta

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



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Mark Shields
I believe the way mtune and march is like this:

Think of mtune as 'optional' tuning and march as 'required' tuning,
meaning: compile for athlon-xp with the mtune option, it will run
better on an athlon xp but will also run in i386 (just slower),
whereas march will compile for athlon-xp and will only run on
athlon-xp.

On 6/13/05, Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 On Monday 13 June 2005 21:53, Allan Spagnol Comar wrote:
  I was looking over the internet for some CFLAGS for athlon XP and I
  didn't found any. Does someone knows what are the best C and CXXFLASG
  for athlon XP ?
 
 march=athlon-xp
 -mmmx
 -msse
 -O2
 -fomit-frame-pointer
 -pipe
 
 
 why mmx and sse?
 because, when the 'march' is filtered ands replaced by an 'mtune' there would
 not be any mmx/3dnow opts, right?
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
- Mark Shields

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin

Holly Bostick wrote:


Colin schreef:
 


On Mon, 13 Jun 2005, Colin wrote:


   


/boot/grub/grub.conf
===
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel=/kernel-2.6.11-gentoo-r9 root=/dev/hde3
video=vesafb:mtrr,ywrap vga=0x31B
 


Shouldn't that be:

kernel /kernel-2.6.11-gentoo-r9 root=/dev/hde3 video=vesafb:mtrr,ywrap
vga=0x31B


Good catch!  Yes, fix this first.  Also, there is no '=' for the title.
 


The handbook shows an equal sign.  It's worked before on another system.
   



No, it does not:

Code Listing 3: grub.conf for non-genkernel users

[snip]

title=Gentoo Linux 2.6.11-r3

[snip]
 

No, there it is right there.  You can see the equal sign right after 
title.  I've fixed GRUB and it's working just fine, and the equal sign 
is still there.


--
Colin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] AthlonXP flags

2005-06-13 Thread Colin

Mark Shields wrote:


Oh, Raphael, concerning what you said: By the way, look for something about using sse 
instruction for math. It speeds things up a bit..  I think you're speaking of 
-mfpmath=sse.

You might want to specify -mfpmath=sse,387 instead.  SSE is capable of 
faster, more precise math than the 387 coprocessor.  But not all 
programs like/use SSE, so always specify a fallback.


--
Colin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Richard Fish
Colin wrote:

It worked!  One would think stage1.5 would be an integral step between
1 and 2, but apparently now.  Gentoo works!  (And Windows does too...)
 I got a lot of errors while booting Gentoo, so I've still got a few
bugs to work out.  Thanks, guys.
  


The stage1.5 is really a minimal stage2...it is supposed to contain just
enough code to decipher the filesystem and locate the real stage2.

So, here comes the bad news.  If you do anything that moves, updates,
or restores the stage2 file, you *must* run those setup instructions
again.  This is because the location of the stage2 is now block-mapped
into the stage1.

In fact, you might want to chattr +i /boot/grub/stage2, update
package.mask to exclude new versions of grub, etc...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Java java java, I miss my java

2005-06-13 Thread Kevin O'Gorman
To answer several questions from several people:
1) I thought java 1.5 wasn't there because it was not found by
emerge -s java
emerge -s jre
emerge -s blackdown

At that point I just figured it wasn't there.  I'm glad to discover
I was wrong.

2) I'm not so much itching to use the features, as I am required
to teach them.  But the significant ones seem to be
- Scanner class which smooths one of the major bumps for
  beginning Java programmers: how to do input without learning
  the whole language first.
- Autoboxing which allows a looser typing of functionally similar
  entities (the primitives and their wrapper classes).
- Generics (type-safe containers) (not really an intro topic, but
  I'll be teaching a second course too).
- True enum
- C-style printf, and varargs (ya!)

++ kevin
- Iterator for-loop 

-- 
Kevin O'Gorman, PhD

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Baselayout update blasted my wireless networking

2005-06-13 Thread Richard Fish
Bill Rucker wrote:

 Somewhere around Mon, Jun 13, 2005 at 07:07:14AM +0200, a message
 from Richard Fish went like this:

 The other night I did an emerge sync; emerge world -vu and got a
 new and improved version of baselayout. I screwed up and let
 etc-update clobber all my config files (stupid I know ;() ... anyway,
 I've recovered from it except I can't get wireless working. It all
 was so simple before. Even doing it manually was simple but I can't
 get it to connect (associate) with my access points. Before all this
 I could do it manually by:

 # modprobe ath_pci // using the madwifi drivers on my Thinkpad T40
 # ifconfig ath0 192.168.1.53 netmask 255.255.255.0 up
 # route add default gw 192.168.1.1 ath0


 I don't have much to add to this thread with the exception that my
 wireless also
 got clobbered with the new baselayout. I've got a thread going on the
 forums
 that hasn't been answered in a couple of days now, but nothing I do
 with the
 config of /etc/conf.d/wireless or /etc/conf.d/net seems to make a bit of
 difference. Link to the thread:
 http://forums.gentoo.org/viewtopic-t-347809-highlight-.html I have no
 problems
 starting the card manually whatsoever. My driver is built into the
 kernel so
 just need to:


I'm not really much of a forum reader..too lazy I guess.

 # iwconfig eth1 essid Speeder key 'key_here'
 # ifconfig eth1 up
 # dhcpcd eth1


Two options that may help.  In /etc/conf.d/net, try:


modules_eth1=( ifconfig iwconfig dhcpcd ) # also try iwconfig
ifconfig dhcpcd


If the above doesn't help, try:


modules_force_eth1=( ifconfig iwconfig dhcpcd ) # and the
alternative order above


You'll get some dire warnings about forcing modules, but it Works For Me
(TM).

Let me know what happens...

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Reboot when GRUB starts

2005-06-13 Thread Colin

Richard Fish wrote:


Colin wrote:
 


It worked!  One would think stage1.5 would be an integral step between
1 and 2, but apparently now.  Gentoo works!  (And Windows does too...)
I got a lot of errors while booting Gentoo, so I've still got a few
bugs to work out.  Thanks, guys.


The stage1.5 is really a minimal stage2...it is supposed to contain just
enough code to decipher the filesystem and locate the real stage2.

So, here comes the bad news.  If you do anything that moves, updates,
or restores the stage2 file, you *must* run those setup instructions
again.  This is because the location of the stage2 is now block-mapped
into the stage1.

In fact, you might want to chattr +i /boot/grub/stage2, update
package.mask to exclude new versions of grub, etc...

Two commands inside a GRUB shell doesn't sound too bad.  Still, I think 
I should work on getting that stage1.5 file working.


Do you think the file might have been damaged somehow?  Maybe it just 
didn't like my CFLAGS?


--
Colin

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: rc.conf is very short now?

2005-06-13 Thread Richard Fish
Holly Bostick wrote:

Richard Fish schreef:
  

I think PROTOCOLS was voted off the island.  



Watching a bit too much Survivor/Big Brother/The Real World (any
city)/The Farm/The Bus/Temptation Island/Expeditie Robinson/Celebrity
Survivor/Idols/American Idols/America's Next Top Model lately?
  


Actually, I never watched any of those...except I got sucked in by Joe
Millionaire.  I just love the image it evokes.

-Richard

Next week on Fox, watch 'Lions eat Christians!' - Weird Al Yankovic

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Bluetooth Dongle: how to get it working?

2005-06-13 Thread Murray Shields
I have followed a number of different guides/how-to's and almost have my
HP (Broadcom) USB Bluetooth dongle going.

I have compiled Bluetooth support into my 2.6.11 MM sources kernel:

Code:
#
# FIR device drivers
#
# CONFIG_USB_IRDA is not set
# CONFIG_SIGMATEL_FIR is not set
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
# CONFIG_VIA_FIR is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=m
# CONFIG_BT_SCO is not set
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
# CONFIG_BT_BNEP is not set
# CONFIG_BT_HIDP is not set

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUSB=m
# CONFIG_BT_HCIUSB_SCO is not set
# CONFIG_BT_HCIUART is not set
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBPA10X=m
CONFIG_BT_HCIBFUSB=m
# CONFIG_BT_HCIDTL1 is not set
# CONFIG_BT_HCIBT3C is not set
# CONFIG_BT_HCIBLUECARD is not set
# CONFIG_BT_HCIBTUART is not set
# CONFIG_BT_HCIVHCI is not set


dmesg registers the dongle being plugged in:

Code:
Bluetooth: L2CAP ver 2.7
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM ver 1.5
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized


The bluetooth service starts just fine:

Code:
# /etc/init.d/bluetooth start
 * Starting Bluetooth ...
 * Starting hcid ...
[ ok ]
 * Starting sdpd ...
[ ok ]
 * Starting rfcomm ...  
[ ok ]


Dongle is listed in lsusb:

Code:
Bus 003 Device 001: ID :
Bus 002 Device 005: ID 0a5c:3503 Broadcom Corp. --
Bus 002 Device 004: ID 0a5c:3502 Broadcom Corp. --
Bus 002 Device 003: ID 03f0:0624 Hewlett-Packard --
Bus 002 Device 002: ID 0a5c:3535 Broadcom Corp. --
Bus 002 Device 001: ID :
Bus 001 Device 003: ID 046d:c016 Logitech, Inc. Optical Mouse
Bus 001 Device 001: ID :


It is certainly up and running:

Code:

# hciconfig
hci0:   Type: USB
BD Address: 00:10:C6:37:CA:FE ACL MTU: 377:10 SCO MTU: 16:0
UP RUNNING
RX bytes:117 acl:0 sco:0 events:16 errors:0
TX bytes:330 acl:0 sco:0 commands:16 errors:0
#


But:

Code:
# hcitool inq
Inquiring ...
Inquiry failed.: Connection timed out
# hcitool scan
Scanning ...
Inquiry failed: Connection timed out
#


My mobile phone (Nokia 6260) is definitely visible for searching (my XP
box can find it using the same dongle).

Any suggestions for getting it working?

Muzza

-- 
===
Murray ShieldsEmail: [EMAIL PROTECTED]
Project Manager Phone: 07 3842 
NetOptions Pty LtdWeb: http://www.netoptions.com.au
Brisbane, Australia
---
... Simple Solutions in a Complex World ...
=== 

-- 
gentoo-user@gentoo.org mailing list



  1   2   >