Re: [gentoo-user] emerge time problem(resolved)/VPN & Samba & aut omount

2003-11-12 Thread Pat Kerwan


On Wed, Nov 12, 2003 at 01:46:07PM -0800, [EMAIL PROTECTED] wrote:
> In case anyone was curious what happened, I finally solved the problem.  The
> short version is that people see what they expect to see.  I saw the date
> listed as the correct time, month, and day, but the year was wrong.  After
> figuring out how to set the date, all further emerge commands have run as
> expected without flaw and I have a completely working system.. Well
> almost...
> 
> My employer allows VPN connections.  I have a VPN client that connects and
> allows me to see that network.  What I want to do is configure the
> automounter to automount certain directories available from a Samba server
> at work when I access files in that path.  I have been spectacularly
> unsuccessfull at getting that to happen.  I have been able to accidentally
> recursivley start deleting everything below "/" as root, and I can 
> 
> mount -t smbfs -o username=***,password=*** //proj/foo  /proj/mnt/foo
> 
> I can't seem to get a set of automounter files to do the same thing.  It
> chokes on the username/password pair giving the same error it gives for an
> invalid username/password pair.  I type them the same way.  The catch is
> that the username has a backslash, "\", in it.  Anyone?
> 

Assuming you're using bash, any one of the following should work:

   mount -t smbfs -o 'username=foo\bar',password=*** //proj/foo /proj/mnt/foo
   mount -t smbfs -o username='foo\bar',password=*** //proj/foo /proj/mnt/foo
   mount -t smbfs -o username=foo\\bar,password=*** //proj/foo /proj/mnt/foo

Single quotes overrides shell expansion of variables and escape
sequences -- which is where the '\' in your user name is causing
problems.

- PK

> Related, does anyone know anything about having evolution only look at email
> on a server at work when I have the VPN connection on?
> 
> -Original Message-
> From: Yakovac, Stony D 
> Sent: Monday, November 10, 2003 2:39 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [gentoo-user] emerge time problem
> 
> 
> I didn't set any CFLAGS on purpose.  If some are set by default in make.conf
> or added as a result of the install instructions, that is what I would have
> picked up, of course I will double check that though.
> 
> -Original Message-
> From: Van Eps, Nathan D. (James Tower) [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 10, 2003 1:30 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [gentoo-user] emerge time problem
> 
> 
> Did you have any dangerous CFLAGS in make.conf, like "-malign-double" and
> "-ffast-math"? Have you tried to emerge emerge?
> 
> Stick in there, someone on this list will be able to help ya! It took me a
> couple of weeks to get everything to work for me.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 10, 2003 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: [gentoo-user] emerge time problem
> 
> 
> I am trying to get through my first install of Gentoo.  It has gone very
> roughly.  I still do not have email from that computer and hence, cannot
> cut-and-paste the exact error I am having, but, here goes...
> 
> History---
> I downloaded and followed the instructions for a Gentoo install from the
> gentoo website a few weeks ago.  I made it through the first part where it
> says I have a full system.  Now I am trying to get a desktop manager to
> work.  I have finally been able to get twm to work, but, like the person who
> wrote the document, I would rather have nearly anything than twm.  In the
> process somewhere between having a working system and getting graphics,
> emerge stopped working.  
> 
> Problem--
> In brief, the error is that my system is "not sane".  The specific error can
> be seen by editing nearly any configure script in any of the builds and
> finding where the script uses ls to check against the system time and see if
> your system is "sane".  After closer inspection, I see when the "tar -xvf"
> step is run that every file is from the future.  A long ways in the future.
> I didn't do the math, but I would bet the executing process is believing it
> is time 0 when it is running.
> 
> What I have already tried--
> If I go into the build directory and touch the configure script, then run it
> again, I can manually run the install process, e.g. "configure;gmake;gmake
> install"  When I type "date", it looks right to me.  When I create files
> they have the current time on them.  I don't know what the problem is, but I
> am guessing it is related to installing the desktop since that is all I have
> done to change anything since the last time I saw emerge work.  I have tried
> "emerge rsync" which did not help.  I have tried emerging other things, all
> builds fail for the same reason.  The build stops and tells me to check to
> make sure my clock works.
> 
> Frustrated venting--
> I am at a loss here because I don't know python, so I am shooting blind in
> the emerge code, and sh is not my language of choice e

Re: [gentoo-user] emerge hosed .. "vartree instance has no attribute 'invalidentry'"

2003-11-11 Thread Pat Kerwan


On Tue, Nov 11, 2003 at 02:34:24PM +0200, Jean Jordaan wrote:
> Hi all
> 
> Does anyone have any idea what's going wrong here?
> 
> """
> blommie todos # emerge --pretend ncftp
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies ...done!
> !!! Invalid db entry: /var/db/pkg/net-ftp/ncftpTraceback (most recent call 
> last):
>   File "/usr/bin/emerge", line 2133, in ?
> mydepgraph.display(mydepgraph.altlist())
>   File "/usr/bin/emerge", line 1103, in display
> elif (not "--emptytree" in myopts) and 
> portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
>   File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in 
> exists_specific_cat
> self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
> AttributeError: vartree instance has no attribute 'invalidentry'
> blommie todos # emerge --version
> !!! Invalid db entry: /var/db/pkg/net-ftp/ncftp!!! Invalid db entry: 
> /var/db/pkg/net-misc/tightvnc!!! Using `which gcc` to gcc locate version, 
> this may break
> !!! DISTCC, installing gcc-config and setting your current gcc
> !!! profile will fix this
> Portage 2.0.49-r15 (default-1.0, gcc-2.95.3, glibc-2.2.4-r0,2.2.5-r2, 
> 2.4.19-gentoo-r9)
> """
> 

I ran into this a couple of weeks ago.  It's a known bug, for full
details see:

http://bugs.gentoo.org/show_bug.cgi?id=31901

For the impatient, running /usr/lib/portage/bin/fix-db.py, and then
(if necessary) delete the lock files it reports.

- PK

> -- 
> Jean Jordaan
> http://www.upfrontsystems.co.za
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [newbie] Installation of gentoo & Using gtk+2 flag

2003-11-10 Thread Pat Kerwan


On Mon, Nov 10, 2003 at 08:52:31PM +0100, Oliver Lange wrote:
> [snip]
> For future compiles, what exactly should be added to the USE var in
> /etc/make.conf (I didn't remember the emerge warning as i reached
> the same problem) ?
> 
> Possible entries:
> 
> a) USE = "gtk2"
> b) USE = "+gtk2"
> c) USE = "gtk2+"
> d) USE = "+gtk2+"
> e) USE = "gtk+2"
> f) USE = "+gtk+2"
> g) (other)
> 
> If i set USE in make.conf to "gtk2" instead of "+gtk2", would the former
> completely override all make.default settings ?
> 

USE=gtk2

BTW: you'll probably find the following pages useful:

http://www.gentoo.org/doc/en/use-howto.xml
http://www.gentoo.org/dyn/use-index.xml

The first describes how to use USE flags, the second contains a
complete list of USE flags and what they enable/disable.

- PK

> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Operating System not Found

2003-11-04 Thread Pat Kerwan


On Tue, Nov 04, 2003 at 09:43:46AM -0600, Jeffrey Smelser wrote:
> [snip]
> Thats because the theory goes, if something happens to one of your partitions, your 
> not having to fix the entire drive.. Also, you can then mark usr as read only, and 
> eliminate many of the root kits.
> 
> But then, I hear many times your firewall computer shouldn't run any services.. Yet 
> I still have not gotten and answer on how forwarding a port to another machine 
> alleviates getting hacked..
> 

I'm not a security guru, but I think the point is to make sure the
*firewall* isn't hacked.  An uncompromized firewall may limit what an
attacker who's compromized a server behind that firewall can do.

But a server visible to the outside world is probably not any safer
from outside attack whether it's behind a firewall or not.

But as I said, I'm not a security guru.  If I'm wrong, I'm sure
someone will point it out.

- PK

> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Weird portage error: invalid db entry?

2003-10-30 Thread Pat Kerwan


On Thu, Oct 30, 2003 at 12:09:06PM +0100, Michel Wilson wrote:
> Hello,
> 
> Since a few days, emerge gives me a weird error when doing an emerge -pu 
> world. First, it calculates the dependencies, and spits out the packages 
> it is going to update, just like normally. Then, it comes up with this 
> cryptic error:
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 2133, in ?
> mydepgraph.display(mydepgraph.altlist())
>   File "/usr/bin/emerge", line 1103, in display
> elif (not "--emptytree" in myopts) and 
> portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
>   File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in 
> exists_specific_cat
> self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
> AttributeError: vartree instance has no attribute 'invalidentry'
> 

I ran into this problem recently when I tried and failed to emerge
openoffice.  There's a bug report in bugzilla: #31901.

There's a comment in the bug report which suggests running
/usr/lib/portage/bin/fix-db.py to fix the problem.

This didn't fix the problem in my case, but it did reveal a couple of
leftovers from the openoffice merge.  Something like:

/var/db/pkg/app-office/.../-MERGING-openoffice-1.1.0
/var/db/pkg/app-office/.../-MERGING-openoffice-1.1.0.portage_lockfile

I deleted them and the problem went away.

- PK

> Very informative.
> 
> When updating some packages, it complains about
> >>> Auto-cleaning packages ...
> !!! Invalid db entry: /var/db/pkg/*sys-fs/devfsd
> So I suspect something is wrong with that entry. I re-emerged devfsd 
> already, but that didn't help. Also, an emerge sync didn't make the 
> problem go away.
> What is wrong here, and where should I look to fix it?
> 
> Regards,
> 
> Michel.
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge fails with error.

2003-10-28 Thread Pat Kerwan


On Tue, Oct 28, 2003 at 12:56:46AM -0500, Phil Barnett wrote:
> 
> When running:
> 
> emerge -up world
> 
> I get a bunch of things that need to be updated and then it ends with:
> 
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 2133, in ?
> mydepgraph.display(mydepgraph.altlist())
>   File "/usr/bin/emerge", line 1103, in display
> elif (not "--emptytree" in myopts) and 
> portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
>   File "/usr/lib/python2.2/site-packages/portage.py", line 3469, in 
> exists_specific_cat
> self.invalidentry(self.root+"var/db/pkg/"+a[0]+"/"+x)
> AttributeError: vartree instance has no attribute 'invalidentry'
> 

I get the same backtrace whenever I run:

$ emerge -p openoffice

I don't know if this is important, but I tried upgrading to
openoffice-1.1.0 about a week ago, and it barfed.  Maybe it left
portage in a bad state.

I only see this with openoffice.  Might openoffice be in your list of
packages?  Or did you have a previous emerge failure?

NOTE: I don't actually know what to do about it in either case.  But this
  could be useful information in the bug report.

- PK

> What should I do?
> 
> -- 
> 
> Copyright is a temporary loan from the public domain, not property.
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Procmail/Fetchmail and Vcron

2003-10-26 Thread Pat Kerwan


On Sun, Oct 26, 2003 at 03:17:13AM +, BlueRibbon wrote:
> Hi!
> I have this line on my crontab:
> */5 * * * * /usr/bin/fetchmail -a -s -m "/usr/bin/procmail -d \%T"
> 

Try it without the '\' character.  Mine doesn't have that, and it works.

- PK

> But when the cron tries to run the job, it gives me the following error 
> (by mail):
> 
> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: SIGPIPE thrown from an MDA or a stream socket error
> fetchmail: socket error while fetching from pop.netcabo.pt
> fetchmail: Query status=2 (SOCKET)
> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: MDA returned nonzero status 2
> sh: -c: line 1: unexpected EOF while looking for matching `''
> sh: -c: line 2: syntax error: unexpected end of file
> fetchmail: SIGPIPE thrown from an MDA or a stream socket error
> fetchmail: socket error while fetching from pop.netcabo.pt
> fetchmail: Query status=2 (SOCKET)
> 
> What's wrong with that line to make this prob happen?
> Thanx
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vcron & sendmail

2003-10-24 Thread Pat Kerwan


On Fri, Oct 24, 2003 at 04:55:54PM +1000, Paul Fraser wrote:
> I looked into that, and found the fetchmail init.d script, but...
> 
> I need to run fetchmail with the ' -a -m "procmail -d %T" ' command appended, to 
> deliver mail for a non-root user. How would I be able to do that?
> 

Just add '-d 300' to your fetchmail command line.

I.e.

$ fetchmail -d 300 -a -m "procmail -d %T"

(And, as was already mentioned, you can also use the mda option in your
fetchmailrc.)

- PK

> On Thu, Oct 23, 2003 at 11:41:57PM -0700, Pat Kerwan wrote:
> > 
> > 
> > On Fri, Oct 24, 2003 at 02:06:40PM +1000, Paul Fraser wrote:
> > > Whenever a cron task executes, vcron tries to email the results to me. Each time 
> > > it fails, and outputs "sendmail: unable to open port 25" onto the console. Since 
> > > one of the cron jobs is to check email every 5 minutes with fetchmail, this is 
> > > really a pain in the rear end.
> > > 
> > > How can I tell vcron to stop trying to email me?
> > > 
> > 
> > I'm not sure how to fix sendmail, but you could make fetchmail run in
> > daemon mode instead of using a cron job.
> > 
> > You can either set up daemon mode with the -d  option on the
> > command line:
> > 
> > $ fetchmail -d 300 ...
> > 
> > or set it up in your .fetchmailrc with the line:
> > 
> > set daemon 300
> > 
> > - PK
> > 
> > > -- 
> > > Paul J. Fraser
> > > [EMAIL PROTECTED]
> > > 
> > > 
> > > --
> > > [EMAIL PROTECTED] mailing list
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> 
> -- 
> Paul J. Fraser
> [EMAIL PROTECTED]
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vcron & sendmail

2003-10-23 Thread Pat Kerwan


On Fri, Oct 24, 2003 at 02:06:40PM +1000, Paul Fraser wrote:
> Whenever a cron task executes, vcron tries to email the results to me. Each time it 
> fails, and outputs "sendmail: unable to open port 25" onto the console. Since one of 
> the cron jobs is to check email every 5 minutes with fetchmail, this is really a 
> pain in the rear end.
> 
> How can I tell vcron to stop trying to email me?
> 

I'm not sure how to fix sendmail, but you could make fetchmail run in
daemon mode instead of using a cron job.

You can either set up daemon mode with the -d  option on the
command line:

$ fetchmail -d 300 ...

or set it up in your .fetchmailrc with the line:

set daemon 300

- PK

> -- 
> Paul J. Fraser
> [EMAIL PROTECTED]
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] gnome 2.4 questions

2003-10-17 Thread Pat Kerwan


On Fri, Oct 17, 2003 at 07:15:43PM -0600, Collins Richey wrote:
> [snip]
> I do have a few of questions.
> 
> 1. When shutting down, gnome 2.4 always produces a dialog box saying
> (similar words to these) "these applications (all of mine are listed) won't
> restart, you will need to restart them manually."  But they lie.  Most of them
> restart, but all crammed onto the first desktop!  Is there any way to cause
> gnome not to restart them, as it promissed?

I used to get this behavior (without the dialog) because I shut the
system down running 'shutdown' from the command line.  It went away
when I started logging out of Gnome, and invoking shutdown from the
menu in GDM.

- PK


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] CD Writer and Dell Inspirion 8200

2003-10-08 Thread Pat Kerwan


On Wed, Oct 08, 2003 at 05:35:22PM -0600, Collins Richey wrote:
> [snip]
> Another question.  I've been using scsi emulation support successfully for my
> burners up until now.  After reading this thread, I setup a grub scenario to
> boot without my usual 'hdc=ide-scsi hdd=ide-scsi' and tried
> 
> cdrecord -scanbus dev=ATAPI:
> 
> with the following results:
> 
> Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J?rg Schilling
> scsidev: 'ATAPI:'
> devname: 'ATAPI'
> scsibus: -1 target: -1 lun: -1
> Warning: Using ATA Packet interface.
> Warning: The related libscg interface code is in pre alpha.
> Warning: There may be fatal problems.
> Using libscg version 'schily-0.7'
> scsibus0:
> cdrecord: Warning: controller returns wrong size for CD capabilities page.
> 0,0,0 0) 'I/OMAGIC' ' 48SB CD-ROM' 'M2.8' Removable CD-ROM
> 0,1,0 1) 'SONY' 'DVD RW DRU-510A ' '1.0b' Removable CD-ROM
> 0,2,0 2) *
> 0,3,0 3) *
> 0,4,0 4) *
> 0,5,0 5) *
> 0,6,0 6) *
> 0,7,0 7) *
> 
> Does everyone get this warning, or is there another versdion of cdrecord that I
> need to use?
> 

I get the warning, too.  So far, I haven't had any problems burning a CD.

- PK

> -- 
> Collins Richey - Denver Area
> if you fill your heart with regrets of yesterday and the 
> worries of tomorrow, you have no today to be thankful for.
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Firewall choice question

2003-10-05 Thread Pat Kerwan


On Sun, Oct 05, 2003 at 10:03:49AM +0200, Patrick Marquetecken wrote:
> Hi,
> 
> 1 - I was thinking of using a firewall on cd (creating myself) with
> gentoo and iptables. If it is going to be used in a company (if properly
> configured) would the result be the same as a checkpoint firewall ?
> 
> 2- How do i save the logfiles of that firewall config, on the internal
> HD? and read them true ssh ?
> 

To save the log files to the HD, I'm pretty sure all you'd need to do
is create a filesystem on the hard drive, and set up /etc/fstab so it
will be mounted at /var.

- PK

> TIA
> Patrick
> 
> -- 
> Insufficient facts always invite danger.
> -- Spock, "Space Seed", stardate 3141.9
> 
> PGP Key: http://users.pandora.be/rivendell/marquetp.gpg
> Fingerprint = 2792 057F C445 9486 F932 3AEA D3A3 1B0C 1059 273B
> ICQ# 316932703 
> Registered Linux User #44550
> http://counter.li.org




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] What is going on here with "dev-python/PyXML"?

2003-10-04 Thread Pat Kerwan


On Sat, Oct 04, 2003 at 01:32:33PM +0200, Thomas Schweikle wrote:
> Hi!
> 
> What is going on here?
> 
> yew portage # emerge -up $( qpkg -I -nc )
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies /
> emerge: there are no masked or unmasked ebuilds to satisfy 
> "dev-python/PyXML".
> 
> !!! Error calculating dependencies. Please correct.
> yew portage # emerge -s PyXML
> Searching...
> [ Results for search key : PyXML ]
> [ Applications found : 2 ]
> 
> *  dev-python/PyXML-py21
>   Latest version available: 0.8.1
>   Latest version installed: [ Not Installed ]
>   Size of downloaded files: 699 kB
>   Homepage:http://pyxml.sourceforge.net/
>   Description: A collection of libraries to process XML with Python.
> 
> *  dev-python/pyxml
>   Latest version available: 0.8.2
>   Latest version installed: 0.8.2
>   Size of downloaded files: 710 kB
>   Homepage:http://pyxml.sourceforge.net/
>   Description: A collection of libraries to process XML with Python.
> 
> yew portage # emerge unmerge PyXML
> 
> !!! Couldn't find match for PyXML
> 
> >>> unmerge: No packages selected for removal.
> 
> How do I get rid of this stale package entry?
> 

Try:

# emerge unmerge pyxml

It seems that emerge search is not case sensitive, but emerge unmerge
is.  Not sure if that's a bug or a feature.

- PK

> -- 
> Thomas
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't Figure Out Mail On Linux

2003-09-29 Thread Pat Kerwan


On Mon, Sep 29, 2003 at 12:14:10PM -0700, Jeff Greene wrote:
> Alright, I give up. I need help from you guys. I
> cannot figure out how a mail system works on Linux,
> specifically for my setup.
> 
> I have a DSL connection and all I want is to be able
> to send mails through the command line. For instance,
> 
> % cat mymessage | mutt -s 'Hey' [EMAIL PROTECTED]
> 
> I don't want to set up a SMTP server on my computer
> (maybe later). Rather, I want to hand off my mail to
> the SMTP server provided by my school. They use SMTP
> authentication, I believe, and STARTTLS for SSL
> sessions, if that means something to someone.
> 

You could use nbsmtp (emerge nbsmtp), and configure mutt to use it to
talk your ISP's smtp server.  Setting this up is described in detail
in http://www.gentoo.org/doc/en/guide-to-mutt.xml.

For the impatient:

1) emerge nbsmtp
2) add the following line to your ~/.muttrc file.

   set sendmail="/usr/bin/nbsmtp -d  -h  -f "

  (With the appropriate substitutions.)

- PK

> Can someone give me a step-by-step on what I need and
> how to set this up. I have nail and mutt emerged and
> ssmtp emerged also. I'm not really sure how to put the
> two together.
> 
> --Jeff
> 
> 
> __
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Why does emerge world want dev-util/ctags?

2003-09-28 Thread Pat Kerwan
I did an emerge sync this morning, and then:

$ emerge -pUDv world

Calculating world dependencies ...done!
[ebuild U ] app-shells/bash-2.05b-r7 [2.05b-r5] +nls -build
[ebuild U ] sys-apps/shadow-4.0.3-r7 [4.0.3-r6]
[ebuild U ] media-sound/esound-0.2.32 [0.2.29-r1] +tcpd +alsa +ipv6
[ebuild  N] dev-util/ctags-5.5-r1
[ebuild U ] media-video/mplayer-0.92 [0.91] -dga +oss +xmms +jpeg -3dfx +sse 
-matrox +sdl +X +svga -ggi +oggvorbis -3dnow -aalib +gnome +xv +opengl +truetype +dvd 
+gtk +gif +esd -fbcon +encode +alsa -directfb +arts -dvb +gtk2 -samba

I was wondering why it suddenly wanted to install ctags, so I ran:

$ qpkg -q ctags
dev-util/ctags-5.2.3
DEPENDED ON BY:
dev-util/ctags-5.5-r1
DEPENDED ON BY:
dev-util/ctags-5.5
DEPENDED ON BY:

So, if I'm reading this right, I have nothing installed that depends
on ctags.  If so, why does emerge want to install it?  If not, how do
I find the package that depends on it?

- PK


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cpuinfo documentation

2003-09-22 Thread Pat Kerwan


On Mon, Sep 22, 2003 at 01:31:56AM -0700, Pat Kerwan wrote:
> 
> 
> On Mon, Sep 22, 2003 at 09:42:40AM +0200, [EMAIL PROTECTED] wrote:
> > 
> > 
> > 
> > 
> > 
> > Does anyone know where I can find an (in)formal description of the
> > components returned by 'cat /proc/cpuinfo' ?
> > 
> > Just need a pointer to the FM ;-)
> 
> It's in the kernel source.  See:
> 
> /Documentation/filesystems/proc.txt
> 
> - PK
> 

My bad, I spoke too soon.  I did a search in the kernel documentation,
and this was the only file that mentions cpuinfo.  Unfortunately, it
does not describe the contents of the file.

Haven't found anything on that yet.

- PK

> > Biker
> > 
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cpuinfo documentation

2003-09-22 Thread Pat Kerwan


On Mon, Sep 22, 2003 at 09:42:40AM +0200, [EMAIL PROTECTED] wrote:
> 
> 
> 
> 
> 
> Does anyone know where I can find an (in)formal description of the
> components returned by 'cat /proc/cpuinfo' ?
> 
> Just need a pointer to the FM ;-)

It's in the kernel source.  See:

/Documentation/filesystems/proc.txt

- PK

> Biker
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] make menuconfig error

2003-09-17 Thread Pat Kerwan


On Wed, Sep 17, 2003 at 07:56:59PM -0400, Ernie Schroder wrote:
> Thanks for the suggestions Pat. Iwas going to re-emerge 
> 2.4.20-gentoo-r1 but it seems to have been removed from portage. I 
> may be forced to build r-7 though I really wish I had that ebuild. 
> Any ideas where I can find it?
> 

I didn't realize it was gone.  I tried searching google for it, but
had no luck.

Poking around in /usr/portage/distfiles, I did find:

linux-2.4.20.tar.bz2
patches-2.4.20-gentoo-r1.tar.bz2

Maybe you could recreate the 2.4.20-gentoo-r1 source tree with them.
But it'd probably be easier to just upgrade the kernel -- and besides
that, it's more likely to work ;-)  I recently upgraded to
2.4.20-gentoo-r6, it was painless.

- PK

> On Wednesday 17 September 2003 04:19 pm, Pat Kerwan wrote:
> > On Wed, Sep 17, 2003 at 02:41:21PM -0400, Ernie Schroder wrote:
> > > aditional info:
> > > I can go into /usr/src/inux-2.4.20-gentoo-r7 and make menuconfig
> > > works.
> >
> > I'm not sure if this would help in this situation, but have you
> > tried running:
> >
> > # cp .config /tmp/
> > # make mrproper
> > # cp /tmp/.config .
> >
> > This often fixes problems that make clean doesn't.  If that doesn't
> > work, I'd try re-emerging linux-2.4.20-gentoo-r1.
> >
> > Hope that helps,
> >
> > - PK
> >
> > > On Wednesday 17 September 2003 02:03 pm, Ernie Schroder wrote:
> > > >  I want to add a module to my running kernel (2.4.20-gentoo-r1)
> > > > make menuconfig exits as below.
> > > >
> > > > MRK linux # make menuconfig
> > > > rm -f include/asm
> > > > ( cd include ; ln -sf asm-i386 asm)
> > > > make -C scripts/lxdialog all
> > > > make[1]: Entering directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > > > make[1]: *** No rule to make target `all'.  Stop.
> > > > make[1]: Leaving directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > > > make: *** [menuconfig] Error 2
> > > >
> > > > Make xconfig seems to run normally but when I try to build the
> > > > modules, I get:
> > > >
> > > >  make dep;make clean bzImage modules modules_install
> > > > make: *** No rule to make target `scripts/mkdep.c', needed by
> > > > `scripts/mkdep'.  Stop.
> > > > make[1]: Entering directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > > > rm -f tools/build
> > > > rm -f setup bootsect zImage compressed/vmlinux.out
> > > > rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
> > > > make[2]: Entering directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > > > rm -f vmlinux bvmlinux _tmp_*
> > > > make[2]: Leaving directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > > > make[1]: Leaving directory
> > > > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > > > find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \)
> > > > -type f -print \
> > > >
> > > > | grep -v lxdialog/ | xargs rm -f
> > > >
> > > > rm -f kernel/ksyms.lst include/linux/compile.h vmlinux
> > > > System.map .tmp* drivers/char/consolemap_deftbl.c
> > > > drivers/video/promcon_tbl.c drivers/char/conmakehash
> > > > drivers/char/drm/*-mod.c
> > > > drivers/pci/devlist.h drivers/pci/classlist.h
> > > > drivers/pci/gen-devlist drivers/zorro/devlist.h
> > > > drivers/zorro/gen-devlist
> > > > drivers/sound/bin2hex drivers/sound/hex2hex
> > > > drivers/atm/fore200e_mkfirm
> > > > drivers/atm/{pca,sba}*{.bin,.bin1,.bin2}
> > > > drivers/scsi/aic7xxx/aicasm/aicasm
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_gram.c
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_gram.h
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c
> > > > drivers/scsi/aic7xxx/aicasm/aicasm_scan.c
> > > > drivers/scsi/aic7xxx/aicasm/aicdb.h
> > > > drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h
> > > > net/khttpd/make_times_h net/khttpd/times.h submenu*
> > > > rm -rf modules
> > > > make -C Documentati

Re: [gentoo-user] make menuconfig error

2003-09-17 Thread Pat Kerwan


On Wed, Sep 17, 2003 at 02:41:21PM -0400, Ernie Schroder wrote:
> aditional info:
> I can go into /usr/src/inux-2.4.20-gentoo-r7 and make menuconfig 
> works.
> 

I'm not sure if this would help in this situation, but have you tried
running:

# cp .config /tmp/
# make mrproper
# cp /tmp/.config .

This often fixes problems that make clean doesn't.  If that doesn't
work, I'd try re-emerging linux-2.4.20-gentoo-r1.

Hope that helps,

- PK

> 
> On Wednesday 17 September 2003 02:03 pm, Ernie Schroder wrote:
> >  I want to add a module to my running kernel (2.4.20-gentoo-r1)
> > make menuconfig exits as below.
> >
> > MRK linux # make menuconfig
> > rm -f include/asm
> > ( cd include ; ln -sf asm-i386 asm)
> > make -C scripts/lxdialog all
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > make[1]: *** No rule to make target `all'.  Stop.
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/scripts/lxdialog'
> > make: *** [menuconfig] Error 2
> >
> > Make xconfig seems to run normally but when I try to build the
> > modules, I get:
> >
> >  make dep;make clean bzImage modules modules_install
> > make: *** No rule to make target `scripts/mkdep.c', needed by
> > `scripts/mkdep'.  Stop.
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > rm -f tools/build
> > rm -f setup bootsect zImage compressed/vmlinux.out
> > rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
> > make[2]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > rm -f vmlinux bvmlinux _tmp_*
> > make[2]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot/compressed'
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/arch/i386/boot'
> > find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \)
> > -type f -print \
> >
> > | grep -v lxdialog/ | xargs rm -f
> >
> > rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map
> > .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c
> > drivers/char/conmakehash drivers/char/drm/*-mod.c
> > drivers/pci/devlist.h drivers/pci/classlist.h
> > drivers/pci/gen-devlist drivers/zorro/devlist.h
> > drivers/zorro/gen-devlist
> > drivers/sound/bin2hex drivers/sound/hex2hex
> > drivers/atm/fore200e_mkfirm
> > drivers/atm/{pca,sba}*{.bin,.bin1,.bin2}
> > drivers/scsi/aic7xxx/aicasm/aicasm
> > drivers/scsi/aic7xxx/aicasm/aicasm_gram.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_gram.h
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.h
> > drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.c
> > drivers/scsi/aic7xxx/aicasm/aicasm_scan.c
> > drivers/scsi/aic7xxx/aicasm/aicdb.h
> > drivers/scsi/aic7xxx/aicasm/y.tab.h drivers/scsi/53c700_d.h
> > net/khttpd/make_times_h net/khttpd/times.h submenu*
> > rm -rf modules
> > make -C Documentation/DocBook clean
> > make[1]: Entering directory
> > `/usr/src/linux-2.4.20-gentoo-r1/Documentation/DocBook'
> > rm -f core *~
> > rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml
> > kernel-api.sgml parportbook.sgml kernel-hacking.sgml
> > kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml
> > deviceiobook.sgml procfs-guide.sgml tulip-user.sgml
> > journal-api.sgml rm -f  wanbook.dvi  z8530book.dvi  mcabook.dvi 
> > videobook.dvi kernel-api.dvi  parportbook.dvi  kernel-hacking.dvi
> > kernel-locking.dvi  via-audio.dvi  mousedrivers.dvi  sis900.dvi
> > deviceiobook.dvi  procfs-guide.dvi  tulip-user.dvi  journal-api.dvi
> > wanbook.aux  z8530book.aux  mcabook.aux  videobook.aux
> > kernel-api.aux  parportbook.aux  kernel-hacking.aux
> > kernel-locking.aux  via-audio.aux  mousedrivers.aux  sis900.aux
> > deviceiobook.aux  procfs-guide.aux  tulip-user.aux  journal-api.aux
> > wanbook.tex  z8530book.tex  mcabook.tex  videobook.tex
> > kernel-api.tex  parportbook.tex  kernel-hacking.tex
> > kernel-locking.tex  via-audio.tex  mousedrivers.tex  sis900.tex
> > deviceiobook.tex  procfs-guide.tex  tulip-user.tex  journal-api.tex
> > wanbook.log  z8530book.log  mcabook.log  videobook.log
> > kernel-api.log  parportbook.log  kernel-hacking.log
> > kernel-locking.log  via-audio.log  mousedrivers.log  sis900.log
> > deviceiobook.log  procfs-guide.log  tulip-user.log  journal-api.log
> > wanbook.out  z8530book.out  mcabook.out  videobook.out
> > kernel-api.out  parportbook.out  kernel-hacking.out
> > kernel-locking.out  via-audio.out  mousedrivers.out  sis900.out
> > deviceiobook.out  procfs-guide.out  tulip-user.out  journal-api.out
> > rm -f  parport-share.png  parport-multi.png  parport-structure.png
> > parport-share.eps  parport-multi.eps  parport-structure.eps
> > rm -f procfs_example.sgml
> > make[1]: Leaving directory
> > `/usr/src/linux-2.4.20-gentoo-r1/Documentation/DocBook'
> > make: *** No rule to make target `init/main.c', needed by
> > `init/main.o'.  Stop.
> >
> > Please help. I'm about to dash a new scanner to pieces.

Re: [gentoo-user] Adding a dir to perl's library path

2003-08-17 Thread Pat Kerwan


On Sun, Aug 17, 2003 at 09:18:29PM +, Mark Fisher wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Not strictly Gentoo related, but while attempting to emerge mod_php, 
> app-text/sablotron-0.97 is being installed as a dependancy.  Its compilation 
> is failing as portage is unable to find a specific perl lib, running 'perl 
> - -V' shows that the actual location of the lib isnt listed [ 
> /usr/lib/perl5/site_perl/5.8.0/i586-linux ].
> 
> Is there a way of easily adding the dir to the @INC path that doesnt invlolve 
> re-compiling perl?

You could set the PERLLIB (or PERL5LIB) environment variable to
include the directory.

See 'man perlrun' for details.

- PK

> - -- 
>   Mark
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQE/P/EpzrmqzOOQUj8RAvVqAJoCrlMcRmxkG3R3t69I8I1Dwt+9XgCdF2Yw
> Zs7EjX8C7g4cEm3SPNY030Q=
> =r/Mk
> -END PGP SIGNATURE-
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I can't change X resolution

2003-08-14 Thread Pat Kerwan


On Sat, Aug 09, 2003 at 08:17:33PM +0200, Eduardo Alaminos wrote:
> Hi.
> 
> I'll be very concise (English is not my native languaje).
> 
> I just install Gentoo 1.4 Pentium4, and...
> 
> 1) I want to run XFree86 4.3.0r2, at: 1024 x 769 x 16 bpp 85 Hz, 
> but X start at 1400 x 1050 x 8 bpp (from "Info Center")
> I run kXconfig to change that, it put a "ModeLine 1024x768/85Hz..." in 
> "/etc/X11/XF86Config" but nothing has changed.
> 

My setup is a little different from yours.  I'm not an XFree guru, so
I can't say for sure whether or not the differnce is important, but if
nothing else it's worth a shot.

The ModeLine doesn't appear in my "Monitor" section of in my
XF86Config.  Instead, they're set up in the "Screen" section, as
follows:

Section "Screen"
...
DefaultDepth 16
...
SubSection "Display"
Depth   16
Modes   "1024x768" ...
ViewPort0 0
EndSubsection
...
EndSection

Unfortunately, I'm not sure how to specify the refresh rate.  I just
told XF86Config the legal ranges for HorizSync and VertRefresh on my
monitor, and was happy enough with the results to not bother further.

However, I'm sure someone in this list can fill in that particular blank.

- PK

> 2) When Ctrl+Alt+BackSpace, to shut down X server  and go back to console, I 
> only get a black sreen. May be because I am using Frame Buffer?
> 
> 3) I want to use the mouse's wheel with konqueror, I put: 
>   Option "ZAxisMapping"  "4 5"
> but doesn't work.
> 
> Thank's in advance.
> 
> -- FYI ---
> 
> My graphics Card is a: Ati Radeon 7200 (Radeon R100 QD)
> 
> My "/etc/X11/XF86Config" is:
> 
> Section "ServerLayout"
>   Identifier "XFree86 Configured"
>   Screen  0  "Screen0" 0 0
>   InputDevice"Mouse0" "CorePointer"
>   InputDevice"Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>   RgbPath  "/usr/X11R6/lib/X11/rgb"
>   ModulePath   "/usr/X11R6/lib/modules"
>   FontPath "/usr/X11R6/lib/X11/fonts/misc/"
>   FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
>   FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
>   FontPath "/usr/X11R6/lib/X11/fonts/CID/"
>   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
>   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
> EndSection
> 
> Section "Module"
>   Load  "record"
>   Load  "extmod"
>   Load  "dbe"
>   Load  "dri"
>   Load  "glx"
>   Load  "xtrap"
>   Load  "type1"
>   Load  "speedo"
> EndSection
> 
> Section "InputDevice"
>   Identifier  "Keyboard0"
>   Driver  "keyboard"
>   Option "XkbModel" "pc105"
>   Option "XkbLayout" "es"
> EndSection
> 
> Section "InputDevice"
>   Identifier  "Mouse0"
>   Driver  "mouse"
>   Option  "Protocol" "PS/2"
>   Option  "Device" "/dev/psaux"
>   Option "ZAxisMapping" "4 5"
> EndSection
> 
> Section "Monitor"
>   #DisplaySize  330   250 # mm
>   Identifier   "Monitor0"
>   VendorName   "HTC"
>   ModelName"CM615"
>   Option  "DPMS"
>   ModeLine   "1024x768/85Hz" 98.9 1024 1056 1216 1408 768 782 788 822  -HSync 
> -VSync
> EndSection
> 
> Section "Device"
> ### Available Driver options are:-
> ### Values: : integer, : float, : "True"/"False",
> ### : "String", : " Hz/kHz/MHz"
> ### [arg]: arg optional
> #Option "NoAccel" # []
> #Option "SWcursor"# []
> #Option "Dac6Bit" # []
> #Option "Dac8Bit" # []
> #Option "ForcePCIMode"# []
> #Option "CPPIOMode"   # []
> #Option "CPusecTimeout"   # 
> #Option "AGPMode" # 
> #Option "AGPFastWrite"# []
> #Option "AGPSize" # 
> #Option "RingSize"# 
> #Option "BufferSize"  # 
> #Option "EnableDepthMoves"# []
> #Option "EnablePageFlip"  # []
> #Option "NoBackBuffer"# []
> #Option "DRIReinit"   # []
> #Option "PanelOff"# []
> #Option "DDCMode" # []
> #Option "MonitorLayout"   # []
> #Option "IgnoreEDID"  # []
> #Option "OverlayOnCRTC2"  # []
> #Option "CloneMode"   # []
> #Option "CloneHSync"  # []
> #Option "CloneVRefresh"   # []
> #Option "UseFBDev"# []
> #Option "VideoKey"# 
>   Identifier  "Card0"
> Driver  "ati"
> VendorName  "Generic"
> BoardName   "ati"
> EndSection
> 
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"

Re: [gentoo-user] posting a useful bug to bugzilla

2003-08-14 Thread Pat Kerwan


On Mon, Aug 11, 2003 at 06:42:35PM -0400, gabriel wrote:
> On August 11, 2003 10:01 am, Renat Golubchyk wrote:
> > nostrip tells portage not to strip the binaries after compilation. The
> > binaries remain bigger in size but they also have the symbols in them (like
> > debugging symbols). After stripping the binaries become smaller, sometimes
> > even 3 or 4 times smaller. Stripping is as far as I know safe, so nothing
> > gets broken. See man strip.
> 
> you mentioned that this feature can enlarge a binary...  does this mean i'll 
> take a performance hit?  i only ask 'cause if this is not the case, i'll 
> recompile everything i have with these options...
> 

No.  The binary simply contains additional data that is used by
debuggers so it will know where to find variables, functions, and map
instruction addresses to file and line number (or the other way
around), and things of that nature.

The executable does not need any of this information, which is why it
can be stripped.

- PK

> -- 
> money never made a man happy yet, nor will it.  there is nothing in its nature 
> to produce happiness.  the more a man has, the more he wants.  instead of 
> filling a vacuum, it makes one.
>   - ben franklin
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] process refuses to die

2003-07-31 Thread Pat Kerwan


On Thu, Jul 31, 2003 at 03:05:58AM +, Simon Mushi wrote:
> Hi all,
> 
> I just wanted to ask what to do if a process refuses to die. For example I
> want to kill dctc with a pid of 16371. So I type in "kill 16371" and I can
> do this continually and the process refuses to die and still shows up in
> top.
> 

Try:

$ kill -9 16371

That should kill it -- unless you don't have the right permissions.

- PK

> What can I do to kill it for real?
> 
> Thx,
> 
> Simon
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Minimal Gentoo install

2003-07-28 Thread Pat Kerwan


On Mon, Jul 28, 2003 at 11:58:21AM -0400, Prabhat Gupta wrote:
> Hi Vano,
> 
> Can you give me little more detail on the procedure. Here is my 
> understanding:
> 
> 1. Untar the stagex in   /xxx/slow/  on fast machine
> 
> 2. chroot  /xxx/slow  /bin/bash
> 
> 3. make changes to make.conf
> 
> 4. bootstrap
> 
> 5. emerge kernel sources
> 
> 6. compile kernel
> 
> 7. emerge XFree
> 
> 8.  emerge kde-base
> 

9. Tar up /xxx/slow

>From here, you have a few options:

10. Take the HD from slow machine to fast machine

11. mount the root partition to /mnt/gentoo

12. mount the boot partition to /mnt/gentoo/boot

13. copy the tarball to /mnt/gentoo

14. cd to /mnt/gentoo and untar it

15. chroot to /mnt/gentoo

16. Install grub/lilo

Alternately, you could take the fast machine's HD to slow machine.

Lastly, if you have NFS set up on your fast machine, you could:

10. Export /xxx/slow with NFS

11. Boot slow machine with the Live CD

12. Set up the /mnt/gentoo and /mnt/gentoo/boot mount points as usual

13. mount the NFS share to /mnt/slow

14. copy tarball from /mnt/slow to /mnt/gentoo

15. cd to /mnt/gentoo and untar it

16. chroot to /mnt/gentoo

17. Install grub/lilo

- PK

> 9. Go to slow machine
> 
> 10.  WHAT NEXT ??  The slow machine has a swap parition and a ROOT 
> parition. I have not used rsync.  How to boot the slow machine?
> 
> 
> Thanks for your help
> Prabhat
> 
> 
> Vano D wrote:
> 
> >On Fri, 2003-07-25 at 18:01, Prabhat Gupta wrote:
> >
> > 
> >
> >>>You'll be lucky to get XFree and KDE compiled and configured on those 
> >>>old machines within 24 hours even if you have no problems.
> >>>
> >>>Puggy
> >>>
> >>>
> >>>
> >>> 
> >>>
> >>:(( ~ ~ ~
> >>
> >>   
> >>
> >
> >What is wrong with compiling your system under chroot in a fast box and
> >then rsync -a it to your slower machine? I have also tarred whole system
> >and transferred them to slower machines.. all ok
> >
> >You basically untar the stagex file to a dir on the fast machine, set
> >the compile flags in /etc/make.conf so it is a pentium, bootstrap it,
> >emerge whatever you want and even configure the whole thing, then chroot
> >out of the dir, either use rsync -a to copy the system dir to the / of
> >the slow machine, or use tar to create a tarball or tar it over the
> >network.
> >
> >Cheers,
> >
> > 
> >
> 
> -- 
> P r a b h a t  G u p t a 
> /\/\*
> 
> Senior Software Engineer
> Alternative System Concepts, Inc.
> www.ascinc.com
> 22 Haverhill Road
> Windham, NH 03087
> 
> Phone: (603) 437-2234  (o)
> 
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Perl question

2003-07-13 Thread Pat Kerwan


On Sun, Jul 13, 2003 at 03:16:20AM -0500, Andrew Gaffney wrote:
> I'm writing a Perl program to uninstall a whole package tree, such as 
> KDE or Gnome. Here's my code so far:
> 
> 
> #! /usr/bin/perl
> 
> 
> my @pkgs, $line;
> 
> 
> open QUERY, "emerge --nospinner -ep gnome |";
> foreach $line () {
>   $line =~ s/\[.+\] (.+)  /$1/;
>   chomp $line;
>   print "${line}\n";
> #  $line =~ /(.+)\/(.+)-(\d.+)/;
>   push @pkgs, $line;
> }
> close QUERY;
> 
> foreach $line (@pkgs) {
>   print "This is a package: $line\n";
> }
> 
> When I try to access @pkgs after this, there is no data in it. It prints 
> 'This is a package: ' once and exits with no error. I know its getting 
> the data correctly, because it prints a list of all the packages on the 
> screen. What am I doing wrong?
> 

Try changing the QUERY loop as follows:

-   foreach $line () {
+   while( $line =  ) {

- PK

> -- 
> Andrew Gaffney
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] config files in /etc need updating

2003-06-25 Thread Pat Kerwan


On Wed, Jun 25, 2003 at 04:14:37PM -0700, G?zim Hoxha wrote:
> [snip]
> I did that and the output was this:
> root#
> 56c56
> < ServerAdmin [EMAIL PROTECTED]
> ---
> > #ServerAdmin [EMAIL PROTECTED]
> 166c166
> < LogLevel debug2
> ---
> > LogLevel info
> 477c477
> < BrowseAddress @IF(eth0)
> ---
> > #BrowseAddress @IF(name)
> root#
> 
> Now I have a few question:
> 1.) What does the number mean [at diff]?

The numbers indicates the point at which where the two files diverge.
So the first one (56c56) indicates that line 56 in each file differs.

NOTE: the 'c' indicates a change, there are other letters for
different types of changes.  You should take a look at the diff man
page for details

> 2.) What do < and > mean ?

Assuming you're doing

# diff FILE-A FILE-B

'<' indicates the contents of FILE-A
'>' indicates the contents of FILE-B

note: when running etc-update, the diff it shows you is FILE-A is the
original (your version), FILE-B is the update (which you downloaded
when you emerged).

> 3.) What does the broken line mean ?

By this I assume you mean the "---".  This is just a separator between
the two versions of the changed part of the file.

> 4.) How would I fix this cupsd.conf thing?
> 

In this particular case, it looks like there aren't any important
changes (unless you want to change the LogLevel setting), so you could
just delete the change.  This should be in the list of choices
etc-update gives you.

- PK

> Thank you,
> 
> ZiM
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Failing library

2003-06-21 Thread Pat Kerwan


On Sat, Jun 21, 2003 at 12:57:35PM +, Christopher Egner wrote:
> Hey guys, I'm working with an api that has a pretty tight NDA on it.
> Right now, I'm getting an error something like whats below. I can't give
> you actual filenames or anything because of the NDA. However, I don't
> have sources for the libraries, so I'm not sure I can figure this one
> out on my own. The error I'm getting
> 
> ../lib/fil.a(fil.o)(.text+0x1dc1):/hidden-dir/somefile.cpp:396:
> undefined reference to `__throw'
> 
> Now this looks to me like a throw catch situation. However, is there
> some library that is supposed to be linked against?
> 

Are you linking with libstdc++.a?  If not, you probably should be.

If you are, try compiling and linking the attached sample program as
follows:

gcc -lstdc++ -o catch-throw catch-throw.cpp

If it doesn't link, than you probably have some sort of GCC
configuration problem.  If it does work, you should run this problem
by the developers of the library.  They may have compiled it with an
incompatible version of GCC, or there could be some other problem.

- PK

> 
> --
> [EMAIL PROTECTED] mailing list
#include 
#include 

int
main()
{
  char *ptr;

  try {
ptr = new char[40];
std::cout << "success.\n";
delete [] ptr;
  }
  catch (std::bad_alloc) {
std::cout << "caught exception: bad_alloc.\n";
throw;
  }
}

--
[EMAIL PROTECTED] mailing list

Re: [gentoo-user] Permissions

2003-06-17 Thread Pat Kerwan


On Tue, Jun 17, 2003 at 09:04:53PM +0200, Jean Magnan de Bornier wrote:
> [snip]
> 2/ Also I tried "crontab -e", and it was a root permission (I did not
> investigate more), but cannot users have their own crontab (I used to have
> that with debian btw)?

If you're using Vixie Cron, there's a couple of things you may want to
try:

1) Add your user to the cron group.

2) Add users who can run cron jobs to /etc/cron.allow -- you can also
   prevent certain users from running cron jobs by adding them to
   /etc/cron.deny.

I'm not sure whether or not this applies to other cron daemons.  If
not, man crontab will probably tell you all you need to know.

- PK

> Thanks,
> 
> -- 
> Jean Magnan de Bornier
> 3 Cours Victor Hugo, 13980 Alleins   France
> Tel: 04 90 59 33 94Port: 06 09 17 35 87
> m?l: jm.bornier*at*free.fr
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] shell colors

2003-06-16 Thread Pat Kerwan


On Mon, Jun 16, 2003 at 11:14:07PM -0700, G?zim Hoxha wrote:
> Hello,
> 
> I want to be able to see different colours for
> different file types when I type ?ls? in Konsole
> without having to do ls --colors in order to get that.
> 

One way to do it is create the following alias in your .bashrc file:

alias ls="ls --color=auto"

- PK

> 
> And is it possible to link a file (e.g. /bin/galeon)
> to another file with a flag (e.g. /bin/mozilla -n), so
> then when I type ?galeon? it?s like typing ?mozilla
> -n?.
> 
> Note: those examples were just something crazy, so
> don?t worry about them being logically correct.
> 
> Thanks,
> Zim
> 
> __
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problems setting up i855gm with xfree -- color depthand resolution.

2003-06-15 Thread Pat Kerwan


On Sun, Jun 15, 2003 at 02:47:50PM -0400, Jon Fox wrote:
> I'm trying to set up my Dell D400 and am fighting the Intel 855GM
> chipset video in this little guy... I can get xfree to recognize the
> card, and it even says it has gobbled up the requested memory.
> However everytime I tell it I want Mode "1024x768" and Depth 16 it 
> comes back with no screens found. If I use the snippet below it gives me
> 16bpp but -ahem- in 640x480 mode. 
> 
> Anybody fought this battle before?
> -- Jon/mycr0ft
> 
> Section "Device"
> Identifier  "Card0"
>   Driver  "i810"
>   VendorName  "Intel Corp."
>   BoardName   "852GM/852GME/855GM/855GME Chipset Graphics Controller"
>   ChipSet "852GM/855GM"
>   BusID   "PCI:0:2:0"
>   VideoRam131072 
> EndSection
> 
> Section "Screen"
>   Identifier "Screen0"
>   Device "Card0"
>   Monitor"Monitor0"
>   DefaultDepth16
>   SubSection "Display"
>   Depth 16
>   EndSubSection
>   SubSection "Display"
>   Depth 24
>   EndSubSection
> EndSection
> 

Try adding a Modes line to the Display subsections.  For example:

Modes   "1024x768" "800x600" "640x480"

note: the first mode in the list is the default, and you can switch to
one of the others from the list -- but I don't remember exactly how,
as I never use this ability.

- PK

> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Auctex unknown in emacs

2003-06-11 Thread Pat Kerwan


On Thu, Jun 12, 2003 at 07:21:21AM +0200, Jean Magnan de Bornier wrote:
> Hello all,
> I just installed gentoo-linux, and find it great. But I have (of course)
> several problems.
> The first one is that I installed emacs, tetex and auctex, but emacs does
> not know of auctex: typing 'M-x auctex' gets me the answer: no match. 
> Any hint?

emerge app-emacs/auctex

- PK

> Thanks
> -- 
> Jean Magnan de Bornier
> 3 Cours Victor Hugo, 13980 Alleins   France
> Tel: 04 90 59 33 94Port: 06 09 17 35 87
> m?l: jm.bornier*at*free.fr
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ls -l shortcut ll

2003-06-05 Thread Pat Kerwan


On Fri, Jun 06, 2003 at 02:47:34PM +1000, blade- wrote:
> Hi all,
> 
> In mandrake and other distros? typing ll will produce the same as ls -l
> same as l is ls, that was easy by doing ln -s /bin/ls /bin/l
> but I cant work out how to to ls -l
> 
> I know its lazy but I became accustomed to it.
> 

Add the following to your .bashrc file:

alias ll="ls -l"

- PK

> 
> Regards
> 
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Fetchmail Problem Help Needed

2003-03-19 Thread Pat Kerwan
Do you have an SMTP server running on your machine?  By default,
fetchmail will try to deliver to the local SMTP server.  If you don't,
you could try using procmail as described in sections 2 and 3 of:

http://www.gentoo.org/doc/en/guide-to-mutt.xml

This is what I'm doing, and it works well.

- PK

On Wed, Mar 19, 2003 at 11:48:59AM -0800, ralphdewitt wrote:
> Hi All:
> When I
> run fetchmailconf to test it does a IMAP conection to my isp's pop server 
> and 
> it sees
> the messages, it then attempts to fetch message one, then errors with:
> 
> SMTP connect to localhost failed
> IMAP> A0008 LOGOUT
> IMAP< )
> IMAP< A0007 OK completed
> IMAP< +BYE Communigate Pro IMAP closing connection
> IMAP< A0008 OK completed
> SMTP transaction error while fetching from pop.charter.net
> 6.2.1 querying pop.charter.net (protocol IMAP) at Tue Mar 18 23:48:32 
> 2003: poll competed
> Query status=10 (SMTP)
> normal termination, status 10
> 
> This is the Fetchmail configuration file created by Fetchmailconf run as 
> urser :
> 
> # Configuration created Tue Mar 18 20:47:10 2003 by fetchmailconf
> set postmaster "ralph"
> set bouncemail
> set no spambounce
> set properties ""
> set daemon 5
> poll pop.charter.net with proto IMAP
>user 'ralphdewitt' there with password 'xx' is 
> 'ralphdewitt' 
> here
> 
> What am I missing that it can not deliver to Localhost. Can You help to 
> clear up this problem.
> 
> 
> Ralph
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Sound problems.

2003-03-11 Thread Pat Kerwan
Thanks for the suggestion.  After setting up ALSA (and following your
suggestion that I 'unmute everything and crank the volume') I can play
sounds using aplay.

However, Gnome still can't play sounds.  I have alsa support in my USE
line in make.conf.

Any ideas?

- PK

Lee Harr wrote:
> 
> >I just installed Gentoo 1.4 rc1, and I'm having
> >trouble getting sound to
> >work.
> 
> Hi;
> 
> You do not mention if you used the gentoo user
> docs guide to ALSA configuration.
> 
> http://www.gentoo.org/main/en/docs.xml#top
> http://www.gentoo.org/doc/en/alsa-guide.xml
> 
> I have the same chip (the much dreaded and imo
> rightly maligned) i810 and I got it to work
> only by following that guide word-for-word not
> skipping a thing and checking everything twice.
> 
> Also. When you are done, make sure you unmute
> everything and crank the volume. Even on the
> channels you are sure have nothing to do with
> the problem  :o)
> 
> _
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
> 
> --
> [EMAIL PROTECTED] mailing list

--
[EMAIL PROTECTED] mailing list



[gentoo-user] MAKEDEV failed [was: Sound problems].

2003-03-10 Thread Pat Kerwan
The problem appears to be MAKEDEV can not create the audio devices.  
When I ran MAKEDEV (yes, as root), it reported about 20-odd errors of
the form:

mv: can not move `mixer-' to `mixer': Operation not permitted.

An strace of MAKEDEV reveals that in all of the reported failures,
rename returns -1 EPERM (Operation not permitted).

There is no obvious reason that I can see for the failure.  /dev is not
read-only, neither are the original *- files, and the target files do
not exist.

Any idea what is going on?  Or what to do about it?

Any suggestions would be greatly appreciated.

- PK

On Mon, 2003-03-10 at 08:21, Pat Kerwan wrote:
> I just installed Gentoo 1.4 rc1, and I'm having trouble getting sound to
> work.
> 
> I'm running Linux kernel 2.4.20 (built from gentoo's kernel source),
> compiled with GCC version 3.2.2.
> 
> Running:
> 
> # modprobe i810_audio
> 
> loads (I belive) all sound modules (soundcore, ac97_codec -- in
> addition to i810_audio), and dmesg does not show any errors.
> 
> I noticed that the /dev/sound directory didn't exit, so I ran MAKEDEV,
> but it dumped a bunch of error messages like the following:
> 
> mv: can not move `mixer-' to `mixer': Operation not permitted.
> 
> Anyway, it'd be quicker to identify the devs that were created, which
> were:
> 
> /dev/sound/dsp
> /dev/sound/mixer
> 
> As a sanity check, I tried booting from my Knoppix CD, and sound works
> fine with it, so I know the card works.  If it matters, Knoppix is
> running kernel 2.4.19, compiled with GCC 2.95.4).  lsmod on Knoppix
> shows the same sound modules as it does on Gentoo, so I'm pretty sure I
> got the right modules, and that I'm not missing any.
> 
> This is where I ran out of ideas.  Any suggestions?
> 
> Thanks in advance,
> 
> - PK
> 
> --
> [EMAIL PROTECTED] mailing list
>

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Sound problems.

2003-03-10 Thread Pat Kerwan
I just installed Gentoo 1.4 rc1, and I'm having trouble getting sound to
work.

I'm running Linux kernel 2.4.20 (built from gentoo's kernel source),
compiled with GCC version 3.2.2.

Running:

# modprobe i810_audio

loads (I belive) all sound modules (soundcore, ac97_codec -- in
addition to i810_audio), and dmesg does not show any errors.

I noticed that the /dev/sound directory didn't exit, so I ran MAKEDEV,
but it dumped a bunch of error messages like the following:

mv: can not move `mixer-' to `mixer': Operation not permitted.

Anyway, it'd be quicker to identify the devs that were created, which
were:

/dev/sound/dsp
/dev/sound/mixer

As a sanity check, I tried booting from my Knoppix CD, and sound works
fine with it, so I know the card works.  If it matters, Knoppix is
running kernel 2.4.19, compiled with GCC 2.95.4).  lsmod on Knoppix
shows the same sound modules as it does on Gentoo, so I'm pretty sure I
got the right modules, and that I'm not missing any.

This is where I ran out of ideas.  Any suggestions?

Thanks in advance,

- PK

--
[EMAIL PROTECTED] mailing list