Re: [gentoo-user] pure mplayer ?
On Wed, Jan 21, 2004 at 05:26:31PM +0200, raptor wrote: hi how to exclude all x and gtk stuff when compiling mplayer, tried this : but x-stuff are still there.. i need mplayer for just running : mplayer -identity -frame 0 movie.avi nothing else... so that I can parse the result .. It runs on server so i DONT want even to try to start the movie.. output gifs, using xmms or anything like that (if u know what else should I exclude) #USE='-x11 -gtk -gnome' emerge -p mplayer Take a look in the ebuild file. The option to disable the X-stuff will not be set if neither X (not x11) nor gtk is set. so this should do: USE='-X -gtk -gnome' emerge -p mplayer HTH Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 02:51:08PM -0600, Rainer Sigwald wrote: I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? Boot from XP CD, run 'recovery console', log in to the right windows installation. Then run 'fixboot' and 'fixmbr' . . . will obliterate GRUB, but should boot windows. Thanks, that was exactly what I was looking for. It worked perfecly. Then fix Linux. done . Looking at the rest of this thread, I wonder: What have I done... ;-) Thomas pgp0.pgp Description: PGP signature
[gentoo-user] I killed my xp boot sector with grub
Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Thanks, Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 03:19:18PM -0500, Barry Marler wrote: On Thu, 8 Jan 2004 20:59:30 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a Windows boot floppy. From the command line, execute fdisk /mbr, to write the master boot record to the hard disk without altering partition table information. I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? However, that will only fix the mbr, what about the boot sector in the first partition? Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 03:21:13PM -0500, Christopher Fisk wrote: Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a win9x bootdisk. use fdisk to mark the windows XP disk as the active partition. Then use the command: fdisk /mbr done, but no effect. the problem is not the mbr. It's the boot sector of the first partition and grub is still in there. Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] gentoo not powering off
On Wed, Jan 07, 2004 at 04:58:19PM +0100, Fabian Braennstroem wrote: Hello, On Wed, 2004-01-07 at 11:51, Fred Labrosse wrote: All, When I power off from gentoo, the computer is actually not powered off (Winblow does though). I have APM compiled in the kernel, I have tried both possibilities for CONFIG_APM_REAL_MODE_POWER_OFF, to no avail. Anybody has any other suggestion? I use APM too and it works. Did you emerge 'apmd' and add it to the runlevel? apmd is not needed. I .config settings are: CONFIG_PM=y CONFIG_APM=y # CONFIG_APM_IGNORE_USER_SUSPEND is not set # CONFIG_APM_DO_ENABLE is not set # CONFIG_APM_CPU_IDLE is not set # CONFIG_APM_DISPLAY_BLANK is not set # CONFIG_APM_RTC_IS_GMT is not set # CONFIG_APM_ALLOW_INTS is not set # CONFIG_APM_REAL_MODE_POWER_OFF is not set # # ACPI Support # # CONFIG_ACPI is not set However, I use the ac-sources, since I have made best experices with them. HTH, Thomas pgp0.pgp Description: PGP signature
[gentoo-user] qt depends on kde?
Hi there, I was just checking deep dependencies and was quite astonished that kde blocks qt. My understanding was, that kde build upon qt and not the other way around. so can anyone explain this to me in the qt-3.2.2-r1: DEPEND=... !kde-base/kdelibs-3.1.4 ... Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] ebuild.sh
On Tue, Nov 25, 2003 at 12:11:45PM +0200, Andrei Ivanov wrote: Hello, I'm trying to compile a package, but not merge it in the system, but something seems to be wrong: ebuild /usr/portage/dev-db/postgresql/postgresql-7.3.4-r1.ebuild fetch md5 src_uri ;-) postgresql-7.3.4.tar.gz ebuild /usr/portage/dev-db/postgresql/postgresql-7.3.4-r1.ebuild unpack md5 src_uri ;-) postgresql-7.3.4.tar.gz /usr/sbin/ebuild.sh: line 1196: /var/db/pkg/dev-db/postgresql-7.3.4-r1/postgresql-7.3.4-r1.ebuild: No such file or directory !!! ERROR: dev-db/postgresql-7.3.4-r1 failed. !!! Function , Line 1196, Exitcode 1 !!! error sourcing ebuild But: emerge =postgresql-7.3.4-r1 Calculating dependencies ...done! emerge (1 of 1) dev-db/postgresql-7.3.4-r1 to / md5 src_uri ;-) postgresql-7.3.4.tar.gz Unpacking source... Unpacking postgresql-7.3.4.tar.gz to /var/tmp/portage/postgresql-7.3.4-r1/work Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu Why don't the first commands work ? I can't tell you why it's not working, but why don't you use emerge --oneshot /usr/portage/dev-db/postgresql/postgresql-7.3.4-r1.ebuild Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] SSH permission question
On Fri, Nov 07, 2003 at 08:00:34PM +0800, Stephen Liu wrote: Hi Erwin, Am Freitag, 7. November 2003 09:26 schrieb Stephen Liu: Hi folks, I have 2 boxes connected with a crossover cable for broadband sharing. Both of them can ping to each other. Broadband sharing has no problem. PC1 - RH9 eth0 - connected to broadband eth1 - connected to PC-2, IP 192.168.0.1 PC2 - Gentoo box eth0 - connected ot PC-1, IP 192.168.0.2 Test as follows; PC1 - RH9 # ssh -l root 192.168.0.2 ssh: connect to host 192.168.0.2 port 22: Connection refused How to get it connected? Thanks try to start the ssh daemon on the box you want to connect to: /etc/init.d/sshd start SSH already started on both boxes. $ ssh -X [EMAIL PROTECTED] # ssh -X [EMAIL PROTECTED] all work on both boxes including starting X server on the same box. Do you have a packetfilter installed on your gentoo box blocking the inbound traffic to port 22? Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] SSH permission question
On Fri, Nov 07, 2003 at 08:37:00PM +0800, Stephen Liu wrote: Hi Thomas, SSH already started on both boxes. $ ssh -X [EMAIL PROTECTED] # ssh -X [EMAIL PROTECTED] all work on both boxes including starting X server on the same box. Do you have a packetfilter installed on your gentoo box blocking the inbound traffic to port 22? After uncomment the line iface_eth1=207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0 on /etc/conf.d/net of PC2-Gentoo box, both box can ping each other Now on PC2-Gentoo box /etc/conf.d/net iface_eth0=192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0 iface_eth1=207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0 dhcpcd_eth0=... gateway=eth0/192.168.0.1 On PC1-RH9 I could start applications of PC2-Gentoo box displaying it on screen. But I could not make it the other way round, i.e. On PC2-Gentoo # ssh -l root 192.168.0.1 [EMAIL PROTECTED]'s password: Last login: Fri Nov 7 16:06:41 2003 from 192.168.0.2 [EMAIL PROTECTED] root]# konqueror konqueror: cannot connect to X server Looks like your sshd does not allow X-connections. Check in your /etc/ssh/sshd_config for this option. X11Forwarding yes Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] emerge transcode fail
On Thu, Nov 06, 2003 at 08:59:54AM -0600, Jeffrey Smelser wrote: USE=mmx emerge transcode It took me some time and many tries, but then I found that out. Shouldn't emerge warn you about that. If it doesn't comile w/out mmx then why do not activate mmx for transcode by default? Thomas -- Dipl.Inf. Thomas Buntrock TU Darmstadt -- FG Sicherheit in der Informationstechnik eMail: [EMAIL PROTECTED] phone: +49 6151 869-277 pgp0.pgp Description: PGP signature
Re: [gentoo-user] Word wrap non-html
On Thu, Nov 06, 2003 at 07:47:00AM -0800, Andrew Farmer wrote: On Thu, 06 Nov 2003 07:32:52 -0800, Hall Stevenson muttered: ...I used to use Mutt and it did. Two config file options dealt with html-formatted messages and non-wrapped lines: text/html; lynx -dump %s ; copiousoutput set smart_wrap Hmm... where do you put the text/html line? Stuffing it into .muttrc doesn't work for me... 1st line: .mailcap 2nd line: .muttrc Thomas pgp0.pgp Description: PGP signature
[gentoo-user] find dependencies
Hi there, I'd like to find out all packages that a depending on a specific package. I know that etcat -d can do this, but etcat gives me ALL packages, including all the many, that I have not installed. Is there a hidden switch for only showing the installed ones? Thanks, Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] JAVA_HOME problems?
On Sat, Sep 27, 2003 at 08:22:14AM -0700, oleander wrote: On Sat, 27 Sep 2003 14:51:46 -0400 Justin [EMAIL PROTECTED] wrote: Any ideas? Any place I was supposed to stick JAVA_HOME that I missed? I'm sure I could eventually hack the scripts to do it correctly, but I'd rather do it the right way so i can easily upgrade via portage... have you tried the java-config program? it should update the /etc scripts to source the correct environment settings based on the selected JVM. i ran java-config --set-system-vm and was then able to emerge ant and tomcat. although i still can't get ant plugins to work... won't work. At least it didn't help by me. I had to upgrade too gcc3 and use sun-jdk not blackdown. HTH Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] Networking setup
On Thu, Sep 25, 2003 at 09:33:49PM +0300, Kasper Rönning wrote: # route (I took out the Ref and Use columns, all were 0) Kernel IP routing table Destination Gateway Genmask Flags Metric Iface 130.233.16.0 * 255.255.240.0 U 0 eth0 default trinet-gw.tky.h 0.0.0.0 UG 1 eth0 # cat /etc/conf.d/net (Comments removed) iface_eth0=130.233.30.18 broadcast 130.233.31.255 netmask 255.255.240.0 gateway=eth0/130.233.31.254 130.223.31.254 == trinet-gw.tky.h? if I read this correcly your machine is in the subnet 130.233.30.0/24, while your gw is in 130.233.31.0/24 you gw MUST be in the same subnet. try ping your gw. I think it should fail. HTH Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] emerge question
On Tue, Sep 02, 2003 at 03:22:19PM +0200, Philippe Van Hecke wrote: I am playing with many kernel version. And must emerge alsa-driver,nvidia-kernel for each kernel i install. My question is there is way when i emerge these two modules, to tell, with command line option to not unmerge the previous merged modules ? I know that when i do emerge i have arround 5 second to tell to portage to not umerge. But i would like to have this done automaticly. I have built a binary package of the also module and let portage clean everything. After instaling a new kernel I simply reinstall the binary package again. Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] ownership of devices
On Fri, Aug 08, 2003 at 12:02:10AM +0200, Christian Bartl wrote: Dear Gentoo users, as I have problems with ALSA since the last upgrade of alsa-libs/driver/utils I verified the permissions of /dev/dsp and noticed that there are several device owned by the user I normally login as. I cannot remember that I have ever changed anything here. Any suggestions how this can happen. May I change ownership of these file to root? Take a look at /etc/security/console.perms On login and logout file ownership is set according to the specification in that file. If you want other perms that the given ones, I make the changes in the console.perms (man 5 console.perms) Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] Laptop + Gentoo
On Wed, Jun 04, 2003 at 01:24:23PM -0400, wes chow wrote: Do you have to do anything special to do this? Reload modules or something? Or does it just work? Sorry, it took me so long, had to run windoze on the laptop lately. I have the alsa modules compiled and have a long list modules dureing runtime: I can go to suspend even when playing sound - it will automatically continued when powering up agein. Didn't do anything special (at least I can't remember if I did) Thomas # lsmod Module Size Used byNot tainted snd-pcm-oss37860 0 (autoclean) snd-mixer-oss 11096 0 (autoclean) [snd-pcm-oss] sg 28172 0 (autoclean) (unused) sr_mod 14392 0 (autoclean) (unused) sd_mod 11216 0 (autoclean) (unused) scsi_mod 86708 3 (autoclean) [sg sr_mod sd_mod] nls_iso8859-1 2844 1 (autoclean) nls_cp437 4348 1 (autoclean) keybdev 2144 0 (unused) mousedev4340 0 (unused) hid14088 0 (unused) input 3776 0 [keybdev mousedev hid] snd-intel8x0 11712 0 snd-ac97-codec 28196 0 [snd-intel8x0] snd-pcm55040 0 [snd-pcm-oss snd-intel8x0] snd-timer 11052 0 [snd-pcm] snd-mpu401-uart 3232 0 [snd-intel8x0] snd-rawmidi13824 0 [snd-mpu401-uart] snd-seq-device 4316 0 [snd-rawmidi] snd27596 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device] soundcore 4164 4 [snd] ds 7116 0 (unused) i82365 26784 2 pcmcia_core43360 0 [ds i82365] I think the /etc/modules.d/alsa is default, but here it comes anyway: # cat /etc/modules.d/alsa # Alsa 0.9.X kernel modules' configuration file. # $Header: # /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf,v # 1.3 2002/06/24 18:05:58 agenkin Exp $ # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ## ## IMPORTANT: ## You need to customise this section for your specific sound card(s) ## and then run `update-modules' command. ## Read alsa-driver's INSTALL file in /usr/share/doc for more info. ## ## ALSA portion ## alias snd-card-0 snd-interwave ## alias snd-card-1 snd-ens1371 ## OSS/Free portion ## alias sound-slot-0 snd-card-0 ## alias sound-slot-1 snd-card-1 ## # OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ## OSS/Free portion - card #2 ## alias sound-service-1-0 snd-mixer-oss ## alias sound-service-1-3 snd-pcm-oss ## alias sound-service-1-12 snd-pcm-oss alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss alias sound snd-intel8x0 -- Dipl.Inf. Thomas Buntrock TU Darmstadt -- FG Sicherheit in der Informationstechnik eMail: [EMAIL PROTECTED] phone: +49 6151 869-277 pgp0.pgp Description: PGP signature
Re: [gentoo-user] ext3 data=journal + OpenOffice.org
Hi, I had a similar problem. When I built an iso-image the jounaling daemon went crazy. Later I found out that the dma support wasn't activated. HTH Thomas -- I started out with nothing... I still have most of it. -- [EMAIL PROTECTED] mailing list