Re: [gentoo-user] Bug in Gentoo udev guide?

2005-04-06 Thread Jason Cooper
David D. Rea ([EMAIL PROTECTED]) scribbled:
 I noticed that the Gentoo udev Guide
 (http://www.gentoo.org/doc/en/udev-guide.xml) still refers to the 2.6
 kernels as being proided by gentoo-dev-sources...
 
 udev is meant to be used in combination with a 2.6 kernel (like
 development-sources or gentoo-dev-sources).
 
 I thought for 2005.0 that was changed to the main gentoo-sources kernel
 ebuild... Should I file this as a bug?

Done.

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

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



Re: [gentoo-user] emerge uD world : gtk+-2.6.4-r1 failed!

2005-04-06 Thread Jason Cooper
Bradley Serbu ([EMAIL PROTECTED]) scribbled:
 make[4]: *** [libpixbufloader-tiff.la] Error 1
 make[4]: Leaving directory 
 `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory 
 `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory 
 `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4/gdk-pixbuf'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.4-r1/work/gtk+-2.6.4'
 make: *** [all] Error 2
 
 !!! ERROR: x11-libs/gtk+-2.6.4-r1 failed.
 !!! Function src_compile, Line 84, Exitcode 2
 !!! (no error message)
 !!! If you need support, post the topmost build error, NOT this status 
 message.

Need about 20 more lines above what you got.  make is just relaying an
error message from somewhere...

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



Re: [gentoo-user] OT - Need help with sendmail

2005-04-06 Thread Jason Stubbs
On Thursday 07 April 2005 07:35, Michael Sullivan wrote:
 Through most of this morning my ISP was down, so the
 mail that I attempted to send this morning was
 deferred due to lack of an Internet connection.  Now
 that the connection is back I find that sendmail won't
 send the messages it has queued.  They just sit there
 in the queue directory.  I can send mail within my own
 domain, but not outside it.  Is there a way for me to
 force sendmail to send all the messages that were in
 the queue but have been deferred for whatever reason?

`sendmail -q` I think. The sendmail man page should cover it.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] physical location monitoring with Gentoo

2005-04-05 Thread Jason Cooper
Grant ([EMAIL PROTECTED]) scribbled:
 I'd like to keep an eye on what's going on in my warehouse.  I've got
 a solid 802.11g network going with WPA now.  What do you guys suggest?

http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

Unfortunately, not in portage.  It picked up a new lead developer in the
past 6 months or so (levarson, I think), and is stable with active
development.

You may want to keep this in mind:
Cowpatty: http://www.remote-exploit.org/?page=codes
wpa_cracker: http://www.tinypeap.com/

Personally, if I'm setting up security infra, I would go wired.  It's a
PIA to set up, but worth it in the long run.

hth,

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



Re: [gentoo-user] physical location monitoring with Gentoo

2005-04-05 Thread Jason Cooper
Grant ([EMAIL PROTECTED]) scribbled:
   I'd like to keep an eye on what's going on in my warehouse.  I've got
   a solid 802.11g network going with WPA now.  What do you guys suggest?
[snip]
  You may want to keep this in mind:
  Cowpatty: http://www.remote-exploit.org/?page=codes
  wpa_cracker: http://www.tinypeap.com/
  
  Personally, if I'm setting up security infra, I would go wired.  It's a
  PIA to set up, but worth it in the long run.
 
 WPA cracker?  That's news to me.  Is it as vulnerable as WEP now?

They are both WPA crackers, and from the looks of it so far, it is
purely dictionary-attack.  Unfortunately, I haven't had much time to
play with it yet.  I just hold onto these links till I get time... :)

So, no, WPA is not _as_ vulnerable as WEP yet.  But I wouldn't rely on
either of them.  

If your physical environment demands wireless, use one of them 
(WPA|WEP), and tunnel all your data though ssh/vpn/tor.  

just my $0.02

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



Re: [gentoo-user] Duplicate posts from John Lowelljohnlowell@ameritech.net on the Digest

2005-04-05 Thread Jason Cooper
Ciaran McCreesh ([EMAIL PROTECTED]) scribbled:
 Did I mention that vim is the pinnacle of user interface design?

Fire it up!

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



Re: [gentoo-user] KDE 3.4

2005-04-02 Thread Jason Stubbs
On Sunday 03 April 2005 00:22, David Corbin wrote:
 Any idea when kde 3.4 will be unmasked?

It's been unmasked since shortly after it was released. Unless you are 
referring to moving to stable?

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Steve ([EMAIL PROTECTED]) scribbled:
 Can anyone tell me if they've got the madwifi-drivers working under 
 Gentoo (with a 2.6 kernel)? If so - where do our approaches differ? What 
 kernel options are actually required? Do I really need all the modules 
 I've got in my autoloading (I don't care about security - the only 

Bad move.  Exposing a single port to the internet is more than enough.  I
also only expose a few ports (including ssh) to the net.  My logs are
full of knucklehead script kiddies trying to get in through ssh.  At a
minimum, disallow root login, and listen on a port other than 22.  (At
least on the net-facing side).  Also, set AllowUsers to just yourself.

btw - all those log entries were when I was listening on port 22...

 service I'll expose over this interface will be SSH - the same one as I 
 expose to the internet at large)?

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Steve ([EMAIL PROTECTED]) scribbled:
 Jason Cooper wrote:
 
 Bad move. Exposing a single port to the internet is more than enough. I
 
 also only expose a few ports (including ssh) to the net.  My logs are
 full of knucklehead script kiddies trying to get in through ssh.  At a
 minimum, disallow root login, and listen on a port other than 22.  (At
 least on the net-facing side).  Also, set AllowUsers to just yourself.
 
 btw - all those log entries were when I was listening on port 22...
  
 
 I understand your concerns - I had _exactly_ those concerns too - and 
 yes - I can see script kiddy evidence in my logs too.
 
 I've disabled remote root login - and in fact only one user can 
 authenticate via SSH - and that user can't do so using only a password.  

Yep, I do the same.

 I can't easily move to a non-standard port though (as I want to access 
 it from sites which only allow outbound connections to port 22 (don't 

Are you planning on providing https connections?  If not, most places
allow outbound port 80 and port 443 requests.  It wouldn't be hidden
from automated scans, but at least it would be the wrong scans.  :)

 ask me why!)) and in any case - I know I get port-scanned and security 
 through an obscure port number is likely to be as effective as a 
 chocolate tea-pot.  I suppose I could constrain the IP addresses of 

security through obscurity is only bad when it is the _only_ security.
However, the few hours it might buy you (on discovery of a new
vulnerability) against automated scans so you can shutdown/upgrade could
be a life-saver.  As long as it's understood that's all it's good for...

 hosts which can connect... but I'm not entirely sure that the trade-off 
 between usefulness to me and improved security makes that worthwhile...
 
 I realise I run the risk of being compromised if another exploit is 
 found in SSH - but my fingers are firmly crossed there... I'm trusting 
 for now that I can keep my keys safe and that there isn't a SSH 
 back-door... Time will tell I suppose.

A neat thing to remember is that in the event of a new vulnerability
being discovered, shutting down sshd _doesn't_ kill your current
session.  I've used that the last time the hole was discovered in
openssh.  

 I understand that I need a stringent firewall in order to make sure my 
 wireless connection can only effect connection to the SSH service.

firewall good.  script kiddie bad. :)

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Steve ([EMAIL PROTECTED]) scribbled:
 While they didn't used to be (I'd misread WAN as Wireless LAN - Doah!) 
 but they are now... However I still get a (now single) error ath_pci: 
 Unknown symbol ieee80211_ioctl - about which I'm as unclear as I was 
 about the dozens of unknown symbols I saw previously.

Here is the result of 'grep -rn ieee80211_ioctl /lib/modules/`uname -r`/'

[snip misc bs]
modules.symbols:579:alias symbol:ieee80211_ioctl wlan
[snip more misc bs]
Binary file net/ath_pci.ko matches
Binary file net/wlan.ko matches

This tells me wlan.ko provides the symbol 'ieee80211_ioctl'.  Make sure
it is the first in the list in '/etc/modules.autoload.d/kernel-2.6'.  If
you still get the error, make sure wlan.ko is in your 
'/lib/modules/`uname-r`/' and then run depmaod -ae again just in case.

hth,

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
 '/lib/modules/`uname-r`/' and then run depmaod -ae again just in case.

That should've been 'depmod -ae', sorry.

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Grant ([EMAIL PROTECTED]) scribbled:
  By any chance can you point me at documentation which explains what
  facilities are presented by ath_hal and wlan (as a previous post
  suggests these two aren't strictly necessary.)  Is it possible that
  ath_hal and wlan are loaded anyway as dependencies of ath_pci?
 
 I think that's exactly what happens.  The only module I autload is
 ath_pci and it works perfectly.

aha?  In you kernel .config, what is CONFIG_KMOD set to?  If set, it
allows the kernel to autoload modules as needed, for example, when they
are dependencies of ath_pci.ko ...  If unset, and wlan.ko isn't listed
first in /etc/modules.autoload.d/kernel-2.6, this could be the problem.

I think it's under:

Loadable Module Support - Automatic kernel module loading


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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Steve ([EMAIL PROTECTED]) scribbled:
 Jason Cooper wrote:
 
 aha? In you kernel .config, what is CONFIG_KMOD set to? If set, it
 
 allows the kernel to autoload modules as needed, for example, when they
 are dependencies of ath_pci.ko ...  If unset, and wlan.ko isn't listed
 first in /etc/modules.autoload.d/kernel-2.6, this could be the problem.
 
 I think it's under:
 
 Loadable Module Support - Automatic kernel module loading
  
 
 
 I've got that:
 # grep CONFIG_KMOD .config
 CONFIG_KMOD=y
 
 Which I suppose explains why wlan and ath_hal seem to be loaded for me 
 without an explicit inclusion.

damn.  I suppose you could try re-merging madwifi... I'm running out of
ideas.  If you decide to do that, make sure the currently running kernel
is the same one /usr/src/linux points to.  

What was the output of:

# grep -rn ieee80211_ioctl /lib/modules/`uname -r`

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



Re: [gentoo-user] MADWIFI driver...

2005-04-02 Thread Jason Cooper
Steve ([EMAIL PROTECTED]) scribbled:
 Jason Cooper wrote:
 Steve ([EMAIL PROTECTED]) scribbled:
 While they didn't used to be (I'd misread WAN as Wireless LAN - Doah!) 
 but they are now... However I still get a (now single) error ath_pci: 
 Unknown symbol ieee80211_ioctl - about which I'm as unclear as I was 
 about the dozens of unknown symbols I saw previously.

 
 Here is the result of 'grep -rn ieee80211_ioctl /lib/modules/`uname -r`/'
 
 [snip misc bs]
 modules.symbols:579:alias symbol:ieee80211_ioctl wlan
 [snip more misc bs]
 Binary file net/ath_pci.ko matches
 Binary file net/wlan.ko matches
  
 
 OK... this seems to be relevant...
 --
 # grep -rn ieee80211_ioctl /lib/modules/`uname -r`/
 Binary file /lib/modules/2.6.9-gentoo-r1/net/ath_pci.ko matches
 # locate wlan.ko

try: 

# find /lib/modules/`uname -r`/ -name wlan.ko -print

'locate' is only accurate as of the last time you updated its database.

 /lib/modules/2.6.9-gentoo-r1/net/ath_hal.ko
 # grep ieee80211_ioctl /lib/modules/2.6.9-gentoo-r1/net/wlan.ko
 # locate modules.symbols
 /lib/modules/2.6.9-gentoo-r1/modules.symbols
 # grep ieee80211_ioctl /lib/modules/2.6.9-gentoo-r1/modules.symbols
 #

 Have you any idea why youe wlan.ko matches but mine doesn't?
 My modules.symbols does mention wlan - but doesn't mention 
 ieee80211_ioctl at all.

If the find command doesn't show wlan.ko, re-merge madwifi and run
'depmod -ae'.  Otherwise, just run 'depmod -ae'.

hth,

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



Re: [gentoo-user] Keeping things clean

2005-04-02 Thread Jason Stubbs
On Sunday 03 April 2005 02:48, James wrote:
 Hi all,

 I've been running Gentoo for a week or two now, all is going well, but
 I'm using up a lot of hard disk space with all these sources I've
 downloaded and uncompressed.

 I've had a quick look in the Portage docs, but can't find anything that
 looks like a solution to this problem. So my question: is there a
 function in Portage that allows me to delete old unpacked source files
 and tarballs (e.g. emerge --[whatever]), or should I go hunt them down
 in /usr/portage... and delete them 'manually'?

There should be no unpacked sources left around other than the kernels. Failed 
builds are left behind in /var/tmp/portage. Successful builds should 
completely remove all traces from that directory now. It's safe to delete 
everything in there as long as portage isn't running though.

For distfiles, I do similar to the following:

# mv /usr/portage/distfiles /usr/portage/distfiles.old
# mkdir -p /etc/portage
# echo local /usr/portage/distfiles.old  /etc/portage/mirrors
# emerge -ef world
# rm /etc/portage/mirrors
# rm -rf /usr/portage/distfiles.old

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-02 Thread Jason Stubbs
 On Sunday 03 April 2005 03:10, John Lowell wrote:
  # For setting the default gateway
  #
  gateway=192.168.1.1

On Sunday 03 April 2005 11:34, Mike Williams wrote:
 # For setting the default gateway
 #
 #gateway=eth0/192.168.0.1
 #gateway=eth0/192.168.128.1

ie. You need the eth0/ prepending your gateway setting.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and package specific CFLAGS

2005-04-01 Thread Jason Stubbs
On Friday 01 April 2005 04:07, Ciaran McCreesh wrote:
 On Thu, 31 Mar 2005 20:46:31 +0200 Christoph Gysin [EMAIL PROTECTED]

 wrote:
 | Juergen Fiedler wrote:
 |  If you really feel the need to cram it all onto one line, you could
 |  #CFLAGS=whatever  CXXFLAGS=CFLAGS  emerge something
 |
 | without the typo and even smaller:
 | # CFLAGS=whatever  CXXFLAGS=$CFLAGS emerge something

 CFLAGS=whatever CXXFLAGS=$CFLAGS emerge fnord

 No .

Conflicting advice...

On Thursday 31 March 2005 16:46, Aaron Walker wrote:
 One thing to note though, is that your reasoning is flawed when setting
 CXXFLAGS to $CFLAGS.  CFLAGS wont be equal to whatever until after you
 hit enter, so unless CFLAGS is already set in your env, CXXFLAGS will be
 null.  If it is set in your env, CXXFLAGS will be whatever CFLAGS is in
 your env, not whatever.

/me checks which is correct.

$ CFLAGS=old
$ CFLAGS=new CXXFLAGS=$CFLAGS echo $CFLAGS - $CXXFLAGS
old -

Woah... Ciaran is wrong! First time for everything, eh? *wink, nudge*

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Host, Schmost!

2005-04-01 Thread Jason Stubbs
On Friday 01 April 2005 20:03, John Lowell wrote:
 I just completed a stage1 install from the minimal 2005.0 livecd on a box
 that will be used as a web server. I boot without incident, run ifconfig
 and get a perfectly suitable response, can ping my router successfully but,
 attempting to reach the web, get unknown host errors.

 The setup here is almost trite: Three workstations with dynamic addresses
 behind an ADSL router/switch which doubles as a dhcp server, and the
 webserver mentioned earlier with a static address outside the range
 authorized for dynamic service and with port 80 forwarded. I have
 /etc/conf.d/net with iface_eth0=192,168.1.44 Broadcast 192.168.0.255
 NetMask 255.255.255.0 and gateway enabled at 192.168.1.1. /etc/resolv.conf
 shows proper nameserver numbers.

Your broadcast address is wrong there. You also have a comma between 192 and 
168. Not sure if the capitalization matters either.

 I don't get it. The workstations all reach the web without difficulty. But
 the webserver, nothing but unknown host errors. This same machine was
 working just fine before the latest install with the very same
 configuration. Some help please.

`route -n` output on the box makes sense?

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Won't emerge -uDvp world

2005-04-01 Thread Jason Stubbs
On Friday 01 April 2005 23:02, Mike Turcotte wrote:
 Hello I am trying to upgrade my file server that was built a half to three
 quarters of a year ago using Gentoo 2004.2 GRP. I know this is really old
 and probably insecure, but it is used mainly for file sharing internally on
 my network. Anyways, I emerge synced, which went fine, but when I try to
 pretend to emerge -uDvp world to see what it's going to install, I get the
 error about missing /etc/make.profile and check symlink. What does this
 mean and what can I do about it? Are those the emerge options I should be
 using for this?

Okay. You've hit a bug in portage, which you'll side-step, and then have to 
side-step another bug in order to get you back to a supported profile. 
Assuming that you do in fact have an /etc/make.profile symlink, first create 
an empty make.defaults under it:

# touch /etc/make.profile/make.defaults

Then upgrade portage to the latest, which should be 2.0.51.19. You'll get a 
depracation notice telling you to upgrade your profile. Ignore it. So, that's 
just:

# emerge portage

Once that's done, then you can follow whatever the steps shown were to upgrade 
your profile. After that's done, you should be back in business again.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bug reporting questions

2005-04-01 Thread Jason Stubbs
On Friday 01 April 2005 22:49, Leo wrote:
 Hi.

 I'm getting an error with sys-libs/glibc-2.3.4.20050125-r1:

 loadmsgcat.c: In function `_nl_init_domain_conv':
 ../sysdeps/i386/bits/string.h:655: error: can't find a register in class
 `GENERAL_REGS' while reloading `asm'
 make[2]: ***
 [/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i386-pc-linux-
gnu-linuxthreads/intl/loadmsgcat.os] Error 1

These lines contain all the information necessary. The first error that 
occurred, what file it occurred in and what directory that file is in. The 
rest of the information will sometimes help but it is quite rare in my 
experience.

 I define
 $ARCH='~x86'

Are you sure you don't mean ACCEPT_KEYWORDS? You should not be touching the 
ARCH variable at all. If you are, it could quite realistically be causing 
your issue.

 What product do I select when reporting this bug on Gentoo bugzilla?
 Should I just send an email directly to the glibc maintainer?

You should just follow what it tells you, ie Gentoo Linux.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless redux

2005-03-31 Thread Jason Cooper
Ed Jabbour ([EMAIL PROTECTED]) scribbled:
 On Thursday 31 March 2005 08:33 am, Jason Cooper wrote:
  Ed Jabbour ([EMAIL PROTECTED]) scribbled:
   After days of wrangling with /etc/wireless, I got it -- almost.  One
   problem remains.  At boot, wlan0 sets up fine, but then dhcpcd fails,
   returning that dhcpcd is already running on wlan0.  Once booted, I
   must
   remove /var/run/dhcpcd-wlan0.pid and then run dhcpcd.  I can't seem to
   find what in the wirelss script is causing this and can't think of where
   else to look.   Any advice appreciated.  Thanks.
 
  It sounds like net.wlan0 isn't being shutdown cleanly.  When you
  shutdown do you see wlan0 being brought down?  That is when that pid
  lock file would be removed.
 
  Try shutting down net.wlan0 manually (/etc/init.d/net.wlan0 stop) and
  either restart it or reboot.  Do you get the same error?
 
 Nope.  Shutting down manually:
 
 [Thu Mar 31] root:/etc/conf.d$ /etc/init.d/net.wlan0 stop
  * Unmounting network filesystems ...[ ok ]
  * Unmounting NFS filesystems ...   [ ok ]
  * Stopping NFS statd ...  [ ok ]
  * Stopping portmap ...[ ok ]
  * Stopping wlan0 
  *Bringing down wlan0
  *   Stopping dhcpcd on wlan0 ... [ ok ]
  *   Shutting down wlan0 ... [ ok ]
 
 Starting:
 
 Thu Mar 31] root:/etc/conf.d$ /etc/init.d/net.wlan0 start
  * Starting wlan0
  *Configuring wireless network for wlan0
  *   wlan0 connected to Arachne at 
  *   in managed mode (WEP enabled - restricted)
  *Bringing up wlan0
  *   dhcp
  *  Running dhcpcd ...   [ ok ]
  *  wlan0 received address 192.168.1.5
  
 Then, at shutdown, everything, including dhcpcd, flits by the screen as in 
 the stop stuff above.  However, reboot delivers the same dhcpcd already 
 running.  It is a conundrum.

Well, one of two things is happening.  

1.) net.wlan0 isn't being called during shutdown. Doubtful.
2.) net.wlan0 is called, but errors out before killing dhcpcd.

If it's erroring out during shutdown, assuming your syslog daemon hasn't
been killed yet, there should be an 'rc-scripts' error message in your
logs regarding unable to bring down wlan0.

Take a look and see if there is anything there.

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



[gentoo-user] emerge wget failed - help

2005-03-29 Thread JASON JESSO
I am trying an emerge on wget.  I get a compile error:

In file included from ftp.c:52:
ftp.h:81: error: parse error before numeric constant
make[1]: *** [ftp.o] Error 1
cd po  make CC='i686-pc-linux-gnu-gcc' CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\/etc/wget/wgetrc\
-DLOCALEDIR=\/usr/share/locale\' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: *** Waiting for unfinished jobs
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/po'
cd util  make CC='i686-pc-linux-gnu-gcc' CPPFLAGS=''
DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\/etc/wget/wgetrc\
-DLOCALEDIR=\/usr/share/locale\' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/util'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/util'
cd windows  make CC='i686-pc-linux-gnu-gcc'
CPPFLAGS='' DEFS='-DHAVE_CONFIG_H
-DSYSTEM_WGETRC=\/etc/wget/wgetrc\
-DLOCALEDIR=\/usr/share/locale\' CFLAGS='-O2
-march=pentium3 -fomit-frame-pointer
-I/usr/include/openssl' LDFLAGS='' LIBS='-lssl
-lcrypto -ldl ' prefix='/usr' exec_prefix='/usr'
bindir='/usr/bin' infodir='/usr/share/info'
mandir='/usr/share/man' manext='1'
make[1]: Entering directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/windows'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/windows'
make[1]: Leaving directory
`/var/tmp/portage/wget-1.9.1-r3/work/wget-1.9.1/src'
make: *** [src] Error 2

!!! ERROR: net-misc/wget-1.9.1-r3 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error,
NOT this status message.

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] emerge wget failed - help

2005-03-29 Thread JASON JESSO
OK..  That was my hunch and I am hunting also.

I also downloaded the tar file from GNU and get the
same error.

GETALL is the culprit.  But why am I the only one
tripping on this?

[EMAIL PROTECTED] wget-1.9.1 $ find /usr/include/ -name
'*.h' -exec grep -l GETALL {} \;
/usr/include/linux/sem.h
/usr/include/bits/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ cksum
/usr/include/bits/sem.h
1741411475 2648 /usr/include/bits/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ cksum
/usr/include/linux/sem.h
851410447 5038 /usr/include/linux/sem.h
[EMAIL PROTECTED] wget-1.9.1 $ 


--- Dave Nebinger [EMAIL PROTECTED] wrote:
  I am trying an emerge on wget.  I get a compile
 error:
  
  In file included from ftp.c:52:
  ftp.h:81: error: parse error before numeric
 constant
  make[1]: *** [ftp.o] Error 1
 
 Jason, wget-1.9.1-r3 builds fine on my system. 
 Perhaps you could send the
 output from a few lines before this error rather
 than the ones following it?
 
 The line in ftp.h (81) is an enum construct where
 several symbolic names are
 used to represent constant values.  I'm not sure
 where the values are
 located (i.e. a system include file or a local
 include file), but I'm
 hunting...
 
 
 
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strip

2005-03-29 Thread Jason Cooper
A. Khattri ([EMAIL PROTECTED]) scribbled:
 On Tue, 29 Mar 2005, Nick Rout wrote:
 
  perhaps we need per package feature via an addition to /etc/portage
  - /etc/portage/package.features with a line like:
 
  app-misc/foo nostrip
 
 Sounds like a good idea to me...

Apparently, not everyone agrees:

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

Though, I think USE flags were originally supposed to be global-only as
well...

just my $0.02

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



Re: [gentoo-user] Wireless went kaboom

2005-03-29 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
 Jason Cooper ([EMAIL PROTECTED]) scribbled:
  Stroller ([EMAIL PROTECTED]) scribbled:
   
   On Mar 27, 2005, at 8:24 pm, Jason Cooper wrote:
   
   /etc/init.d/net.wlan0 start:
 Starting wlan0
 Configuring wireless network for wlan0
 Couldn't associate with any access points on wlan0
 Failed to configure wireless for wlan0
   
   I've recently had the same trouble with gentoo's init scripts, hence,
   the above command.
   
   Have you tried reporting it as a bug? Uberlord is making quite active 
   development on the next generation network configuration at the 
   moment.
  
  shame :(
  
  I'll admit, I had thought about it as I wrote it.  When I encountered
  the problem last night, I thought it was just an out-lier.  I run into 
  that *alot* because I can't leave well enough alone :)  However, it
  would appear my case is not an out-lier. 
  
  I'll check bugzilla to see if anyone else has reported it...
 
 http://bugs.gentoo.org/show_bug.cgi?id=86904
 
 Couldn't find anything similar, so I started a new one.

The fix is in tweaking '/etc/conf.d/wireless'.  See the bug mentioned
above for the solution.  The nature of the problem for me was that I
wasn't broadcasting my ssid.  

hth,

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



Re: [gentoo-user] emerge system = many automakes

2005-03-28 Thread Jason Cooper
Dave Nebinger ([EMAIL PROTECTED]) scribbled:
[snip]
 They don't take up that much space and ensure the system builds properly, so
 don't worry about them.

Don't look behind the curtain, there's nothing to see here.  ;-)

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



Re: [gentoo-user] OT: Quick perl question

2005-03-28 Thread Jason Cooper
Jonathan Nichols ([EMAIL PROTECTED]) scribbled:
 (Note: I suck at Perl.)
 
 I have a script. it's a simple script.
 
 #!/usr/bin/perl
 $file = foo.txt;
 systemwget http://clutter.pbp.net/~jnichols/foo.txt; || die Couldn't 
 get $file;
 
 Currently foo.txt doesn't exist. It'll return a 404. It doesn't die 
 with the error message above. Basically, I need wget to die and return 
 the specified error message if the result is *anything* but successful. 
 If wget gets the file, ok. If it fails to get the file for any reason, 
 barf out.

This is a trimmed down version of a sub I use for system calls:

#
$command = 'wget http://clutter.pbp.net/~jnichols/foo.txt';
   system($command) == 0
  or die system $command failed: $?;
   if ($? == -1) {
   print failed to execute: $!\n;
   }
   elsif ($?  127) {
   printf child died with signal %d, %s coredump\n,
   ($?  127),  ($?  128) ? 'with' : 'without';
   }
#

It should work for your situation.  I think I got it out of one of the
O'Reilly books.

hth,

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



Re: [gentoo-user] OT: Quick perl question

2005-03-28 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
 Jonathan Nichols ([EMAIL PROTECTED]) scribbled:
  (Note: I suck at Perl.)
  
  I have a script. it's a simple script.
  
  #!/usr/bin/perl
  $file = foo.txt;
  systemwget http://clutter.pbp.net/~jnichols/foo.txt; || die Couldn't 
  get $file;
  
  Currently foo.txt doesn't exist. It'll return a 404. It doesn't die 
  with the error message above. Basically, I need wget to die and return 
  the specified error message if the result is *anything* but successful. 
  If wget gets the file, ok. If it fails to get the file for any reason, 
  barf out.
 
 This is a trimmed down version of a sub I use for system calls:
 
 #
   $command = 'wget http://clutter.pbp.net/~jnichols/foo.txt';
system($command) == 0
   or die system $command failed: $?;
if ($? == -1) {
print failed to execute: $!\n;
}
elsif ($?  127) {
printf child died with signal %d, %s coredump\n,
($?  127),  ($?  128) ? 'with' : 'without';
}
 #
 
 It should work for your situation.  I think I got it out of one of the
 O'Reilly books.

eh, on second thought, it'll only work if wget kicks back an error.  I
would follow the path mentioned by AJK, look into http modules.
Unfortunately, I've never used them, so I'm of little help there.

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



Re: [gentoo-user] What an average gentoo user does over 6mnth period

2005-03-28 Thread Jason Cooper
David Corbin ([EMAIL PROTECTED]) scribbled:
 On Sunday 27 March 2005 07:34 pm, Nick Rout wrote:
 
  Also you don't need to update just because you can. If, for example, you
  stick to security updates, you will have far less compiling. However you
  may also miss something exciting on the leading edge.
 
 How do you identify security updates?  

# emerge -av gentoolkit

# glsa-check -l
watch it spew, or

# glsa-check -ln | egrep \[N\]

hth,

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



Re: [gentoo-user] Wireless went kaboom

2005-03-27 Thread Jason Cooper
Ed Jabbour ([EMAIL PROTECTED]) scribbled:
 It had been a long while, so I ran an emerge -uDvp world.  Now, my wireless 
 doesn't work.  I tried manual:
 
 iwconfig wlan0 essid Arachne key s: open
 
 I get: Error for wireless request Set encode (8B2A :
   SET failed on device wlan0 ; Invalid argument.
 
 iwconfig:
 IEEE 80211g  ESSID:off/any  Nickname: Arachne

I've had great success with:

# iwconfig ath0 essid MyESSIDName mode managed channel 6 enc \
0011-2233-4455-6677-8899-AABB-CC

 /etc/init.d/net.wlan0 start:
   Starting wlan0
   Configuring wireless network for wlan0
   Couldn't associate with any access points on wlan0
   Failed to configure wireless for wlan0

I've recently had the same trouble with gentoo's init scripts, hence, 
the above command.

 /etc/conf.d/wireless is unchanged from when it worked, as is /etc/conf.d/net. 
  
 The symlinks in /etc/init.d are also unchanged.I have baselayout 
 1.11.10-r4.  At boot:
 
 wlan0: ndiswrapper ethernet device mac address using driver netwg511
 wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
 
 All the ndiswrapper stuff looks OK as far as I can tell.   Any advice 
 appreciated.  Thanks.

It looks like the bug is in gentoo's initscripts...  Give the command
above a try (with your info, of course) and let us know what happens.

hth,

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



Re: [gentoo-user] Wireless went kaboom

2005-03-27 Thread Jason Cooper
Ed Jabbour ([EMAIL PROTECTED]) scribbled:
 On Sunday 27 March 2005 02:24 pm, Jason Cooper wrote:
  Ed Jabbour ([EMAIL PROTECTED]) scribbled:
   It had been a long while, so I ran an emerge -uDvp world.  Now, my
   wireless doesn't work.  I tried manual:
  
   iwconfig wlan0 essid Arachne key s: open
  
   I get: Error for wireless request Set encode (8B2A :
 SET failed on device wlan0 ; Invalid argument.
  
   iwconfig:
   IEEE 80211g  ESSID:off/any  Nickname: Arachne
 
  I've had great success with:
 
  # iwconfig ath0 essid MyESSIDName mode managed channel 6 enc \
  0011-2233-4455-6677-8899-AABB-CC
 
 [snip]
 
  It looks like the bug is in gentoo's initscripts...  Give the command
  above a try (with your info, of course) and let us know what happens.
 
 I ran what you suggested, and iwconfig now returns:
 
 IEEE 80211g  ESSID: Arachne Nickname: Arachne
 Mode: Managed  Frequency:2.462 GHz  Access Point: router mac address
 Bit Rate  . . .  etc
 
 which is a heck of a lot more than I was getting before - at least the ap is 
 recognized.  Where I go from here, though, I have no clue.

Oops, forgot that part.  Assuming your AP is running a dhcp server, all
you should have to do now is:

# dhcpcd ath0

Mine takes 10 to 30 seconds before it returns the prompt to me.  Not
sure why... Then I ping google.com for good measure.

hth,

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



Re: [gentoo-user] Wireless went kaboom

2005-03-27 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
 Stroller ([EMAIL PROTECTED]) scribbled:
  
  On Mar 27, 2005, at 8:24 pm, Jason Cooper wrote:
  
  /etc/init.d/net.wlan0 start:
Starting wlan0
Configuring wireless network for wlan0
Couldn't associate with any access points on wlan0
Failed to configure wireless for wlan0
  
  I've recently had the same trouble with gentoo's init scripts, hence,
  the above command.
  
  Have you tried reporting it as a bug? Uberlord is making quite active 
  development on the next generation network configuration at the 
  moment.
 
 shame :(
 
 I'll admit, I had thought about it as I wrote it.  When I encountered
 the problem last night, I thought it was just an out-lier.  I run into 
 that *alot* because I can't leave well enough alone :)  However, it
 would appear my case is not an out-lier. 
 
 I'll check bugzilla to see if anyone else has reported it...

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

Couldn't find anything similar, so I started a new one.

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



Re: [gentoo-user] What an average gentoo user does over 6mnth period

2005-03-27 Thread Jason Cooper
Harry Putnam ([EMAIL PROTECTED]) scribbled:
 Being a new user, I'm wanting to get an overview of what an average
 gentoo user might do or need to do over a 6mnth period.
 
 I installed 3 days ago and am still getting things setup.  Seems like
 an awfull lot of time has gone into emerging stuff I wanted installed.
 
 Now it turns out there is an update to portage and my system is
 telling me it needs to update portage and then update the already
 installed packages.  2 more huge chunks of time lost to compiling.
 
 An activity that seems so intensive that I have been reluctant to and
 doubted the advisability of installing or making configs during the
 compile process.
 
 So far I've spent a very lot of time waiting for something to finish
 emerging.   It seems like things like Mozilla take an extrordinary
 long time.  
 
 I'm wondering what a user might see over 6 mnths.   How many portage
 updates in that amount of time.  Howmany `update worlds'.

Of the 5 machines I have running gentoo, I would say on average I run
'emerge -uDav world' from every other day to once a week.  However, I
sure don't sit around and watch it.  

Typically, I'll launch the emerge, then start reading email, news, etc,
and writing code, etc while it works in the background on the same
machine.  I've never had an emerge stop me from getting work done.  

Hell, a lot of times I completely forget my CPU is pegged out running a
merge, till I flip over to that desktop to look at something, then I see
compiler messages flying by... Basically, it doesn't affect the UI at all. 

hth,

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



Re: [gentoo-user] Re: What an average gentoo user does over 6mnth period

2005-03-27 Thread Jason Cooper
Harry Putnam ([EMAIL PROTECTED]) scribbled:
 Jason Cooper [EMAIL PROTECTED] writes:
 
  Typically, I'll launch the emerge, then start reading email, news, etc,
  and writing code, etc while it works in the background on the same
  machine.  I've never had an emerge stop me from getting work done.  
 
 With an --update world running are you able to emerge packages you
 want to install? A lot of what I have to do right now involves
 installations.  I assumed that was not a wise move.

ehhh, YMMV. :)  I've done it, but held my breath while doing it.  I
assume you are refering to merging two packages simultaneously.  The
compiling won't interfere with the other, but installation could be
interesting if the two packages cross paths in some way.  Also, since
compiling sucks up 99% of CPU, both packages will take longer.

Normally, if my box is doing an '--update world' and I want to compile
my code, or merge a new package, I'll CTL-Z the '--update world'.  This
pauses it until I type 'fg' or 'bg' in the same console (forground and
background, respectively).  I've never had a paused and resumed merge
fail on me, however, I have forgotten to resume a few.  The terminal is
kind enough to remind you when you try to close it. ;-)

hth,

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



Re: [gentoo-user] Wireless went kaboom

2005-03-27 Thread Jason Cooper
Stroller ([EMAIL PROTECTED]) scribbled:
 
 On Mar 27, 2005, at 8:24 pm, Jason Cooper wrote:
 
 /etc/init.d/net.wlan0 start:
   Starting wlan0
   Configuring wireless network for wlan0
   Couldn't associate with any access points on wlan0
   Failed to configure wireless for wlan0
 
 I've recently had the same trouble with gentoo's init scripts, hence,
 the above command.
 
 Have you tried reporting it as a bug? Uberlord is making quite active 
 development on the next generation network configuration at the 
 moment.

shame :(

I'll admit, I had thought about it as I wrote it.  When I encountered
the problem last night, I thought it was just an out-lier.  I run into 
that *alot* because I can't leave well enough alone :)  However, it
would appear my case is not an out-lier. 

I'll check bugzilla to see if anyone else has reported it...

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


Re: [gentoo-user] compile error with gettext

2005-03-24 Thread Jason Cooper
PK ([EMAIL PROTECTED]) scribbled:
[snip]
   EMACS=xemacs /bin/sh ../../config/elisp-comp $@ || exit 1; \
 else : ; fi
 xemacs: error while loading shared libraries: libXm.so.2: cannot open 
 shared object file: No such file or directory

re-merge xemacs.  xorg-x11 recently moved some things (libXm is the big
PIA).  Projects that contained absolute paths to libraries (eg xemacs,
xlock, and xpdf) need to be recompiled to get the new path.

Yes, this is a bug is xemacs.  Absolute paths are devilry. :)

hth,

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



Re: [gentoo-user] compile error with gettext

2005-03-24 Thread Jason Cooper
PK ([EMAIL PROTECTED]) scribbled:
 Jason Cooper wrote:
 PK ([EMAIL PROTECTED]) scribbled:
 [snip]
 
  EMACS=xemacs /bin/sh ../../config/elisp-comp $@ || exit 1; \
 else : ; fi
 xemacs: error while loading shared libraries: libXm.so.2: cannot open 
 shared object file: No such file or directory
 
 
 re-merge xemacs.  xorg-x11 recently moved some things (libXm is the big
 PIA).  Projects that contained absolute paths to libraries (eg xemacs,
 xlock, and xpdf) need to be recompiled to get the new path.
 
 Yes, this is a bug is xemacs.  Absolute paths are devilry. :)

 I found the bug and tried to patch it by editing the ebuild
 however its still spitting out the same message
 
 any ideas?

What bug did you find?  You shouldn't need to edit the ebuild.  Simply
re-emerging xemacs should pick up the change in location for libXm.  

Unless one of the libraries xemacs uses is the real problem... but
first, lets see some details on the bug, and the ebuild edit. :)

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



Re: [gentoo-user] Touchpad

2005-03-08 Thread Jason Edson
did you read up on the synaptic driver? i know you need it for 
touchpads.at least im pretty sure.

Marko Kocic wrote:
Hi all,
I'm not sure if this is off-topic, but I couldn't get my touchpad
working ater installing xorg. I did everything like in xorg howto.
Could anybody post some howto-tutorial how to achieve this? Do I need
to recompile kernel, and if so, which modules I should include?
I'm using kernel gentoo-2.6.9 on my Fujitsu Siemens Amilo laptop.
Thanks,
Marko
--
gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Portage Maintenance

2005-03-05 Thread Jason Stubbs
On Saturday 05 March 2005 04:38, Michael Haan wrote:
 I've just about got my mythtv box finished and I'm turning my eyes to
 the job of maintaining it.  I know there are several routine things I
 should be doing, but I'm curious just how often I should be doing
 them.  Any advice as to when I should be doing some of the routine
 portage/package version maintenance things?

Personally, I'd say there should be no routine things you need to do to it. As 
the old adage says, if it ain't broke don't fix it. In my experience, there 
are two areas that need to be covered in daily usage; one is running out of 
disk space and the other is security updates. The former is best covered by 
log rotation and, if lengthy logs are required, backuping up to another box. 

Security updates can be covered in a few ways. Two ways that come to mind are 
either updating the portage tree of the box (without updating the packages) 
and running glsa-check, and subscribing to [EMAIL PROTECTED] and reading the 
securing updates as they come in. Personally, I prefer the latter as it means 
that I don't have to touch the box that I'm concerned about. Really, how you 
do it is up to you though. The best advice I can give is if it ain't broke 
don't fix it.

Regards,
Jason Stubbs
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] new wireless IP address on my LAN

2005-03-05 Thread Jason Cooper
Ralph Slooten ([EMAIL PROTECTED]) scribbled:
 A. Khattri wrote:
  Yes and no. While it will block most people, MAC addresses can be spoofed
  anyway.
 
 Any idea how they could get your MAC address, or the only one the AP
 accepts? I don't think they would use brute force, but still don't know
 if it's possible to get too.

When wep is enabled, any machine in the vicinity with a wifi card in
promiscuous mode can still see the bssid, source mac, and dest mac of 
traffic flowing through the AP.  Thus, they have the mac addresses that 
are permitted.  They wait till you shut off that machine, and they have
access.  Assuming they have the wep key, which is trivial to retrieve.  

Take a look at WPA authentication, not used much yet, so there are fewer
tools available for hacking it.  Plus, the tools are dictionary attacks,
which limits their effectiveness.

Honestly, if you are that concerned about it, switch to a wired network. 

hth,

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



Re: [gentoo-user] Dependencies are broken

2005-02-28 Thread Jason Edson
Ok I have like 300 mails to go through so I don't know if this has been 
solved but I did emerge dvdrip last night and it installed everything 
and it runs perfectly on my system. I know this doesnt help at all but 
its just to show that it does get all the packages it needs and my USE 
is USE=

Jason Edson
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] DVR sourceforge project and gentoo

2005-02-25 Thread Jason Cooper
Kevin ([EMAIL PROTECTED]) scribbled:
 Does anyone here know anything about it?  Is it dead?  If so, what's the
 best alternative?  I'd like to view and record from several channels
 simultaneously.  No TV per se involved.  Just cameras and Bt878 capture
 cards.

motion.  unfortunately, not in portage, but very active.  You should be
able to find an ebuild in bugzilla or on the net.

http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

hth,

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



Re: [gentoo-user] OT: Schematic Drawing software

2005-02-25 Thread Jason Cooper
James ([EMAIL PROTECTED]) scribbled:
 I'm looking for a drawing program, that has lots of symbols
 such as networking and electrical symbols, build in. 
 Something like RFflow (http://www.rff.com/) for the pc. I'd be 
 nice if the output files could be loaded directly into OpenOffice.
 
 Any suggestions?

The closest I came across was Dia, 'app-office/dia'.  Not sure about
exporting to openoffice...

hth,

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



Re: [gentoo-user] search emerge

2005-02-24 Thread Jason Cooper
Daniel D Jones ([EMAIL PROTECTED]) scribbled:
 Long time Linux user but new to gentoo and trying to get a good handle on 
 emerge.

Long time listener, first time caller?  Hello caller :)

 I recently used emerge to install traceroute.  During the install, it noted 
 that it was installing net-analyzer/traceroute.  I wanted to see what other 
 packages were available under net-analyzer but doing an emerge --search on 
 net-analyzer came up with nothing.  So I tried emerge --searchdesc.  That 
 brought me to my first question:
 
 [EMAIL PROTECTED]:~ # time emerge --searchdesc analyzer
 Searching...  -/usr/lib/portage/bin/ebuild.sh: line 21: 
 ...
 real22m48.548s
 user18m54.880s
 sys 3m29.307s
[snip]

# emerge eix

in your cron job to update your db you probably have 'emerge sync', make
it 'emerge sync  eix -u'

to search, 'eix search term'.  It also accepts regex.  As for speed:

[EMAIL PROTECTED] # time eix -S analyzer
Search results: 27
[snip results]
real0m0.381s
user0m0.068s
sys 0m0.008s

Fast enough for you? ;)

hth,

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



[gentoo-user] KDE 3.4 Beta 2

2005-02-24 Thread Jason Edson
Hi, I'm kind of new to gentoo, well using advanced portage features, and 
I was just wondering how i get emerge kde to install 3.4 beta 2 instead 
of 3.3.2. And if I can get it to work can I have both 3.3.2 and 3.4 beta 
2 installed? Thank you for your time!

Jason Edson
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Error in the emerge of gpm-1.20.1

2005-02-17 Thread Jason Cooper
John Myers ([EMAIL PROTECTED]) scribbled:
 On Wednesday 16 February 2005 09:32, Jason Cooper wrote:
  Dave Nebinger ([EMAIL PROTECTED]) scribbled:
My questions are :

a. Why is this happening (i.e. is this a bug, or a misconfiguration on 
my
side)
b. How should I fix this ?
   
   Don't believe it's a bug, but then I'm not running emacs so I don't have
   that use flag set.
   
   You could try an env-update, which would rebuild the ld cache and might
   resolve it.
  
  This is happening because the newest versions of X.org have moved a
  bunch of files around.  Partly for FHS compliance, and partly other
  reasons.  
  
  It looks like a path was hard-coded into the package.  Try re-merging
  gpm while the new X.org is installed.  That should fix it.  
 
 But re-merge emacs first. Emacs is the one that's broken. I had this problem 
 already.

Yeah, you're right.  I'll chalk that fumble up to a bad case of the flu
:)

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error in the emerge of gpm-1.20.1

2005-02-16 Thread Jason Cooper
Dave Nebinger ([EMAIL PROTECTED]) scribbled:
  My questions are :
  
  a. Why is this happening (i.e. is this a bug, or a misconfiguration on my
  side)
  b. How should I fix this ?
 
 Don't believe it's a bug, but then I'm not running emacs so I don't have
 that use flag set.
 
 You could try an env-update, which would rebuild the ld cache and might
 resolve it.

This is happening because the newest versions of X.org have moved a
bunch of files around.  Partly for FHS compliance, and partly other
reasons.  

It looks like a path was hard-coded into the package.  Try re-merging
gpm while the new X.org is installed.  That should fix it.  

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Booting Straight To X/KDE

2005-02-15 Thread Jason Smith




as root type rc-update add xdm default

This will start up KDM when you start the machine.

Jason


On Mon, 2005-02-14 at 22:36 -0700, Mike Melanson wrote:


Hi,
	So my new Gentoo/AMD64 is working quite well since I set it up a few 
weeks ago. Now I think I would like to make it boot directly into a 
graphical Windows environment (X/KDE) on startup rather than having to 
login and type 'startx'. Call me a lame Windows user if you will.

	What's the way to do this? I seem to recall something involving run 
level 6.

	Thanks...






Re: [gentoo-user] 2.6.10 and automounting ?

2005-02-14 Thread Jason Smith




Can anyone explain to me how they got USB to automount with supermount?

I haven't been able to figure this out?

Thanks,


JasonOn Mon, 2005-02-14 at 14:12 +, Neil Bothwick wrote:


On Sat, 12 Feb 2005 17:04:25 +0100, Holly Bostick wrote:

 1) patch the kernel to re-enable supermount, which is considered evil,
 thus why it was removed. However, the ck-sources still patches for 
 supermount, and even if you don't want to use ck-sources, you can nick 
 the patch from the homepage and use it anyway. This is what I do, as no 
 matter how evil it is, supermount actually works reliably, and that is
 what is most important to me.

I've found the same. supermount works reliably for CD/DVD and USB flash
devices, despite any alleged evilness. The alternatives all had
drawbacks that made them inferior to supermount from this user's point of
view. I use gentoo-dev-sources and apply the patch from the ck sources
site. It's worked reliably since supermount was removed from
gentoo-dev-sources for 2.6.8(?).








Re: [gentoo-user] Xorg Compiling Failure

2005-02-06 Thread Jason Cooper
Captain FantastiK ([EMAIL PROTECTED]) scribbled:
 Now, I foudn out what was the problem. It seems to be the -static USE Flag 
 (But I don't understand why) so when I removed, the compiling Process was 
 OK. But Now, I have another Problem with X: the modules is failing from 
 Loading: Here is the output of Xorg.0.log:
 
[snip log info]
 (II) LoadModule: bitmap
 (II) Loading /usr/lib/modules/fonts/libbitmap.a
 Duplicate symbol __i686.get_pc_thunk.bx in 
 /usr/lib/modules/fonts/libbitmap.a:bitmapmod.o
 Also defined in /usr/lib/modules/fonts/libbitmap.a
 
 Fatal server error:
 Module load failure

This is a bug with using a hardened gcc/glibc combo.  There are two
solutions to this problem.  The first is to patch Xorg source to add the
'-norun' flag (this is from memory, may not be the right word).  Or you
can remove the hardened USE flag, and re-merge gcc, glibc, and then
Xorg. 

I'll be honest, I took the easier route and re-merged without -hardened.
I encountered this same problem on my primary work machine and needed to
get it back up fast.

This has to do with when functions are looked up in shared libraries.
Without -hardened, gcc/glibc does 'lazy lookups'.  When you use
-hardened, all symbols are looked up at initial execution, thus
inconsistencies are found.  

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-05 Thread Jason Cooper
Luke Ravitch ([EMAIL PROTECTED]) scribbled:
 On 2005-02-01 12:10, Jason Cooper [EMAIL PROTECTED] wrote:
  shameless plug
  http://lakedaemon.netmindz.net/dvd9to5/
  
  Let me know if you have any questions.
 
 Jason, the script is great!  Pretty soon I'll have copies of all my
 DVDs and will no longer have to live in fear of the kids handling
 them!  (The copies, anyway.)
 
 I am having a certain issue with some of the DVDs that I'm trying to
 copy.  At the mplex stage, I get the message:
 
 **ERROR: [mplex] Need to split output but there appears to be no
 %d in the filename pattern movie.mpeg
 
 Much of the time, movie.mpeg seems to go all the way to the end of the
 credits (i.e., it looks done to me).  So, a few questions...
 
 - You said you've copied a ~100 DVDs - have you seen this before?
 - Any ideas what I could do to avoid it?
 - Since movie.mpg looks done, is there some way to force dvd9to5
   to continue processing anyway?

Yep, I've run into it a few times, and had a few reports of it.
Apparently it is a bug in mplex.  I've tried adjusting the options
passed to mplex to satisfy it, and nothing seems to work.  

What version of mplex are you using?

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg Compiling Failure

2005-02-04 Thread Jason Cooper
Captain FantastiK ([EMAIL PROTECTED]) scribbled:
 
 Hi
 
 I tried many times compiling xorg but it was always ending with the same 
 error message:
 
 ...
 collect2: ld returned 1 exit status
 make[4]: ***[Xorg] Error 1
 make[4]: Leaving Directory: 
 '/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs/Xserver'
 make[3]: ***[all] Error 2
 make[3]: Leaving Directory: 
 '/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc/programs'
 make[2]: ***[all] Error 2
 make[2]: Leaving Directory: '/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc'
 make[1]: ***[World] Error 2
 make[1]: Leaving Directory: '/var/tmp/portage/xorg-x11-6.8.0-r4/work/xc'
 make:***[World] Error2

Need about 15 to 20 more lines above this... All that can be seen from
this is that you have a linker error.  Chances are you need to run
'fix_libtool_files.sh' with a version of gcc as an argument.  Run a
search of gentoo-user for that and it should explain how to use it.

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Digital Information

2005-02-04 Thread Jason Cooper
Grant ([EMAIL PROTECTED]) scribbled:
 This is off-topic, but I bet you guys can help me figure this out.
 
 How does digital information (0 or 1, off or on) end up doing all the
 stuff it does?  A link or explanation would be greatly appreciated.

http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-071Introduction-to-ElectronicsFall2002/CourseHome/index.htm

That should give you something to noodle on for a while :)

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Help with a script please...

2005-02-04 Thread Jason Cooper
Mal Herring ([EMAIL PROTECTED]) scribbled:
 Hi List,
 I would like to write a script that somehow gets a text only output of a
 webpage - can lynx do this ?
 Then grep the output for a desired string of text - then somehow pass
 the result to an if command so that if the string is found - lauch this
 and if not then loop...

wget -O - web url | grep expression

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Tor

2005-02-04 Thread Jason Cooper
Nick Smith ([EMAIL PROTECTED]) scribbled:
 i noticed tor is masked in portage. is anyone using it without problems?
 are there any other programs like Tor out there that accomplish the same
 thing? anonymous surfing? im looking for something i can set up to be
 anonymous while on the web from home and also connect to it while on the
 road so i know its secure and anonymous.

It works really well.  Although it does get bogged down when you run
gtk-gnutella through it for 48 hours :)

All the masking means is that the ebuild hasn't been tested enough.  It
worked for me on several different platforms, though.  Give it a whirl.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Tor

2005-02-04 Thread Jason Cooper
Nick Smith ([EMAIL PROTECTED]) scribbled:
 On Fri, 2005-02-04 at 15:51 -0500, Jason Cooper wrote:
  Nick Smith ([EMAIL PROTECTED]) scribbled:
   i noticed tor is masked in portage. is anyone using it without problems?
   are there any other programs like Tor out there that accomplish the same
   thing? anonymous surfing? im looking for something i can set up to be
   anonymous while on the web from home and also connect to it while on the
   road so i know its secure and anonymous.
  
  It works really well.  Although it does get bogged down when you run
  gtk-gnutella through it for 48 hours :)
  
  All the masking means is that the ebuild hasn't been tested enough.  It
  worked for me on several different platforms, though.  Give it a whirl.
  
 sweet ill have to play with that then.  do you know how to open it up to
 accept external requests? not just internal, so i can access it from
 anywhere? the wiki only explains the internal techniques. 

I don't offer it up to the world, but I have it accessible on my
internal lan through privoxy.  privoxy listens on 0.0.0.0:8118 and
passes everything on to tor.  I suppose you could do the same with tor,
I just haven't tried it.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] simple backups

2005-02-03 Thread Jason Cooper
Neil Bothwick ([EMAIL PROTECTED]) scribbled:
 On Thu, 03 Feb 2005 18:06:27 +, Steve wrote:
 
  Fair comment... I stand corrected that rsync/rdiff-backup are 
  appropriate for backup of user files.  This issue is an old one of trade
  off between being able to make fast backups and being able to recover 
  quickly. IMHO the dd approach is still valid and useful as it is one of 
  the few ways to ensure rapid disaster recovery. I agree that an rsync 
  approach permits more frequent backups to be made for user files. Maybe 
  a better recommendation would have been a combination of dd to take an 
  image of the install - then rsync to keep regular copies of user files.
 
 I'd still disagree, rsync or rdiff-backup create an exact mirror of the
 file tree, so you have a backup that is extremely fast to restore from,
 especially for individual files. If I want an image of the partition, I'll
 use partimage as it is several orders of magnitude faster than dd and
 produces smaller archives.
 
 As a backup tool dd is about as friendly as backing up to punched cards :(

Why not a combination of the two?  Use dd to a file to create an initial
image of the partition.  Then, once per night, mount it as a loopback
file, and rsync it... 

This way if you have a catastrophic drive failure, you can low-level
re-image the drive.

2c yada.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo keeps crashing during compile

2005-02-03 Thread Jason Edson
Mark Brier wrote:
Jason Edson wrote:
Mark Brier wrote:
Jason Cooper wrote:
Does it die with the same error in the same place each time?  If not,
you probably have a hardware problem.  Typically, either your CPU is
overheating (check the fan) or the memory is bad (run memtest86, 
replace
bad sticks).
It does seem as if it's dying at the same point every time, but I am 
not so sure. I'll run it a few more times and check it. The CPU is 
at 25 degrees, there's a lot of cooling in my box, so I don't think 
it's that. I will reboot and try memtest86.

BTW, Some programs compile, such as memtest86 for instance, others 
make it crap out, such as ximian-open-office and xfce4.

I had the same problem when after I got the install done i would 
reboot then try and emerge kde. It would get a part of the way done 
then crap out at diffrent points. I finnally found the problem. I 
have 2 sticks of 512Mb RAM and I took out one of them and boom, it 
works great now. I thought it was a heat problem but I guess I just 
got some bad RAM. Just my 2 cents.

Memtest ran for a day and found nothing.
Rebuilding a brand-spanking new nptlonly. Fingers crossed!
I was the one stating that i emerged kde and had the same problem. I 
also ran memtest over night and had little or no problems ( i dont 
remember) but taking out (or replacing) the 1 ram stick worked. I dont 
know why and now I have it back in and the compiling works fine now. I 
dont understand why but it does. So I would suggest just trying it so 
see if thats the problem. If it's not, good luck figuring out what it is 
and please reply if you solve.

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Gentoo keeps crashing during compile

2005-02-03 Thread Jason Cooper
Jason Edson ([EMAIL PROTECTED]) scribbled:
 Mark Brier wrote:
 Jason Edson wrote:
[snip]
 I had the same problem when after I got the install done i would 
 reboot then try and emerge kde. It would get a part of the way done 
 then crap out at diffrent points. I finnally found the problem. I 
 have 2 sticks of 512Mb RAM and I took out one of them and boom, it 
 works great now. I thought it was a heat problem but I guess I just 
 got some bad RAM. Just my 2 cents.
 
 Memtest ran for a day and found nothing.
 
 Rebuilding a brand-spanking new nptlonly. Fingers crossed!
 
 I was the one stating that i emerged kde and had the same problem. I 
 also ran memtest over night and had little or no problems ( i dont 
 remember) but taking out (or replacing) the 1 ram stick worked. I dont 
 know why and now I have it back in and the compiling works fine now. I 
 dont understand why but it does. So I would suggest just trying it so 
 see if thats the problem. If it's not, good luck figuring out what it is 
 and please reply if you solve.

memtest86 will find physical errors in your ram, however, it has trouble
nailing down transient errors.

The transient errors I've seen is when cheap ram is sold as useable at
two speeds, but at the higher one you get errors.  The cells aren't bad,
but the stick has trouble with the faster freq.  If bad enough this will
manifest itself as bad cells in memtest86, but will be in different, or
non-existent areas when memtest86 is re-run.

In a nutshell, memtest86 doesn't find all ram errors.  Try one stick at
a time or swapping out sticks from other machines if your builds keep
failing.

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-02 Thread Jason Cooper
[EMAIL PROTECTED] ([EMAIL PROTECTED]) scribbled:
 On Tue, Feb 01, 2005 at 09:38:14PM -0500, Jason Cooper wrote:
  
  [...] I suppose I'll make an ebuild for dvd9to5 first,
  
 
 Sometime ago I have done an ebuild for dvd9to5. I am attaching
 it here, in case you want to take a look. It is really simple.

Cool, thanks!  Did you put it in media-video/ or where?

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] yet another tv card sound problem

2005-02-02 Thread Jason Cooper
Jean-Philippe Bosc ([EMAIL PROTECTED]) scribbled:
 Le mercredi 02 f?vrier 2005 ? 13:35 -0800, Bob Sanders a ?crit :
 
  Did you compile in bt878 (or bt8*) under sound - alsa - pci in the kernel?
  
  Bob 
 
 i guess :
 
 /usr/src/linux $ grep -i bt8 .config
 CONFIG_VIDEO_BT848=m
 CONFIG_SND_BT87X=m
 # CONFIG_SND_BT87X_OVERCLOCK is not set
 
 and about the use of these modules :
 
 /usr/src/linux $ lsmod | grep -i bt8
 snd_bt87x  10436  3
 snd_pcm84360  4
 snd_pcm_oss,snd_bt87x,snd_ens1371,snd_ac97_codec
 snd_page_alloc  7492  2 snd_bt87x,snd_pcm
 snd46308  15
 snd_pcm_oss,snd_seq_oss,snd_seq,snd_bt87x,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer,snd_mixer_oss
 
 
 i can't explain to myself why, but i feel it's gonna be a shameful small
 detail that i forgot. but where could it hide ?

well, iirc, btaudio and newer (assume snd_bt87x is it's successor)
should _not_ be loaded if you are running the audio out of the card and
into the soundcard.  Those modules should only be used for pulling the
audio directly through the pci bus.  Which, last I checked (2yrs ago),
the timing would drift.  So everyone runs the audio through the
soundcard.

Try unloading snd_bt87x and see what happens.

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Project Idea

2005-02-01 Thread Jason Cooper
John Myers ([EMAIL PROTECTED]) scribbled:
[snip to nuts and bolts]
 eprogress - a general-purpose hierarchical progress reporting system
 
 my vision of the architecture has three components:
 
 1) eprogress progress providers (clients?) (perhaps through some sort of 
 libeprogressc). These are programs like emerge, make, gcc, etc. which have 
 some sort of goal, and can report on their progress. They would need to be 
 patched to provide the system with the progress information.

I would advise against any development path that required patching many
different projects.  There would be a lot of resistance.  This also
seems to be passing off the crux of the problem (determining length of
compile time) to the developers of make/gcc/ldd etc.  See BUs, below.

 2) eprogressd (one for each master task, i.e. if you had an emerge and some 
 other make running at the same time, they would be kept separated). the 
 eprogressd would run in the background and keep track of all the progress 
 data.

Why not a single daemon which spawns a thread for each new program, ala
sshd (although iirc sshd forks)?  

 3) eprogress viewers which communicate with eprogressd to display a 
 representation of the progress data. There could be any number of 
 interchangeable viewers, some for console, some for X11. Some may be 
 specialized to a particular task (such as a special one for emerges), but all 
 would use the same protocol to talk to the eprogressd, which would be kept 
 generic (there could (should?) be some sort of libeprogressviewer to help 
 with this)

gkrellm?

 I would suggest that the system should use UNIX domain sockets or TCP/IP 
 sockets for the communication, especially TCP/IP for the viewer connection. 
 It should not be necessary for the viewer to reside on the same machine as 
 the daemon. Nor, for that matter, should it be necessary for individual tasks 
 to be performed on the same machine.

Good idea, but there is no need to suggest, it's your project :)

 Also, progress information does not have to be limited to a percentage 
 (though 
 that is required). The information could contain many things, like compiler 
 command lines, warnings, errors, einfos etc.

This is the line item requirement I would drive a truck through, if I
were a customer/user. :)  

 Please let me know what you think.

This idea has been floated many times before, with little success.  Not
to rain on the idea.  :)  The problem is much more complicated than it
initially looks.  For insight, take a look at the section in
linuxfromscratch regarding SBUs (static bash units).  

http://archive.linuxfromscratch.org/lfs-museum/4.0/LFS-BOOK-4.0-HTML/chapter02/aboutsbus.html

Personally, I would do less planning and more writing, some of the best
projects started off as a hack to scratch an itch.  Keep it simple.  A
lot of the most useful programs out there are very small.  It can always
be rewritten later to include TCP/IP or threads.  Good luck!

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] firefox crash and burn

2005-02-01 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
 okay, ever since I tried out the Mozilla Archive Format extension for
 firefox, firefox crashes with:
 
 Segmentation fault:   $mozbin $@
 
 (typed, not copied, since I have now unmerged firefox and am re-merging
 it)
 
 I tried to just re-merge it.  No luck.  Now thunderbird does the same
 thing.  
 
 I saved my bookmarks and wiped out /usr/lib/MozillaFirebird as well as
 ~/.mozilla .  Yes, I'm wholesale deleting things.  No, this is not good
 :(. 
 
 Anyone seen this and fixed it?  Google doesn't come up with anything
 useful. 

Okay, for the record, I found the fix:

http://www.nixp.ru/cgi-bin/forum/YaBB.pl?board=soft;action=display;num=1092203149

It's in russian (not that I could understand it), basically, after
upgrading Xorg or freetype or something, the permissions were wrong on
the TrueType Fonts.  So this fixes it:

#chmod 644 /usr/X11R6/lib/X11/fonts/TTF
#chmod 644 /usr/X11R6/lib/X11/fonts/TTF/*

So now I get to restore my bookmarks, etc... oh fun. :)

Cooper.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Fwd: [gentoo-dev] Time with Ramereth: autoconf / automake / libtool bunnies

2005-02-01 Thread Jason Stubbs


--  Forwarded Message  --

Subject: [gentoo-dev] Time with Ramereth: autoconf / automake / libtool 
bunnies
Date: Tuesday 01 February 2005 23:34
From: Mike Frysinger [EMAIL PROTECTED]
To: Gentoo Develop Mail List [EMAIL PROTECTED]

[some dev please forward this to gentoo-user]

it seems our new SLOT-ed ebuilds of autoconf / automake / libtool have users
confused.  'why does emerge want to install so many !?' you ask yourself
outloud.  the truth is, nothing has changed on your system, you just *think*
something is different.

the old ebuilds (autoconf-2.59-r5 / automake-1.8.5-r1 / libtool-1.5.2-r7)
actually downloaded and installed multiple versions of each package.  you
*thought* you had just one autoconf, but boy oh boy were you wrong !

in the future i'd like to make package maintainers be a little less lazy and
declare what version of autoconf / automake / libtool they wish to run in
their ebuilds so that, in the normal scheme of things, you only have the
versions installed on your system that you need ... perhaps a pipe dream, but
when you live with Ramereth, you need them :(
-mike

--
gentoo-dev@gentoo.org mailing list

---

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Project Idea

2005-02-01 Thread Jason Cooper
John Myers ([EMAIL PROTECTED]) scribbled:
 A clarification:
 I'm not talking about time estimation here. What I'm talking about is
 having each provider provide a minimum of two pieces of data: the
 number of subtasks it will run, and the number of subtasks which 
 have been completed.

So more like make saying I have 33 files to compile, 13 are done?

 On Tuesday 01 February 2005 02:47, Jason Cooper wrote:
  John Myers ([EMAIL PROTECTED]) scribbled:
[snip clarification]
   2) eprogressd (one for each master task, i.e. if you had an emerge and 
   some 
   other make running at the same time, they would be kept separated). the 
   eprogressd would run in the background and keep track of all the progress 
   data.
  
  Why not a single daemon which spawns a thread for each new program, ala
  sshd (although iirc sshd forks)?
 
 I don't think I was clear here: the daemon would be started in the _user's_
 name (including root, if root started it (perhaps it should drop that?)),
 once each time the _user_ invokes such a command. i.e. if a user said
  emerge -uvD world
 emerge would start, and then it would start a progress daemon. Child processes
 of emerge would use the same daemon. I don't want to make a system-wide daemon
 because most systems' time is not spent with the compiler (or whatever) 
 running
 
 Or maybe you understood me and I don't understand you?

I understand what you're getting at now, it just took me a second or two. :) 

[snip gkrellm stuff]
[snip 05:30 Cooper being a smartass]
   Also, progress information does not have to be limited to a percentage 
   (though 
   that is required). The information could contain many things, like 
   compiler 
   command lines, warnings, errors, einfos etc.
  
  This is the line item requirement I would drive a truck through, if I
  were a customer/user. :)  
 I think i did not properly articulate myself here either: What I meant was 
 that 
 in addition to the subtask count and subtask completion count, a client could 
 send lots of other data, too.
 
 Or, again, perhaps you understand me, and I do not understand you.

Sorry, I spend a lot of time focusing in on customer vagueness and nailing
it down.  If you don't nail it down, you get 15 great 'ideas' that are
'easy' to add two weeks before the delivery date, and contractually, you
would have to do it, if you didn't force them to restrict scope in the
beginning.  

In short, I understood what you were saying, I was just highlighting an
area needing further clarification, albeit colorfully. :)

   Please let me know what you think.
  
  This idea has been floated many times before, with little success. 
 Darn.

Well, the compile time prediction idea has had little success.  
 
  Not 
  to rain on the idea.  :)  The problem is much more complicated than it
  initially looks.  For insight, take a look at the section in
  linuxfromscratch regarding SBUs (static bash units).  
  
  http://archive.linuxfromscratch.org/lfs-museum/4.0/LFS-BOOK-4.0-HTML/chapter02/aboutsbus.html
 I'm not looking to estimate the time left. I realize that that's impossible.

Not impossible.  Just that the potential gains are not worth the work
involved to implement.  

With the adoption of the 2.6.x kernels, it's not as critical for most 
users to know how long something will take.  For me personally, I never 
watch the 'emerge -uDav world' process.  I start it on 4 machines, get a 
cup of coffee, and proceed with normal computer use.  It doesn't 
interfere with user interaction at all, so I don't care if it takes 2 
hours or 2.5.  Just let me know when it's finished.

  Personally, I would do less planning and more writing, some of the best
  projects started off as a hack to scratch an itch.  Keep it simple.  A
  lot of the most useful programs out there are very small.  It can always
  be rewritten later to include TCP/IP or threads.
 Yeah, I just wanted to make sure the idea wasn't stupid.

Now that I understand you're not trying to predict compile times, it
seems much more feasible.  However, I would most likely not use it
simply because it doesn't solve a problem I have.  Others opinions are
certainly valid also.  Is it worth pursuing?  Well, if it solves a
problem _you_ have, go for it.  That's all that really matters.

If you find it useful, most likely others will too.

Cooper.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Patrick Marquetecken ([EMAIL PROTECTED]) scribbled:
 After some investigations i found following programs what is the most
 easiest of them like dvdshrink ?
 
 Acidrip
 dvdrip
 lxdvdrip
 On Tue, 1 Feb 2005 09:48:15 +0100 (CET)
 Patrick Marquetecken [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I have replaced my last windows machine with Gentoo, but forgot that i
  used this also for DXD ripping/copying. This machine has no X on it
  installed, i'm used to use DVDshrink because its very easy because you
  insert the dvd it compress as needed and then you choose start and the
  copy is done.
  What must i install to do this under Linux, please something easy, so
 i
  can insert a dvd and then create a copy of it.

shameless plug
http://lakedaemon.netmindz.net/dvd9to5/
/shameless plug

It removes the menus, uses one stream of audio (5.1), and adjusts the
quality just enough to squeeze the movie onto one 4.7GB dvd-/+r at the
highest quality possible.  I've backed up my collection (100 dvds) with
it without problem.  It takes about 1.5 hours per dvd.

Let me know if you have any questions.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Patrick Marquetecken ([EMAIL PROTECTED]) scribbled:
 On Tue, 1 Feb 2005 14:41:34 -0500
 Jason Cooper [EMAIL PROTECTED] wrote:
  shameless plug
  http://lakedaemon.netmindz.net/dvd9to5/
  /shameless plug
  
  It removes the menus, uses one stream of audio (5.1), and adjusts the
  quality just enough to squeeze the movie onto one 4.7GB dvd-/+r at the
  highest quality possible.  I've backed up my collection (100 dvds)
 with
  it without problem.  It takes about 1.5 hours per dvd.
  
  Let me know if you have any questions.
  
  Cooper.
  
 Thats it what I'm looking for, but how do i know how much titles, audio
 and subtitles.
 And witch different language there are.

Ah... there's the one small problem.  I haven't gotten up the energy to
handle subtitles.  It's not a cut-and-dry solution.  

If you're willing to forgo subtitles, you can run 'tcprobe -i /dev/dvd'
and then pass the title number and audio track number to dvd9to5.pl with
'-t' and '-a'.  Most of the time (at least with American dvds) if you
want 5.1 audio, just './dvd9to5.pl' grabs the correct stuff.

### tcprobe sample output ###
(dvd_reader.c) ac3 en drc 48kHz 2Ch 
(dvd_reader.c) ac3 en drc 48kHz 6Ch 
(dvd_reader.c) ac3 es drc 48kHz 2Ch 
(dvd_reader.c) ac3 fr drc 48kHz 2Ch 
(dvd_reader.c) subtitle 00=en 
(dvd_reader.c) subtitle 01=es 
(dvd_reader.c) subtitle 02=fr 
(dvd_reader.c) DVD title 1/1: 28 chapter(s), 1 angle(s), title set 1
[cut chapter list]
#

read as:
audio english stereo (stream 0)
audio english 5.1(stream 1)
audio spanish stereo (stream 2)
audio french  stereo (stream 3)
subtitle english
subtitle spanish
subtitle french
1 or 1 titles, 28 chapters

If you figure out how to do the subtitles, let me know.  I'd be more
than happy to add it in, I just don't have the time to do it myself.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Nick Smith ([EMAIL PROTECTED]) scribbled:
 any ideas? is no one in linux coping entire dvds? i dont want just the
 movie, i want the whole dang thing!

Naturally, I would agree with you.  However, If your source dvd is a
dual layer (most are) at 7.9GB, you *can't* copy it to current dvd+/-r's
as they are single layer, 4.7GB.  The quality loss is noticeable.  When
I wrote dvd9to5, I made the decision to go for quality as opposed to
quantity until such time as dual-layer burners are cheap $250/$2.  

I suspect windows apps that copy everything over are halving the
resolution, down-muxing the audio to stereo, or something similar.
Hell, most of the time the movie alone, with _no_ audio is ~4.5GB.  They
gotta make cuts somewhere.  

I think a lot of developers are holding off on investing a lot of energy
into compressing the whole dvd to 4.7GB, cause they see dual-layer
burners on the horizon.  So why not wait?  

ah, well, that's my 2cents.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Harald Arnesen ([EMAIL PROTECTED]) scribbled:
 Jason Cooper [EMAIL PROTECTED] writes:
   What must i install to do this under Linux, please something easy, so
  i
   can insert a dvd and then create a copy of it.
 
  shameless plug
 
 I have used this program a lot.
 
  http://lakedaemon.netmindz.net/dvd9to5/
  /shameless plug
 
  It removes the menus, uses one stream of audio (5.1), and adjusts the
   
 
 That is my problem with the program.

See my other response in this thread for why I chose not to copy the
menus over.  It can be done, but last I checked, dvdunauthor isn't
reliable.  I need dvdunauthor to behave predictably before I can use it
for extraction.  After that, it's easy.  Any other method I've looked at
is just too convoluted to be stable.  

If anyone has had experience recently with dvdunauthor, let me know and
I'll take another look at it.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Nick Smith ([EMAIL PROTECTED]) scribbled:
 On Tue, 2005-02-01 at 18:56 -0500, Jason Cooper wrote:
  Nick Smith ([EMAIL PROTECTED]) scribbled:
   any ideas? is no one in linux coping entire dvds? i dont want just the
   movie, i want the whole dang thing!
  
  Naturally, I would agree with you.  However, If your source dvd is a
  dual layer (most are) at 7.9GB, you *can't* copy it to current dvd+/-r's
  as they are single layer, 4.7GB.  The quality loss is noticeable.  When
  I wrote dvd9to5, I made the decision to go for quality as opposed to
  quantity until such time as dual-layer burners are cheap $250/$2.  
  
  I suspect windows apps that copy everything over are halving the
  resolution, down-muxing the audio to stereo, or something similar.
  Hell, most of the time the movie alone, with _no_ audio is ~4.5GB.  They
  gotta make cuts somewhere.  
  
  I think a lot of developers are holding off on investing a lot of energy
  into compressing the whole dvd to 4.7GB, cause they see dual-layer
  burners on the horizon.  So why not wait?  
 
 so this program automaticly knows what audio track to grab? cause i have
 had problems with other programs in the past (dvd x copy) taking the
 wrong track, say, french, and when i get around to watching the dvd the
 entire thing is in french. which sucks. i could live without submenus, i
 never watch them, and most of the time can do without the extras, its
 just nice to have a professional looking copy when your done.

It grabs the first audio track every time, unless you tell it otherwise.
For all the dvd's in my collection, that's english.  Don't have any
experience with overseas dvds.  

If you don't insert a blank, it'll close after extraction and give you
the command to enter to burn it.  This way you can mplayer the .mpeg
file to check for correctness before burning.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DVD ripping copying

2005-02-01 Thread Jason Cooper
Nick Smith ([EMAIL PROTECTED]) scribbled:
 On Wed, 2005-02-02 at 01:31 +, Neil Bothwick wrote:
  On Tue, 01 Feb 2005 19:15:21 -0500, Nick Smith wrote:
  
 im glad someone else brought this up, i have been meaning to for a
 while. i use Intervideo DVD Copy, and it makes an EXACT copy, with
 one push of a button. 

Most commercial DVDs are dual layer and won't fit on a single layer
DVD-R. To make an exact copy you need a dual layer burner and
(expensive) dual layer discs.

   the program automaticly transcodes the dvd and compresses it perfectly
   to fit on a 4.7 (actually 4.4) gig dvd, with the highest possible
   quality.
  
  OK, so it's not an EXACT copy. If you want to reduce the size of the data
  to fit 4.7GB (or 4.4 GiB if you prefer :) you have to discard something.
  You either reduce the quality of everything by a sizeable factor, or you
  discard some elements of the DVD and reduce the quality of the remainder
  by less. Programs like 9to5 take the latter approach, although an overall
  compression of the whole DVD is equally possible.
  
 care to elaborate on how its possible? and with what? i wouldnt mind
 loosing somethings if when you first put the DVD in the player that it
 looked original even if the menu items didnt play.(the movie of
 course) something besides putting in the dvd and it just starts playing.

dvdunauthor.  I would use it to extract the data off of the dvd, then
use the guts of dvd9to5 to resize the movie, then dvdauthor to remaster.
However, dvdunauthor is new and doesn't produce stable results last I
checked.

okay, dammit.  I went and looked at dvdauthor.  Latest stable is 0.5.0,
masked is 0.6.10.  I'm merging 0.6.10 now.  I suppose I'll make an
ebuild for dvd9to5 first, then tackle dvdunauthor...  nag, nag, nag :)

Not to mention I also looked at when I released 0.1.7, 06Jun2004.  It's
about time for an update. ;)

Cooper.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] firefox crash and burn

2005-01-31 Thread Jason Cooper
okay, ever since I tried out the Mozilla Archive Format extension for
firefox, firefox crashes with:

Segmentation fault:   $mozbin $@

(typed, not copied, since I have now unmerged firefox and am re-merging
it)

I tried to just re-merge it.  No luck.  Now thunderbird does the same
thing.  

I saved my bookmarks and wiped out /usr/lib/MozillaFirebird as well as
~/.mozilla .  Yes, I'm wholesale deleting things.  No, this is not good
:(. 

Anyone seen this and fixed it?  Google doesn't come up with anything
useful. 

TIA,

Cooper. 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTFS support?

2005-01-31 Thread Jason Cooper
myang ([EMAIL PROTECTED]) scribbled:
 My kernel was compiled without NTFS filesystem support.
 Now I have a harddrive formated as NTFS, and I'd like to
 read it under linux. 
 
 I don't want to recompile the whole kernel. 
 
 What should I do? Can I compile the NTFS support as a single 
 module and load it in? How? 

You may want to back up your module tree just to be safe:

tar -cjvf ~/modules.tar.bz2 /lib/modules/`uname -r`/

Then, in the source tree you used for the currently running kernel, 
make sure you still have the .config (/usr/src/linux/.config), and run 

make menuconfig

Enable NTFS read support as a module (make sure your other
modules are still there), exit and save the config.  As long as nothing
changed in the kernel, run 

make modules_install  

NOTE: this will replace everything in your module tree for this kernel!
Make sure the only change from last compile is adding the NTFS read
module!  

After it's done, 

depmod -ae  modprobe ntfs

and you should be good to go.  

HTH,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTFS support?

2005-01-31 Thread Jason Cooper
myang ([EMAIL PROTECTED]) scribbled:
 I have one more question. If I have no source code for my current
 installed kernel. Is it safe to comile and install the modules from the
 same version kernel?
 
 My kernel came with redhat enterprise WS, and for some reason, I just
 could not get the source code. And I'd like to just use the 2.4.18
 kernel source from kernel.org.

Do you have the .config from the kernel you currently use?  does this
show anything?

gzcat /proc/config.gz

Or maybe it was placed in boot?

ls /boot/config*

If not, you are going to be rebuilding the kernel from scratch.  Is this a
gentoo system you are on?

2.4.18 is very old, unless you are doing a very specific task which
requires it, I would suggest using the newest version available, either
2.4.29 or 2.6.10...


Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTFS support?

2005-01-31 Thread Jason Cooper
Neil Bothwick ([EMAIL PROTECTED]) scribbled:
 On Mon, 31 Jan 2005 14:52:44 -0500, Jason Cooper wrote:
 
  Do you have the .config from the kernel you currently use?  does this
  show anything?
  
  gzcat /proc/config.gz
 
 Isn't this only available with 2.6 kernels?

Yeah, you're probably right.  However, he mentioned running on a redhat
kernel, which tends to have a lot of features from 2.6.x backported to
2.4.x...  Never hurts to check :)

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo keeps crashing during compile

2005-01-31 Thread Jason Cooper
Mark Brier ([EMAIL PROTECTED]) scribbled:
 Hi,
 
 I am using gcc 3.4.3 / nptl, built using the stage 1 on 3 howto. I have 
 been doing emerge -uD --newuse world most days and masking some 
 packages (such as Ooo and gcc), and generally updating the rest of the 
 system.
 
 Recently, my gentoo install crashes during compiling. I have tried 
 stripping the system to barebones (stop services / kill x / kill 
 framebuffer etc), but it happens *every time*. I believe one of the 
 system packages I've updated is causing a kernel panic. Recently 
 upgraded packages include automake / gawk / binutils-config / libtool / 
 ffftw, along with various apps etc.
 
 I'm at my wits end with this, I don't know where to start. If the system 
 craps out in console mode, it prints loads of weird stuff out, but I 
 don't know how to capture this info, emerge xfce4  errors.log doesn't 
 show it, and neither does /var/log/messages, or any of the other obvious 
 logs. Does anyone know of any magic file that stores what looks to be a 
 kernel dump?
 
 Any help appreciated, I have a working PC, but cannot compile. I am v 
 tempted to stick the livecd in and downgrade a load of these system 
 packages, but was hoping someone may have a better way to start, being 
 that I don't know which package is causing the issue.
 
 Please request any config files you'd like me to post...

Does it die with the same error in the same place each time?  If not,
you probably have a hardware problem.  Typically, either your CPU is
overheating (check the fan) or the memory is bad (run memtest86, replace
bad sticks).

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo keeps crashing during compile

2005-01-31 Thread Jason Edson
Mark Brier wrote:
Jason Cooper wrote:
Does it die with the same error in the same place each time?  If not,
you probably have a hardware problem.  Typically, either your CPU is
overheating (check the fan) or the memory is bad (run memtest86, replace
bad sticks).

It does seem as if it's dying at the same point every time, but I am 
not so sure. I'll run it a few more times and check it. The CPU is at 
25 degrees, there's a lot of cooling in my box, so I don't think it's 
that. I will reboot and try memtest86.

BTW, Some programs compile, such as memtest86 for instance, others 
make it crap out, such as ximian-open-office and xfce4.

Thanks for your help
I had the same problem when after I got the install done i would reboot 
then try and emerge kde. It would get a part of the way done then crap 
out at diffrent points. I finnally found the problem. I have 2 sticks of 
512Mb RAM and I took out one of them and boom, it works great now. I 
thought it was a heat problem but I guess I just got some bad RAM. Just 
my 2 cents.

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] way OT - libtiff c help

2005-01-30 Thread Jason Cooper
Antoine ([EMAIL PROTECTED]) scribbled:
 Hi,
 I can't seem to get any bites on the more appropriate lists I am on...

Have you tried linux-c-programming@vger.kernel.org ?

 
 I am almost finished hacking libtiff into something we can use to make 
 tiff ATA2100 compliant files and am sure that the last hurdle is 
 understanding what the following means:
 
 tif-tif_diroff = (TIFFSeekFile(tif, (toff_t) 0, SEEK_END)+1) ~ 1;
 
 (from tif_dirwrite.c)
 
 where
 
 TIFFSeekFile is
 
 #define   TIFFSeekFile(tif, off, whence) \ 
 ((*(tif)-tif_seekproc)((tif)-tif_clientdata,(toff_t)(off),whence))
 
 basically all I need to know is what the ~ 1 does at the end of the 
 first line 

whitespace doesn't matter in C, this is taking the output of
TIFFSeekFile and and'ing () it with ~1 == 0xfffe .  The type of '1'
will be determined by the type of TIFFSeekFile.  The end result is that
the output of TIFFSeekFile will always be even.

 and what the effect of
 ((*(tif)-tif_seekproc)((tif)-tif_clientdata,(toff_t)(off),whence))
 is. It doesn't look to me much like a function call... but then again, I 
 only started really looking at c a week ago :-).

Sure looks like it to me.  grep through the source for 'tif_seekproc',
it'll be a member of a struct and should be a function pointer (this
should be in an include file).  Then look for some sort of an
initialization routine where 'tif_seekproc' is assigned a function
pointer.  The function it is assigned will be what is used when the
above macro 'TIFFSeekFile' is called.

hth,

Cooper.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] way OT - libtiff c help

2005-01-30 Thread Jason Cooper
Jason Cooper ([EMAIL PROTECTED]) scribbled:
  tif-tif_diroff = (TIFFSeekFile(tif, (toff_t) 0, SEEK_END)+1) ~ 1;
 whitespace doesn't matter in C, this is taking the output of
 TIFFSeekFile and and'ing () it with ~1 == 0xfffe .  The type of '1'
 will be determined by the type of TIFFSeekFile.  The end result is that
 the output of TIFFSeekFile will always be even.

oops, I meant 'tif-tif_diroff' will always be even, sorry.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a scanner under Sane

2005-01-30 Thread Jason Cooper
Mark Knecht ([EMAIL PROTECTED]) scribbled:
 On Sun, 30 Jan 2005 23:03:57 +0100, Christoph Eckert
 [EMAIL PROTECTED] wrote:
  
  I've installed Sane from Sane's CVS as that supposedly
   has support for my Epson scanner. Does anyone have any
   simple instructions about for how to get the scanner
   recognized and Sane working? (In a sane amount of time...)
  
   sane-find-scanner?
  
   Best regards
  
  ce
 
 Yes, I got that far:
 
 found USB scanner (vendor=0x04b8 [EPSON], product=0x0121 [EPSON
 Scanner]) at libusb:001:004
 
 but then scanimage tells me no scanner found. I assume that maybe I
 need to load a driver or something but so far I cannot seem to get
 things working...

Take a look at /etc/sane.d/epson.conf  'usb' should be uncommented.  If
it doen't work, try as the config file suggests and append the vendor
and product id's to the 'usb' line.

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: possible portage bug? emerge -fguD

2005-01-29 Thread Jason Stubbs
On Saturday 29 January 2005 12:56, Jesse Guardiani wrote:
 Jason Stubbs wrote:
  On Saturday 29 January 2005 09:08, Jesse Guardiani wrote:
  However, now the same thing happens if I start an `emerge -fguD world`,
  then start an `emerge -guD world` simultaneously. This is strange. I
  have distlocks in my /etc/make.conf. Shouldn't I be able to run two
  emerge operations simultaneously?
 
  Not with binary packages.

 Ah. Gee. That stinks.

Please file a bug on this one so that it's not forgotten about, even if it's 
not fixed relatively soon.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: possible portage bug? emerge -fguD

2005-01-29 Thread Jason Stubbs
On Saturday 29 January 2005 18:39, Caleb Jacobs wrote:
 When i try to run emerge -uDp world i get this error
 emerge: there are no ebuilds to satisfy =sys-devel/automake-1.8.5-r2.


 !!! Problem with ebuild sys-apps/man-pages-2.01
 !!! Possibly a DEPEND/*DEPEND problem.

 !!! Depgraph creation failed.

Completely unrelated problem... It's been noticed and is being looked into, 
though.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /usr/lib/libjpeg.la problems

2005-01-29 Thread Jason Stubbs
On Saturday 29 January 2005 22:22, Vittorio wrote:
 During the compilation of the latest koffice 1.3.5 the following error (see
 below) pops up saying that it is not possible to find the
 /usr/lib/libjpeg.la library which instead, needless to say, is there.

 Disorientated I had tried to fix the libraries directories using the latest
 fix_libtool_files.sh to no avail.

 What shall I do?

 Vittorio

 libtool: link: warning: `/usr/lib/libjpeg.la' seems to be moved
 grep: /var/tmp/portage/jpeg-6b-r4/image//usr/lib/libjpeg.la: No such file
 or directory

Within the file /usr/lib/libjpeg.la you'll find a line similar to:
libdir='/var/tmp/portage/jpeg-6b-r4/image//usr/lib'
That should just be
libdir='/usr/lib'

You might want to file a bug, giving what version of media-libs/jpeg you have, 
just to be sure that this problem wont reoccur for others.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Re: possible portage bug? emerge -fguD

2005-01-28 Thread Jason Stubbs
On Friday 28 January 2005 18:03, Jesse Guardiani wrote:
 [17:[EMAIL PROTECTED]:[~/.unison]# emerge -fguD world
 !!! Invalid binary package: xorg-x11-6.8.1.902.tbz2

On Saturday 29 January 2005 09:08, Jesse Guardiani wrote:
   However, now the same thing happens if I start an `emerge -fguD world`,
   then start an `emerge -guD world` simultaneously. This is strange. I
   have distlocks in my /etc/make.conf. Shouldn't I be able to run two
   emerge operations simultaneously?

Jason Stubbs wrote:
  Not with binary packages.

On Saturday 29 January 2005 12:56, Jesse Guardiani wrote:
 Ah. Gee. That stinks.

It could be made to be safe to do, but would it really offer any benefit? How 
much time saving is there by parallelizing the download and the untar?

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Moving e-mail

2005-01-25 Thread Jason Cooper
Patrick Marquetecken ([EMAIL PROTECTED]) scribbled:
 I followed a virtual mail server howto in the forums, fetchmail - procmail - 
 courier -imap - postfix - squirrelmail and it works perfect.
 The only question i have is, i'm gathering mail for years with sylpheed-claws 
 in a maildir, it are several thousend of mails in sub dirs. 
 How do i get them into the new mailserver, the server has also a .maildir but 
 the filename of the emails are different.

I just switched from qmail to postfix and then renamed and moved all my
mail sud-directories around.  maildir files can be moved around without
worry, just stay consistent.  If it was in cur/ move it to the
corresponding cur/ in the new directory.  Same with new/ .  

As usual, back up your collection before you moving stuff around.  Then
use it for a month or two before accepting that it went ok.

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configuring 2.6 kernels

2005-01-23 Thread Jason Cooper
A. Khattri ([EMAIL PROTECTED]) scribbled:
 (Yes, its driving me nuts ;-)

I would 'emerge -Ca g-d-s-version', rm the tree, and re-merge.  Then
copy the .config over and run 'make oldconfig'

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] whos got the time?

2005-01-21 Thread Jason Cooper
Mike Noble ([EMAIL PROTECTED]) scribbled:
 Nick Smith wrote:
 | On Fri, 2005-01-21 at 12:44 +0200, Uwe Thiem wrote:
 |
 |
 | [EMAIL PROTECTED] ~ $ date
 | Fri Jan 21 16:43:56 EST 2005
 | [EMAIL PROTECTED] ~ $ su
 | Password:
 | laptux nick # date
 | Fri Jan 21 16:44:01 EST 2005
 |
 | they are both in sync together, just both out of sync with the real
 | time, my flux clock says its 9:44,
 |
 | my localtime is linked to:
 | localtime - /usr/share/zoneinfo/US/Eastern,
 |
 | and i doubt its a battery issue, cause i have 4 gentoo boxes going and
 | they all have different times, none correct, this is the only one i have
 | messed with ntp on, i want to make sure i can get it working before i do
 | it on the other machines.  what servers are people using in their
 | ntpd.conf? i have:
 |
 | server pool.ntp.org
 |
 | is there an EST server i should be using? what other settings should i
 | have in that file? i have:
 |
 | driftfile   /var/lib/ntp/ntp.drift
 | restrict default nomodify nopeer
 | restrict 127.0.0.1
 |
 | thanks for the help
 |
 |
 
 Here is my ntp.conf file:
 
 server ntp.ucsd.edu
 #server pool.ntp.org
 driftfile   /var/lib/ntp/ntp.drift
 restrict default nomodify nopeer
 restrict 127.0.0.1
 
 Since I live in San Diego it only makes sense for me to use
 ntp.ucsd.edu.
 
 As you probably already know, you need to have the daemon ntpd running
 so that it can sync with the time server.
 
 I do not believe that it really makes a difference what server you
 go to, they all give out the time as GMT.  It is better to find one
 near you, but you could use ntp.ucsd.edu to see if that helps.
 
 For the east coast you could use the following:
 ~ bonehed.lcs.mit.edu
 The web page for this server is:
 http://ntp.isc.org/bin/view/Servers/BonehedLcsMitEdu
 
 For a list of all ntp servers you can go to:
 
 http://www.ntp.org/
 click on the link: Public Time Server Lists


I live on the east coast and have used these servers for years without a
problem:

time-a.nist.gov
time-b.nist.gov

Never hurts to list more than one in your config file :)

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] CLI appointment/todo list reminder program?

2005-01-17 Thread Jason Cooper
Okay, googled around, no luck.  Has anyone found a command-line program
for maintaining an appointment calendar and todo lists?  Most important, 
it needs to have email notification and work from within screen.  Yes,
basically a wrapper for at/cron.

tia,


Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CLI appointment/todo list reminder program?

2005-01-17 Thread Jason Cooper
Lee Capps ([EMAIL PROTECTED]) scribbled:
 On 09:35 Mon 17 Jan , Jason Cooper wrote:
  Okay, googled around, no luck.  Has anyone found a command-line program
  for maintaining an appointment calendar and todo lists?  Most important, 
  it needs to have email notification and work from within screen.  Yes,
  basically a wrapper for at/cron.
 
 I also like devtodo, as someone else mentions.  I use the calendar
 program now and set up a cron job to send myself reminders.  In the
 past, I've also had luck with pal, which is a little fancier.

Well, On initial man-page read through, it looks like pal is my best
bet.  Or at the least, there should be some way to munge it into a cron
job with the --mail option... :)  

thx,

cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using HP PSC-750 scanner functions in Gentoo

2005-01-15 Thread Jason Cooper
Jeff Cranmer ([EMAIL PROTECTED]) scribbled:
 On Sat, 2005-01-15 at 01:20 -0500, Jason Cooper wrote:
  Jeff Cranmer ([EMAIL PROTECTED]) scribbled:
 
  If you're running kernel 2.6.x, make sure you _don't_ have the module
  printer.ko.  scanner support (as well as printer support) have been
  moved into user-space with libusb.  Make sure it is emerged, if not,
  remerge hpoj with USE=usb.
  
  so you should have merged libusb, hpoj, cups, and xsane.  Now, run
  'ptal-init setup'.  When this is done, running 'xsane' should startup
  and recognize the device.  If not, don't sweat it, It's been a year or
  so since I set mine up, so my memory is a little fuzzy.  Take a look at
  the cups documentation, or linuxprinting.org .
  
  Also note after setup to start the services /etc/init.d/{hpoj,cups} in
  that order.
  
  You'll most likely have to redefine your printer in cups.  Here's the
  relevant portion of my /etc/cups/printers.conf
  
  DefaultPrinter HP_PSC_750
  Info HP Color PSC
  Location office
  DeviceURI ptal:/mlc:usb:PSC_750
  State Idle
  Accepting Yes
  JobSheets none none
  QuotaPeriod 0
  PageLimit 0
  KLimit 0
  /Printer
  
  
  Your device uri may be different depending on how you answered
  ptal-init...
  
  hth,
  
  Cooper.
 
 I'm running the 2.4.27 kernel.   Module printer.o is installed
 automatically on startup with modules.autoload.d/kernel-2.4
 
 Should I remove this module from autoload?

You have two choices.  You can load scanner.o (only present in 2.4.x
kernels), and unmerge libusb.  Or, you can remove printer.o and config
things to use libusb.

I would recommend libusb as you will eventually have to make the change
when you step up to a 2.6.x kernel.

 
 I have hpoj, libusb, cups and xsane installed.
 
 /etc/cups/printers.conf is totally empty (however the printer works).
 Do I need to add the info above to this file, or is the necessary
 configuration file elsewhere?
 

That is purely for printing w/ cups.  

 As the printer is working as a printer, I am assuming that hpoj is
 correctly emerged.  I don't have usb as a use flag in make.conf, but it
 is probably part of the package.  If the other steps above don't work, I
 can try remerging hpoj with the usb USE flag manually set.

Your quick fix is going to be enabling usb scanner support in the
2.4.x kernel and modprobing it, but like I said above, you're going to
have to go through configuring things for libusb at some point, may as
well do it now.

Whichever route you take, just let me know if you need a specific file,
and I'll show you what I have.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libtool breaks after last update world

2005-01-15 Thread Jason Cooper
Frank Schafer ([EMAIL PROTECTED]) scribbled:
 Hi,
 
 !!! ERROR: media-gfx/imagemagick-6.1.3.4 failed.
 !!! Function src_compile, Line 83, Exitcode 2
 
 I did an ``emerge -u world''. As I saw gcc was upgraded to 3.3.5. This
 seems to break libtool.
 
 Today I tried to emerge ImageMagick (and yes, I DID ``emerge --unmerge
 libtool; emertge libtool'' before this).
 
 d -lm -lpthread ltdl/libltdl.la 
 grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such
 file or directory
 /bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc
 ++.la: No such file or directory
 libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la'
 is not a valid libtool archive
 make[1]: *** [magick/libMagick.la] Error 1
 make[1]: Leaving directory
 `/var/tmp/portage/imagemagick-6.1.3.4/work/ImageMagick-6.1.3'
 make: *** [all] Error 2
 
 Seems libtool has the path to the gcc libraries hardcoded. Wouldn't it
 be a good idea to change libtool whenever we upgrade GCC?

# fix_libtool_files.sh 3.3.4

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kde meta ebuild

2005-01-14 Thread Jason Stubbs
On Friday 14 January 2005 16:36, Dirk Heinrichs wrote:
 Am Freitag, 14. Januar 2005 08:19 schrieb ext Martoni:
  On the site (http://kde-metaebuilds.berlios.de/) it states that:
  "However, it is being merged slowly into portage and should be the
  main/only set of official kde ebuilds for 3.4.0."

 It will be nice to have those KDE meta ebuilds, but I think that both
 should coexist. On a normal workstation, I usually want all of KDE
 installed and using the meta ebuilds would be big overhead. OTOH, I agree
 that there are many situations where only a small subste of KDE's
 applications is needed so please keep both.

Not to be condescending or anything but... Apparently the split-up ebuilds are 
ready and the only issues left are related to the upgrade process rather than 
installation, which is why the split-up ebuilds aren't in the tree. The 
reason why the monolithic ebuilds are in the tree is because there were many 
bugs asking "where's my kde 3.4.0b1!?" Actually, there was at least one that 
I saw regarding alpha1 as well.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list

Re: [gentoo-user] qmail and gentoo

2005-01-14 Thread Jason Cooper
John Dangler ([EMAIL PROTECTED]) scribbled:
 Is anyone here running qmail on gentoo 2.6.10 ?
 I've been trying for the better part of 8 hours to get sendmail to run with
 no luck.  The tech at my isp said that qmail would be a lot simpler and
 easier to get up and running.  I need to get a mail system running on this
 box!

I had qmail running on gentoo for over a year and a half as my home
mailserver.  I recently moved to a location where they block incoming and
outgoing port 25 TCP traffic.  In the end, it was just easier to switch
to postfix.  Here's what I did:

emerge -Ca qmail

emerge -av postfix

adjust use flags.

setup main.cf according to postfix.org docs.

adjust setup using dyndns.org docs for mailhop relay and outbound.

Total time, about an hour.  As opposed to two weeks screwing around with
qmail and googling for unsuccessful hacks.


Don't get me wrong, qmail is great and worked fine, but it's a bitch to
configure (how many files are there?), the config files are in
non-standard locations, and djb's wierd license hurts qmail.  I found
several occassions where a patch to qmail would be referenced to fix my
problem, and the webpage had No longer providing patches for qmail.
In the end, switching to postfix was the path of least resistance for
what I was trying to do.

ymmv.

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Using HP PSC-750 scanner functions in Gentoo

2005-01-14 Thread Jason Cooper
Jeff Cranmer ([EMAIL PROTECTED]) scribbled:
 Has anyone tried to use the scanner functions of an HP PSC-750 in
 gentoo?
 
 I installed xsane, but get a 'no devices available' error when I try to
 run it.  The printer works fine via cups.

If you're running kernel 2.6.x, make sure you _don't_ have the module
printer.ko.  scanner support (as well as printer support) have been
moved into user-space with libusb.  Make sure it is emerged, if not,
remerge hpoj with USE=usb.

so you should have merged libusb, hpoj, cups, and xsane.  Now, run
'ptal-init setup'.  When this is done, running 'xsane' should startup
and recognize the device.  If not, don't sweat it, It's been a year or
so since I set mine up, so my memory is a little fuzzy.  Take a look at
the cups documentation, or linuxprinting.org .

Also note after setup to start the services /etc/init.d/{hpoj,cups} in
that order.

You'll most likely have to redefine your printer in cups.  Here's the
relevant portion of my /etc/cups/printers.conf

DefaultPrinter HP_PSC_750
Info HP Color PSC
Location office
DeviceURI ptal:/mlc:usb:PSC_750
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
/Printer


Your device uri may be different depending on how you answered
ptal-init...

hth,

Cooper.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Filesystem Benchmarks

2005-01-07 Thread Jason Stubbs
On Friday 07 January 2005 07:07, death rince wrote:
 Hi,

Hi. I figured that you might need another response as most of this thread just 
turned into a flame war. ;)

 I was browsing through benchmarks of Reiserfs and
 other filesystem when I came across this,

 http://linuxgazette.net/102/piszcz.html

 Can anyone please give an insight, behind the
 rationale of such tests and what exactly it signifies
 in terms of working of the kernel with respect to
 different filesystems. I am not too knowledgeable with
 working of OS and kernel to be able to understand it

The rational of the test? I can kind of explain that as I have previously made 
the same false assumptions - not that I'm am enlightened enough to be able to 
identify all of them.

The biggest false assumption is that benchmarking serial activity to a 
filesystem is a relevant benchmark for desktop purposes. In fact, I'm not 
sure it's really relevant to any activity, except backups perhaps. Second 
false assumption...

001] Create 10,000 files with touch in a directory.
004] Create 10,000 directories with mkdir in a directory.

The rationale is to measure which fs is faster at what atomic operation, but 
the benchmark has assumed that creating a directory and creating a file 
should take the same amount of time.

Hmm.. I really have nothing else to say. I have this terrible urge to tell you 
about my experiences with various file system, but I won't yield to them. ;)

I guess all you can really do is try a few out and come to your own 
conclusions.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] QA Notice : --depclean is not evil! (was: How to unmerge Xfce4 (totally))

2005-01-06 Thread Jason Stubbs
On Thursday 06 January 2005 10:55, Ow Mun Heng wrote:
 On Wed, 2005-01-05 at 20:23, Jason Stubbs wrote:
  On Wednesday 05 January 2005 19:25, Ow Mun Heng wrote:
   Here's what I see at the top.
   QA Notice: ECLASS 'flag-o-matic' inherited illegally in
   dev-lang/swig-1.3.21
   QA Notice: ECLASS 'eutils' inherited illegally in dev-lang/swig-1.3.21
   QA Notice: ECLASS 'toolchain-funcs' inherited illegally in
   dev-lang/swig-1.3.21
   QA Notice: ECLASS 'mono' inherited illegally in dev-lang/swig-1.3.21
  
   Please Explain
 
  This is related to a new illegal inheritance QA check in portage.

 Meaning these are just error in the original Ebuilds?

  False errors appear when unmerging packages that were merged with a 
  portage that didn't have this check.

Meaning ^^^. I just checked the ebuild and it doesn't inherit anything 
illegally.

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list

Re: [gentoo-user] --depclean is not evil! (was: How to unmerge Xfce4 (totally))

2005-01-05 Thread Jason Stubbs
On Wednesday 05 January 2005 19:25, Ow Mun Heng wrote:
 Here's what I see at the top.
 QA Notice: ECLASS 'flag-o-matic' inherited illegally in
 dev-lang/swig-1.3.21
 QA Notice: ECLASS 'eutils' inherited illegally in dev-lang/swig-1.3.21
 QA Notice: ECLASS 'toolchain-funcs' inherited illegally in
 dev-lang/swig-1.3.21
 QA Notice: ECLASS 'mono' inherited illegally in dev-lang/swig-1.3.21

 Please Explain

This is related to a new illegal inheritance QA check in portage. False errors 
appear when unmerging packages that were merged with a portage that didn't 
have this check. Either way, QA notices are nothing to worry about - unless 
of course you want to supply a patch to fix them. :)

Regards,
Jason Stubbs

--
gentoo-user@gentoo.org mailing list

Re: [gentoo-user] deleting /dev/hda1 partition

2004-02-26 Thread Jason Stubbs
On Thursday 26 February 2004 08:14, Grendel wrote:
 On Wed, 25 Feb 2004, Jason Stubbs uttered the following immortal words,

  Grendel's right in that you don't need to delete the partition and are
  able to re-format it with whatever file system you want. Though if you do
  it that way, you should also change the partition type from 7 (HPFS/NTFS)
  to 83 (Linux).

 Yes, unfortunately I had forgotten to do this step, and my linux fs
 partition is still listed as ntfs. However linux doesnt seem to have any
 problem mounting it at all. I guess that the partition type maybe for
 identification purposes only?

Yeah, Linux is quite good like that. Similar to the way most basic *nix 
programs don't care about a file's extension, mount checks the signature of 
the file system from the first sector (I believe) instead of blindly 
believing (or even checking) what it's labelled as.

Regards,
Jason Stubbs

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] boot partition

2004-02-26 Thread Jason Stubbs
On Friday 27 February 2004 11:32, Norberto Bensa wrote:
 Bryn Hughes wrote:
  On Feb 26, 2004, at 4:00 PM, Jorge Almeida wrote:
  AFAIK grub/lilo cannot find the kernel if it is on a logical or
  extended partition, they specifically require the kernel to be on a
  primary regular partition.

 Oh nononono. If you install GRUB on MBR it can boot from logical
 paritions (hd?x where x =5) without problems. I guess LILO can do it to,
 but it's been a while since I used it last time...

I believe that lilo doesn't care about the partition. As far as I know, lilo 
just points directly to the sector that begins the kernel.

Regards,
Jason Stubbs

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] I would like to make a sudgestion if I may

2004-02-25 Thread Jason Stubbs
On Wednesday 25 February 2004 14:12, Chris wrote:
 It would most likely be of great help to newbies if someone were to add on
 to the installation instructions walking people step by step on how to make
 gentoo as secure as possible. Everything from setting up a firewall to
 whatever.

You mean like the Gentoo Linux Security Guide[1]? :)

[1] http://www.gentoo.org/doc/en/gentoo-security.xml

Regards,
Jason Stubbs

--
[EMAIL PROTECTED] mailing list



  1   2   3   4   5   6   7   8   9   >