[gentoo-user] Apache+PHP
Mi apache no me interpreta los archivos .php muestra el contenido como texto en el navegador
Re: [gentoo-user] New application: app-portage/kportagetray
Finally I created an account at gitorious.org and now we can have a live ebuild for KPortageTray, which I'm attaching at this e-mail. By now, it is still at development and the user should use with caution. But, I'm using it everyday and I think it doesn't have any serious bug. Like I said, you don't need to run it as root, but it will call kdesu when root access is needed, so, shouldn't have any serious security issues. At the current version, I added support for eix-sync and now, after every sycn, the output of eix-diff is shown at a tab. I also converted the colors output by the commands (genlop, emerge, etc.) to HTML, so everything is colored now (but there maybe some bugs at colors). One more time, it won't work with KDE 4.4 due to a massive change at systray protocol. As soon as the docs is released I'll tray to adapt KPortageTray to handle it. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: app-portage/kportagetray/kportagetray-.ebuild, 2009/01/13 Ronis_BR $ EAPI=2 EGIT_REPO_URI=git://gitorious.org/kportagetray/kportagetray.git EXPERIMENTAL=true KDE_LINGUAS=pt_BR inherit kde4-base git DESCRIPTION=A set of basic operations for Portage. HOMEPAGE= LICENSE=GPL-3 KEYWORDS=~amd64 SLOT=0 IUSE= RDEPEND= =kde-base/kdelibs-${KDE_MINIMAL} =kde-base/kdesu-${KDE_MINIMAL} =kde-base/konsole-${KDE_MINIMAL} =kde-base/knotify-${KDE_MINIMAL} =kde-base/pykde4-${KDE_MINIMAL} dev-python/PyQt4[svg,dbus] dev-lang/python:2.6 app-portage/eix DEPEND=${RDEPEND} src_configure() { kde4-base_src_configure } signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Apache+PHP
Le 14/01/2010 15:03, German Lopez Cortina a écrit : Mi apache no me interpreta los archivos .php muestra el contenido como texto en el navegador First it is an english only list, so if you would like to speak other languages, take a look at gentoo-user...@lists.gentoo.org for a spanish aware list. After saying that, check that you enabled PHP interpretation, either in /etc/conf.d/apache2, add -D PHP5 in APACHE2_OPTS var, or check the file /etc/apache2/modules.d/70_mod_php5.conf is present, if not, then re-emerge php with useflag apache2. Best regards. -- Xavier Parizet YaGB : http://gentooist.com GPG :C7DC B10E FC21 63BE B453 D239 F6E6 DF65 1569 91BF signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] {OT} Problems playing back DVD
John H. Moe wrote: play or rip it on my computer. SMplayer, VLC, Xine, K3B, DVD::Rip and AcidRip all seem to have the same basic problem: libdvdread: Can't seek to block 3362902 libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO). Not sure if this is the solution but judging from what you write it seems likely: http://tobias.rautenkranz.ch/libdvdread_ifo.html.en http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400 Might help to upgrade to a newer version of libdvdread (you don't say which version you have installed)? Best regards Peter K
[gentoo-user] file system failure after emerge -DuN @system
Hi, An old machine hadn't been turned on in a few months. I decided I try getting it up to date so I went through an emerge cycle to see if I could get things going. It was a little picky about upgrading udev but at the time I thought it had gone OK, but possibly not. emerge -DuN @system completed without errors, running it again said there was nothing to update, python-updater ran fine, as did revdep-rebuild. However when I rebooted I see messages when starting udev: inotify_init failed: fnction not implemented and then No /sbin/udevd found running; None killed and then * Checking root filesystem fsck.ext3: No such file or directory while trying to open /dev/sda7 and then messages about the superblock being wrong. The machines accepts me logging in and the file system seems to be there but the machine is clearly not happy. Maybe this isn't worth the effort and I'd be better off doing a new install, but before I go down that path I thought I'd see what actions I might take first. The kernel hasn't been changed. (2.6.29 vintage so not horribly old) I do think that gcc and glibc got upgraded with @system. Note that before the @system update there were two drives in the system, /dev/sda and /dev/hda. After the update it started showing /dev/sda twice so I unplugged the second drive. (It was video storage on on old MythTV backend and should be necessary at all.) Now the system shows one drive but fails as above. Ideas? Thanks, Mark
[gentoo-user] Still not feeling familiar with emerge
Dear group, I'm using gentoo for more than three years now and using the gentoo packaging system in general is exactly what I expect from a packaging system. You just open a shell somewhere on your virtual desktop, start a process and the rest is done automatically (in general). But, when it comes to packages blocking each other I simply have to guess, what to do next and sometimes I fail in guessing the right things I once removed the wrong package, which left me with a system without working packaging system - a very bad experience. In fact I could only solve this problem by copying a dynamic library from another linux installation to reanimate emerge. So some weeks ago I was too busy to take care of some conflicts caused by the end of support for KDE 3.5). I stopped updating, because I didn't have the time to switch to newer KDE version and wanted to do that later on. Now I want to upgrade, but I would like to better understand the messages telling me the conflicting packets. A current call to 'emerge --update --deep --ask world' gives me the following conflicts: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('installed', '/', 'sys-fs/device-mapper-1.02.24-r1', 'nomerge') pulled in by =sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') ('ebuild', '/', 'kde-base/kdebase-data-4.3.3', 'merge') pulled in by =kde-base/kdebase-data-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdelibs-4.3.3-r1', 'merge') =kde-base/kdebase-data-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdebase-meta-4.3.3', 'merge') ('installed', '/', 'app-arch/lzma-utils-4.32.7', 'nomerge') pulled in by app-arch/lzma-utils required by ('ebuild', '/', 'dev-libs/mpfr-2.4.1_p5', 'merge') app-arch/lzma-utils required by ('ebuild', '/', 'dev-texlive/texlive-basic-2008-r1', 'merge') app-arch/lzma-utils required by ('ebuild', '/', 'dev-texlive/texlive-latex-2008-r2', 'merge') (and 5 more) ('installed', '/', 'kde-base/akregator-3.5.10', 'nomerge') pulled in by =kde-base/akregator-3.5.10:3.5 required by ('installed', '/', 'kde-base/konqueror-akregator-3.5.10', 'nomerge') ('ebuild', '/', 'sys-fs/udev-146-r1', 'merge') pulled in by virtual/dev-manager required by world =sys-fs/udev-103 required by ('ebuild', '/', 'media-gfx/iscan-2.21.0', 'merge') =sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') (and 3 more) ('ebuild', '/', 'net-wireless/bluez-4.39-r2', 'merge') pulled in by net-wireless/bluez required by ('ebuild', '/', 'gnome-base/gvfs-1.2.3', 'merge') net-wireless/bluez required by ('ebuild', '/', 'kde-base/solid-4.3.3', 'merge') ('ebuild', '/', 'kde-base/akregator-4.3.3', 'merge') pulled in by =kde-base/akregator-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdepim-meta-4.3.3', 'merge') ('ebuild', '/', 'app-arch/xz-utils-4.999.9_beta', 'merge') pulled in by app-arch/xz-utils required by ('ebuild', '/', 'app-arch/libarchive-2.7.1-r1', 'merge') ('installed', '/', 'net-wireless/bluez-libs-3.36', 'nomerge') pulled in by net-wireless/bluez-libs required by ('installed', '/', 'net-libs/libpcap-1.0.0-r2', 'nomerge') ('installed', '/', 'kde-base/kdebase-data-3.5.10', 'nomerge') pulled in by =kde-base/kdebase-data-3.5.10:3.5 required by ('installed', '/', 'kde-base/kcontrol-3.5.10', 'nomerge') =kde-base/kdebase-data-3.5.10:3.5 required by ('installed', '/', 'kde-base/kicker-3.5.10-r1', 'nomerge') For me some of the messages are mysterious. What is e.g. the exact meaning of the four components in ('ebuild', '/', 'net-wireless/bluez-4.39-r2', 'merge') or ('installed', '/', 'kde-base/akregator-3.5.10', 'nomerge') How should I resolve the conflict net-libs/libpcap-1.0.0-r2 versus gnome-base/gvfs-1.2.3 and kde-base/solid-4.3.3 I don't even have any bluetooth device in my computer. Should I fiddle with the USE flags of KDE and Gnome or libpcap to avoid they pull in net-wireless/bluez? Which packets are causing the device-mapper conflict? What is the most secure way to switch to KDE 4? Should I remove the packages konqueror-akregator, kcontrol and kicker, then update to KDE 4 and then reinstall those packets? Maybe someone can explain how to proceed best. Are there some things I can check using equery or whatsoever to support my decisions? I'm feeling unsure how to handle these problems keeping the risk to leave my system (partially) unusable as small as possible. Maybe someone can give me a hint, where to find more information about how to handle conflicts in the packaging system. Sorry for the long mail. Cheers, Heinz
[gentoo-user] kde wont log in user
Hello, Well I just updated a laptop that had not been updated for 8 months. It's all fine, except I cannot log in via the kde menu ssh works fine and all packages are current. Any suggestions on how to get this fixed? James
Re: [gentoo-user] problem with install-x86-minimal-20091103
On 10/12/2009, Joshua Murphy poiso...@gmail.com wrote: One note about sysresccd, while I do nearly all of my installs from it (working from a likely out of date copy, so unsure how much this still applies) anymore, I've run across a small issue between its use of zsh and emerging some packages. Most recently, it bit me while getting one of the dependencies to nfs-progs built so my new system would be able to get to my portage tree share on its own after the reboot. This bug (closed as RESOLVED - INVALID, since it's not actually a bug with Gentoo in the eyes of the Devs): http://bugs.gentoo.org/show_bug.cgi?id=271942 details it further and gives a couple options on fixing it, should you run into it at all. It's probably worth mentioning this on the New eselesct module for /bin/sh bug: https://bugs.gentoo.org/show_bug.cgi?id=214817 If there are things that break when /bin/sh is not bash, then it's worth noting them, and probably fixing the root cause too. :)
[gentoo-user] Re: [OT crypto] How to encrypt a directory without root?
Neil Bothwick n...@digimed.co.uk writes: On Wed, 06 Jan 2010 15:27:32 -0600, Harry Putnam wrote: Then use rsync instead of tar, then you can mount the remote filesystem using sshfs and encfs to read individual files. It's a little slow as you are layering two FUSE filesystems, but quicker than downloading a complete tarball just to get at one file. I've used this method with an online backup service and it works. Neil seems to be thinking the remote has encfs on board... it does not. Hence my original quest for a different encryption process, (mcrypt) I wasn't thinking that at all. You use sshfs to mount the remote directory locally, then mount that with encfs. All the remote host needs is ssh. I'm not sure what is going wrong here, if neither of us is listening to the other or what... but I've stressed that I wanted a solution for when I could not access my home machine Does your solution involve that? Expecting to work out encfs and sshfs/fuse etc on a session in the nearest kinkos, probably on machines running one or another version of windows, and further with no download or install options on said machine is not all that nifty of an approach.
[gentoo-user] Freeze up during X session
I'm experiencing a problem where during an X session the machine inexplicably freezes up... networking along with mouse keyboard etc. No access is then possible via ssh or any other way other than a hard reboot. I've attempted to debug the problem by first searching the logs. But not finding anything I recognize as a clue. I've inserted a line like this in /etc/syslog.conf cat /etc/syslog.conf [...] *.* -/var/log/debug.log [...] and then created a tiny script called by cron every 5 minutes that simply pinged an external host and reported the results by way of piping to `logger', guaranteeing it would appear in the system logs . Then after a freeze up and reboot, search the logs for the most recent successful ping and see what happened after that. (The freeze up freezes networking too so the ping would then fail). And Hopefully I'd see something of note between the last successful ping and the reboot. But I see absolutely nothing of note. The freeze does not appear to obey any particular time frame after a boot, only that sooner or later a freeze up will occur. Apparently there is nothing happening that merits a log entry. Its been going on for a goodly while and I've just been rebooting as needed ... I haven't been really active on the machine for a while so it was easy to get along with, but now I need to do more work and so the problem is a major stumbling block.
[gentoo-user] Re: file system failure after emerge -DuN @system
On 01/14/2010 01:33 PM, Mark Knecht wrote: Hi, An old machine hadn't been turned on in a few months. I decided I try getting it up to date so I went through an emerge cycle to see if I could get things going. It was a little picky about upgrading udev but at the time I thought it had gone OK, but possibly not. emerge -DuN @system completed without errors, running it again said there was nothing to update, python-updater ran fine, as did revdep-rebuild. However when I rebooted I see messages when starting udev: inotify_init failed: fnction not implemented... inotify_init is provided by glibc, so that seems to be important. That machine seems to have some mismatched components, but which ones? It's important that glibc be compiled with the kernel headers that are actually installed on your machine, so the order of package upgrading does matter, at least when system libs like glibc are involved. E.g. if glibc was updated *before* the kernel-headers package then you might expect such problems. Of course, I have no idea if that's what happened to you. On my x86 I have linux-headers-2.6.27-r2 and glibc-2.10.1-r1. I see that all of my linux-headers files are dated 2009-08-24, and glibc was updated just this week. You may want to check to see which of those packages was installed earlier. Does the machine run well enough that you can reinstall both glibc and udev again?
Re: [gentoo-user] {OT} Problems playing back DVD
pk wrote: John H. Moe wrote: play or rip it on my computer. SMplayer, VLC, Xine, K3B, DVD::Rip and AcidRip all seem to have the same basic problem: libdvdread: Can't seek to block 3362902 libdvdread: Invalid IFO for title 18 (VTS_18_0.IFO). Not sure if this is the solution but judging from what you write it seems likely: http://tobias.rautenkranz.ch/libdvdread_ifo.html.en http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460400 Might help to upgrade to a newer version of libdvdread (you don't say which version you have installed)? Best regards Peter K I am wondering if you have tried to dd it for yourself rather than using front ends?
Re: [gentoo-user] Still not feeling familiar with emerge
On Friday 15 January 2010 00:36:16 h...@dfki.uni-kl.de wrote: Dear group, I'm using gentoo for more than three years now and using the gentoo packaging system in general is exactly what I expect from a packaging system. You just open a shell somewhere on your virtual desktop, start a process and the rest is done automatically (in general). But, when it comes to packages blocking each other I simply have to guess, what to do next and sometimes I fail in guessing the right things I once removed the wrong package, which left me with a system without working packaging system - a very bad experience. In fact I could only solve this problem by copying a dynamic library from another linux installation to reanimate emerge. So some weeks ago I was too busy to take care of some conflicts caused by the end of support for KDE 3.5). I stopped updating, because I didn't have the time to switch to newer KDE version and wanted to do that later on. Everything above this line is fascinating but completely unrelated to your post. Please omit such in future Now I want to upgrade, but I would like to better understand the messages telling me the conflicting packets. A current call to 'emerge --update --deep --ask world' gives me the following conflicts: * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('installed', '/', 'sys-fs/device-mapper-1.02.24-r1', 'nomerge') pulled in by =sys-fs/device-mapper-1.00.07-r1 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') Read it backwards from the bottom up. It means that cryptsetup requires device-mapper (a version greater than 1.00.07-r1) and portage has chosen device-mapper-1.02.24-r1 ('ebuild', '/', 'kde-base/kdebase-data-4.3.3', 'merge') pulled in by =kde-base/kdebase-data-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdelibs-4.3.3-r1', 'merge') =kde-base/kdebase-data-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdebase-meta-4.3.3', 'merge') Same as above, except that both kdelibs and kdebase-meta have pulled in kdebase-data. Sometimes the list of package that pull in other gets very long and the list might be truncated with a message something like plus 33 others... ('installed', '/', 'app-arch/lzma-utils-4.32.7', 'nomerge') pulled in by app-arch/lzma-utils required by ('ebuild', '/', 'dev-libs/mpfr-2.4.1_p5', 'merge') app-arch/lzma-utils required by ('ebuild', '/', 'dev-texlive/texlive-basic-2008-r1', 'merge') app-arch/lzma-utils required by ('ebuild', '/', 'dev-texlive/texlive-latex-2008-r2', 'merge') (and 5 more) ('installed', '/', 'kde-base/akregator-3.5.10', 'nomerge') pulled in by =kde-base/akregator-3.5.10:3.5 required by ('installed', '/', 'kde-base/konqueror-akregator-3.5.10', 'nomerge') ('ebuild', '/', 'sys-fs/udev-146-r1', 'merge') pulled in by virtual/dev-manager required by world =sys-fs/udev-103 required by ('ebuild', '/', 'media-gfx/iscan-2.21.0', 'merge') =sys-fs/udev-124 required by ('installed', '/', 'sys-fs/cryptsetup-1.0.6-r2', 'nomerge') (and 3 more) ('ebuild', '/', 'net-wireless/bluez-4.39-r2', 'merge') pulled in by net-wireless/bluez required by ('ebuild', '/', 'gnome-base/gvfs-1.2.3', 'merge') net-wireless/bluez required by ('ebuild', '/', 'kde-base/solid-4.3.3', 'merge') ('ebuild', '/', 'kde-base/akregator-4.3.3', 'merge') pulled in by =kde-base/akregator-4.3.3[-kdeprefix] required by ('ebuild', '/', 'kde-base/kdepim-meta-4.3.3', 'merge') ('ebuild', '/', 'app-arch/xz-utils-4.999.9_beta', 'merge') pulled in by app-arch/xz-utils required by ('ebuild', '/', 'app-arch/libarchive-2.7.1-r1', 'merge') ('installed', '/', 'net-wireless/bluez-libs-3.36', 'nomerge') pulled in by net-wireless/bluez-libs required by ('installed', '/', 'net-libs/libpcap-1.0.0-r2', 'nomerge') ('installed', '/', 'kde-base/kdebase-data-3.5.10', 'nomerge') pulled in by =kde-base/kdebase-data-3.5.10:3.5 required by ('installed', '/', 'kde-base/kcontrol-3.5.10', 'nomerge') =kde-base/kdebase-data-3.5.10:3.5 required by ('installed', '/', 'kde-base/kicker-3.5.10-r1', 'nomerge') For me some of the messages are mysterious. What is e.g. the exact meaning of the four components in ('ebuild', '/', 'net-wireless/bluez-4.39-r2', 'merge') or ('installed', '/', 'kde-base/akregator-3.5.10', 'nomerge') It's just a statement that something will be merged, followed by the packages that caused it to be merged. It's all usually of the form exact package pulled in by package spec from an ebuild pulled in by something else Apparently you have konqueror-akregator in world (nothing else is pulling it in) which causes akregator to be merged. You must remove konqueror-akregator manually using emerge -C konqueror-akregator How should I
Re: [gentoo-user] Re: linux usb webcam to website
2010/1/13 james wirel...@tampabay.rr.com Zoltán Füves zoleexfz at gmail.com writes: Sorry guys to disturb you with like this but I'm stuck I have to 4 usb webcam stream (from 4 different machine) embed to a website. I'm not sure this is what you are looking for, but 'zoneminder' is very cool, although I'm not sure it works with mp4 containers. You have to research the encoding format details. h.264 is very bandwidth efficient, but requires relatively large processing resources to encode, but requires relatively light processing resources to decode. PS, the VLC solution the other guys have mentioned looks very doable on a web-server. hth, James Thanks your answer too, I will check zoneminder. First look it is more a building security app than like a web streaming solution but It is look very cool for observing home things and more yes the h.264 codec is very usable and vlc looks can serve my web-streaming (yes the main problem is find the right the bandwith and the CPU and memory usage) have a nice day and thanks your time and help Z.