Re: [gentoo-user] Software suspend 2

2006-05-22 Thread Alexander Skwar

James Colby wrote:


I get the following error when running lilo:
Syntax error at or above line 14 in file '/etc/lilo.conf'.  Line 14 is
the append line.  Does anyone have any idea as to what may be causing
this?


Well, no idea, but you can skip that append, if you set a default
suspend device in the kernel configuration.

Alexander Skwar
--
Opportunities are usually disguised as hard work, so most people don't
recognize them.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Skype problem

2006-05-22 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 04:25, lunedì 22 maggio 2006, Jason Weisberger ha scritto:
 There could be a couple of things causing this.  Do you have ALSA's
 OSS Emulation properly configured.  If you do, you should be able to
 hear sound when you #echo /dev/rand  /dev/dsp .  If /dev/dsp isn't
 working, please refer to the Gentoo Wiki article on setting up ALSA
 properly for OSS Emulation. 
 http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29

 You may also want to check on which version of ALSA you're using,
 because prior to ~0.9, dmix wasn't automatically enabled (software
 mixing) and if your sound card doesn't support hardware mixing, other
 devices will tie up /dev/dsp and not allow Skype access.  Skype is
 very stingy when it comes to sharing /dev/dsp.

 Let me know what you come up with.

 Jason Weisberger

So, I don't know...
I have alsa in the kernel (2.6.16.7 it's alsa-1.0.11) and it works for 
all devices... Probably I have a bad dmix configuration (the default 
one...)... Have you a idea how can I check the dmix configuration? I 
remember you I can't use midi because I have a SBLive!5.1 (it worked 
never...), but my audio system works properly...
Thanks, Luigi
- -- 
Public key GPG(0x633F86B7) on http://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEcVoPHmkkjmM/hrcRApwQAJ4kcaXcNMBKR0udN6MN1ZtEUe5ZngCgkfZY
IerSaO7gUBWqSQXyLhA4UnI=
=Wf/z
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Finding packages which provide a file

2006-05-22 Thread Alexander Skwar

Hello.

From time to time, I'm looking for a *not* installed package, which
might provide a certain file. Say, I'd like to know, which packages
could provide /etc/foo/bar, how would I do that? Are there any sites
out there, which provide a database, which connect installed file
to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

Thanks,

Alexander Skwar
--
A woman, especially if she have the misfortune of knowing anything,
should conceal it as well as she can.
-- Jane Austen
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Trevor Rhodes
Hello,

  From time to time, I'm looking for a *not* installed package, which
 might provide a certain file. Say, I'd like to know, which packages
 could provide /etc/foo/bar, how would I do that? Are there any sites
 out there, which provide a database, which connect installed file
 to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

I would suggest http://rpm.pbone.net

I know we don't use rpms, but it will give you the name you are after.

-- 
 Regards
  Trevor Rhodes
===
Powered by Linux-Gentoo
Registered Linux user # 290542 at http://counter.li.org
Registered Machine #186951
Source :  my 100 % Microsoft-free personal computer.
gpg public key: http://www.rhodes-online.net/trevor.asc
===
 17:00:19 up 6 days, 36 min,  3 users,  load average: 1.30, 0.80, 0.40

Windows Tip of the Day #1:  Migrate to Linux!!!


pgpKyPHL07LJJ.pgp
Description: PGP signature


Re: [gentoo-user] xorg i810/i915 mode problem (modular X)

2006-05-22 Thread W.Kenworthy
On Sun, 2006-05-21 at 21:10 +0200, Jure Varlec wrote:
 On Sunday 21 May 2006 01:42, W.Kenworthy wrote:
...
 
 The modes which xorg null's out are the ones your hardware cannot support. 
 Only now did I notice that your laptop's native resolution is 1366x768. That 
 is 768 pixels vertical. You physically cannot have 1024 pixels. Yet you write 
 that you managed to force it once. Are you sure that was it?
 
 Anyway, I don't think you can use such a mode on your laptop. Your projector 
 should work fine of course, but without clone mode.
 
 Another possibility would be having 1280x1024 workspace, which should display 
 properly on the projector, but using a lower resolution on the laptop, which 
 should behave like zooming because the workspace is bigger. I don't know how 
 to do this off the top of my head, but it should be in the man pages.
 
 Regards,
 Jure

The chipset is capable of it, as is the external monitor.  The external
monitor is an LCD which runs at 1280x1024 - its the internal laptop LCD
which appears to be the problem.  When I did have both screens running
in their proper modes, it was in two completely different desktops which
doesnt work when you are trying to give a presentation!  What I want is
the same desktop on both screens - looks like this is not possible.

I will investigate the viewport option, but I dont think that will help.

Billk

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] To all, for who freedom is important!

2006-05-22 Thread Romchik
To all, for who freedom is important!

You, who is sitting in front of your monitors! Everyone, who is reading these 
lines! You can just look through them or you can read each word thoroughly. 
It doesn’t matter in which language you are reading these words. Just read 
them. Think. Make up your mind for yourself only. Because that is what 
freedom is. Every day you do something that makes this world change. It is 
not the same it was yesterday and it is not the same it will be tomorrow. 
Noone knows how many people in the world believe in OpenSource. Something 
makes me think that our community is the largest and the most cooperative in 
the world! Why not unite? If we try, we can upend the world. People have 
always get out to the streets to show themselves, to tell their ideas, but it 
has never happened in the GLOBAL SCALE! Just imagine: the same day, the same 
hour, in every city of every country all people get out to the streets!

What do I suggest?

May, 27. Saturday. Midday. 12.00. Come to the place in your city where 
meetings usually take place. If you don’t know where to come, go to the 
administrative buildings where the government is. Just have a walk. You will 
probably meet some of your acquaintances or friends, and also those people 
you have never seen. All those for who OpenSource is not just a sound, will 
be there. Those, who managed to find 30 minutes of their free time to support 
others. To come together with the whole planet. When you will say hello to 
each other, smile and talk, know, that somewhere someone came to the same 
place in their city together with you. Let’s show the world, how many of us 
are there! The planet is big. The midday will come in different time in each 
place. At first it will happen in the East, then in the West. The time will 
come when somewhere people will come together. Even if I will be the only one 
to come in my city, I will know that somewhere there are people who will come 
together with me. We can show, how many of us are there. How many of those, 
who want to make the world a better place. Let’s do it! We will be together! 
The future depends on us!

Please translate this text to any language you know and send it to those who 
can join us!

V.R.M.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
Current situation is that I have a bad disk /dev/sdb1 in an existing lvm
partition. (sda1/sda4/sdb1)

I would like to remove it from the VG.

I've already reduced the existing VG to the size of sda1+sda4
partition. 

I would like to remove entirely the Physical Extents from the volume
group. It doesn't seem like there's a way to do this w/o putting another
disk inside? 

I'm sure that's not true.


-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems with gnome-menus

2006-05-22 Thread JC Denton
Hi!   I am trying to reemerge gnome-menus but I got a error:  Digest verification Failed: /usr/portage/distfiles/gnome-menus-2.10.0.tar.bz2 Reason: Failed on MD5 verification  The same happens with PyXML.   What does this mean? Got this kind of error the first time. Already did emerge --sync updated the portage tree. What is wrong with my machine?  JC 
		Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!Jetzt Yahoo! Messenger installieren!

Re: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 08:40:01 +0200, Alexander Skwar wrote:

  From time to time, I'm looking for a *not* installed package, which
 might provide a certain file. Say, I'd like to know, which packages
 could provide /etc/foo/bar, how would I do that? Are there any sites
 out there, which provide a database, which connect installed file
 to package? Sort of like a compilation of /var/db/pkg/*/*/CONTENTS?

http://packages.debian.org will give a clue.

AFAIK there's no database of Gentoo packages such as you ask for. Such a
database would be inaccurate, because package contents are USE flag
dependent, so anyone charitable enough to set one up would probably spend
most of their time fielding questions about incorrect data :(


-- 
Neil Bothwick

Crime doesn't pay? Does that mean my job is illegal?


signature.asc
Description: PGP signature


Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 00:33:47 -0700, Ow Mun Heng wrote:

 I would like to remove entirely the Physical Extents from the volume
 group. It doesn't seem like there's a way to do this w/o putting another
 disk inside? 

$ man vgreduce

DESCRIPTION
   vgreduce  allows  you to remove one or more unused physical volumes
   from a volume group.


-- 
Neil Bothwick

Top Oxymorons Number 5: Twelve-ounce pound cake


signature.asc
Description: PGP signature


[gentoo-user] updated to evolution 2.6.1 and the copy and move buttons are missing off the toolbar

2006-05-22 Thread William Kenworthy
Just updated to evolution 2.6.1 and the copy and move buttons have gone
missing off the toolbar.  Is there an easy way to get them back?

BillK


-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Alexander Skwar

Neil Bothwick wrote:


AFAIK there's no database of Gentoo packages such as you ask for. Such a
database would be inaccurate, because package contents are USE flag
dependent, so anyone charitable enough to set one up would probably spend
most of their time fielding questions about incorrect data :(


Nah, not necessarily. For every listed file, it would be required
to show to which package(s) it belongs and also, how those packages
were built (ie. with which USE flags). So, not only the listing
of all the CONTENT files would be of interest, but also the keyword
(ie. x86, amd64, ...) and the associated USE flags.

BTW: How can I find out, with which *relevant* USE flags a package
has been built? Eg. gnome-base/gnome. In /var/db/pkg/gnome-base/gnome-2.14.1,
I find a USE file. But it contains *WAY* too many flags:

[EMAIL PROTECTED] /var/db/pkg/gnome-base/gnome-2.14.1 $ cat USE
x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread 
emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska 
mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan 
noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl 
startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid 
xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via



I'd rather only see the relevant flags; ie. those flags, which
are shown when I do a emerge -v, like so:

[EMAIL PROTECTED] /var/db/pkg/gnome-base/gnome-2.14.1 $ emerge -vpt gnome

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gnome-2.14.1  USE=-accessibility cdr -dvdr hal 0 kB

Total size of downloads: 0 kB

So, I would like to see

-accessibility cdr -dvdr hal

How to do that?

Thanks,

Alexander Skwar
--
panic(Fod fight!);
linux-2.2.16/drivers/scsi/aha1542.c
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 12:28:22 +0200, Alexander Skwar wrote:

  AFAIK there's no database of Gentoo packages such as you ask for.
  Such a database would be inaccurate, because package contents are USE
  flag dependent, so anyone charitable enough to set one up would
  probably spend most of their time fielding questions about incorrect
  data :(
 
 Nah, not necessarily. For every listed file, it would be required
 to show to which package(s) it belongs and also, how those packages
 were built (ie. with which USE flags). So, not only the listing
 of all the CONTENT files would be of interest, but also the keyword
 (ie. x86, amd64, ...) and the associated USE flags.

How many permutations would there be. Packages lke mplayer and php use
dozens of USE flags, compiling with every combination would a day
and forever (which is longer than forever and a day).

 BTW: How can I find out, with which *relevant* USE flags a package
 has been built? Eg. gnome-base/gnome.
 In /var/db/pkg/gnome-base/gnome-2.14.1, I find a USE file. But it
 contains *WAY* too many flags:

genlop -i pkgname


-- 
Neil Bothwick

EMail - garbage at the speed of light.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problems with gnome-menus

2006-05-22 Thread Ilya Hegai
2006/5/22, JC Denton [EMAIL PROTECTED]:
Hi!  I am trying to reemerge gnome-menus but I got a error:  Digest verification Failed: /usr/portage/distfiles/gnome-menus-2.10.0.tar.bz2 Reason: Failed on MD5 verification The same happens with PyXML. 
 What does this mean? Got this kind of error the first time. Already did emerge --sync updated the portage tree. What is wrong with my machine?whendidyoudo`emerge --sync`lasttime?
=gnome-base/gnome-menus-2.10.0 was marked as attic and removed from portage10 months, 1 week ago acording to 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/gnome-base/gnome-menus/Attic/gnome-menus-2.10.0.ebuild


Re: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Alexander Skwar

Neil Bothwick wrote:

On Mon, 22 May 2006 12:28:22 +0200, Alexander Skwar wrote:


 AFAIK there's no database of Gentoo packages such as you ask for.
 Such a database would be inaccurate, because package contents are USE
 flag dependent, so anyone charitable enough to set one up would
 probably spend most of their time fielding questions about incorrect
 data :(

Nah, not necessarily. For every listed file, it would be required
to show to which package(s) it belongs and also, how those packages
were built (ie. with which USE flags). So, not only the listing
of all the CONTENT files would be of interest, but also the keyword
(ie. x86, amd64, ...) and the associated USE flags.


How many permutations would there be.


Some :)


Packages lke mplayer and php use
dozens of USE flags, compiling with every combination would a day
and forever (which is longer than forever and a day).


Well, that's necessarily a community effort. For the very reason
that you just mentioned, it's not realistically, that just one
person provides a list.

But if every person would contribute, a complete database
would be compiled, over time.


BTW: How can I find out, with which *relevant* USE flags a package
has been built? Eg. gnome-base/gnome.
In /var/db/pkg/gnome-base/gnome-2.14.1, I find a USE file. But it
contains *WAY* too many flags:


genlop -i pkgname


Thanks.


Alexander Skwar
--
Tom's hungry, time to eat lunch.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] install gentoo via ssh

2006-05-22 Thread Marco Calviani

Hi list,
  i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?

Thanks in advance,
MC

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Alexander Skwar

Marco Calviani wrote:

Hi list,
   i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?


I'm not quite sure what you mean with that.

I installed Gentoo on my server. To do so, I first booted a
rescue system which was loaded over a netboot. After the
boot, I logged into the server using SSH and followed the
documentation.

Does that answer your question?

Alexander Skwar
--
BOFH Excuse #423:

It's not RFC-822 compliant.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
On Mon, 2006-05-22 at 10:00 +0100, Neil Bothwick wrote:
 On Mon, 22 May 2006 00:33:47 -0700, Ow Mun Heng wrote:
 
  I would like to remove entirely the Physical Extents from the volume
  group. It doesn't seem like there's a way to do this w/o putting another
  disk inside? 
 
 $ man vgreduce
 
 DESCRIPTION
vgreduce  allows  you to remove one or more unused physical volumes
from a volume group.
 

Did try that.. it keeps complaining

vgreduce storage /dev/sdb1
  Physical volume /dev/sdb1 still in use

I have no idea what/who is using it. fuser/lsof etc doesn't show up
anything
-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Alexander Skwar

Ow Mun Heng wrote:


Did try that.. it keeps complaining

vgreduce storage /dev/sdb1
  Physical volume /dev/sdb1 still in use

I have no idea what/who is using it. fuser/lsof etc doesn't show up
anything


This means, that there are still used Physical Extents (PEs) on
this PV. A PE is used, if it is referenced by a Logical Volume (LV).

So - you'll need to move all the LVs off of that PV. To do so, use
pvmove.

Alexander Skwar
--
What good is a ticket to the good life, if you can't find the entrance?
--
gentoo-user@gentoo.org mailing list



AW: [gentoo-user] install gentoo via ssh

2006-05-22 Thread patrizius
I installed Gentoo on two remote machines using ssh, because I didn't want
to freeze to death in the server room. Also the noise pollution there is
tremendous, because of all the fans and the SCSI hdds. So I decided to
perform the actual installation process from somewhere else. And it worked
perfectly! I just booted both machines using the gentoo live cd, and started
the ssh servers. 
You can do just about anything via ssh. Plus, you don't have to sit there
and wait while the system is compiling or downloading, since you can just
minimize the console window and keep on working/surfing/playing.

Is this like what you want to do?

Greetings,
Patrizius



-Ursprüngliche Nachricht-
Von: Alexander Skwar [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 22. Mai 2006 15:43
An: gentoo-user@lists.gentoo.org
Betreff: Re: [gentoo-user] install gentoo via ssh

Marco Calviani wrote:
 Hi list,
i would like to know if anyone have had experiences in installing
 gentoo on a remote machine using ssh. Is it possible?

I'm not quite sure what you mean with that.

I installed Gentoo on my server. To do so, I first booted a
rescue system which was loaded over a netboot. After the
boot, I logged into the server using SSH and followed the
documentation.

Does that answer your question?

Alexander Skwar
-- 
BOFH Excuse #423:

It's not RFC-822 compliant.
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to disabe X stuff in mc ?

2006-05-22 Thread Enrico Weigelt

Hi folks,


where can I disable the X11 stuff in mc ?
I don't like to have the whole x11 installed, just for some 
small console application.


thanks.
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to disabe X stuff in mc ?

2006-05-22 Thread Daniel da Veiga

Disabling the X USE flag? C'mon, easy stuff...

USE=-X emerge mc

or for a permanent solution:

echo app-misc/mc -X  /etc/portage/package.use
emerge mc


On 5/22/06, Enrico Weigelt [EMAIL PROTECTED] wrote:


Hi folks,


where can I disable the X11 stuff in mc ?
I don't like to have the whole x11 installed, just for some
small console application.


thanks.
--
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
--
gentoo-user@gentoo.org mailing list





--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to disabe X stuff in mc ?

2006-05-22 Thread Ilya Hegai
2006/5/22, Enrico Weigelt [EMAIL PROTECTED]:
Hi folks,where can I disable the X11 stuff in mc ?I don't like to have the whole x11 installed, just for somesmall console application.did you read in gentoo handbookaboutUSEflags
 `USE=-X emerge mc`or (preferred way)`echo app-misc/mc -X  /etc/portage/package.use  emerge mc`or (to disable OPTIONAL support globally)add in USE section in /etc/make.conf '-X'



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Enrico Weigelt
* Alexander Skwar [EMAIL PROTECTED] wrote:
 Marco Calviani wrote:
 Hi list,
i would like to know if anyone have had experiences in installing
 gentoo on a remote machine using ssh. Is it possible?
 
 I'm not quite sure what you mean with that.

IFAIU Marco wants to log into some linux box via ssh and install 
gentoo there (over the existing system).

Well, interesting question. I'm also planning to do this.
As long as you do not have any backup remote access (ie. directly
to the disk or filesystem, an backup os, ...) its gonna be risky.
This would require the install to go 100% right (at least to the
point where network + sshd is up).

I'd suggest installing gentoo in an chroot jail and try out
evrything, move ssh to another port and run all services
(including gentoo's ssh) within the jail. 

If evrything's proved to be running, change into the jail, cleanup
the root system (you can access it via bind-mounts) and copy
down the whole thing.


cu
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Steven Susbauer
On Mon, 22 May 2006, Marco Calviani wrote:

 Hi list,
   i would like to know if anyone have had experiences in installing
 gentoo on a remote machine using ssh. Is it possible?

 Thanks in advance,
 MC



Boot from the minimal cd. Start ssh by typing /etc/init.d/sshd start, set
a root password with passwd. Make sure your network is up, if it is you're
now able to install over ssh.

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



Re: AW: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Steven Susbauer


On Mon, 22 May 2006, patrizius wrote:

 You can do just about anything via ssh. Plus, you don't have to sit there
 and wait while the system is compiling or downloading, since you can just
 minimize the console window and keep on working/surfing/playing.

 Is this like what you want to do?

 Greetings,
 Patrizius

If you use screen, you don't even have to keep the SSH session connected.
It's on the cd...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation AMD64 with SCSI

2006-05-22 Thread Hemmann, Volker Armin
On Monday 22 May 2006 05:18, Leandro Melo de Sales wrote:
 Well,

   I have /dev/sda1 as my / partition. So, I setup my grub.conf like this:

 title=Gentoo Linux 2.6.16
 root (hd0,0)
 kernel /boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off

 and my /etc/fstab looks like this:

 /dev/sda1  /   ext3
 noatime 0 1
 /dev/sdb1  none swap   sw
   0 0
 /dev/cdroms/cdrom0  /mnt/cdromiso9660   noauto,ro   0 0
 /dev/fd0/mnt/floppy autonoauto
  0 0

 I don't know what is wrong...

well, in a previos mail you wrote this:
kernel /boot/kernel-2.6.15.img root=/dev/sdb2 ramdisk=8192

if it looks at your swap partition in believe it is the / partition, it can 
not boot ;)

Oh, and make it:

kernel (hd0,0)/boot/kernel-2.6.16.img root=/dev/sda1 udev noapic acpi=off

btw, any good reasons for noapic and acpi off?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] system suspend every time when rebooting or shutdown.

2006-05-22 Thread fei huang
problem solved~ by the following steps: 
 touch /etc/init.d/*  depscan.sh --updatethank you.
On 5/22/06, fei huang [EMAIL PROTECTED] wrote:
I think I have solved this problem, not completely though. again I removed everything under /etc that belongs to baselayout, and re-emerge it, (I still don't know what the hell had caused the problem!). however, when I tried to restore some of my startup scripts like metalog, alsasound, gentoo complains with message like this: 
Could not get dependency info for XXX, try to fix . please run depscan.sh   could not remember all words, but depscan.sh seemed no use at all ! thanks. daniel





[gentoo-user] SMP

2006-05-22 Thread Leandro Melo de Sales

Hi,

 I installed gentoo on a AMD64 Opteron dual. When I use livecd the
kernel detects 2 cpu's, but when I boot using the installed system (I
use genkernel), the system detects just 1 cpu. What should I need to
do?

Leandro

--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 -Original Message-
 From: kashani [mailto:[EMAIL PROTECTED] 
 Sent: Friday, May 19, 2006 11:04 AM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
 Jason Ausmus wrote:
  Okay, here's another one:
  
  I can't emerge dev-lang/php-5.1.4.  It fails like this:
  
  -
  
  checking for mSQL support... no
  checking for MSSQL support via FreeTDS... yes checking for 
 dnet_addr 
  in -ldnet_stub... no checking for MySQL support... yes checking for 
  specified location of the MySQL UNIX socket...
  /var/run/mysqld/mysqld.sock
  checking for MySQL UNIX socket location... 
 /var/run/mysqld/mysqld.sock
  configure: error: Cannot find MySQL header files under 
 /usr/lib/mysql.
  Note that the MySQL client library is not bundled anymore!
  
  !!! ERROR: dev-lang/php-5.1.4 failed.
 
   I see that you're updating from 5.1.1 which was 
 released several month ago, maybe Dec/Jan? Around that time 
 slotted Mysql was active. It is possible that you Mysql libs 
 are installed into /usr/lib/mysql-500 or something similar? 
 Assuming you do I'd update Mysql first to a non slotted build 
 and then try to install PHP again.

ls /usr/lib/my* returns nothing.

 
 BTW if you're messing with Mysql 5.0 there was a default 
 charset change from latin1 to utf8 around that time as well 
 so watch your my.conf file. 
   Bugzilla was very unhappy when its charsets suddenly changed.

`find / -iname my.conf` returns nothing.  Where should I look for it? 

Any other ideas, or any other info I can give to help figure this out?

Thanks,
Jason

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Daniel da Veiga

On 5/22/06, Marco Calviani [EMAIL PROTECTED] wrote:

Hi list,
   i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?

Thanks in advance,
MC

--
gentoo-user@gentoo.org mailing list




You can do that, if you have some experience, you can use the actual
system already installed, but you must use fallback instructions on
your bootloader, along with PANIC instructions to reboot if no
successful kernel is booted. Also, you must be SURE that IF your new
kernel boot, it will support your NIC, and also that SSH gets started
with the system.

There is really NO way to securely say you'll suceed, anyway, you must
have another way to access the machine locally if anything goes wrong.
Besides any failure, its possible, I've used it like 3 times, only one
I had to go there and reboot the machine...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Skype problem

2006-05-22 Thread Jason Weisberger
Refer to the wiki article for a proper dmix configuration. Can you play two sounds at once, such as playing an mp3 along with another sound file? If you can't, then your dmix config probably needs to be reworked. If you can, it's going to be a problem specific to Skype, and honestly, the software isn't the greatest because of how out-of-date it is. You may want to check out Skype/Installation Wiki article to find out how you can use the newest version of Skype for Windows in Linux with Wine.
P.S. Dmix shouldn't even be an issue because the SBLive is based on the emu10k1 chipset, which does hardware mixing.On 5/22/06, Luigi Pinna 
[EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Alle 04:25, lunedì 22 maggio 2006, Jason Weisberger ha scritto: There could be a couple of things causing this.Do you have ALSA's OSS Emulation properly configured.If you do, you should be able to
 hear sound when you #echo /dev/rand  /dev/dsp .If /dev/dsp isn't working, please refer to the Gentoo Wiki article on setting up ALSA properly for OSS Emulation. 
http://gentoo-wiki.com/HOWTO_ALSA_Complete_%28includes_dmix%29 You may also want to check on which version of ALSA you're using, because prior to ~0.9, dmix wasn't automatically enabled (software
 mixing) and if your sound card doesn't support hardware mixing, other devices will tie up /dev/dsp and not allow Skype access.Skype is very stingy when it comes to sharing /dev/dsp. Let me know what you come up with.
 Jason WeisbergerSo, I don't know...I have alsa in the kernel (2.6.16.7 it's alsa-1.0.11) and it works forall devices... Probably I have a bad dmix configuration (the default
one...)... Have you a idea how can I check the dmix configuration? Iremember you I can't use midi because I have a SBLive!5.1 (it workednever...), but my audio system works properly...Thanks, Luigi- --
Public key GPG(0x633F86B7) on http://keyserver.linux.it/-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2.2 (GNU/Linux)iD8DBQFEcVoPHmkkjmM/hrcRApwQAJ4kcaXcNMBKR0udN6MN1ZtEUe5ZngCgkfZY
IerSaO7gUBWqSQXyLhA4UnI==Wf/z-END PGP SIGNATURE---gentoo-user@gentoo.org mailing list-- Jason Weisberger
[EMAIL PROTECTED]


Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Marco Calviani

Hi Enrico,
 actually it is the way i would like to do it. I have a debian box
installed on it, but i would like to move to gentoo. The machine is
quite far from me and i don't have easy access to the room. Probably
the chroot solution is the best for me.

Regards,
and thanks to all,
Marco

On 5/22/06, Enrico Weigelt [EMAIL PROTECTED] wrote:

* Alexander Skwar [EMAIL PROTECTED] wrote:
 Marco Calviani wrote:
 Hi list,
i would like to know if anyone have had experiences in installing
 gentoo on a remote machine using ssh. Is it possible?

 I'm not quite sure what you mean with that.

IFAIU Marco wants to log into some linux box via ssh and install
gentoo there (over the existing system).

Well, interesting question. I'm also planning to do this.
As long as you do not have any backup remote access (ie. directly
to the disk or filesystem, an backup os, ...) its gonna be risky.
This would require the install to go 100% right (at least to the
point where network + sshd is up).

I'd suggest installing gentoo in an chroot jail and try out
evrything, move ssh to another port and run all services
(including gentoo's ssh) within the jail.

If evrything's proved to be running, change into the jail, cleanup
the root system (you can access it via bind-mounts) and copy
down the whole thing.


cu
--
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] Mono build fails

2006-05-22 Thread Christoph Eckert
Hi all,


from time to time I tried to update beagle to get PDF indexing.

Unfortunately it depends on mono, and I always get the same mono build 
error. Due to many text, I put it here:

http://christeck.de/stuff/monobuilderror.txt

If anyone has a wee small hint it would be great.


Thanks  best regards,


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Ow Mun Heng
On Mon, 2006-05-22 at 16:28 +0200, Alexander Skwar wrote:
 Ow Mun Heng wrote:
 
  Did try that.. it keeps complaining
  
  vgreduce storage /dev/sdb1
Physical volume /dev/sdb1 still in use
  
  I have no idea what/who is using it. fuser/lsof etc doesn't show up
  anything
 
 This means, that there are still used Physical Extents (PEs) on
 this PV. A PE is used, if it is referenced by a Logical Volume (LV).
 
 So - you'll need to move all the LVs off of that PV. To do so, use
 pvmove.

I've just created a test scenerio using a test box (under vmware) and
for some reason, this one can't get dm-mirror. 

Where can I get dm-mirror?

For the original box, as I mentioned, I don't have any free PE to move
the existing data to. As such, it won't let me pvmove anything.

(after some trouble, I managed to reduce/remove the physical disk - Thanks)

BTW, how do I remove _all_ physical volumes? eg: start out clean?

-- 
Ow Mun Heng [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 11:27:38 -0700, Ow Mun Heng wrote:

 BTW, how do I remove _all_ physical volumes? eg: start out clean?

pvremove


-- 
Neil Bothwick

*Libra*: /(Sept 23--Oct 23)/ An unfortunate typo on your application
results in your being accepted into the Legion Of Superherpes.


signature.asc
Description: PGP signature


[gentoo-user] Portage + Package Version

2006-05-22 Thread Leandro Melo de Sales

Hi,

 I want to install an previous version of a package. I need to mask
it at /etc/portage/package.mask, but how can I know the available
gentoo packages in order to mask the right one?

Thanks
Leandro

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage + Package Version

2006-05-22 Thread Leandro Melo de Sales

Ok. The package in question is mysql. I what to install version 3, but
I masked the oldest 4.0 and emerge search returns mysql version 5. How
can I install version 3?

Thanks,

Leandro

2006/5/22, Gian Domeni Calgeer [EMAIL PROTECTED]:

Am Montag 22 Mai 2006 20.53 schrieb Leandro Melo de Sales:
 Hi,

   I want to install an previous version of a package. I need to mask
 it at /etc/portage/package.mask, but how can I know the available
 gentoo packages in order to mask the right one?

 Thanks
 Leandro

The simplest method is to have a look at http://packages.gentoo.org/ .

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




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage + Package Version

2006-05-22 Thread Teresa and Dale
Leandro Melo de Sales wrote:

 Ok. The package in question is mysql. I what to install version 3, but
 I masked the oldest 4.0 and emerge search returns mysql version 5. How
 can I install version 3?

 Thanks,

 Leandro

 2006/5/22, Gian Domeni Calgeer [EMAIL PROTECTED]:

 Am Montag 22 Mai 2006 20.53 schrieb Leandro Melo de Sales:
  Hi,
 
I want to install an previous version of a package. I need to mask
  it at /etc/portage/package.mask, but how can I know the available
  gentoo packages in order to mask the right one?
 
  Thanks
  Leandro

 The simplest method is to have a look at http://packages.gentoo.org/ .

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



This may help:

 [EMAIL PROTECTED] / # etcat -v mysql
 [ Results for search key   : mysql ]
 [ Candidate applications found : 10 ]

  Only printing found installed programs.

 *  dev-db/mysql :
 [   ] 3.23.58-r1 (0)
 [   ] 4.0.25-r2 (0)
 [M~ ] 4.0.26-r1 (0)
 [   ] 4.0.27 (0)
 [   ] 4.1.14-r1 (0)
 [M~ ] 4.1.18-r61 (0)
 [   ] 4.1.19 (0)
 [M~ ] 5.0.19-r1 (0)
 [M~ ] 5.0.21 (0)
 [M  ] 5.1.7_beta (0)
 [EMAIL PROTECTED] / #   


That command is obsolete.  Man equery for the replacement, the one I
can't figure out how to use.  o_O  It still works for me though.

Dale
:-)

-- 
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Portage + Package Version

2006-05-22 Thread Ron Bickers
On Mon May 22 2006 15:36, Leandro Melo de Sales wrote:

 Ok. The package in question is mysql. I what to install version 3, but
 I masked the oldest 4.0 and emerge search returns mysql version 5. How
 can I install version 3?

Put =dev-db/mysql-4 in package.mask, or just emerge =dev-db/mysql-3*

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



[OT] Was: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Ryan Tandy

Alexander Skwar wrote:

[EMAIL PROTECTED] /var/db/pkg/gnome-base/gnome-2.14.1 $ cat USE
x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts 
artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts 
bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia 
cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux 
dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping 
freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn 
imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript 
jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate 
lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc 
mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network 
new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils 
nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch 
nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel 
nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp 
passfile password patented pccts pcmcia pcre perl perlsuid pic player 
png pnp pppd qt quicktime rar readline real recode reflection reiserfs 
sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl 
startup-notification stream subp subtitles suid symlink sysfs syslog 
tiff transcode truetype truetype-fonts trusted type1-fonts udev 
underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm 
vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint 
xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev 
input_devices_keyboard input_devices_mouse input_devices_-synaptics 
kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa 
video_cards_vga video_cards_via


Nothing to do with the original topic, BUT...

I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
gets into one's USE ;)  I'm assuming you didn't put it there yourself!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install gentoo via ssh

2006-05-22 Thread Ryan Tandy

Marco Calviani wrote:

Hi list,
  i would like to know if anyone have had experiences in installing
gentoo on a remote machine using ssh. Is it possible?

Thanks in advance,
MC



I've done it a couple of times for friends.  It goes fine - you just 
have to make sure someone's physically near the machine when you do its 
first non-assisted boot, in case you screwed up the kernel or something. 
And don't forget to 'rc-update add sshd default' so you can get back in!

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Ryan Tandy

Jason Ausmus wrote:


BTW if you're messing with Mysql 5.0 there was a default 
charset change from latin1 to utf8 around that time as well 
so watch your my.conf file. 
  Bugzilla was very unhappy when its charsets suddenly changed.


`find / -iname my.conf` returns nothing.  Where should I look for it? 


Any other ideas, or any other info I can give to help figure this out?

Thanks,
Jason



Someone typoed - the file is actually my.cnf.
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 -Original Message-
 From: Jason Ausmus [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 22, 2006 9:46 AM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
  -Original Message-
  From: kashani [mailto:[EMAIL PROTECTED]
  Sent: Friday, May 19, 2006 11:04 AM
  To: gentoo-user@lists.gentoo.org
  Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
  
  Jason Ausmus wrote:
   Okay, here's another one:
   
   I can't emerge dev-lang/php-5.1.4.  It fails like this:
   
   -
   
   checking for mSQL support... no
   checking for MSSQL support via FreeTDS... yes checking for
  dnet_addr
   in -ldnet_stub... no checking for MySQL support... yes 
 checking for 
   specified location of the MySQL UNIX socket...
   /var/run/mysqld/mysqld.sock
   checking for MySQL UNIX socket location... 
  /var/run/mysqld/mysqld.sock
   configure: error: Cannot find MySQL header files under
  /usr/lib/mysql.
   Note that the MySQL client library is not bundled anymore!
   
   !!! ERROR: dev-lang/php-5.1.4 failed.
  
  I see that you're updating from 5.1.1 which was 
 released several 
  month ago, maybe Dec/Jan? Around that time slotted Mysql 
 was active. 
  It is possible that you Mysql libs are installed into 
  /usr/lib/mysql-500 or something similar?
  Assuming you do I'd update Mysql first to a non slotted 
 build and then 
  try to install PHP again.
 
 ls /usr/lib/my* returns nothing.
 
  
  BTW if you're messing with Mysql 5.0 there was a default charset 
  change from latin1 to utf8 around that time as well so watch your 
  my.conf file.
Bugzilla was very unhappy when its charsets suddenly changed.
 
 `find / -iname my.conf` returns nothing.  Where should I look for it? 
 
 Any other ideas, or any other info I can give to help figure this out?
 
 Thanks,
 Jason
 
 --
 gentoo-user@gentoo.org mailing list
 
 

In case this helps, I have this weird thing going on with mysql:

if I try to unmerge then reemerge mysql, this is what it looks like:

---

h0486tux etc # emerge -C mysql

 dev-db/mysql
selected: 5.0.21
   protected: none
 omitted: none

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.

 Waiting 5 seconds before starting...
 (Control-C to abort)...
 Unmerging in: 5 4 3 2 1
 Unmerging dev-db/mysql-5.0.21...
No package files given... Grabbing a set.
 Regenerating /etc/ld.so.cache...

 * GNU info directory index is up-to-date.

h0486tux etc #

---

h0486tux etc # emerge  mysql
Calculating dependencies... done!
 Emerging (1 of 1) dev-db/mysql-5.0.21 to /
 checking ebuild checksums ;-)
 checking auxfile checksums ;-)
 checking miscfile checksums ;-)
 Unpacking source...
 Source unpacked.
 Compiling source in /var/tmp/portage/mysql-5.0.21 ...
 Source compiled.
 Test phase [not enabled]: dev-db/mysql-5.0.21

 Install mysql-5.0.21 into /var/tmp/portage/mysql-5.0.21/image/
category dev-db
 Completed installing mysql-5.0.21 into
/var/tmp/portage/mysql-5.0.21/image/

man:
 Merging dev-db/mysql-5.0.21 to /
 Safely unmerging already-installed instance...
No package files given... Grabbing a set.
 Original instance of package unmerged safely.
 Regenerating /etc/ld.so.cache...
 dev-db/mysql-5.0.21 merged.
 Recording dev-db/mysql in world favorites file...

 No packages selected for removal by clean.

 Auto-cleaning packages...

 No outdated packages were found on your system.


 * GNU info directory index is up-to-date.

h0486tux etc #

---

Both steps take about 20 seconds to complete.  What is actually being
done here?... because it doesn't seem like anything is happening at all.

Jason

-- 
gentoo-user@gentoo.org mailing list



Re: [OT] Was: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Rasmus Andersen
On Mon, May 22, 2006 at 01:21:31PM -0700, Ryan Tandy wrote:
 Nothing to do with the original topic, BUT...
 
 I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
 gets into one's USE ;)  I'm assuming you didn't put it there yourself!

Thats only used by netcat, iirc, and enables the running of commands
from netcat. I guess it could be useful for testing but it is rightly
named something hair-raising :)

Cheers,
  Rasmus
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
Is there are way to determine the CFLAGS options used to build/emerge a 
specific package?

In my case,  I am specifically looking to determine which CFLAG options where 
used to build the
apcupsd package to determine if it has SNMP support built in or not?

Any advice or tech docs is greatly appreciated.

Regards,

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



[gentoo-user] 300GB HD

2006-05-22 Thread Samuel Baldwin
I'm planning on buying a 300GB HD from maxtor for my next primary HD.It's a Maxtor DiamondMax 10 300GB 3.5 IDE Ultra ATA133 Hard Drive - OEM
(http://www.newegg.com/Product/Product.asp?Item=N82E16822140166)Anyways, I was wondering if I would run into any problems with a 300GB HD, and if this particular one would give me problems.
It's a 250V (I think) Power supply and I've already got an Nvidia GeForce 6200 GT in there, so I'm also afraid of it being too much for my computer to handle. It would be my only HD in the machine though. I'm not sure if I should shoot for a smaller drive. I _need_ these 300GB's though. It takes me about 2 days to fill up a 40GB HD with everything, and that's just single-booting. 
I am content with switching to a smaller drive though if it is impossible to run this certain HD. (Also, if anyone else knows any better deals for a similar/better HD, please, tell me).That's all for now-- Thanks
-- Samuel (shardz)300GB Hardrive from Newegg.com: $11532 HD LCD TV/PC Monitor: $1, 199.992GB of RAM: $160GNU/Linux Operating System: Priceless


RE: [gentoo-user] dev-lang/php-5.1.4 emerge failing

2006-05-22 Thread Jason Ausmus
 

 -Original Message-
 From: Ryan Tandy [mailto:[EMAIL PROTECTED] 
 Sent: Monday, May 22, 2006 1:31 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] dev-lang/php-5.1.4 emerge failing
 
 Jason Ausmus wrote:
  
  BTW if you're messing with Mysql 5.0 there was a default charset 
  change from latin1 to utf8 around that time as well so watch your 
  my.conf file.
Bugzilla was very unhappy when its charsets suddenly changed.
  
  `find / -iname my.conf` returns nothing.  Where should I 
 look for it? 
  
  Any other ideas, or any other info I can give to help 
 figure this out?
  
  Thanks,
  Jason
  
 
 Someone typoed - the file is actually my.cnf.
 --
 gentoo-user@gentoo.org mailing list
 

Thanks.

Okay, so I did a find / -iname my.cnf and this was the result:

---

h0486tux ~ # find / -iname my.cnf
/etc/mysql.old/my.cnf
/usr/local/portage/dev-db/mysql/files/my.cnf
/usr/portage/dev-db/mysql/files/my.cnf
/home/ausmusj/downloads/ebuilds/dev-db/mysql/files/my.cnf
find: /proc/18124/task/18124/fd/5: No such file or directory
find: /proc/18124/fd/5: No such file or directory



Is there anything weird about this output?  It doesn't seem like
everything is in place...

There is no /etc/mysql directory.

Jason

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Teresa and Dale
Richard Broersma Jr wrote:

Is there are way to determine the CFLAGS options used to build/emerge a 
specific package?

In my case,  I am specifically looking to determine which CFLAG options where 
used to build the
apcupsd package to determine if it has SNMP support built in or not?

Any advice or tech docs is greatly appreciated.

Regards,

Richard
  


Add the -v option like this:

emerge -vp apcupsd

Should look something like this:

 [EMAIL PROTECTED] / # emerge -pv apcupsd

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

 Calculating dependencies ...done!
 [ebuild  N] sys-power/apcupsd-3.10.18-r1  +apache2 -cgi +doc
 +ncurses +nls -snmp -threads +usb 5,564 kB

 Total size of downloads: 5,564 kB
 [EMAIL PROTECTED] / #  


man emerge for more info.

Hope that helps.

Dale
:-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Neil Bothwick
On Mon, 22 May 2006 14:10:44 -0700 (PDT), Richard Broersma Jr wrote:

 Is there are way to determine the CFLAGS options used to build/emerge a
 specific package?

genlop -i package

or

cat /var/db/pkg/cate-gory/package-version/CFLAGS


-- 
Neil Bothwick

The number one cause of computer problems is computer solutions.


signature.asc
Description: PGP signature


Re: [OT] Was: [gentoo-user] Finding packages which provide a file

2006-05-22 Thread Alexander Skwar

Ryan Tandy wrote:

I'd be very interested to know how a flag called GAPING_SECURITY_HOLE 
gets into one's USE ;)  I'm assuming you didn't put it there yourself!


Yes, I did put it there. It's a flag used by netcat.

But I agree that it doesn't belong into the global USE flags, as
it's just a local one. I should move it from make.conf to package.use.

Alexander Skwar
--
Old age and treachery will beat youth and skill every time.
-- a coffee cup
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 300GB HD

2006-05-22 Thread mark



300GB as a main hdd isnt a good idea, if the drive 
dies you lose all the data and your install. pickup a nice 60GB one at wallmart 
or something and use the 300 for data or make partitions so you wont lose 
everything, buit the 300GB should work fine in gentoo

  - Original Message - 
  From: 
  Samuel 
  Baldwin 
  To: gentoo-user@lists.gentoo.org 
  
  Sent: Monday, May 22, 2006 5:18 PM
  Subject: [gentoo-user] 300GB HD
  I'm planning on buying a 300GB HD from maxtor for my next 
  primary HD.It's a "Maxtor DiamondMax 10 300GB 3.5" IDE Ultra ATA133 Hard 
  Drive - OEM"(http://www.newegg.com/Product/Product.asp?Item=N82E16822140166)Anyways, I was wondering if I would run into any problems with a 
  300GB HD, and if this particular one would give me problems.It's a 
  250V (I think) Power supply and I've already got an Nvidia GeForce 6200 GT in 
  there, so I'm also afraid of it being too much for my computer to handle. It 
  would be my only HD in the machine though. I'm not sure if I should shoot for 
  a smaller drive. I _need_ these 300GB's though. It takes me about 2 days to 
  fill up a 40GB HD with everything, and that's just single-booting. I am 
  content with switching to a smaller drive though if it is impossible to run 
  this certain HD. (Also, if anyone else knows any better deals for a 
  similar/better HD, please, tell me).That's all for now-- Thanks 
  -- Samuel (shardz)300GB Hardrive from Newegg.com: $11532" HD LCD TV/PC Monitor: $1, 
  199.992GB of RAM: $160GNU/Linux Operating System: Priceless 



[gentoo-user] Re: 300GB HD

2006-05-22 Thread Peter
On Mon, 22 May 2006 17:18:04 -0400, Samuel Baldwin wrote:

 I'm planning on buying a 300GB HD from maxtor for my next primary HD.
 It's a Maxtor DiamondMax 10 300GB 3.5 IDE Ultra ATA133 Hard Drive - OEM
 
Great!

I have a 200G primary and 80G secondary drive. Both IDE.

Here are my comments.

Well, I would up your PS to at least 400 Watts. Not that the drive would
use it, but most newer CPUs need at least 400.

While I understand the other poster's concern for the size of the drive,
I disagree. It's a reality today, that data is large -- music files,
videos, etc. What _I_ do, is have a second drive installed and backup to
it compressing the data. With the large music files, I offload
periodically to DVD. I backup / once a month, and I back up /home every
night incrementally, weekly incrementally, and full monthly. Good disk
organization is very important with a large drive. Consider splitting your
system and data into partitions. Here's my layout in case you're
interested.

mars linux # mount
/dev/hda5 on / type reiserfs (rw,noatime)
/dev/hda6 on /mnt/tmp type reiserfs (rw,noatime)
/dev/hda7 on /home type reiserfs (rw,noatime)
/dev/hda8 on /mnt/src type reiserfs (rw,noatime)
# I keep portage, and other source files on hda8
/dev/hda9 on /mnt/w-dos type reiserfs (rw,noatime,notail)
# some old windows and dos and wine stuff here
/dev/hda10 on /mnt/download type ext2 (rw,noatime)
# misc software downloads and patches (mostly windoze)
/dev/hda12 on /mnt/music type ext3 (rw,noatime)
# 60GB of various music files (a lot of live recordings
# in lossless formats)
/dev/hdb5 on /mnt/extra type ext2 (rw,noatime)
# hdb is my backup drive for all except the music.
#hda11 is not shown, but that's my trusty slackware partition

Good luck!


-- 
Peter


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: 300GB HD

2006-05-22 Thread Hemmann, Volker Armin
On Tuesday 23 May 2006 00:38, Peter wrote:
 On Mon, 22 May 2006 17:18:04 -0400, Samuel Baldwin wrote:
  I'm planning on buying a 300GB HD from maxtor for my next primary HD.
  It's a Maxtor DiamondMax 10 300GB 3.5 IDE Ultra ATA133 Hard Drive -
  OEM

 Great!

 I have a 200G primary and 80G secondary drive. Both IDE.

 Here are my comments.

 Well, I would up your PS to at least 400 Watts. Not that the drive would
 use it, but most newer CPUs need at least 400.

 
no, p4 need a lot of current, and big gpu's. But for most people a GOOD 360W 
PSU will work fine.

The watt printed on the package does not say anything about the quality of the 
PSU or its maximum 'combined' output. So if you tell him to buy a 400W PSU is 
like telling someone to buy a '2000ccm (2 Liter) car'. There are lots of cars 
with 2liter engines. And a lot of them are crap ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: 300GB HD

2006-05-22 Thread Samuel Baldwin
One problem, only one place to put the drive. It's a shitty eMachines case.I'm building a new comp over the summer, but I'm gonna add the 300 to this comp, and just re-do everything once I get a new mobo and case.

I'm planning on quad-booting. Or even more.40 GB's of Windows XP (I am a gamer. Some games I just cannot get to work under Linux)60 GB's of SuSE (I have an old pro version.)80 GB's of Gentoo 2006.0 (yay!)
20 GB's of Shared Files (Music, and whatever needs to be shared)then the rest will be unpartitioned, mainly for trying out some BSD's and other distro's. to be partitioned as appropriate.That's my game plan so far. It's subject to change easily.
Again, I've had trouble locating a PSU that will fit in the case. This is worse then getting a Dell.For my next comp, I'm obviously building my own (I got this for free in 2001). In a very, very large tower case. I'll probably then stick this current 40GB HD in here and use the comp as a household server running BSD/Linux and hosting LAN game servers and GNUMP3d, and whatever I see fit.
On 22/05/06, Hemmann, Volker Armin 
[EMAIL PROTECTED] wrote:
On Tuesday 23 May 2006 00:38, Peter wrote: On Mon, 22 May 2006 17:18:04 -0400, Samuel Baldwin wrote:
  I'm planning on buying a 300GB HD from maxtor for my next primary HD.  It's a Maxtor DiamondMax 10 300GB 3.5 IDE Ultra ATA133 Hard Drive -  OEM Great!
 I have a 200G primary and 80G secondary drive. Both IDE. Here are my comments. Well, I would up your PS to at least 400 Watts. Not that the drive would use it, but most newer CPUs need at least 400.
no, p4 need a lot of current, and big gpu's. But for most people a GOOD 360WPSU will work fine.The watt printed on the package does not say anything about the quality of thePSU or its maximum 'combined' output. So if you tell him to buy a 400W PSU is
like telling someone to buy a '2000ccm (2 Liter) car'. There are lots of carswith 2liter engines. And a lot of them are crap ;)--
gentoo-user@gentoo.org mailing list
-- Samuel300GB Hardrive from Newegg.com: $11532 HD LCD TV/PC Monitor: $1, 
199.992GB of RAM: $160GNU/Linux Operating System: Priceless



Re: [gentoo-user] Mono build fails

2006-05-22 Thread Kurt Guenther

have you ran:  revdev-rebuild 

Maybe you have a library out of sync error going on.  I just installed
mono without any issues.

Are you x86 or ~x86?  Are you up to date via `emerge -uDav world` ?

--Kurt



Christoph Eckert wrote:
 Hi all,


 from time to time I tried to update beagle to get PDF indexing.

 Unfortunately it depends on mono, and I always get the same mono build 
 error. Due to many text, I put it here:

 http://christeck.de/stuff/monobuilderror.txt

 If anyone has a wee small hint it would be great.


 Thanks  best regards,


 ce

   

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] updated to evolution 2.6.1 and the copy and move buttons are missing off the toolbar

2006-05-22 Thread Iain Buchanan
On Mon, 2006-05-22 at 18:02 +0800, William Kenworthy wrote:
 Just updated to evolution 2.6.1 and the copy and move buttons have gone
 missing off the toolbar.  Is there an easy way to get them back?

You must have upgraded from a while ago - I don't remember those buttons
for a long time... yes they've gone, and no they won't come back!
Evolution devs make a few changes over every minor revision.  They've
been trying to remove some of the clutter in menu's and toolbars.  Some
people like it, some don't.
-- 
Iain Buchanan iaindb at netspace dot net dot au

interest, n.:
What borrowers pay, lenders receive, stockholders own, and
burned out employees must feign.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] getting somewhere -- was about a bug

2006-05-22 Thread Richard Fish

On 5/19/06, maxim wexler [EMAIL PROTECTED] wrote:

ls -l /dev/ttyS*:

lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS0 -
tts/0
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS1 -
tts/1
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS2 -
tts/2
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS3 -
tts/3
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS4 -
tts/4
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS5 -
tts/5
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS6 -
tts/6
lrwxrwxrwx 1 root root 5 May 19 10:07 /dev/ttyS7 -
tts/7

grep ttyS
/etc/udev/rules.d/*:

/etc/udev/rules.d/50-udev.rules:KERNEL==ttyS[0-9]*,
NAME=%k, SYMLINK=tts/%n, GROUP=tty


Sorry about the slow response here...

Those /dev/ttyS* entries should not be symlinks according to the udev
rule.  The udev rule will try to create actual nodes of /dev/ttyS, and
then symlinks to those in /dev/tts/.

Do you have RC_DEVICE_TARBALL set in /etc/conf.d/rc?  That is the only
way I can think of that this would occur.  If so, try setting it to
no, to allow udev to completely manage /dev.  RC_DEVICE_TARBALL is
rarely needed now...


/usr/sbin/pppd: Couldn't stat /dev/ttyS0: Too many
levels of symbolic links.


Yeah, /dev/ttyS0 - /dev/tts/0 - /dev/ttyS0 - /dev/tts/0 - ...

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 300GB HD

2006-05-22 Thread Jerry McBride
On Monday 22 May 2006 17:18, Samuel Baldwin wrote:
 I'm planning on buying a 300GB HD from maxtor for my next primary HD.
 It's a Maxtor DiamondMax 10 300GB 3.5 IDE Ultra ATA133 Hard Drive - OEM


--snip--

That's a nice drive, but this one is slightly better

Maxtor MaxLine III 7L300R0 300GB 7200 RPM 16MB Cache IDE Ultra ATA133 Hard 
Drive - OEM

* Model #: 7L300R0
* Item #: N82E16822144237
*

It's enterprise rated, 1,000,000 MTBF and I think it carries a 5 year 
warranty.



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



Re: [gentoo-user] Software suspend 2

2006-05-22 Thread James Colby


Well, no idea, but you can skip that append, if you set a default
suspend device in the kernel configuration.

Alexander Skwar
--


Alexander -

Thanks for the tip...that worked for me.

Kind regards,
James

--
gentoo-user@gentoo.org mailing list



[gentoo-user] CD-ROM Isn't In fstab - don't know how to add it

2006-05-22 Thread Lord Sauron

I decided I needed major help with this one - in other words, a walk-through.

I was working and shoved a CD into my laptop as I do every once in a
while (not that often - I'm happy to use the network 99.999%
of the time).

Well, I stuck it in, and there wasn't any automounter action that I
could see, so I wisely (for me, at least) went to fstab to find this:


localhost ~ # cat /etc/fstab
/dev/hda1/boot   ext2defaults1 2
/dev/hda2noneswapsw  0 0
/dev/hda3/   ext3defaults0 1
none/proc procdefaults  0 0
none/dev/shm  tmpfs   defaults  0 0
/dev/sda1   /mnt/sda1   vfatnoauto,async,user,exec  0 0


My CD drive wasn't listed.  Big surprise.

To be more specific about the hardware I'm using, I'm using a CD
RW/DVD-ROM drive in the docking station to my X40.  Here's all the
relevant entries from /dev that could help.

Oops... tried cat /dev/dvd...  didn't work too well.  Started
reading the *whole* contents of the CD.  Gotta remember that next
time...

Well, now it complains that no medium is found.  However, it looks
like it's listed as /dev/hdc in addition to what I assume are aliases
as /dev/dvd, /dev/cdrom, and /dev/cdrw.

Sorry I can't be more precise, but I'd like some help with sticking
this in fstab so that I can mount the disk and then use it.  I'm so
darn inexperienced with this.

There isn't anything from /etc/mtab that could help, either:


localhost etc # cat mtab
/dev/hda3 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
cachedir /lib/splash/cache tmpfs rw 0 0
/dev/hda1 /boot ext2 rw 0 0
none /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0


I'm flummoxed.  I don't even know where to begin, since anything I can
try and Google will most likely not be for my system.  Any help or
pointers?

--
== GCv3.12 ==
GCS d-(++) s+: a? C++ UL+ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
   DI+++ D+ G e* h- !r !y
= END GCv3.12 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CD-ROM Isn't In fstab - don't know how to add it

2006-05-22 Thread Mark Kirkwood

Lord Sauron wrote:
I decided I needed major help with this one - in other words, a 
walk-through.


I was working and shoved a CD into my laptop as I do every once in a
while (not that often - I'm happy to use the network 99.999%
of the time).

Well, I stuck it in, and there wasn't any automounter action that I
could see, so I wisely (for me, at least) went to fstab to find this:


localhost ~ # cat /etc/fstab
/dev/hda1/boot   ext2defaults1 2
/dev/hda2noneswapsw  0 0
/dev/hda3/   ext3defaults0 1
none/proc procdefaults  0 0
none/dev/shm  tmpfs   defaults  0 0
/dev/sda1   /mnt/sda1   vfatnoauto,async,user,exec  0 0


My CD drive wasn't listed.  Big surprise.

To be more specific about the hardware I'm using, I'm using a CD
RW/DVD-ROM drive in the docking station to my X40.  Here's all the
relevant entries from /dev that could help.

Oops... tried cat /dev/dvd...  didn't work too well.  Started
reading the *whole* contents of the CD.  Gotta remember that next
time...

Well, now it complains that no medium is found.  However, it looks
like it's listed as /dev/hdc in addition to what I assume are aliases
as /dev/dvd, /dev/cdrom, and /dev/cdrw.

Sorry I can't be more precise, but I'd like some help with sticking
this in fstab so that I can mount the disk and then use it.  I'm so
darn inexperienced with this.

There isn't anything from /etc/mtab that could help, either:


localhost etc # cat mtab
/dev/hda3 / ext3 rw 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
udev /dev tmpfs rw,nosuid 0 0
devpts /dev/pts devpts rw 0 0
cachedir /lib/splash/cache tmpfs rw 0 0
/dev/hda1 /boot ext2 rw 0 0
none /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw,devmode=0664,devgid=85 0 0


I'm flummoxed.  I don't even know where to begin, since anything I can
try and Google will most likely not be for my system.  Any help or
pointers?



A line in /etc/fstab like this:

/dev/cdrom   /mnt/cdrom  auto noauto,ro0 0

Should let access the cd/dvd:

(root) # mount /mnt/cdrom
(root) # ls /mnt/cdrom

If you want users other than root to be able to mount it change 
'noauto,ro'  to 'noauto,user,ro'.


Desktops like Gnome and Kde will probably automount the cd once the 
fstab entry is there (hmmm - been a while since I used either of these, 
but I thought one of other of them uses a device scan as opposed to 
using fstab but anyway see if the above helps!).


If you want to do some reading then try:

$ man mount
$ man fstab

There are non-desktop related packages that will automount media (local 
and network) - autofs comes to mind as the most well known to me - tho 
submount might be good.


regards

Mark



--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Modular Xorg 7 won't start with nVidia GeForce4 440 Go [SOLVED]

2006-05-22 Thread Daevid Vincent
I finally got this working it seems. 

These links were very helpful:

http://bugs.gentoo.org/show_bug.cgi?id=90047
http://forums.gentoo.org/viewtopic-t-327623.html
http://www.nvnews.net/vbulletin/showthread.php?t=49718highlight=glx+xorg+ge
ntoo
http://www.nvnews.net/vbulletin/search.php?searchid=464072

I can't recall the exact thing that solved it, but I suspect it was the
nvidia/tls thing in the first post. I un/merged, un/masked, rm -rf  so many
things I can't remember anymore. But at the end of the day, I do have the
latest nvidia drivers working in OpenGL glory on my Dell i8200 notebook
GeForce 440 card.

Glxgears gives me:
7630 frames in 5 seconds = 1526 FPS +/-

Now if only I could figure out a way to get the video card to not share an
IRQ with SEVEN other things including my eth0, wlan and usb amongst other
things -- then it wouldn't studder. *sigh*.

 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 11, 2006 12:58 PM
 To: gentoo-user@lists.gentoo.org
 Subject: RE: [gentoo-user] Modular Xorg 7 won't start with 
 nVidia GeForce4 440 Go
 
  This should not be needed.  The X server (actually, the 
 nvidia module
  loaded in the X server) should create these automatically if they do
  not exist.  From an strace of X on my system after removing the
  nvidiactl and nvidia0 device nodes:
 
 Okay. I removed them. Thanks.
 
   So what is causing X7 to crash is when I set:
   eselect opengl set nvidia
 
  If you comment out the line:
  
  Load glx
  
  in xorg.conf, do you still get the crash?
 
 No. X starts now. But glxgears segfaults.
  
  How are you starting the X server?  Does it still crash if 
  you run just X :0?
 
 I type startx.
 
 X :0 just gives me (as you probably already know) a 
 checker-board backdrop
 and a cursor. Can't do anything else with it.
 
  Take the most recent version of nvidia-kernel and nvidia-glx 
  (~x86) and
  take a look at /etc/modules.d/nvidia. There something about a
  module-option for notebook systems.
 
 Tried various ways with and without this option enabled.
 However, it says that's to solve hard lock ups. I don't 
 have that problem.
 X starts, then just dies (if I have the wrong combination of 
 eselect/glx).
 It's definitely related to OpenGL now...
 
 Tried rebooting after a few different option/tweaks just to 
 be sure too.
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Logitech cordless

2006-05-22 Thread James Colby

List members -

I am trying to use a Logitech cordless keyboard and mouse with my
gentoo based laptop.  When I try to boot into linux the cordless
receiver is never enabled.  After doing some research on google it
appears that the easiest solution is to use a USB to PS2 adapter for
the usb connection, but unfortunately that will not work for me as I
only have one ps2 slot.  Does anyone know if there is a kernel option
or a third party driver that I could install to enable my cordless
keyboard and mouse.

Thanks everyone for all of your help over the last few days.

regards,
James

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
 cat /var/db/pkg/sys-power/apcupsd-3.10.18-r1/

Thanks guys for the help.  I found that apcupsd-3.10.18-r1.ebuild had the 
compiler options that I
was looking for.  It looks like I was incorrecting calling the compiler options 
CFLAGS.  But
thanks for the help because I was able to find what I was looking for.

I misread this little snippet from the apcupsd manual and thought I was looking 
for CFLAGS: 
Perhaps LDFLAGS were what I was actually looking for?  

 CFLAGS=-g -O2 LDFLAGS=-g ./configure \
   --enable-usb \
   --with-upstype=usb \
   --with-upscable=usb \
   --prefix=/usr \
   --sbindir=/sbin \
   --with-cgi-bin=/var/www/cgi-bin \
   --enable-cgi \
   --with-css-dir=/var/www/docs/css \
   --with-log-dir=/etc/apcupsd \
   --enable-pthreads \
   --enable-powerflute
...
...
 --with-serial-dev=your-SNMP-device \
 --with-upstype=snmp \
 --with-upscable=smart \
 --enable-pthreads \
 --enable-snmp

 Once again thank for the help.

Regards,

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



Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Ryan Tandy

Richard Broersma Jr wrote:
I misread this little snippet from the apcupsd manual and thought I was looking for CFLAGS: 
Perhaps LDFLAGS were what I was actually looking for?  


 CFLAGS=-g -O2 LDFLAGS=-g ./configure \
   --enable-usb \
   --with-upstype=usb \
   --with-upscable=usb \
   --prefix=/usr \
   --sbindir=/sbin \
   --with-cgi-bin=/var/www/cgi-bin \
   --enable-cgi \
   --with-css-dir=/var/www/docs/css \
   --with-log-dir=/etc/apcupsd \
   --enable-pthreads \
   --enable-powerflute
...
...
 --with-serial-dev=your-SNMP-device \
 --with-upstype=snmp \
 --with-upscable=smart \
 --enable-pthreads \
 --enable-snmp


Neither.  These are all options passed to the configure script - in this 
case, CFLAGS and LDFLAGS are set as environment variables for it (since 
they're specified prior to the actual ./configure call).  Configure 
options are set by the ebuild in Gentoo, so you could conceivably look 
through the ebuild for the option you need, to see if it's controlled by 
a USE flag.


However, there is a far faster and easier solution: a quick 'emerge 
--pretend --verbose apcupsd' (long options shown here for readability: 
the actual line I typed was 'emerge -pv apcupsd') shows me that one of 
the USE flags supported by apcupsd is 'snmp', which from the name I 
would deduce controls SNMP support.  To enable SNMP in apcupsd, simply 
either add snmp to your USE in make.conf, or create an appropriate 
package.use entry.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] How can I get java compiler without x11?

2006-05-22 Thread michael

I've damaged my gentoo system while cleaning up a little too aggressively, and
I'm missing libdb so Apache won't run.

  emerge sys-libs/db

failed due to missing the java compiler, javac. It seems that in order to get
javac, I need to emerge the whole java IDE blackdown-jdk, which needs x11.

Is there a way to get the java compiler without installing x11?

Or am I misunderstanding something here?

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



Re: [gentoo-user] Logitech cordless

2006-05-22 Thread Jason Weisberger
This may be a stupid question, but is your USB support enabled in your kernel? Certain types of support are not enabled by default. If you like, send your laptop model and make so I can see which type you'll need to compile in.
Also, I assume you're using UDEV?-- Jason Weisberger[EMAIL PROTECTED]


Re: [gentoo-user] how to determin CFLAGS used in a package emerge

2006-05-22 Thread Richard Broersma Jr
 Neither.  These are all options passed to the configure script - in this 
 case, CFLAGS and LDFLAGS are set as environment variables for it (since 
 they're specified prior to the actual ./configure call).  Configure 
 options are set by the ebuild in Gentoo, so you could conceivably look 
 through the ebuild for the option you need, to see if it's controlled by 
 a USE flag.
 
 However, there is a far faster and easier solution: a quick 'emerge 
 --pretend --verbose apcupsd' (long options shown here for readability: 
 the actual line I typed was 'emerge -pv apcupsd') shows me that one of 
 the USE flags supported by apcupsd is 'snmp', which from the name I 
 would deduce controls SNMP support.  To enable SNMP in apcupsd, simply 
 either add snmp to your USE in make.conf, or create an appropriate 
 package.use entry.


Ryan,  Thanks for the reply and explanation, it is much appreciated.

Regards,

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



[gentoo-user] Manually compiling a gentoo package

2006-05-22 Thread Anthony E. Caudel
I need to make a change in the code for a gentoo package (pgcalc2) to 
check whether it corrects a problem.  If I simply download it with 
emerge -f pgcalc2, make the correction and then try to finish the 
emerge, it will fail the md5 check.


How can I do this?

Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logitech cordless

2006-05-22 Thread Richard Fish

On 5/22/06, James Colby [EMAIL PROTECTED] wrote:

List members -

I am trying to use a Logitech cordless keyboard and mouse with my
gentoo based laptop.  When I try to boot into linux the cordless
receiver is never enabled.  After doing some research on google it
appears that the easiest solution is to use a USB to PS2 adapter for
the usb connection, but unfortunately that will not work for me as I
only have one ps2 slot.  Does anyone know if there is a kernel option
or a third party driver that I could install to enable my cordless
keyboard and mouse.


AFAIK you only need USB HID support. (Device Drivers-USB
Suppport-USB Human Interface Device (full HID) support).  Make sure
it is =y to build into the kernel.  My system at home uses no PS/2
devices at all.

If you want a hardware solution, generally a PS2 splitter will do the
trick.  It is common to use these with laptops to allow a PS/2
keyboard and a PS/2 mouse to be connected to the same port, although
there is nothing really 'special' about the splitter.  Just ask your
local computer store for a PS/2 Y-splitter.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How can I get java compiler without x11?

2006-05-22 Thread Matthew Cline

On 5/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Is there a way to get the java compiler without installing x11?


Try adding -X to your USE flags.

HTH,

Matt

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Manually compiling a gentoo package

2006-05-22 Thread Matthew Cline

I am not a portage expert, but would it be possible to re-tar the
fixed source, then re-generate the ebuild digest using:

# ebuild path to ebuild digest

Then you should be able to continue with the emerge?

HTH,

Matt

On 5/23/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:

I need to make a change in the code for a gentoo package (pgcalc2) to
check whether it corrects a problem.  If I simply download it with
emerge -f pgcalc2, make the correction and then try to finish the
emerge, it will fail the md5 check.

How can I do this?

Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Manually compiling a gentoo package

2006-05-22 Thread Richard Fish

On 5/22/06, Anthony E. Caudel [EMAIL PROTECTED] wrote:

I need to make a change in the code for a gentoo package (pgcalc2) to
check whether it corrects a problem.  If I simply download it with
emerge -f pgcalc2, make the correction and then try to finish the
emerge, it will fail the md5 check.

How can I do this?


Assuming you have a fairly standard setup:

ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild unpack
make change in /var/tmp/portage/pgcalc2-2.2.4/work
ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild compile
ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild install

See man ebuild.

-Richard

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Manually compiling a gentoo package

2006-05-22 Thread Shaochun Wang
ebuild


On Mon, May 22, 2006 at 11:17:03PM -0500, Anthony E. Caudel wrote:
 I need to make a change in the code for a gentoo package (pgcalc2) to 
 check whether it corrects a problem.  If I simply download it with 
 emerge -f pgcalc2, make the correction and then try to finish the 
 emerge, it will fail the md5 check.
 
 How can I do this?
 
 Tony
 -- 
 Those who would give up essential Liberty, to purchase a little temporary
 Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Wang ShaoChun(王绍春) [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Logitech cordless

2006-05-22 Thread Iain Buchanan
On Mon, 2006-05-22 at 22:51 -0400, James Colby wrote:
 List members -
 
 I am trying to use a Logitech cordless keyboard and mouse with my
 gentoo based laptop.  When I try to boot into linux the cordless
 receiver is never enabled.

never?  Did you wait until X boots?

   After doing some research on google it
 appears that the easiest solution is to use a USB to PS2 adapter for
 the usb connection, but unfortunately that will not work for me as I
 only have one ps2 slot.

using ps2 shouldn't be necessary.

   Does anyone know if there is a kernel option
 or a third party driver that I could install to enable my cordless
 keyboard and mouse.

The fact that it's cordless doesn't matter.  The dongle pretends to be
the keyboard and mouse on their behalf...

I can think of three things you may need to do:

1. you need to turn on usb legacy in the bios (never understood why it
was called legacy, but you need this to use usb keyboards before the
OS loads the usb drivers, eg in grub)

2a. you need hotplug / coldplug or whatever udev has replaced it with.
I'm using ~x86 which obsoletes hotplug and coldplug in favour of udev,
but if you're using x86, hotplug and coldplug may still be around.
OR
2b. Instead of coldplug, you could just load the usb modules
automatically on boot with /etc/modules.d/...

3. You might not have compiled usb support into your kernel, or maybe
you left out usbhid.

let me know how you go with those pointers.
-- 
Iain Buchanan iaindb at netspace dot net dot au

Work is the crab grass in the lawn of life.
-- Schulz

-- 
gentoo-user@gentoo.org mailing list