[gentoo-user] RE: Digest of gentoo-user@gentoo.org issue 454 (27878-27927)

2005-12-04 Thread Eric Lehmann
Unsubscribe

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 03, 2005 7:02 AM
To: [EMAIL PROTECTED]
Subject: Digest of gentoo-user@gentoo.org issue 454 (27878-27927)

Topics (messages 27878 throught 27927):

[gentoo-user]  OpenOffice update from Ximianised version
  27878 - Billy Holmes [EMAIL PROTECTED]
  27889 - Yoandy Rodriguez [EMAIL PROTECTED]
  27892 - Dale [EMAIL PROTECTED]
  27914 - Yoandy Rodriguez [EMAIL PROTECTED]

[gentoo-user] USE flags
  27879 - Neil Bothwick [EMAIL PROTECTED]
  27880 - Dale [EMAIL PROTECTED]
  27887 - John J. Foster [EMAIL PROTECTED]

[gentoo-user] [EMAIL PROTECTED]
  27881 - Jorge Boscan [EMAIL PROTECTED]
  27888 - Thomas Witt [EMAIL PROTECTED]
  27891 - Dale [EMAIL PROTECTED]

[gentoo-user] can't boot 2.6.14
  27882 - Sascha Lucas [EMAIL PROTECTED]

[gentoo-user]  trimming
  27883 - Charly ghislain [EMAIL PROTECTED]

[gentoo-user]  Re: Re: Still not getting how to influence
 compile flags with emerge
  27886 - Ciaran McCreesh [EMAIL PROTECTED]

[gentoo-user] net.eth0 service failed
  27890 - Michael Alves [EMAIL PROTECTED]

[gentoo-user] Which ebuild contains sgml2html command ?
  27893 - Norbert Kamenicky [EMAIL PROTECTED]
  27894 - Peter Ruskin [EMAIL PROTECTED]
  27897 - Norbert Kamenicky [EMAIL PROTECTED]
  27905 - Nick Rout [EMAIL PROTECTED]

[gentoo-user] KDE 3.5
  27895 - Robert Crawford [EMAIL PROTECTED]

[gentoo-user]  Re: OpenOffice update from Ximianised version
  27896 - Mick [EMAIL PROTECTED]

[gentoo-user]  Re: iptables init script
  27898 - James [EMAIL PROTECTED]

[gentoo-user]  Re: Re: Re: Still not getting how to influence compile flags
with emerge
  27899 - Mick [EMAIL PROTECTED]

[gentoo-user] [Not specifically Gentoo] Forcing a new IP address
 with DHCP
  27900 - Ryan Tandy [EMAIL PROTECTED]

[gentoo-user]  Re: Re: Re: Still not getting how to influence
 compile flags with emerge
  27901 - Holly Bostick [EMAIL PROTECTED]

[gentoo-user] Openoffice 2 Install problems
  27902 - Jeff Cranmer [EMAIL PROTECTED]
  27907 - Richard Fish [EMAIL PROTECTED]
  27913 - Dale [EMAIL PROTECTED]

[gentoo-user] kpdf insisting in A4 paper size
  27903 - Joseph [EMAIL PROTECTED]

[gentoo-user] OT - GIMP question
  27904 - Michael Sullivan [EMAIL PROTECTED]
  27906 - Luis Ortiz [EMAIL PROTECTED]
  27915 - Michael Sullivan [EMAIL PROTECTED]
  27916 - Michael Sullivan [EMAIL PROTECTED]
  27919 - Glenn Enright [EMAIL PROTECTED]
  27925 - =?ISO-8859-1?Q?Joh=E1m-Lu=EDs_Migu=E9ns?= Vila
[EMAIL PROTECTED]

[gentoo-user] OpenOffice update from Ximianised version
  27908 - Richard Fish [EMAIL PROTECTED]

[gentoo-user]  Still not getting how to influence compile flags with emerge
  27909 - Willie Wong [EMAIL PROTECTED]

[gentoo-user] drive found but still panics
  27917 - Richard Fish [EMAIL PROTECTED]

[gentoo-user] GCC-3.4 will be marked stable in ~1 hour on x86
  27918 - Andrew Gaydenko [EMAIL PROTECTED]

[gentoo-user] creating local copies of web pages
  27920 - Robert Persson [EMAIL PROTECTED]
  27921 - Robert Persson [EMAIL PROTECTED]

[gentoo-user] Re: gcc hardened and vanilla + distcc
  27922 - [EMAIL PROTECTED]

[gentoo-user] error emerging gnome-vfs on athlon-xp machine
  27923 - Alan E. Davis [EMAIL PROTECTED]
  27924 - Dale [EMAIL PROTECTED]

[gentoo-user] Add subject to mails CLI Postfix
  27926 - Tamas Sarga [EMAIL PROTECTED]

[gentoo-user] exim / authentication
  27927 - Uwe Thiem [EMAIL PROTECTED]



-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005
 
 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 12/2/2005
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] best make.conf settings for compaq-ml350

2005-12-04 Thread Dale
El Nino wrote:

Dear my friends,

i'm going to deploy gentoo on a Compaq Proliant ML350 server. so can
any body recommend the best make.conf  kernel configurations for this
server.



all advices are welcome...

  

I have a Compaq Proliant 6000 if that would help.  I'm not familiar with
the ML350.  I can email you my kernels .config if you want.  It uses
this kernel version:

 [EMAIL PROTECTED] / # uname -r
 2.6.11-gentoo-r3
 [EMAIL PROTECTED] / #


I'm not sure what kernel versions that would work with.  My make.conf is
pretty simple:

# These settings were set by the catalyst build script that automatically 
built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=-O2 -mcpu=pentiumpro -fomit-frame-pointer
CHOST=i386-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j5
SYNC=rsync://192.167.0.1/gentoo-portage
http_proxy=http://192.167.0.1:8080;

Mine has quad CPUs too.  Still pretty slow though.  CPUs are 200MHz.  :(

That help any?

Dale
:-)


-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Dale
Haim Ashkenazi wrote:

do you have WIPE_TMP=yes in /etc/conf.d/bootmisc? if not (and you
don't have any other means of cleaning /tmp, chances are you have too
many files in /tmp (e.g. every movie you ever viewed with firefox).
you can change the setting like the example above and reboot the machine
and it'll clean you /tmp.

note however that every boot will completely wipe out every file you
have in /tmp.

Bye
  

Well, this is set up as a server but I do have KDE installed.  It has
never connected to the net though.  I hope my mom will start using it if
I move.

I'm going to try that setting and reboot and see if it helps any, it has
to help some though.  May do the same on my other rigs too.

Thanks.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Dale
LOL  It helped a little bit, but not much.

 swifty / # df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/hda6  3564108   3505584 58524  99% /
 udev12738880127308   1% /dev
 /dev/hda148312 37412 10900  78% /boot
 none127388 0127388   0% /dev/shm
 swifty / #

Any more ideas?  I would hate to have to remove KDE from that thing.

Thanks.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Hemmann, Volker Armin
On Sunday 04 December 2005 09:35, Dale wrote:
 Hi,

 I have been up and running a while and am running stable but this is
 Gentoo.  ;)  I found a script that tells you what your CFLAGS are
 suposed to be and it is different from what I am using.  This is what I

 am using now, from make.conf of course:
 CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer

 This is what the script said:
 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow

 I assume I would have to add the-O3 to that though.

 I have a AMD XP 2500+ and 1GB of ram.  I like it to run fast even if it
 takes longer to compile.  I think that is where the -O3 comes in but be
 gentle if I am wrong.  For those who may read this and not tell the
 difference, that is a minus sign, the letter O and the number three.


O3 makes binaries much, much bigger. Bigger binaries need more cacheload 
time. So bigger binaries are slower a lot of time.
-fomit-frame-pointer is fine, fmpgmath=sse may or may not make your apps 
slower or faster. msse, mmmx, m3dnow are (mostly) harmless.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can't boot 2.6.14

2005-12-04 Thread Sascha Lucas

After Machine check exception polling timer started. Nothing happens any
more.


I'd start with acpi=off, and try to isolate the problem from there.


sorry this doesn't help. BTW: my chipset is on the acpi blacklist, it was 
allways disabled by default.


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford
On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:
 Dale wrote:
  Hi,
 
  I have been up and running a while and am running stable but this is
  Gentoo.  ;)  I found a script that tells you what your CFLAGS are
  suposed to be and it is different from what I am using.  This is what I
 
  am using now, from make.conf of course:
 CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer
 
  This is what the script said:
 -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow
 
  I assume I would have to add the-O3 to that though.
 
  I have a AMD XP 2500+ and 1GB of ram.  I like it to run fast even if it
  takes longer to compile.  I think that is where the -O3 comes in but be
  gentle if I am wrong.  For those who may read this and not tell the
  difference, that is a minus sign, the letter O and the number three.
 
  What do you folks think?  Is the one I am using better or the one it
  says?  I do have long uptimes so I do want to stay stable.  I have went
  as long as 9 months with no reboot.
 
  Thanks.
 
  Dale
 
  :-)

 Well, it looks pretty much like my CLAFGS:

 CFLAGS=-O2 -march=athlon-xp -mfpmath=sse -fomit-frame-pointer -msse
 -mmmx -m3dnow -pipe   (the same I used with LFS).

 The difference being -O2 instead of -O3.

 I don't think you'll gain much with the new CFLAGS, but they won't hurt
 stability.

 -Kristian Poul Herkild

-mfpmath=sse is not a good idea, the consensus is it actually lowers 
performance.  -msse -mmmx -m3dnow are redundant (implied by 
-march=athlon-xp), and should be removed from your cflags line, but SHOULD be 
placed in your USE= line, wthout the - sign, like this:

USE=mmx 3dnow sse

If you use gcc-3.4.4, these flags should work fine (I've used them for a long 
time- no problems).

CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb -ftracer 
-fprefetch-loop-arrays -ffast-math -falign-functions=64 -fno-ident

CXXFLAGS=${CFLAGS} -fvisibility-inlines-hidden


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C++ missing

2005-12-04 Thread Dale
Mike Kenny wrote:

 I am trying to install gentoo from the web by following the steps in
 the  Gentoo Linux x86 Handbook for a stage 1 install. This works well
 up to a point.

 When I execute
 # emerge --emptytree system
 after some time the process terminates with a message similar to

 cd ../obj_s;   -I../c++ -I../include
 -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
 -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
 -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686
 -fomit-frame-pointer -fPIC -c
 /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
 /bin/sh: line 1: -I../c++: No such file or directory
 make: *** [../obj_s/cursesf.o] Error 127

 (I say similar because the output above is from executing make within
 the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++)

 Inspecting the Makefile shows that there is no value defind for CXX.
 As g++ does not appear to exist within my chrooted environment I did
 attempt to set this to gcc, but this failed with a notice the c++ was
 not installed.

 I believe I must have messed up something in creating my chroot
 environment as g++ exists elsewhere. But I can't figure what that
 might have been.

 I have also tried executing the instructions for installing gcc 3.4 in
 the hope that this would give me a c++ compiler, but this failed with
 the same error as above.

 Any ideas on how I should proceed? I am loathe to restart as a) I
 don't yet see what I can do differently and b) I have a 2GB cap on my
 bandwidth for December and have already used over 25% of this.

 Thanks,

Well, I may have ran into this before.  Type in df and see if your disk
is full.  It is worth a try at least.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Kristian Poul Herkild

Dale wrote:

Hemmann, Volker Armin wrote:


O3 makes binaries much, much bigger. Bigger binaries need more cacheload 
time. So bigger binaries are slower a lot of time.
-fomit-frame-pointer is fine, fmpgmath=sse may or may not make your apps 
slower or faster. msse, mmmx, m3dnow are (mostly) harmless.





Should I change the -O3 to something else?  I have another rig that may
need smaller binaries.  The drive is full.  This may help on it too.

What you think?

Dale
:-)



Personally I stick to -O2 since -O3 usually won't do much in reality. 
-O3 takes longer to compile, and there is very little or no gain at all 
(and sometimes the gain is negative).


If space is the most important issue you might want to compile for 
smallest possible binary, e.g. -Os


-Kristian Poul Herkild
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C++ missing

2005-12-04 Thread Mike Kenny

Dale wrote:

Mike Kenny wrote:



I am trying to install gentoo from the web by following the steps in
the  Gentoo Linux x86 Handbook for a stage 1 install. This works well
up to a point.

When I execute
# emerge --emptytree system
after some time the process terminates with a message similar to

cd ../obj_s;   -I../c++ -I../include
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I.
-I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686
-fomit-frame-pointer -fPIC -c
/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc
/bin/sh: line 1: -I../c++: No such file or directory
make: *** [../obj_s/cursesf.o] Error 127

(I say similar because the output above is from executing make within
the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++)

Inspecting the Makefile shows that there is no value defind for CXX.
As g++ does not appear to exist within my chrooted environment I did
attempt to set this to gcc, but this failed with a notice the c++ was
not installed.

I believe I must have messed up something in creating my chroot
environment as g++ exists elsewhere. But I can't figure what that
might have been.

I have also tried executing the instructions for installing gcc 3.4 in
the hope that this would give me a c++ compiler, but this failed with
the same error as above.

Any ideas on how I should proceed? I am loathe to restart as a) I
don't yet see what I can do differently and b) I have a 2GB cap on my
bandwidth for December and have already used over 25% of this.

Thanks,



Well, I may have ran into this before.  Type in df and see if your disk
is full.  It is worth a try at least.

Dale
:-)


Thanks for the reply Dale. The output of df in my chroot environment is:

df: cannot read table of mounted filesystems: No such file or directory

I am not clear on what the cause of significance of this is. On the 
actual system (i.e. not in chroot) the output is:


FilesystemSize  Used Avail Use% Mounted on
tmpfs 252M  5.2M  247M   3% /
/newroot/dev/cdroms/cdrom0
   59M   59M 0 100% /mnt/cdrom
/dev/loop/052M   52M 0 100% /mnt/livecd
tmpfs 252M  1.2M  251M   1% /lib/firmware
/dev/hda3 1.4G  596M  785M  44% /mnt/gentoo
/dev/hda1 130M   13K  123M   1% /mnt/gentoo/boot

I expect this would provide me with sufficient space?

I was incorrect in my previous email, executing g++ outside of the 
chroot results in:


sh: line 1: /usr/bin/gcc-config: No such file or directory
gcc-config error: Could not get compiler binary path: No such file or 
directory


But this may be a result of my attempt to emerge gcc 3.4.4?
--
mike kenny
Linux Registered User #381724
LPI ID# 80080

Hell, there are no rules here, we're just trying to accomplish something
   Thomas Edison
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Dale
Kristian Poul Herkild wrote:


 Personally I stick to -O2 since -O3 usually won't do much in reality.
 -O3 takes longer to compile, and there is very little or no gain at
 all (and sometimes the gain is negative).

 If space is the most important issue you might want to compile for
 smallest possible binary, e.g. -Os

 -Kristian Poul Herkild

Thanks, I may try that -Os on my rig with the tiny drive.  I'm pruning
it right now.  It's so full it can't compile.  LOL  -O2 huh.  May give
that a shot too.  I've got a emerge -e world with the gcc update so . .
. . .

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Kristian Poul Herkild

Robert Crawford wrote:

On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:



-mfpmath=sse is not a good idea, the consensus is it actually lowers 
performance.  -msse -mmmx -m3dnow are redundant (implied by 
-march=athlon-xp), and should be removed from your cflags line, but SHOULD be 
placed in your USE= line, wthout the - sign, like this:


USE=mmx 3dnow sse

If you use gcc-3.4.4, these flags should work fine (I've used them for a long 
time- no problems).


CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb -ftracer 
-fprefetch-loop-arrays -ffast-math -falign-functions=64 -fno-ident


CXXFLAGS=${CFLAGS} -fvisibility-inlines-hidden




Hmm... according to this thread 
http://forums.gentoo.org/viewtopic.php?t=43648 and the GCC manual -march 
does not imply -mmx -msse -m3dnow, nor does it imply mfpmath=sse. I know 
of no consensus of -mfpmath=sse lowering performance. Actually, I only 
know of the opposite from the LFS-community as well as Gentoo Wiki.


I don't want to start a flamewar on this, so if you have other and more 
correct information than me, then please share it :)


-Kristian Poul Herkild
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Holly Bostick
Dale schreef:
 LOL  It helped a little bit, but not much.
 
 
 swifty / # df Filesystem   1K-blocks  Used Available
 Use% Mounted on /dev/hda6  3564108   3505584 58524
 99% / udev12738880127308   1% /dev 
 /dev/hda148312 37412 10900  78% /boot none
 127388 0127388   0% /dev/shm swifty / #
 
 
 Any more ideas?  I would hate to have to remove KDE from that thing.
 
 OK, ideas

1 (Traditional): delete the contents of /usr/portage/distfiles. These
are the downloaded tarballs of the programs you have previously
installed. Since they are already installed, the tarballs are no longer
needed unless you reinstall the same program, soeleting these files only
means that if you want to reinstall the same version of the same
program, you'd have to download the tarball again.  However, since
you're on dialup, this might be a problem for you. So I would suggest
that you burn any tarballs you consider 'precious' or difficult to
acquire to CD or DVD (do you have a CD or DVD burner?) and *then* delete
the contents of /usr/portage/distfiles. If you need to reinstall
something that's difficult to download, you can pop the item back into
/distfiles/ from the backup. I commonly do this for the Neverwinter
Nights data tarball, which is 1GB of tarball, and I not only don't
really want to be downloading that again (even on my 8Mbit ADSL line)
when I want to reinstall NWN, but I don't need a gig of space being
eaten on my / partiton either. The file doesn't change, so it's safe enough.

2 (Traditional, little-known): Check /var/tmp/portage. There is a
directory for every compile you've done, and normally (when the compile
completes successfully) the temp compilation files are replaced by a
tiny .keep file. If the compile fails, however, the compilation files
remain, taking up space-- sometimes a lot of space. Find the directories
that take up more than a few KB and delete them. The program isn't
installed anyway (since the compilation failed), so no harm done.

3 (Tough Love): You don't want to get rid of KDE, but there's a good
chance you don't need all of KDE-- you might consider trimming it. This
is the gigantic benefit of the split ebuilds; you don't have to have
*all* of KDE, just the parts you need. You perhaps installed KOffice--
but do you actually need the spreadsheet and the presentation
whatever? Uninstall KOffice and reinstall just KWord. Do you need
the accessibility functions?The educational programs? The PIM, toys, and
webdev programs? Etc, etc. If you have kde-meta installed, you might
want to consider unmerging that, re-emerging just the split ebuilds for
the KDE programs you use, then emerge depclean-ing the rest.

4. (Tough Love 1a): Do the above and switch to a 'lighter' WM-- you can
perfectly well use KDE applications while using... oh, IceWM or Openbox
or Fvwm-Crystal. I personally don't like KDE or most of its programs,
but there are a few KDE programs I do use under Fvwm-Crystal (Krusader,
K3b, KView). While of course this means I must have kdelibs, kdebase,
and QT installed (and the Control Center to manage the KDE backend
quickly for those few times its necessary), I don't *use* Konqueror, so
I don't need it, and I don't have to have a gigantic KDE backend
installed for no purpose (on my system). Using -kde in your USE flags
can often eliminate some cruft when installing such programs (because I
don't use the KDE backend for the applications, I don't need the KDE
setup tool for K3b, or the linkages that optional KDE support creates
when installing Krusader). Think about it.

5 (Tough Love 2): Consider not keeping every d*mn thing on your
computer's drive all the time. Back lesser-used personal data files off
the disk (twice, if you're thorough) and *delete them from the disk*. If
you need the file, copy it back from the CD-- or use it from the CD, if
it's like a movie or something. The originals don't have to be sitting
there taking up space just because. And you should back up anyway
(it's good policy).

6 (External Tools): Consider emerging/using  /kgraphspace/ (if
you must have a KDE application), or /xdiskusage/ to see what is
actually taking up the space. Once you have located what directories
contain files that are taking up too much space, you can determine what
to do with them (delete, back up, whatever).

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C++ missing

2005-12-04 Thread Dale



 FilesystemSize  Used Avail Use% Mounted on
 tmpfs 252M  5.2M  247M   3% /
 /newroot/dev/cdroms/cdrom0
59M   59M 0 100% /mnt/cdrom
 /dev/loop/052M   52M 0 100% /mnt/livecd
 tmpfs 252M  1.2M  251M   1% /lib/firmware
 /dev/hda3 1.4G  596M  785M  44% /mnt/gentoo
 /dev/hda1 130M   13K  123M   1% /mnt/gentoo/boot

 I expect this would provide me with sufficient space?

 I was incorrect in my previous email, executing g++ outside of the
 chroot results in:

 sh: line 1: /usr/bin/gcc-config: No such file or directory
 gcc-config error: Could not get compiler binary path: No such file or
 directory

 But this may be a result of my attempt to emerge gcc 3.4.4?

You should have plenty of space then.  You are not half way there yet. 
If you put a full KDE on there, it will be close. 

You may want to do a env-update then exit the chroot.  Just type in
env-update the exit to exit.  Then go back and chroot in again following
this:

mount -t proc none /mnt/gentoo/proc

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

chroot /mnt/gentoo /bin/bash

env-update

source /etc/profile

It may tell you proc is already mounted.  If it does, that's OK.  Next step.

Whatever you do, don't start over.  Most anything can be fixed and it
will save you from downloading all the stuff again.  If you do start
over, try to save /usr portage.  That is where it puts the downloaded stuff.

If chroot'ing in don't help, me clueless.  Maybe a serious guru will
come along and help.

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] C++ missing

2005-12-04 Thread Mike Kenny

Dale wrote:


You should have plenty of space then.  You are not half way there yet. 
If you put a full KDE on there, it will be close. 


You may want to do a env-update then exit the chroot.  Just type in
env-update the exit to exit.  Then go back and chroot in again following
this:

mount -t proc none /mnt/gentoo/proc

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

chroot /mnt/gentoo /bin/bash

env-update

source /etc/profile

It may tell you proc is already mounted.  If it does, that's OK.  Next step.

Whatever you do, don't start over.  Most anything can be fixed and it
will save you from downloading all the stuff again.  If you do start
over, try to save /usr portage.  That is where it puts the downloaded stuff.

If chroot'ing in don't help, me clueless.  Maybe a serious guru will
come along and help.

Dale
:-)



Thanks for the effort, but I have tried all this. So now, rather than 
start from scratch I am going to install from a stage3 and move on from 
there. This should work and as I am pushed now to get an openXchange 
configuration setup, this will do for now. Once I have it stable it 
should be possible to go back and re-install from source, I guess.


--
mike kenny
Linux Registered User #381724
LPI ID# 80080

Hell, there are no rules here, we're just trying to accomplish something
   Thomas Edison
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Dale
Holly Bostick wrote:


 OK, ideas

1 (Traditional): delete the contents of /usr/portage/distfiles. 


Already gone.  I use http-replicator from my main rig.  I do wish I
could tell emerge to delete them after it finishes compiling though.


2 (Traditional, little-known): Check /var/tmp/portage. 
  


It will be gone shortly.  I didn't know if it would bork my system if I
deleted them or not.

3 (Tough Love): You don't want to get rid of KDE, but there's a good
chance you don't need all of KDE-- you might consider trimming it. 
  


I plan to let my mom use it if I move so I hope I can keep it all.  Good
idea though.  I can't even remember what all I installed now.  Most
likely the whole thing though.  ;)

5 (Tough Love 2): Consider not keeping every d*mn thing on your
computer's drive all the time. 


Right now, it only runs folding.  I have logged into KDE a couple times
but never been on the net.  Just making sure it would work is all.

6 (External Tools): Consider emerging/using  /kgraphspace/ (if
you must have a KDE application), or /xdiskusage/ to see what is
actually taking up the space. Once you have located what directories
contain files that are taking up too much space, you can determine what
to do with them (delete, back up, whatever).
  


I had never heard of these.  Sort of funny, I need room but I need to
install something to see what can go.  LOL  I'll check into it though,
for my main rig for sure.

Hope this helps,
Holly
  

I did remove a kernel that I am not using.  I also pruned a few other
things that was not needed.  I was at 92% or so, now I am at 70%.  That
/var/tmp/portage was pretty big.  At least I can run folding now. 

Thanks for the help.
Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dns+mail server is good or bad?

2005-12-04 Thread El Nino
Dear friends,

is it a good idea to deploy a dns server + mail server on one server?

--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.14-gentoo-r2-sinhalese-r1.0
(((o)))~--~--~--
Proud to be a Sinhalese.
SINHALESE ARE GENIUSES OF IRRIGATION
http://easyweb.easynet.co.uk/~sydney/sinhales.htm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dns+mail server is good or bad?

2005-12-04 Thread gentoo
On 18:28 Sun 04 Dec , El Nino wrote:
 Dear friends,
 
 is it a good idea to deploy a dns server + mail server on one server?
 
 --
 ...
 The future lies ahead.
  ___
  Have you mooed today? 
  
 \^__^
  \   (oo) \___
  (__) \ )\/\
 | |-w   |
 | || |
 
 2.6.14-gentoo-r2-sinhalese-r1.0
 (((o)))~--~--~--
 Proud to be a Sinhalese.
 SINHALESE ARE GENIUSES OF IRRIGATION
 http://easyweb.easynet.co.uk/~sydney/sinhales.htm
 
 -- 
 gentoo-user@gentoo.org mailing list
 
Hi,
Yes, it's even quite obligatory if you use qmail, as it doesn't use /etc/hosts 
for resolution.
i have djbdns+qmail and all is working wonderfully.
Of course it' possible to have separate servers for them, much depends on your 
requirements.
HTH.Rumen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gcc Upgrade Problem

2005-12-04 Thread C. Beamer
Hi all,

I was upgrading gcc using the directions in the GCC Upgrade Guide.  All
was going well.  I was user what the Guide refers to as the safer
method.  I got to the 321 of 642 mark and the upgrade bombed.

The specific upgrade being done was cyrus-sasl.  Early in the output it
complained about both gdbm and berkdb USE flags being set.   Then, a
message was displayed that it would be best to build this package with
berkdb and told me how to set this in my package.use file.  The build
waited 10 seconds and then proceeded. This occurred overnight, so I'm
just finding this out.

Immediately after waiting the 10 seconds for a response to the db issue,
the build process displayed this message:

* If you are still using postfix-sasl-saslauthd-pam-mysql for
* authentication, please edit /etc/conf.d/saslauthd to read:
* SASLAUTHD_OPTS=${SASLAUTH_MECH} -a pam -r
* Don't forget to restart the service: `/etc/init.d/saslauthd restart`.

I'm not exactly sure what this means.  I do have mysql on my system and
have to provide a password when I use the database associated with it,
but beyond that, I don't know if I should be doing what this message is
telling me or not.  Assistance here would be appreciated.

Again, a pause for 10 seconds occurred while waiting for a response, but
since I was asleep and didn't give one, the build went ahead.

The configure process completed and the make started.

The last few lines before the make process bombed and the first couple
of lines of the error message are as follows:

ar cru .libs/libsasldb.a db_gdbm.o allockey.o
ar: allockey.o: No such file or directorymake[2]: *** [libsasldb.a] Error 1
make[2]: *** [libsasldb.a] Error 1
make[2]: Leaving directory
`/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/sasldb'

If I am interpreting this correctly, it the configure and build went
ahead using gdbm rather than berkdb and the correction would be to edit
my package.use file as previously indicated and rebuild.

However, my issue is that since I was at the 321/642 point of doing the
'emerge -e' world' portion of the upgrade, I don't know how to rectify
the problems and continue with the upgrade.  Or do I have to start from
scratch with the 'emerge -e world'?

Can someone offer some guidance here?

I apologize for the length of this, but wanted to make sure that I
included all the details that might be relevant.

Regards,

Colleen



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Holly Bostick
Dale schreef:
 Holly Bostick wrote:
 
 3 (Tough Love): You don't want to get rid of KDE, but there's a 
 good chance you don't need all of KDE-- you might consider trimming
  it.
 I plan to let my mom use it if I move so I hope I can keep it all.

Now, see, that's where you lose me because your mom *may* use the
computer if you move, you want to keep every possibility of KDE
available for her?

What is your mother actually likely to use the computer for, if she in
fact does use it (which you don't even know if she will)?

If she's never heard of an MP3, and isn't likely to download any, she
doesn't *need* amaroK/juK/noatun (kdemultimedia-meta), no matter how
nice it is. Kscd (for audio CDs) will be fine.

If she doesn't have any DVDs or download films, (k)mplayer and xine and
its ilk are a waste of space.

Is she really likely to change her wallpaper or window decoration a lot
(or ever)? If not, kde-artwork is pretty pointless.

Is she likely to administer users or create cron jobs? No? So much for
kdeadmin-meta.

Has she a digital camera or video camera? A fax? Does she edit graphics
files? Take screenshots of her desktop? No? Well then The Gimp and
kdegrapics-meta doesn't have to be there either.

Does she do a lot of document editing? Of MSWord documents? Does she
really need OO.o, or even KWord for this? Might abiword not be
sufficient, or even kedit or kate?

You see where I'm going with this. I admit that I'm a bit hot on this
issue; my bf's mother was recently forced to accept a computer by her
other son (hand-me-down). She does not know anything about computers,
and in fact doesn't want this one (but everyone is figuring that she
needs one, and once she gets used to it and sees the capabilities,
she'll love it. I'm not so sure myself, but it could go that way, of
course). At her recent birthday party, she was complaining that all of
her friends and family (who are experienced, average users) were
giving her advice like you need to get cable internet, and that sort
of thing-- while she's trying to master Windows Solitaire *in order to*
*learn how to use the mouse*. We have a printer (hand-me-down) to give
her, but what's the rush when she doesn't know what a text file (or a
*.doc file) is,  or what programs are needed to open or view them-- in fact,
she doesn't have any text documents-- much less a need to print said
non-existent documents (which if needed she could create in Notepad just
as well as OO.o Writer, and probably easier).

I'm also hot on this issue because this was always my major complaint
about Windows. Microsoft, like any company, wants to create a positive
experience for the users of their product, so that the user will
continue to buy their product. That's normal. What isn't normal, imo,
is their design philosophy-- that the only (or most successful) way to
ensure a positive user experience is to control the user's environment
so severely that it only encompasses those areas that Microsoft is
guaranteed to deliver a positive experience in. So MSOffice saves files
in a proprietary format that MSOffice reads best. Optimization of
webpages created in Frontpage (free with MSOffice) display perfectly in
IE, and poorly in Mozilla. *.wmv files are beneficial to use due to the
compression, but are hard to play in media players that are not WMP. And
the list goes on-- though I'm still not sure why the \My * folders
(Documents, Media, Music, etc) are placed on the C:\ drive by default
when the most common way to fix Windows is to reformat and reinstall
(thereby deleting your C:\My * files).

The reason that I will not use Windows is that *the ability to control*
*my environment is an essential part of a positive user experience* for
me. Therefore I must object to your efforts to create a positive user
experience for your mother by controlling her environment excessively.
This position is supported by the fact that you *cannot* provide every
single bell-and-whistle available-- you simply don't have the disk
space. So for you, if you want to encourage your mother (and the
greatest encouragement is a positive user experience), the best way to
do that is to customize the PC to her actual needs, rather than trying
to cover every possible eventuality of what you *think* she *might* want
*someday*.

I'd say, strip the system down to the bare minimum of what she's likely
to need daily (and what the system can reasonably support to run
quickly, since a slow computer is not part of a positive user
experience), and let her get comfortable with that-- if she then expands
her horizons and needs more functionality, she can ask you (mother-son
bonding, an added benefit), or she can learn about Gentoo at her own
pace and have the thrill of accomplishment just like you've had.

Just my 5 Euros,
Holly


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gcc Upgrade Problem

2005-12-04 Thread gentoo
On 08:06 Sun 04 Dec , C. Beamer wrote:
 Hi all,
 
 I was upgrading gcc using the directions in the GCC Upgrade Guide.  All
 was going well.  I was user what the Guide refers to as the safer
 method.  I got to the 321 of 642 mark and the upgrade bombed.
 
 The specific upgrade being done was cyrus-sasl.  Early in the output it
 complained about both gdbm and berkdb USE flags being set.   Then, a
 message was displayed that it would be best to build this package with
 berkdb and told me how to set this in my package.use file.  The build
 waited 10 seconds and then proceeded. This occurred overnight, so I'm
 just finding this out.
 
 Immediately after waiting the 10 seconds for a response to the db issue,
 the build process displayed this message:
 
 * If you are still using postfix-sasl-saslauthd-pam-mysql for
 * authentication, please edit /etc/conf.d/saslauthd to read:
 * SASLAUTHD_OPTS=${SASLAUTH_MECH} -a pam -r
 * Don't forget to restart the service: `/etc/init.d/saslauthd restart`.
 
 I'm not exactly sure what this means.  I do have mysql on my system and
 have to provide a password when I use the database associated with it,
 but beyond that, I don't know if I should be doing what this message is
 telling me or not.  Assistance here would be appreciated.
 
 Again, a pause for 10 seconds occurred while waiting for a response, but
 since I was asleep and didn't give one, the build went ahead.
 
 The configure process completed and the make started.
 
 The last few lines before the make process bombed and the first couple
 of lines of the error message are as follows:
 
 ar cru .libs/libsasldb.a db_gdbm.o allockey.o
 ar: allockey.o: No such file or directorymake[2]: *** [libsasldb.a] Error 1
 make[2]: *** [libsasldb.a] Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/cyrus-sasl-2.1.20/work/cyrus-sasl-2.1.20/sasldb'
 
 If I am interpreting this correctly, it the configure and build went
 ahead using gdbm rather than berkdb and the correction would be to edit
 my package.use file as previously indicated and rebuild.
 
 However, my issue is that since I was at the 321/642 point of doing the
 'emerge -e' world' portion of the upgrade, I don't know how to rectify
 the problems and continue with the upgrade.  Or do I have to start from
 scratch with the 'emerge -e world'?
 
 Can someone offer some guidance here?
 
 I apologize for the length of this, but wanted to make sure that I
 included all the details that might be relevant.
 
 Regards,
 
 Colleen
 
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
Hi,
At the end of that same quide there're some hints on most common errors.
So to just continue on with the recompile run:#emerge --resume --skipfirst.
But that will work only if no other emerge command was run in between.
Later you could investigate about this error.
It seems it just a matter of choosing the right way to authenticate.
HTH.Rumen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] GCC-3.4 update: python error...

2005-12-04 Thread Jarry
Hi,
I tried to update my gcc using emerge -e (Safer method)
as described in gcc-upgrading-guide, but apparently I
screwed something up. I did:

emerge -uav gcc
gcc-config i686-pc-linux-gnu-3.4.4
source /etc/profile
emerge -e system
emerge -e world
emerge -aC =sys-devel/gcc-3.3*

Now whenever I start emerge (--sync, --depclean, or else),
I get following error:

obelix ~ # emerge --sync
/usr/bin/python: error while loading shared libraries:
libstdc++.so.5: cannot open shared object file:
No such file or directory

Could someone explain me, what I did wrong, and how can I fix it?

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



Re: [gentoo-user] GCC-3.4 update: python error...

2005-12-04 Thread gentoo
Hi,
On 14:58 Sun 04 Dec , Jarry wrote:
 Hi,
 I tried to update my gcc using emerge -e (Safer method)
 as described in gcc-upgrading-guide, but apparently I
 screwed something up. I did:
 
 emerge -uav gcc
 gcc-config i686-pc-linux-gnu-3.4.4
 source /etc/profile
 emerge -e system
 emerge -e world
You need to emerge libstdc++-3.3.4 or similar which is needed for 
compatibility.
You need a python to be recompiled with GCC-3.4.4 or have libstdc++.
HTH.Rumen
 emerge -aC =sys-devel/gcc-3.3*
 
 Now whenever I start emerge (--sync, --depclean, or else),
 I get following error:
 
 obelix ~ # emerge --sync
 /usr/bin/python: error while loading shared libraries:
 libstdc++.so.5: cannot open shared object file:
 No such file or directory
 
 Could someone explain me, what I did wrong, and how can I fix it?
 
 Jarry
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC-3.4 update: python error...

2005-12-04 Thread Jarry
[EMAIL PROTECTED] wrote:

 Hi,
 On 14:58 Sun 04 Dec , Jarry wrote:
 
Hi,
I tried to update my gcc using emerge -e (Safer method)
as described in gcc-upgrading-guide, but apparently I
screwed something up. I did:

emerge -uav gcc
gcc-config i686-pc-linux-gnu-3.4.4
source /etc/profile
emerge -e system
emerge -e world
 
 You need to emerge libstdc++-3.3.4 or similar which is needed for 
 compatibility.
 You need a python to be recompiled with GCC-3.4.4 or have libstdc++.
 HTH.Rumen

Hm, that seems to me like circulus vitiosus. In order to emerge
libstdc++-3.3.4 I must have installed libstdc++-3.3.4, which I
don't have, and which I want to emerge...

I get the same error:
emerge libstdc++-3.3.4
/usr/bin/python: error while loading shared libraries:
libstdc++.so.5: cannot open shared object file:
No such file or directory

I think, I forgot to do it between source /etc/profile and
emerge -e system (mea culpa). But what now? Is there any way
to fix it?

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Richard Fish
On 12/4/05, Dale [EMAIL PROTECTED] wrote:
 LOL  It helped a little bit, but not much.

  swifty / # df
  Filesystem   1K-blocks  Used Available Use% Mounted on
  /dev/hda6  3564108   3505584 58524  99% /
  udev12738880127308   1% /dev
  /dev/hda148312 37412 10900  78% /boot
  none127388 0127388   0% /dev/shm
  swifty / #

 Any more ideas?  I would hate to have to remove KDE from that thing.

In addition to Holly's comments, I would take a look at the output of
emerge --pretend --prune.  It is likely that you have some slotted
packages that you do not use anymore and can delete.  Old kernel
sources (don't forget to manually remove the associated
/lib/modules/kernel version directory) and old versions of KDE would
be prime suspects.

You can also delete just the distfiles that are no longer needed
(because of upgrades or removed packages) with something like:

mount / -o remount,atime
touch --time=atime --date 01/01/2005 /usr/portage/distfiles/*
emerge -De --fetchonly world
mount / -o remount,noatime
find /usr/portage/distfiles -type f -amin +60 -exec rm -v {} \;

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: gcc Upgrade Problem

2005-12-04 Thread cbeamer
[EMAIL PROTECTED] writes: 




Hi,
At the end of that same quide there're some hints on most common errors.
So to just continue on with the recompile run:#emerge --resume --skipfirst.
But that will work only if no other emerge command was run in between.
Later you could investigate about this error.
It seems it just a matter of choosing the right way to authenticate.
HTH.Rumen
--


Thanks for the response.  I figured this out on my own. 

Duh, Colleen ... Try what the error messages say and read farther down in 
the documentation - you might get a hint! -- This is me talking to myself. 

I made the changes suggested by the error messages and did find that further 
down in the Guide it specified how to continue.  The build continued and 
I've been building the remaining packages for a couple of hours now without 
any problems. 

I'm still getting used to and am constantly amazed at how good Gentoo 
documentation is.  :-) 

Sorry for troubling the list! 

Regards, 

Colleen 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] postscript forcing A4 paper size was: kdm will not start

2005-12-04 Thread Joseph
On Sun, 2005-12-04 at 14:18 -0300, Norberto Bensa wrote:
 Nick Rout wrote:
  What the hell has xpdf got to do with any of this? Unless I am missing
  something, you are printing a ps document to the printer. Where does
  pdf fit into this?
 
 xpdf handles ps files.
 
 Joseph, have you tried File/Print/Properties/Page size=Letter/Save/Print in 
 kpdf?
 
 -- 
 Norberto Bensa
 4544-9692
 Ciudad de Buenos Aires, Argentina

Nick might be right. Maybe I'm looking at wrong places.
What application is used to send print job to a printer?
I'm sending postscript file ps with command: lpr -P printer_name

Kpdf will not open ps file.
when save a print_job as pdf file and try to print it using kpdf, xpdf
or gv it keeps asking for A4 size paper.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Spider (D.m.D. Lj.)
On Sun, 2005-12-04 at 04:42 -0600, Dale wrote:
 LOL  It helped a little bit, but not much.
 
  swifty / # df
  Filesystem   1K-blocks  Used Available Use% Mounted on
  /dev/hda6  3564108   3505584 58524  99% /
  udev12738880127308   1% /dev
  /dev/hda148312 37412 10900  78% /boot
  none127388 0127388   0% /dev/shm
  swifty / #
 
 Any more ideas?  I would hate to have to remove KDE from that thing.


Little known things that may help:

app-admin/localepurge
 Handy tool.  Wipes locales that you don't use.
( 262 Mb here )

make sure you strip binaries, build them with -O2 or -Os instead of -O3.
(debug info alone on my system is  490 Mb)

Wipe old kernels.
make clean in the one kernel dir you have left.

/lib/modules : clean out things you don't have left.



cd /usr ;
du -ab |sort -n   


Look at the results,  then use equery ( or qfile, qpkg, epm or any other
tool)  to look them up.

emerge --prune ( handle with care... .)


Remove tetex if you have it installed. ( Also make sure you set
USE=-doc  unless you really want API documentations )



Logs?  Logrotate + compression.

KDE:  perhaps using split builds and only installing the pieces you
need/want?

//Spider



-- 
begin  .signature
Tortured users / Laughing in pain
See Microsoft KB Article Q265230 for more information.
end



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


Re: [gentoo-user] courier

2005-12-04 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Smith wrote:
 thanks, i thought that courier-imap relied on courier, so i assumed it
 would have emerged it, i was wrong, thanks for the help.

If there's anything you need to know about courier-mta on gentoo, just let me 
know.

- --
Arturo Buanzo Busleiman - www.buanzo.com.ar
Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
KTP Consultores - info AT ktpconsultores.com.ar

Romper un sistema de seguridad los acerca tanto a ser hackers como el
encender autos puenteando los convierte en ingenieros automotrices.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDky+EAlpOsGhXcE0RArAFAJ9X3v7wF05U56jWSpxB9w58bdk7jACfUL+o
jk3KiUQtDFDCMbGwWDMMVy4=
=ZmW5
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Squirrelmail can't attach files!

2005-12-04 Thread Michael Sullivan
My wife alerted me to a problem the other day with SquirrelMail-1.4.5
having a problem with attaching files.  I tried it this morning and I
couldn't attach files either.  I would have just reverted to a previous
version of Squirrelmail, but there doesn't seem to be one available.
Any thoughts on this?  I'm using mod_php-4.4.0 with apache-2.0.54.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dns+mail server is good or bad?

2005-12-04 Thread Matan Peled

It's also a good idea to have more than one DNS server, IMO.


First of all, HTML mail! Yuck.

Back to the point, like DJB said somewhere, having more DNS servers than servers 
actually serving content is kinda useless.


If your DNS server dies, you lose DNS and therefore mail... But if your 
mailserver dies, you still lose mail.


If you have 2 mailservers, 2 DNS servers make sense of course.

--
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

--
gentoo-user@gentoo.org mailing list



[gentoo-user] bash and keeping history

2005-12-04 Thread Trenton Adams
Hi everyone,

There's one thing that has kind of been a little annoying since I
started using gentoo a few months ago. That's the fact that when
you open multiple bash logins, only the history of the last one logged
out actually gets saved. Now I know that redhat saves all of
them. Does anyone know how it does this? Is it a patch, a
certain scripts, what?

Anyhow, I think gentoo really needs this feature. It's a little
annoying to lose all of your history when you've been working in
multiple windows.

Thanks.


[gentoo-user] Re: bash and keeping history

2005-12-04 Thread Harry Putnam
Trenton Adams [EMAIL PROTECTED] writes:

 Hi everyone,

 There's one thing that has kind of been a little annoying since I started
 using gentoo a few months ago.  That's the fact that when you open multiple
 bash logins, only the history of the last one logged out actually gets
 saved.  Now I know that redhat saves all of them.  Does anyone know how it
 does this?  Is it a patch, a certain scripts, what?

 Anyhow, I think gentoo really needs this feature.  It's a little annoying to
 lose all of your history when you've been working in multiple windows.

I'm not really sure what this does but I've used for over a year
thinking it made all shell history buffers get saved to
~/.bash_history.  I've never really tested to see what it does for
sure.

Its a bash built in called histappend that can be put into
.bash_profile like this:

   shopt -s histappend

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Chris Fairles

Chris Fairles wrote:


Kristian Poul Herkild wrote:


Robert Crawford wrote:


On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:



-mfpmath=sse is not a good idea, the consensus is it actually lowers 
performance.  -msse -mmmx -m3dnow are redundant (implied by 
-march=athlon-xp), and should be removed from your cflags line, but 
SHOULD be placed in your USE= line, wthout the - sign, like this:


USE=mmx 3dnow sse

If you use gcc-3.4.4, these flags should work fine (I've used them 
for a long time- no problems).


CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb 
-ftracer -fprefetch-loop-arrays -ffast-math -falign-functions=64 
-fno-ident


CXXFLAGS=${CFLAGS} -fvisibility-inlines-hidden




Hmm... according to this thread 
http://forums.gentoo.org/viewtopic.php?t=43648 and the GCC manual 
-march does not imply -mmx -msse -m3dnow, nor does it imply 
mfpmath=sse. I know of no consensus of -mfpmath=sse lowering 
performance. Actually, I only know of the opposite from the 
LFS-community as well as Gentoo Wiki.


I don't want to start a flamewar on this, so if you have other and 
more correct information than me, then please share it :)


-Kristian Poul Herkild



Straight from the source  ../gcc-3.4.4/gcc/config/i386/i386.c

{athlon-xp, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW 
| PTA_3DNOW_A | PTA_SSE}
includes mmx, sse, 3dnow and sse2 support making explicit delcarations 
in cflags redundant.


and the others...

 {i386, PROCESSOR_I386, 0},
 {i486, PROCESSOR_I486, 0},
 {i586, PROCESSOR_PENTIUM, 0},
 {pentium, PROCESSOR_PENTIUM, 0},
 {pentium-mmx, PROCESSOR_PENTIUM, PTA_MMX},
 {winchip-c6, PROCESSOR_I486, PTA_MMX},
 {winchip2, PROCESSOR_I486, PTA_MMX | PTA_3DNOW},
 {c3, PROCESSOR_I486, PTA_MMX | PTA_3DNOW},
 {c3-2, PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_PREFETCH_SSE | 
PTA_SSE},

 {i686, PROCESSOR_PENTIUMPRO, 0},
 {pentiumpro, PROCESSOR_PENTIUMPRO, 0},
 {pentium2, PROCESSOR_PENTIUMPRO, PTA_MMX},
 {pentium3, PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | 
PTA_PREFETCH_SSE},
 {pentium3m, PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | 
PTA_PREFETCH_SSE},
 {pentium-m, PROCESSOR_PENTIUMPRO, PTA_MMX | PTA_SSE | 
PTA_PREFETCH_SSE | PTA_SSE2},
 {pentium4, PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 | PTA_MMX | 
PTA_PREFETCH_SSE},
 {pentium4m, PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 | PTA_MMX | 
PTA_PREFETCH_SSE},
 {prescott, PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 | PTA_SSE3 | 
PTA_MMX | PTA_PREFETCH_SSE},
 {nocona, PROCESSOR_PENTIUM4, PTA_SSE | PTA_SSE2 | PTA_SSE3 | 
PTA_64BIT | PTA_MMX | PTA_PREFETCH_SSE},

 {k6, PROCESSOR_K6, PTA_MMX},
 {k6-2, PROCESSOR_K6, PTA_MMX | PTA_3DNOW},
 {k6-3, PROCESSOR_K6, PTA_MMX | PTA_3DNOW},
 {athlon, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW
  | PTA_3DNOW_A},
 {athlon-tbird, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE
| PTA_3DNOW | PTA_3DNOW_A},
 {athlon-4, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | 
PTA_3DNOW

   | PTA_3DNOW_A | PTA_SSE},
 {athlon-xp, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | 
PTA_3DNOW

 | PTA_3DNOW_A | PTA_SSE},
 {athlon-mp, PROCESSOR_ATHLON, PTA_MMX | PTA_PREFETCH_SSE | 
PTA_3DNOW

 | PTA_3DNOW_A | PTA_SSE},
 {x86-64, PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_64BIT
  | PTA_SSE | PTA_SSE2 },
 {k8, PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | 
PTA_64BIT

 | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
 {opteron, PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW 
| PTA_64BIT

 | PTA_3DNOW_A | PTA_SSE | PTA_SSE2},
 {athlon64, PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW 
| PTA_64BIT

 | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}


cheers,
chris


I found another neat trick to find out what a flag sets/unsets.

echo main(){}  foo.c
gcc -v -Q -march=athlon-xp foo.c

churns out:

options passed:  -v -march=athlon-xp -auxbase
options enabled:  -feliminate-unused-debug-types -fpeephole -ffunction-cse
-fkeep-static-consts -fpcc-struct-return -fgcse-lm -fgcse-sm -fgcse-las
-fsched-interblock -fsched-spec -fsched-stalled-insns
-fsched-stalled-insns-dep -fbranch-count-reg -fcommon -fargument-alias
-fzero-initialized-in-bss -fident -fmath-errno -ftrapping-math -m80387
-mhard-float -mno-soft-float -mieee-fp -mfp-ret-in-387
-maccumulate-outgoing-args -mmmx -m3dnow -msse -mno-red-zone
-mtls-direct-seg-refs -mtune=athlon-xp -march=athlon-xp

replace -march=athlon-xp with any/all cflags you can think of to see 
what it sets


cheers,
chris



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] postscript forcing A4 paper size was: kdm will not start

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 10:55:06 -0700
Joseph wrote:

 On Sun, 2005-12-04 at 14:18 -0300, Norberto Bensa wrote:
  Nick Rout wrote:
   What the hell has xpdf got to do with any of this? Unless I am missing
   something, you are printing a ps document to the printer. Where does
   pdf fit into this?
  
  xpdf handles ps files.
  
  Joseph, have you tried File/Print/Properties/Page size=Letter/Save/Print in 
  kpdf?
  
  -- 
  Norberto Bensa
  4544-9692
  Ciudad de Buenos Aires, Argentina
 
 Nick might be right. Maybe I'm looking at wrong places.
 What application is used to send print job to a printer?
 I'm sending postscript file ps with command: lpr -P printer_name
 
 Kpdf will not open ps file.
 when save a print_job as pdf file and try to print it using kpdf, xpdf
 or gv it keeps asking for A4 size paper.
 

Look I am more confused than ever now, tell me if I have this right:

1. sql ledger produces a report in .ps format (call it report.ps)

2. lpr -P printer_name report.ps produces an A4 sized printout.

3. you say when save a print_job as pdf file and try to print it using kpdf, 
xpdf or gv it keeps asking for A4 size paper - what is producing
this pdf file? sql-ledger or something like pstopdf?

4. does kprinter report.ps or kprinter report.pdf help at all?

 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2005 09:38:17 -0800, Steven Susbauer wrote:

 since I want the actual installed programs to stay even with a
 depclean, I add them to my world file ( equery l kde-base/ | grep
 kde-base  /var/lib/portage/world ).

That will put all kde-base files in world, even libraries and other
dependencies.


-- 
Neil Bothwick

The quickest way to a man's heart is through his sternum.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: bash and keeping history

2005-12-04 Thread Philip Webb
051204 Harry Putnam wrote:
 Trenton Adams [EMAIL PROTECTED] writes:
 when you open multiple bash logins,
 only the history of the last one logged out actually gets saved.
 I've used for over a year a bash built-in called 'histappend'
 that can be put into  .bash_profile  like this: 'shopt -s histappend'

It's in 'man bash': search for 'histappend'.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] postscript forcing A4 paper size was: kdm will not start

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 13:24:11 -0700
Joseph wrote:

 [snip]
   Nick might be right. Maybe I'm looking at wrong places.
   What application is used to send print job to a printer?
   I'm sending postscript file ps with command: lpr -P printer_name
   
   Kpdf will not open ps file.
   when save a print_job as pdf file and try to print it using kpdf, xpdf
   or gv it keeps asking for A4 size paper.
   
  
  Look I am more confused than ever now, tell me if I have this right:
  
  1. sql ledger produces a report in .ps format (call it report.ps)
  
  2. lpr -P printer_name report.ps produces an A4 sized printout.
  
  3. you say when save a print_job as pdf file and try to print it using 
  kpdf, xpdf or gv it keeps asking for A4 size paper - what is producing
  this pdf file? sql-ledger or something like pstopdf?
  
  4. does kprinter report.ps or kprinter report.pdf help at all?
  -- 
  Nick Rout [EMAIL PROTECTED]
 
 From Sql-Ledger when I select PS (postscript) + Screen it allows me to
 view it or save it as PS - postscript file.
 If I select PS (postscript) + printer, it goes directly to printer.
 
 I was even following this instruction (an excellent) document the
 explain some problems with tetex and ps paper size printing problem: 
 http://www.tzekwangteo.org/latex/papersize.pdf
 
 I went through this document made the changes he suggested, but still
 doesn't help.  I even restarted the computer, just to make sure the
 changes take effect but it doesn't help.
 When I sent the print job to a printer it keeps asking for A4 paper
 size?
 I'm already wasted almost two days on this silly problem. 

1. Go buy some international standard size paper ;-) The whole world
uses A4 except North America - oh wait that is the whole worldand it's 
probably only a couple of kilometres down to the stationers --oops
a couple of miles...

2. seriously now. does this help? 
http://sourceforge.net/mailarchive/message.php?msg_id=10362283

3. how is the printer set up? is it cups or something older and more
basic? Take a look at the printer configuration.

4. Try the pdf route with acroread - it allows you to scale the
printing to whatever paper size you like.
 
 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] postscript forcing A4 paper size was: kdm will not start

2005-12-04 Thread Joseph
[snip]
  
  From Sql-Ledger when I select PS (postscript) + Screen it allows me to
  view it or save it as PS - postscript file.
  If I select PS (postscript) + printer, it goes directly to printer.
  
  I was even following this instruction (an excellent) document the
  explain some problems with tetex and ps paper size printing problem: 
  http://www.tzekwangteo.org/latex/papersize.pdf
  
  I went through this document made the changes he suggested, but still
  doesn't help.  I even restarted the computer, just to make sure the
  changes take effect but it doesn't help.
  When I sent the print job to a printer it keeps asking for A4 paper
  size?
  I'm already wasted almost two days on this silly problem. 
 
 1. Go buy some international standard size paper ;-) The whole world
 uses A4 except North America - oh wait that is the whole worldand it's 
 probably only a couple of kilometres down to the stationers --oops
 a couple of miles...
 
 2. seriously now. does this help? 
 http://sourceforge.net/mailarchive/message.php?msg_id=10362283
 
 3. how is the printer set up? is it cups or something older and more
 basic? Take a look at the printer configuration.
 
 4. Try the pdf route with acroread - it allows you to scale the
 printing to whatever paper size you like.
  
 Nick Rout [EMAIL PROTECTED]

Thanks for the link.
I did:
texconfig dvips paper letter
texconfig pdftex paper letter
texconfig dvipdfm paper letter
texconfig pdftex paper letter

Still insisting on printing on A4 paper.
My printer is set to letter, I have no problem printing from openoffice
or any other application. 

Alternative solution to acroread would be a command line:
ps2pdf -sPAPERSIZE=letter document_name.ps
it generate the output I need, like before.  I but what I need is the
application to work correctly; it as it did before. 

I don't know what else to do.
Moving out of Canada would be a bit hard, maybe I start writing petition
to change paper size in Canada and US to A4 :-/

-- 
#Joseph

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pkg-config and qt4 in an ebuild

2005-12-04 Thread romildo
Hello.

I am writing an ebuild for bookmarkbridge
(bookmarkbridge.sf.net), which depends on qt-4.0.1.
configure (by means of pkg-config) is not findind
QtGui, although the file QtGui.pc is installed
(as /usr/lib64/qt4/QtGui.pc).

First of all, why QtGui.pc is not installed on a
standard location?

How is the best way of dealing whit this problem
in an ebuild?

Output of configure:

./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking for QtGui = 4.0.1... Package QtGui was not found in the pkg-config 
search path. Perhaps you should add the directory containing `QtGui.pc' to the 
PKG_CONFIG_PATH environment variable No package 'QtGui' found
configure: error: Library requirements (QtGui = 4.0.1) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.

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



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Steven Susbauer
It's relatively easy to delete the libraries from the world file. All I keep in there is stuff I know I want, like kscd or whatever. You also have to delete the 3.4.3 version numbers from the files, which can be a pain if you don't know how to use vi.
It is for the most part easier to start with a blank slate; in my case I like having everything and deleting things I know I don't need, because otherwise I'm likely to forget something I do.After cleaning up the world file, depclean will remove the things I didn't need.
On 12/4/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Sun, 4 Dec 2005 09:38:17 -0800, Steven Susbauer wrote: since I want the actual installed programs to stay even with a depclean, I add them to my world file ( equery l kde-base/ | grep kde-base  /var/lib/portage/world ).
That will put all kde-base files in world, even libraries and otherdependencies.--Neil BothwickThe quickest way to a man's heart is through his sternum.
-- Steven Susbauer


Re: [gentoo-user] Problems with portage

2005-12-04 Thread Cláudio Henrique
and how do I compile all the packages, since these does not exist in world file?

On 12/3/05, Richard Fish [EMAIL PROTECTED] wrote:
 On 12/3/05, Cláudio Henrique [EMAIL PROTECTED] wrote:
  Hi, there,
 
   When I do a emerge -epv world, not all the packages I have installed
  on the system appears, openoffice-bin for example. I have tried a
  emerge --regen, emerge --metadata, emerge sync, but nothing seemed to
  solve this. What can I do to fix my system?

 The missing packages should show up in:

 emerge --depclean --pretend

 If so, then you have packages installed that are not in your world
 file, probably because they were merged with --oneshot, or were
 included as a dependancy of something else that is no longer
 installed.  If you want some of those packages in world, do emerge
 --noreplace pkgname.

 -Richard

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2005 13:30:57 -0800, Steven Susbauer wrote:

 It is for the most part easier to start with a blank slate; in my case I
 like having everything and deleting things I know I don't need, because
 otherwise I'm likely to forget something I do.

I've done it the other way around. unmerge the meta packages then run
emerge depclean -p. Any programs I want to keep I add to world with
emerge -n package. Then run depclean again until it contains nothing I
want.


-- 
Neil Bothwick

CONGRSS.SYS corruptd... Re-boot Washington D.C? (Y/N)


signature.asc
Description: PGP signature


[gentoo-user] problems emerging kde-base/kdebase-kioslaves-3.4.1-r1

2005-12-04 Thread Cláudio Henrique
Here is the output of the emerge command:

test_commands.cc: In function `int main(int, char**)':
test_commands.cc:240: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList, const
char[5], const char[5])'
command.h:176: note: candidates are:
KioSMTP::AuthCommand::AuthCommand(const KioSMTP::AuthCommand)
command.h:179: note:
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
QString, KIO::AuthInfo)
test_commands.cc:266: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList, const
char[5], const char[5])'
command.h:176: note: candidates are:
KioSMTP::AuthCommand::AuthCommand(const KioSMTP::AuthCommand)
command.h:179: note:
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
QString, KIO::AuthInfo)
test_commands.cc:283: error: no matching function for call to
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, QStrIList, const
char[5], const char[5])'
command.h:176: note: candidates are:
KioSMTP::AuthCommand::AuthCommand(const KioSMTP::AuthCommand)
command.h:179: note:
KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
QString, KIO::AuthInfo)
test_commands.cc:721:1: warning: NDEBUG redefined
command line:8:1: warning: this is the location of the previous definition
In file included from test_commands.cc:723:
command.cc: In constructor
`KioSMTP::AuthCommand::AuthCommand(SMTPProtocol*, const char*, const
QString, KIO::AuthInfo)':
command.cc:201: error: `conn' undeclared (first use this function)
command.cc:201: error: (Each undeclared identifier is reported only
once for each function it appears in.)
command.cc:202: error: `client_interact' undeclared (first use this function)
command.cc:207: error: `sasl_client_new' undeclared (first use this function)
command.cc:208: error: `SASL_OK' undeclared (first use this function)
command.cc:209: error: `sasl_errdetail' undeclared (first use this function)
command.cc:214: error: `sasl_client_start' undeclared (first use this function)
command.cc:216: error: `SASL_INTERACT' undeclared (first use this function)
command.cc:221: error: `SASL_CONTINUE' undeclared (first use this function)
command.cc: In destructor `virtual KioSMTP::AuthCommand::~AuthCommand()':
command.cc:236: error: `conn' undeclared (first use this function)
command.cc:238: error: `sasl_dispose' undeclared (first use this function)
command.cc: In member function `bool KioSMTP::AuthCommand::saslInteract(void*)':
command.cc:248: error: `sasl_interact_t' undeclared (first use this function)
command.cc:248: error: `interact' undeclared (first use this function)
command.cc:248: error: expected primary-expression before ')' token
command.cc:248: error: expected `;' before in
command.cc:252: error: `SASL_CB_LIST_END' undeclared (first use this function)
command.cc:253: error: `SASL_CB_AUTHNAME' undeclared (first use this function)
command.cc:254: error: `SASL_CB_PASS' undeclared (first use this function)
command.cc:257: error: 'class SMTPProtocol' has no member named 'openPassDlg'
command.cc:266: error: expected primary-expression before ')' token
command.cc:266: error: expected `;' before in
command.cc:269: error: `SASL_CB_USER' undeclared (first use this function)
command.cc: In member function `virtual QCString
KioSMTP::AuthCommand::nextCommandLine(KioSMTP::TransactionState*)':
command.cc:330: error: `conn' undeclared (first use this function)
command.cc:332: error: `client_interact' undeclared (first use this function)
command.cc:333: error: `sasl_client_step' undeclared (first use this function)
command.cc:334: error: `SASL_INTERACT' undeclared (first use this function)
command.cc:339: error: `SASL_CONTINUE' undeclared (first use this function)
command.cc:339: error: `SASL_OK' undeclared (first use this function)
command.cc:341: error: `sasl_errdetail' undeclared (first use this function)
command.cc: At global scope:
command.cc:245: warning: unused parameter 'in'

Does anyone know how to solve this?

Thanx,
Claudio.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford
On Sun December 4 2005 6:35 am, Dale wrote:
 Kristian Poul Herkild wrote:
  Personally I stick to -O2 since -O3 usually won't do much in reality.
  -O3 takes longer to compile, and there is very little or no gain at
  all (and sometimes the gain is negative).
 
  If space is the most important issue you might want to compile for
  smallest possible binary, e.g. -Os
 
  -Kristian Poul Herkild

 Thanks, I may try that -Os on my rig with the tiny drive.  I'm pruning
 it right now.  It's so full it can't compile.  LOL  -O2 huh.  May give
 that a shot too.  I've got a emerge -e world with the gcc update so . .
 . . .

 Dale

Have you deleted the content in /var/tmp/portage (not the directory itself)?  
That can get huge very quickly, and is only needed if you're troubleshooting 
failed emerges.  It's where emerge does it's job with compile-time work 
files. A failed emerge of a large package  can leave a file of hundreds of 
mb, and several of those quickly can reach GB's of wasted disk space.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier

2005-12-04 Thread Nick Smith
On 12/4/05, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Nick Smith wrote:
  thanks, i thought that courier-imap relied on courier, so i assumed it
  would have emerged it, i was wrong, thanks for the help.

 If there's anything you need to know about courier-mta on gentoo, just let me 
 know.

 - --
 Arturo Buanzo Busleiman - www.buanzo.com.ar
 Consultor en Seguridad Informatica / Dominio Digital TV - Da FOSS man!
 KTP Consultores - info AT ktpconsultores.com.ar

do you know of any good how-to's using just courier-mta? not just with
courier-imap and a mix of other programs?  and tips or tricks you care
to share? any problems i should look out for?

thanks for the help.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC-3.4 update: python error...

2005-12-04 Thread Petteri Räty
Pongracz Istvan wrote:
 Hi,
 
 As I can remember, the livecd has a binary. You can copy that library to
 your /usr/lib and use it to fix your problem.
 
 Or:
 
 You can make a symlink to the newer libstdc++, maybe can work.
 

I have successfully used a symlink in the past but your mileage may vary.

Regards,
Petteri


signature.asc
Description: OpenPGP digital signature


[gentoo-user] gentoo-sources

2005-12-04 Thread Rafael Fernández López
Hi,

An idea came to my mind. I'm a proud Gentoo User, and I see day by day 
how 
portage gets clever and how my Gentoo distro does work better everyday.

I'm gonna make a very little proposal (maybe it's now developed, but 
I've no 
idea how to make it work).

Since Linux Kernel has become so big (almost 300MB) I'd like to suggest 
something. I don't want to download newer versions of Linux kernel, because 
my computer does work perfectly with the current one (maybe I'll install a 
very later one, but I'm not going to change my 2.6.11 with a 2.6.14). I don't 
want portage to download them, nor install them, because always that portage 
downloads and installs them, I've to do an emerge unmerge, it's a lot of 
space disk, and I need it.

If I set gentoo-sources in package.mask, the apps, libraries that 
depends on 
it won't install, and an emerge -vuD world will fail, and won't update 
other packages. Well, if it's a critical dependance I'll have to install new 
kernel version, but If it is not, why?.

Thanks,
Rafael Fernández López.
-- 
A la vista de suficientes ojos todos los errores resultan evidentes - Linus 
Torvalds


pgpnScYSaIY0x.pgp
Description: PGP signature


Re: [gentoo-user] Need drive space, what to delete?

2005-12-04 Thread Dale
Richard Fish wrote:

In addition to Holly's comments, I would take a look at the output of
emerge --pretend --prune.  


Funny, that was what I did.  Even though it is a recent install it still
had several version of some stuff.  It took up a bit of room too.

You can also delete just the distfiles that are no longer needed
(because of upgrades or removed packages) with something like:

  

I do that pretty regular anyway.  I have my main rig set up as a
http-replicator server and it only takes a minute or so to download the
files on my LAN.  It also saves on my dial-up connection.

You guys really com up with some ideas.  Anybody have a cure for
psoriasis?  I'm disabled from it maybe you can come up with some ideas. 
The Doctors managed to make it worse though.  I was at 1% when I first
went to them, I'm at about 80% now.  Needless to say, I don't see
Doctors anymore.


Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerge -P kde-3.4.3

2005-12-04 Thread Tony Davison
A couple of days ago someone posted a magic incantation to prune kde-3.4.3 
from its slot.
I can't find it again not even in my own mailboxes.
I may have imagined it, if not point me to it please.

-- 
Big Tone
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo-sources

2005-12-04 Thread Boyd Stephen Smith Jr.
On Sunday 04 December 2005 05:56 pm, Rafael Fernández López 
[EMAIL PROTECTED] wrote:
   I don't want to download newer versions of Linux kernel,
 because my computer does work perfectly with the current one.

   If I set gentoo-sources in package.mask, an emerge -vuD world will
 fail, and won't update other packages.

# echo 'sys-kernel/gentoo-sources-2.6.11*'  /etc/portage/package.mask

You can't mask the whole package, because you need /some/ kernel.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2005 17:49:16 -0500, Robert Crawford wrote:

 Have you deleted the content in /var/tmp/portage (not the directory
 itself)? 

It doesn't matter if you delete the directory too, portage will create it
when needed.

However, it is inadvisable to delete the entire directory if it contains
your ccache cache.


-- 
Neil Bothwick

If only the good die young then what does that say about senior citizens?


signature.asc
Description: PGP signature


Re: [gentoo-user] Emerge -P kde-3.4.3

2005-12-04 Thread Neil Bothwick
On Sun, 4 Dec 2005 23:45:13 +, Tony Davison wrote:

 A couple of days ago someone posted a magic incantation to prune
 kde-3.4.3 from its slot.

This one?

qpkg -I -nc -g kde-base | xargs emerge -P


-- 
Neil Bothwick

Vuja De: the feeling that you've never been here before.


signature.asc
Description: PGP signature


Re: [gentoo-user] CFLAGS, is this better than what I have?

2005-12-04 Thread Robert Crawford

On Sun December 4 2005 6:37 am, Kristian Poul Herkild wrote:
 Robert Crawford wrote:
  On Sun December 4 2005 4:11 am, Kristian Poul Herkild wrote:
 
 
 
  -mfpmath=sse is not a good idea, the consensus is it actually lowers
  performance.  -msse -mmmx -m3dnow are redundant (implied by
  -march=athlon-xp), and should be removed from your cflags line, but
  SHOULD be placed in your USE= line, wthout the - sign, like this:
 
  USE=mmx 3dnow sse
 
  If you use gcc-3.4.4, these flags should work fine (I've used them for a
  long time- no problems).
 
  CFLAGS=-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fweb -ftracer
  -fprefetch-loop-arrays -ffast-math -falign-functions=64 -fno-ident
 
  CXXFLAGS=${CFLAGS} -fvisibility-inlines-hidden

 Hmm... according to this thread
 http://forums.gentoo.org/viewtopic.php?t=43648 and the GCC manual -march
 does not imply -mmx -msse -m3dnow, nor does it imply mfpmath=sse. I know
 of no consensus of -mfpmath=sse lowering performance. Actually, I only
 know of the opposite from the LFS-community as well as Gentoo Wiki.

 I don't want to start a flamewar on this, so if you have other and more
 correct information than me, then please share it :)

 -Kristian Poul Herkild

No flame war- if my conclusions/understanding is incorrect, I'd love to know, 
and make corrections!

I think that almost 3 year old thread refers to  -march=cpu ( now deprecated 
for -mtune), not -march=athlon-xp (the actual architecture). -march=cpu 
type or -mtune generates not only code for say, athlon-xp, but also code for 
the entire family of i386 cpus. Thus the resulting binary is functional with 
different older cpus. 

On the other hand, -march=athlon-xp generates only code that  works with an 
athlon-xp cpu, thus would be more tuned to that cpu (less bloat). At least 
that's the theory- why compile in code you don't need and use for other cpus?  
My understanding of man gcc is that -march=athlon-xp does enable mmx 3dnow 
sse support.

In other words, from a freshmeat article:
-
-march implies -mcpu, so when you use -march, there's no need to use -mcpu. 

 -mcpu generates code tuned for the specified CPU, but it does not alter the 
ABI and the set of available instructions, so you can still run the resulting 
binary on other CPUs. 

 When you use -march, you generate code for the specified machine type, and 
the available instructions will be used, which means that you probably cannot 
run the binary on other machine types.


For example, from this thread http://forums.gentoo.org/viewtopic.php?p=275851, 
page 3, bottom:

If I compile with -march=athlon-xp, sse, 3dnow, and mmx are enabled (through 
the -D__athlon_sse__ -D__tune_athlon__ -D__tune_athlon_sse__ -D__SSE__ 
-D__MMX__ -D__3dNOW__ -D__3dNOW_A__ macros). When I add, for example -mmmx, 
-mno-mmx appears after -mmmx in the options enabled list in the output of 
gcc -Q -v -march=athlon-xp -mmmx. However, -D__MMX__ doesn't go away, so MMX 
is still used. In short -mmmx, -msse, and -m3dnow are unneccessary, but they 
don't hurt.undefined

Over the years, I've read similar statements by experienced people on hundreds 
of posts on many forums and groups- sorry I can't point you to them off the 
top of my head. If you can wade through the huge cflags central Gentoo forum 
threads (an ordeal in itself), you will probably reach the same conclusions I 
have.

Also, as I understand it from some recent posts, compiling in mmx 3dnow sse 
support is pointless bloat in any programs that don't use it, thus putting 
them in USE= makes much more sense than cflags.

As for-mfpmath=sse, every benchmark testing article (and several more recent 
forum posts I've seen indicate no real performance gain, and in many cases, 
degraded performance, at least with AMD cpus. That's contrary to what man gcc 
generally says, but people who have actually run tests tend to disagree. Keep 
in mind that the version of gcc used and cpu type (AMD or INTEL) also 
influences the results. However, If anyone knows of more recent info on this 
flag, please post a link.

Robert Crawford

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Seeking USB help

2005-12-04 Thread michael

Hi,

I have an ancient Dell Inspiron 3000 running Gentoo with a 2.6.14
kernel. I'm trying to get USB to work.

# grep USB .config | grep =y$
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DEBUG=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_MON=y

But when I plug something into the USB port, lsusb shows nothing:

# lsusb
Bus 001 Device 001: ID :

(The two USB devices I have tried are a Logiteh Trackman Wheel and a
Creative Webcam Notebook)

This is what lshw has to say about USB:

*-usb
description: USB Controller (UHCI)
product: 82371AB/EB/MB PIIX4 USB
vendor: Intel Corporation
physical id: 1.2
bus info:
[EMAIL PROTECTED]:01.2
version: 01
clock: 33MHz
capabilities: uhci bus_master
configuration: driver=uhci_hcd
resources: ioport:fcc0-fcdf irq:10

And this is what's in my /proc filesystem:

# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor= ProdID= Rev= 2.06
S:  Manufacturer=Linux 2.6.14-gentoo-r2 uhci_hcd
S:  Product=UHCI Host Controller
S:  SerialNumber=:00:01.2
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

In contrast, if I plug the camera into a Linux system with a working
USB, I get much more, including:

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=041e ProdID=401f Rev= 1.00

Which is indeed the Creative webcam, so I know it is working at least to
that extent.

What am I missing to get USB working on my laptop? Any suggestions?

Thanks,
Michael
--
gentoo-user@gentoo.org mailing list



[gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
I want to print to letter size paper.
I'm using Sql-Ledger to print invoices, program is set to print with
command: 
lpr -P Printer Name
Sql-Ledger is using latex forms to generate invoices.  So to my
understanding the program will be using dvips to convert latex to
postscript and send it directly to printer, am I right? 
Is there any other utility that conversion goes through, that I've
missed?

This is setting of: /usr/share/texmf/dvips/config/config.ps:
% This shows how to add your own map file.
% Remove the comment and adjust the name:
% p +myfonts.map

@ letterSize 8.5in 11in

@ A4size 210mm 297mm
@+ %%PaperSize: A4

@ letter 8.5in 11in
@+ %%BeginPaperSize: Letter
@+ letter
@+ %%EndPaperSize

Should the these two line be commented out:
@ A4size 210mm 297mm
@+ %%PaperSize: A4

Be default postscript is printing to letter size perer.  How to check?
Where else should I look?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30

2005-12-04 Thread Raphael Melo de Oliveira Bastos Sales
Hi there,

   I got a new VCOM optical mouse, model C235-PS2-V. And I'm having
problems with it. On Windows XP or with the Linux kernel 2.4.30
(OpenMosix) it works fine. But on linux kernel 2.6.14-r2 (Gentoo
Sources), it lights off and stays off unless I halt the system.

   I believe this is related to udev for two reasons, one because the
2.4 kernel uses devfs unstead of udev, and also because the light goes
off when udev is starting. On the dmesg log, there are two entries
related to the mouse:

mice: PS/2 mouse device common for all mice
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1

   The mouse buttons work, but when I press any of them, the cursor
goes to the top-right corner of the screen and stays there.

   Does anybody has any idea of what might be wrong, or how to create
a udev rule so the mouse device works as in devfs?

Thanks for the attention,

Raphael

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What package contains startkde

2005-12-04 Thread Harry Putnam
I've unmerged several kde packages from what was originally probably a
full kde install.  Now on starx  the startkde command cannot be found.

I hate to reinstall everthing I unmerged just to find this command.

These are the candidates from emerge.log

1132029646:  *** emerge --verbose unmerge kde-base/kdegraphics-3.3.2-r2
1133109258:  *** emerge --verbose unmerge kde-base/kdegraphics
1133721861:  *** emerge --verbose unmerge kde-base/kdebase-3.3.2-r2
1133721955:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
1133722049:  *** emerge --verbose unmerge kde-base/kdeadmin-3.3.2
1133722086:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
1133722165:  *** emerge --verbose unmerge kde-base/arts-1.3.2-r1
1133722205:  *** emerge --verbose unmerge kde-base/arts-3.5.0
1133722232:  *** emerge --verbose unmerge kde-base/arts-3.4.3
1133722681:  *** emerge --verbose unmerge kde-base/kdeadmin-3.4.1


Some of these were unmerged because I had the same package from 3.4 installed.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
On Sun, 2005-12-04 at 18:05 -0700, Joseph wrote:
 I want to print to letter size paper.
 I'm using Sql-Ledger to print invoices, program is set to print with
 command: 
 lpr -P Printer Name
 Sql-Ledger is using latex forms to generate invoices.  So to my
 understanding the program will be using dvips to convert latex to
 postscript and send it directly to printer, am I right? 
 Is there any other utility that conversion goes through, that I've
 missed?
 
 This is setting of: /usr/share/texmf/dvips/config/config.ps:
 % This shows how to add your own map file.
 % Remove the comment and adjust the name:
 % p +myfonts.map
 
 @ letterSize 8.5in 11in
 
 @ A4size 210mm 297mm
 @+ %%PaperSize: A4
 
 @ letter 8.5in 11in
 @+ %%BeginPaperSize: Letter
 @+ letter
 @+ %%EndPaperSize
 
 Should the these two line be commented out:
 @ A4size 210mm 297mm
 @+ %%PaperSize: A4
 
 Be default postscript is printing to letter size perer.  How to check?
 Where else should I look?
 
 -- 
 #Joseph

Partial success. 
I can save in pdf file and print it using cups it works but I can not
set the right letter size in dvips.
I've tired the commands:
texconfig dvips paper letter 
texconfig xdvi us

It doesn't work.  Printer is still asking for A4 paper size.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What package contains startkde

2005-12-04 Thread Steven Susbauer
kdebase, I believeOn 12/4/05, Harry Putnam [EMAIL PROTECTED] wrote:
I've unmerged several kde packages from what was originally probably afull kde install.Now on starxthe startkde command cannot be found.I hate to reinstall everthing I unmerged just to find this command.
These are the candidates from emerge.log1132029646:*** emerge --verbose unmerge kde-base/kdegraphics-3.3.2-r21133109258:*** emerge --verbose unmerge kde-base/kdegraphics1133721861:*** emerge --verbose unmerge kde-base/kdebase-
3.3.2-r21133721955:*** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r71133722049:*** emerge --verbose unmerge kde-base/kdeadmin-3.3.21133722086:*** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
1133722165:*** emerge --verbose unmerge kde-base/arts-1.3.2-r11133722205:*** emerge --verbose unmerge kde-base/arts-3.5.01133722232:*** emerge --verbose unmerge kde-base/arts-3.4.31133722681:*** emerge --verbose unmerge kde-base/kdeadmin-
3.4.1Some of these were unmerged because I had the same package from 3.4 installed.--gentoo-user@gentoo.org mailing list
-- Steven Susbauer


Re: [gentoo-user] What package contains startkde

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 20:27:28 -0600
Harry Putnam wrote:

 I've unmerged several kde packages from what was originally probably a
 full kde install.  Now on starx  the startkde command cannot be found.

[EMAIL PROTECTED] /tmp $ which startkde
/usr/kde/3.4/bin/startkde
[EMAIL PROTECTED] /tmp $ qpkg -f /usr/kde/3.4/bin/startkde
kde-base/kdebase-startkde *

One wonders how you are expecting startkde to work when you have
uninstalled most of kde?

 
 I hate to reinstall everthing I unmerged just to find this command.
 
 These are the candidates from emerge.log
 
 1132029646:  *** emerge --verbose unmerge kde-base/kdegraphics-3.3.2-r2
 1133109258:  *** emerge --verbose unmerge kde-base/kdegraphics
 1133721861:  *** emerge --verbose unmerge kde-base/kdebase-3.3.2-r2
 1133721955:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
 1133722049:  *** emerge --verbose unmerge kde-base/kdeadmin-3.3.2
 1133722086:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
 1133722165:  *** emerge --verbose unmerge kde-base/arts-1.3.2-r1
 1133722205:  *** emerge --verbose unmerge kde-base/arts-3.5.0
 1133722232:  *** emerge --verbose unmerge kde-base/arts-3.4.3
 1133722681:  *** emerge --verbose unmerge kde-base/kdeadmin-3.4.1
 
 
 Some of these were unmerged because I had the same package from 3.4 installed.
 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 18:05:31 -0700
Joseph wrote:

 I want to print to letter size paper.
 I'm using Sql-Ledger to print invoices, program is set to print with
 command: 
 lpr -P Printer Name
 Sql-Ledger is using latex forms to generate invoices.  So to my
 understanding the program will be using dvips to convert latex to
 postscript and send it directly to printer, am I right? 

Probably, but not necessarily - look in the source and see what is
called to make the document, or do some sort of tracing as the program
runs.

 Is there any other utility that conversion goes through, that I've
 missed?
 
 This is setting of: /usr/share/texmf/dvips/config/config.ps:
 % This shows how to add your own map file.
 % Remove the comment and adjust the name:
 % p +myfonts.map
 
 @ letterSize 8.5in 11in
 
 @ A4size 210mm 297mm
 @+ %%PaperSize: A4
 
 @ letter 8.5in 11in
 @+ %%BeginPaperSize: Letter
 @+ letter
 @+ %%EndPaperSize
 
 Should the these two line be commented out:
 @ A4size 210mm 297mm
 @+ %%PaperSize: A4
 
 Be default postscript is printing to letter size perer.  How to check?
 Where else should I look?
 
 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What package contains startkde

2005-12-04 Thread Harry Putnam
Harry wrote:

 . . . . . . Now on starx  the startkde command cannot be found.

Steven Susbauer [EMAIL PROTECTED] writes:

 kdebase, I believe

Sorry folks this was something of a false alarm or at least the wrong
question. It wasn't really missing (startkde) but whatever package
puts that bin directory in the path must have been unmerged or
something similar.

My .xinitrc had only:
  exec startkde

And that has been enough until the unmerging of kde stuff.

Now by adding the full path it works ok:

   exec /usr/kde/3.4/bin/startkde

So anyone know which package would have been the one adding 
/usr/kde/3.4/bin to path?

Again what I unmerged:
1132029646:  *** emerge --verbose unmerge kde-base/kdegraphics-3.3.2-r2
1133109258:  *** emerge --verbose unmerge kde-base/kdegraphics
1133721861:  *** emerge --verbose unmerge kde-base/kdebase-3.3.2-r2
1133721955:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
1133722049:  *** emerge --verbose unmerge kde-base/kdeadmin-3.3.2
1133722086:  *** emerge --verbose unmerge kde-base/kdelibs-3.3.2-r7
1133722165:  *** emerge --verbose unmerge kde-base/arts-1.3.2-r1
1133722205:  *** emerge --verbose unmerge kde-base/arts-3.5.0
1133722232:  *** emerge --verbose unmerge kde-base/arts-3.4.3
1133722681:  *** emerge --verbose unmerge kde-base/kdeadmin-3.4.1

   


-- 
gentoo-user@gentoo.org mailing list




[gentoo-user] Re: Squirrelmail can't attach files!

2005-12-04 Thread Michael Sullivan
On Sun, 2005-12-04 at 12:09 -0600, Michael Sullivan wrote:
 My wife alerted me to a problem the other day with SquirrelMail-1.4.5
 having a problem with attaching files.  I tried it this morning and I
 couldn't attach files either.  I would have just reverted to a previous
 version of Squirrelmail, but there doesn't seem to be one available.
 Any thoughts on this?  I'm using mod_php-4.4.0 with apache-2.0.54.

I fixed it.  It was a permissions problem...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What package contains startkde

2005-12-04 Thread Harry Putnam
Nick Rout [EMAIL PROTECTED] writes:

 On Sun, 04 Dec 2005 20:27:28 -0600
 Harry Putnam wrote:

 I've unmerged several kde packages from what was originally probably a
 full kde install.  Now on starx  the startkde command cannot be found.

 [EMAIL PROTECTED] /tmp $ which startkde
 /usr/kde/3.4/bin/startkde
 [EMAIL PROTECTED] /tmp $ qpkg -f /usr/kde/3.4/bin/startkde
 kde-base/kdebase-startkde *

 One wonders how you are expecting startkde to work when you have
 uninstalled most of kde?

I guess one will wonder even more why it runs fine here anyway.

As posted originally, the heavy kde packages like
kde-base/kdebase-3.3.2-r2, that were unmerged were an older version.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What package contains startkde

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 21:03:50 -0600
Harry Putnam wrote:

 Nick Rout [EMAIL PROTECTED] writes:
 
  On Sun, 04 Dec 2005 20:27:28 -0600
  Harry Putnam wrote:
 
  I've unmerged several kde packages from what was originally probably a
  full kde install.  Now on starx  the startkde command cannot be found.
 
  [EMAIL PROTECTED] /tmp $ which startkde
  /usr/kde/3.4/bin/startkde
  [EMAIL PROTECTED] /tmp $ qpkg -f /usr/kde/3.4/bin/startkde
  kde-base/kdebase-startkde *
 
  One wonders how you are expecting startkde to work when you have
  uninstalled most of kde?
 
 I guess one will wonder even more why it runs fine here anyway.
 
 As posted originally, the heavy kde packages like
 kde-base/kdebase-3.3.2-r2, that were unmerged were an older version.

sorry I missed that bit LOL.

Those path things usually get set in /etc/env.d/ - take a look in that
dir, there are a whole lot of numbered files that set environment
variables. they are execute in numerical order. Any package is free to
insert a file there, but it doesn't pay to screw with it.

The point being that when you upgrade kde the environment variable may
not be reset until you re-read those files (which I think happens if you run 
env-update).

 
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
On Mon, 2005-12-05 at 15:57 +1300, Nick Rout wrote:
 On Sun, 04 Dec 2005 18:05:31 -0700
 Joseph wrote:
 
  I want to print to letter size paper.
  I'm using Sql-Ledger to print invoices, program is set to print with
  command: 
  lpr -P Printer Name
  Sql-Ledger is using latex forms to generate invoices.  So to my
  understanding the program will be using dvips to convert latex to
  postscript and send it directly to printer, am I right? 
 
 Probably, but not necessarily - look in the source and see what is
 called to make the document, or do some sort of tracing as the program
 runs.
 
  Is there any other utility that conversion goes through, that I've
  missed?

looking at the configuration file in sql-ledger it is looking for:
latex, dvips or pdflatex, but making any changes to dvips makes no
difference. 
it is hard to look in the source code if you don't know which file it
is.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What package contains startkde

2005-12-04 Thread Harry Putnam
Nick Rout [EMAIL PROTECTED] writes:

 The point being that when you upgrade kde the environment variable
 may not be reset until you re-read those files (which I think
 happens if you run env-update).

Haa that sounds like a very likely suspect and also a command I'd
completely forgotten.  I haven't checked it out yet just added that
bin manually to my path but thinking about it here.  I didn't upgrade
kde recently, what I did was unmerge a number of what I took to be
unneeded packages.  

I ran `equery depends ..' on all before unmerging and saw nothing
there to raise an alarm.  I sort of missed the thread that I noticed
just now about how to purge kde so I was just using my own scheme.

Is that scenario likely to require a reread of the scripts you mention
or is it only an update that falls in there.

More info..

Just now decided to check a bit before posting, I'm a little puzzled
with the results.  What I did:

grep -rin 'kde.*bin' /etc/env.d

/etc/env.d/45kdepaths-3.5:1:PATH=/usr/kde/3.5/bin
/etc/env.d/45kdepaths-3.5:2:ROOTPATH=/usr/kde/3.5/sbin:/usr/kde/3.5/bin

So yup, that is where it gets set but notice I'm running 3.4 so that
wouldn't have help me.

Then:
 equery belongs /etc/env.d/45kdepaths-3.5
[ Searching for file(s) /etc/env.d/45kdepaths-3.5 in *... ]
kde-base/arts-3.5.0 (/etc/env.d/45kdepaths-3.5)

Aha, here is the rub.  I did uninstall kde-base/arts-3.4 and 3.5 since
somewhere, I think a post of Holly's it was said it wasn't too
essential and running `equery depends' on it seemed to bear that out.
And in truth, it is not really essential.

So, I'd be willing to bet and I'll soon find out that my uninstalling
arts-3.4 is what caused my problem, ie my .xinitrc line without
absolute filename to startkde (including path) failed.

I guess the puzzler here is how kde-arts-3.5 ever got installed since
I'm running 3.4.

I didn't install it manually, it must have been pulled in by an update
world. 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problems emergeing (through winxp shared connection)

2005-12-04 Thread Nacho
Hi, I'm trying to emerge kde-meta, but i get stuck here (the error reproduces with emerge kde-meta):

--
gentoo ~ # emerge kde-meta
Calculating dependencies ...done!
 emerge (1 of 278) dev-libs/glib-2.6.3 to /
 Resuming download...
 Downloading http://distfiles.gentoo.org/distfiles/glib-2.6.3.tar.bz2
--12:15:45-- http://distfiles.gentoo.org/distfiles/glib-2.6.3.tar.bz2
 = `/usr/portage/distfiles/glib-2.6.3.tar.bz2'
Resolving distfiles.gentoo.org... 64.50.238.52, 64.50.236.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org[64.50.238.52]:80... connected.
HTTP request sent, awaiting response... 404 Not Found

 The file is already fully retrieved; nothing to do.

 Resuming download...
 Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/glib-2.6.3.tar.bz2
--12:15:46-- http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/glib-2.6.3.tar.bz2
 = `/usr/portage/distfiles/glib-2.6.3.tar.bz2'
Resolving distro.ibiblio.org... 152.2.210.109
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found

 The file is already fully retrieved; nothing to do.

 Resuming download...
 Downloading ftp://ftp.gtk.org/pub/gtk/v2.6/glib-2.6.3.tar.bz2
--12:15:47-- ftp://ftp.gtk.org/pub/gtk/v2.6/glib-2.6.3.tar.bz2
 = `/usr/portage/distfiles/glib-2.6.3.tar.bz2'
Resolving ftp.gtk.org... 128.32.112.248
Connecting to ftp.gtk.org[128.32.112.248]:21... connected.
Logging in as anonymous ...

Exiting on signal 2

-
(I abort manually because it hangs up)
I'm acceding Inet through a winxp shared connection (w/nat) (NOT a
proxy, so http_proxy is unset), but there wasn't any problem with other
emergeings or apps.
(for example, i can ping, navigate, and emerge other packages too)
what can i do?
When i look at /usr/portage/distfiles there is a glib-2.6.3.ebuild so, why is emerge trying to download it?
is there a manual way to install this package and in general any package that can`t be emerged traditionally?
Here is some info:
--

gentoo ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64)
=
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 2800+
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS=amd64
AUTOCLEAN=yes
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-pipe -O2
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-pipe -O2
DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo

PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=amd64 X alsa avi berkdb bitmap-fonts crypt cups encode foomaticdb
fortran gif gpm gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg
ncurses nls opengl pam pdflib perl png python qt quicktime readline sdl
spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xpm xv
zlib userland_GNU kernel_linux elibc_glibc
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Any suggestion welcome, bye


Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Nick Rout

On Sun, 04 Dec 2005 20:29:05 -0700
Joseph wrote:

 On Mon, 2005-12-05 at 15:57 +1300, Nick Rout wrote:
  On Sun, 04 Dec 2005 18:05:31 -0700
  Joseph wrote:
  
   I want to print to letter size paper.
   I'm using Sql-Ledger to print invoices, program is set to print with
   command: 
   lpr -P Printer Name
   Sql-Ledger is using latex forms to generate invoices.  So to my
   understanding the program will be using dvips to convert latex to
   postscript and send it directly to printer, am I right? 
  
  Probably, but not necessarily - look in the source and see what is
  called to make the document, or do some sort of tracing as the program
  runs.
  
   Is there any other utility that conversion goes through, that I've
   missed?
 
 looking at the configuration file in sql-ledger it is looking for:
 latex, dvips or pdflatex, but making any changes to dvips makes no
 difference. 
 it is hard to look in the source code if you don't know which file it
 is.
 

I think I have tracked down the code for printing to the file SL/Form.pm
(I tracked it by grepping the source for outr likely commands, dvips,
pdflatex etc.)

Unfortunately I am not a perl guru, but there are clearly differences in
processing between ps output and pdf output. For example there is a
passage that shows that if the format is ps the following is executed:

latex --interaction=nonstopmode
dvips  -o -q

in the same point in the code, if the output is pdf it runs:

pdflatex --interaction=nonstopmode

Logically the difference must be in the execution of latex/dvips
compared to pdflatex OR in the way that the printer is invoked.

Which perhaps doesn't help, there may be other differences in the code
that I didn't spot.

Hey one more thing, when you ran those dvips setup commands and so on,
do they take global effect or only for the user that ran them??
Taking a punt, it's unlikely that sql-ledger runs as your user, and if
the commands you ran are per user rather than global, they won't have
taken effect.
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
On Mon, 2005-12-05 at 17:25 +1300, Nick Rout wrote:
 On Sun, 04 Dec 2005 20:29:05 -0700
 Joseph wrote:
 
  On Mon, 2005-12-05 at 15:57 +1300, Nick Rout wrote:
   On Sun, 04 Dec 2005 18:05:31 -0700
   Joseph wrote:
   
I want to print to letter size paper.
I'm using Sql-Ledger to print invoices, program is set to print with
command: 
lpr -P Printer Name
Sql-Ledger is using latex forms to generate invoices.  So to my
understanding the program will be using dvips to convert latex to
postscript and send it directly to printer, am I right? 
   
   Probably, but not necessarily - look in the source and see what is
   called to make the document, or do some sort of tracing as the program
   runs.
   
Is there any other utility that conversion goes through, that I've
missed?
  
  looking at the configuration file in sql-ledger it is looking for:
  latex, dvips or pdflatex, but making any changes to dvips makes no
  difference. 
  it is hard to look in the source code if you don't know which file it
  is.
  
 
 I think I have tracked down the code for printing to the file SL/Form.pm
 (I tracked it by grepping the source for outr likely commands, dvips,
 pdflatex etc.)
 
 Unfortunately I am not a perl guru, but there are clearly differences in
 processing between ps output and pdf output. For example there is a
 passage that shows that if the format is ps the following is executed:
 
 latex --interaction=nonstopmode
 dvips  -o -q
 
 in the same point in the code, if the output is pdf it runs:
 
 pdflatex --interaction=nonstopmode
 
 Logically the difference must be in the execution of latex/dvips
 compared to pdflatex OR in the way that the printer is invoked.
 
 Which perhaps doesn't help, there may be other differences in the code
 that I didn't spot.
 
 Hey one more thing, when you ran those dvips setup commands and so on,
 do they take global effect or only for the user that ran them??
 Taking a punt, it's unlikely that sql-ledger runs as your user, and if
 the commands you ran are per user rather than global, they won't have
 taken effect.
 -- 
 Nick Rout [EMAIL PROTECTED]

OK, here in order to print (sql-ledger selection) from to pdf --
(screen) and save it as file with the right setting:
/usr/share/texmf/pdftex/config/pdftex.cfg (should contain):
page_width 8.5 true in
page_height 11 true in
horigin 1 true in
vorigin 0.3 true in

So if I print to file.pdf and open that file in kpdf it allows me to
print that file directly to printer. The printer is not asking for A4
paper size.  The out put goes though: cups.
However, if I try to print pdf file to printer directly (sql-ledger
selection): pdf -- printer.  It keep asking me for paper size A4.

The same scenario goes with PS (postscript sql-ledger selection): ps --
screen; save it to a file.ps.  It allows me to print that file directly
to printer. The printer is not asking for A4 paper size.  The out put
goes though: cups.
But going through (sql-ledger selection): pdf -- printer.  It keep
asking me for paper size A4.

So it only keep asking me for A4 paper size when the file is been
redirected from Sql-ledger setting to printer: lpr -P printer_name

The file: /usr/share/texmf/dvipdfm/config/conf has:
% Set default paper size here
p letter

/usr/share/texmf/dvips/config/config.ps:
% This shows how to add your own map file.
% Remove the comment and adjust the name:
% p +myfonts.map

@ letterSize 8.5in 11in

@ letter 8.5in 11in
@+ %%BeginPaperSize: Letter
@+ letter
@+ %%EndPaperSize

So, I'm not sure if if the setting in ..dvips/config/config.ps take
effect as the printer is asking me for A4 paper size, but it
shouldn't.  

I need as well to figure out which file holds the setting margin
setting, as I need to move it 1-in up.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: bash and keeping history

2005-12-04 Thread Trenton Adams
Thanks guys.On 12/4/05, Philip Webb [EMAIL PROTECTED] wrote:
051204 Harry Putnam wrote: Trenton Adams [EMAIL PROTECTED] writes: when you open multiple bash logins, only the history of the last one logged out actually gets saved.
 I've used for over a year a bash built-in called 'histappend' that can be put into.bash_profilelike this: 'shopt -s histappend'It's in 'man bash': search for 'histappend'.--,,
SUPPORT ___//___,Philip Webb : [EMAIL PROTECTED]ELECTRIC /] [] [] [] [] []|Centre for Urban  Community StudiesTRANSIT`-O--O---'University of Toronto
--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
On Mon, 2005-12-05 at 17:25 +1300, Nick Rout wrote:
 On Sun, 04 Dec 2005 20:29:05 -0700
 Joseph wrote:
 
  On Mon, 2005-12-05 at 15:57 +1300, Nick Rout wrote:
   On Sun, 04 Dec 2005 18:05:31 -0700
   Joseph wrote:
   
I want to print to letter size paper.
I'm using Sql-Ledger to print invoices, program is set to print with
command: 
lpr -P Printer Name
Sql-Ledger is using latex forms to generate invoices.  So to my
understanding the program will be using dvips to convert latex to
postscript and send it directly to printer, am I right? 
   
   Probably, but not necessarily - look in the source and see what is
   called to make the document, or do some sort of tracing as the program
   runs.
   
Is there any other utility that conversion goes through, that I've
missed?
  
  looking at the configuration file in sql-ledger it is looking for:
  latex, dvips or pdflatex, but making any changes to dvips makes no
  difference. 
  it is hard to look in the source code if you don't know which file it
  is.
  
 
 I think I have tracked down the code for printing to the file SL/Form.pm
 (I tracked it by grepping the source for outr likely commands, dvips,
 pdflatex etc.)
 
 Unfortunately I am not a perl guru, but there are clearly differences in
 processing between ps output and pdf output. For example there is a
 passage that shows that if the format is ps the following is executed:
 
 latex --interaction=nonstopmode
 dvips  -o -q
 

dvips -o -q
-o means:  The output will be sent to file name If no file name is given, the 
default name is  file.ps
-q means quite mode.

Here is the part that sends file to a printer, can any perl guru help us
out???
How it converts to postscript file and which program is it using.

# Convert the tex file to postscript
  if ($self-{format} =~ /(postscript|pdf)/) {

use Cwd;
$self-{cwd} = cwd();
chdir($userspath) or $self-error($self-cleanup.chdir : $!);

$self-{tmpfile} =~ s/$userspath\///g;

# DS. added screen and email option in addition to printer
# screen
if ($self-{format} eq 'postscript') {
  system(latex --interaction=nonstopmode $self-{tmpfile} 
$self-{tmpfile}.err);
  $self-error($self-cleanup) if ($?);

  $self-{tmpfile} =~ s/tex$/dvi/;

  system(dvips $self-{tmpfile} -o -q  /dev/null);
  $self-error($self-cleanup.dvips : $!) if ($?);
  $self-{tmpfile} =~ s/dvi$/ps/;
}
if ($self-{format} eq 'pdf') {
  system(pdflatex --interaction=nonstopmode $self-{tmpfile} 
$self-{tmpfile}.err);
  $self-error($self-cleanup) if ($?);
  $self-{tmpfile} =~ s/tex$/pdf/;
}

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] IMAP Server - authenticating off a Windows Domain?

2005-12-04 Thread Stroller

Hi there,

Does anyone have any experience of this, please? I have a number of 
users with roaming profiles on a Windows Domain Controller (SBS 2003). 
I don't want to use Exchange as a mailserver but instead an IMAP sever 
such as Courier (which I'm familiar with).


Each user will have to change their password on the domain every couple 
of weeks and because I want to provide webmail access to their IMAP 
accounts it's desirable that their IMAP username  password be the same 
as their Windows one. I don't mind adding users by hand on the 
Linux-based IMAP server but I would prefer that passwords be changed 
automatically - I guess the best way to do this is for the IMAP server 
to authenticate against the domain controller everytime the user logs 
on to their email?


Has anyone any experience of this, please?

TIA for any advice,

Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] courier

2005-12-04 Thread Stroller


On Dec 4, 2005, at 6:03 pm, Arturo 'Buanzo' Busleiman wrote:

Nick Smith wrote:

thanks, i thought that courier-imap relied on courier, so i assumed it
would have emerged it, i was wrong, thanks for the help.


If there's anything you need to know about courier-mta on gentoo, just 
let me know.


You're in luck!
I've just started a new thread IMAP Server - authenticating off a 
Windows Domain?

Perhaps you can help?

Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash and keeping history

2005-12-04 Thread Walter Dnes
On Sun, Dec 04, 2005 at 12:11:45PM -0700, Trenton Adams wrote

 There's one thing that has kind of been a little annoying since
 I started using gentoo a few months ago.  That's the fact that
 when you open multiple bash logins, only the history of the last
 one logged out actually gets saved.  Now I know that redhat saves
 all of them.  Does anyone know how it does this?  Is it a patch,
 a certain scripts, what?
 
 Anyhow, I think gentoo really needs this feature.  It's a little
 annoying to lose all of your history when you've been working in
 multiple windows.

  I read your post, and slapped together the following, which goes into
~/.bashrc.  Warning... some backtick expansion included here.  Is there
a simpler way to find out which tty or pts you're running in?



# If running interactively, then:
if [ $PS1 ]; then

# Set up a separate HISTFILE, depending on which tty we logged in
# from.  Convert slashes in tty names (e.g. pts/0) into underscores.
mytty=`ps -ef | grep ${USER} | tail -n 1 | sed s/^.\{30\}//
s/ .*$//
sx/x_x`
export HISTFILE=${HOME}/.history_${mytty}


  The command figures out which tty/pts we're launched in, and sets a
history file containing the session name.  One booby-trap is forward
slashes, which aren't legal as filenames (they're interpreted as
directories).

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] write to attached USB drv from windowsXP

2005-12-04 Thread Walter Dnes
On Sun, Dec 04, 2005 at 12:28:03PM -0600, Harry Putnam wrote

 Once more for clarity:  I can access them from windows xp and view
 contents but cannot write to them.

  Let's see if I have this right...
  - the Windows XP machine is connected to the Gentoo machine
  - the Gentoo machine is connected to the external USB
  - the kneebone is connected to the legboneg

  I'm not familiar with samba, but the first question that comes to mind
is whether the XP machine has write access to the mountpoints.  Try the
following...
  - unmount the external USB drive
  - can the XP machine write to the directories /usb1 and /usb2?

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Nick Rout
On Sun, 04 Dec 2005 22:26:48 -0700
Joseph [EMAIL PROTECTED] wrote:


  
  I think I have tracked down the code for printing to the file SL/Form.pm
  (I tracked it by grepping the source for outr likely commands, dvips,
  pdflatex etc.)
  
  Unfortunately I am not a perl guru, but there are clearly differences in
  processing between ps output and pdf output. For example there is a
  passage that shows that if the format is ps the following is executed:
  
  latex --interaction=nonstopmode
  dvips  -o -q
  
 
 dvips -o -q
 -o means:  The output will be sent to file name If no file name is given, the 
 default name is  file.ps
 -q means quite mode.
 
 Here is the part that sends file to a printer, can any perl guru help us
 out???

No, I don't think it sends anything to the printer. It is one stage of
the conversion process - to either pdf or ps. It is the bit I
identified in my last message (quoted above). But it doesn't actually
send it to the printer as far as i can see.



 How it converts to postscript file and which program is it using.
 
 # Convert the tex file to postscript
   if ($self-{format} =~ /(postscript|pdf)/) {
 
 use Cwd;
 $self-{cwd} = cwd();
 chdir($userspath) or $self-error($self-cleanup.chdir : $!);
 
 $self-{tmpfile} =~ s/$userspath\///g;
 
 # DS. added screen and email option in addition to printer
 # screen
 if ($self-{format} eq 'postscript') {
   system(latex --interaction=nonstopmode $self-{tmpfile} 
 $self-{tmpfile}.err);
   $self-error($self-cleanup) if ($?);
 
   $self-{tmpfile} =~ s/tex$/dvi/;
 
   system(dvips $self-{tmpfile} -o -q  /dev/null);
   $self-error($self-cleanup.dvips : $!) if ($?);
   $self-{tmpfile} =~ s/dvi$/ps/;
 }
 if ($self-{format} eq 'pdf') {
   system(pdflatex --interaction=nonstopmode $self-{tmpfile} 
 $self-{tmpfile}.err);
   $self-error($self-cleanup) if ($?);
   $self-{tmpfile} =~ s/tex$/pdf/;
 }
 
 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] emerge history

2005-12-04 Thread Joseph
Is there a way to tell which packages got upgraded in the past week?
I have /etc/config-archive/ but if the configuration did not change it
will not help me.

One of the upgrades, has caused tetex sending wrong information during
conversion to postscript and that is causing my my printer demanding A4
paper size.

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] straggling with paper size

2005-12-04 Thread Joseph
On Mon, 2005-12-05 at 20:22 +1300, Nick Rout wrote:
 On Sun, 04 Dec 2005 22:26:48 -0700
 Joseph [EMAIL PROTECTED] wrote:
 
 
   
   I think I have tracked down the code for printing to the file SL/Form.pm
   (I tracked it by grepping the source for outr likely commands, dvips,
   pdflatex etc.)
   
   Unfortunately I am not a perl guru, but there are clearly differences in
   processing between ps output and pdf output. For example there is a
   passage that shows that if the format is ps the following is executed:
   
   latex --interaction=nonstopmode
   dvips  -o -q
   
  
  dvips -o -q
  -o means:  The output will be sent to file name If no file name is given, 
  the default name is  file.ps
  -q means quite mode.
  
  Here is the part that sends file to a printer, can any perl guru help us
  out???
 
 No, I don't think it sends anything to the printer. It is one stage of
 the conversion process - to either pdf or ps. It is the bit I
 identified in my last message (quoted above). But it doesn't actually
 send it to the printer as far as i can see.

From what I have read the pdf file/document contains information if it
is an A4 or a letter size format, postscript doesn't have this
information. 

Something, I emerge during the last week have caused this change.  As
tetex is old package, it can not be tetex; in addition and I did not
have to do any special configuration in tetex, everything just worked.
Now, (in the last week) some packaged caused all the problem

Is there a way to tell which packages were upgraded in the last week or
two?
Something like emerge history?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge history

2005-12-04 Thread Dale
Joseph wrote:

Is there a way to tell which packages got upgraded in the past week?
I have /etc/config-archive/ but if the configuration did not change it
will not help me.

One of the upgrades, has caused tetex sending wrong information during
conversion to postscript and that is causing my my printer demanding A4
paper size.

  

/var/log/emerge.log

This is Linux, there is a log for everything.  LOL  You sneeze, it keeps
a record of it.  O_O

Dale
:-)

-- 
To err is human, I'm most certainly human.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem: wxGTK-2.4.2-r4 doesn't compile

2005-12-04 Thread Richard Fish
On 12/4/05, Luigi Pinna [EMAIL PROTECTED] wrote:
 Hello!
 I have a problem with the opengl: if I emerge the wxGTK-2.4.2-r4 package
 (stable on AMD64 profile), I read that:

 [...]
 checking for GL/gl.h... yes
 checking for -lGL... no
 checking for -lMesaGL... no
 configure: error: OpenGL libraries not available

 !!! ERROR: x11-libs/wxGTK-2.4.2-r4 failed.

 If I try to use a game like ut2004 or only check the opengl setup from
 console, I have this error message:
 glxinfo: error while loading shared libraries: libGL.so.1: cannot open
 shared object file: No such file or directory

Looks like you need to run opengl-select to make links to your chosen
GL implementation (I'm guessing you'll want the ATI implementation) in
/usr/lib.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with portage

2005-12-04 Thread Richard Fish
On 12/4/05, Cláudio Henrique [EMAIL PROTECTED] wrote:
 and how do I compile all the packages, since these does not exist in world 
 file?

Well, if you don't want to add them to world, the hard way:

cd /var/db/pkg
for x in */*; do emerge --oneshot =$x; done

-Richard

-- 
gentoo-user@gentoo.org mailing list