Re: [gentoo-user] Why gpm?
On Sat, 2005-09-10 at 18:00 +0200, Jes__s Garc__a Crespo wrote: Hi! I don't understand why gpm was included in the Gentoo base system. It was not in there before and I didn't find information about the reasons. But I could tell you my case: I installed Gentoo in my dedicated server in EEUU (I am from Spain) and I had to uninstall gpm since I won't use it anymore. I think that, for example, dhcpcd would be more logical to be included than gpm, don't you think so? I suppose the reason is that when setting up a system on the console, it helps to be able to cut-and-paste text with the mouse. While dhcpcd is useful for servers, it isn't needed during initial setup, whereas gpm is, even if it isn't used after that. Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] server deployment
On Sat, 2005-09-10 at 14:29 -0500, John Jolet wrote: We're in the process of transitioning from 32-bit Redhat (7 I think) web/app servers to 64-bit gentoo web/app servers. One concern I've got is from a security standpoint, normally you don't deploy webservers with development tools on them. How do you guys handle this question with internet-facing production servers? One thought I had was to set up a build server, build the binaries on this server, and do an emerge of the binaries FROM this server to the production servers, with gcc and such removed from them. Will this work? Yes. From emerge(1): --buildpkg (-b) Tells emerge to build binary packages for all ebuilds processed in addition to actually merging the packages. Useful for main- tainers or if you administrate multiple Gentoo Linux systems (build once, emerge tbz2s everywhere). The package will be cre- ated in the ${PKGDIR}/All directory. An alternative for already-merged packages is to use quickpkg which creates a tbz2 from the live filesystem. I would recommend building packages on a build server with --buildpkg, installing them on a testing server, and once tested re-packaging them with quickpkg on the testing server to install on the production servers. (The advantage of quickpkg is it picks up changes to configuration files.) Of course, you could combine the build and testing servers onto one machine. HTH. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ntp-client starting before net.eth0
On Fri, 2005-09-09 at 14:08 -0700, Daevid Vincent wrote: What determines the order that things in rc-update (/etc/init.d) start? I run ifplugd, and I notice that (as the title says), ntp-client is starting before net.eth0 and therefore can't find the pool.ntp.org site (of course). Look at RC_NET_STRICT_CHECKING in /etc/conf.d/rc. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] other packages
On Fri, 2005-09-09 at 17:45 -0400, John Dangler wrote: I have found an add-in for gimp called GAP (animation). It is a zipped tar file. How can I add this to my gentoo install? (I'm not sure why it wasn't on portage, but, being fairly new to gentoo, I can't imagine what has to be done to a package to declare it 'portage-able'). There is an ebuild on the Gentoo bugzilla: go to bugs.gentoo.org, search for gimp-gap, and read the docs on how to use PORTAGE_OVERLAY to merge ebuilds not in Portage. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CD burning with full filenames
On Mon, 2005-08-22 at 07:54 -0700, Grant wrote: Hello, does anyone know how to make an ISO and then burn it to a CD with the full filenames preserved? I tried specifying Joliet and Rock Ridge but the output from mkisofs looks like the filenames are being altered. AFAICR none of the available CD filesystems support the full range of Unix filenames. If this is for backup purposes you might be better off just making a tar file and burning that directly to CD - tar is designed for archiving, after all. The resulting CD will be readable by e.g. tar tvf /dev/cdrom. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] where is changlog for Gentoo 2005.1
On Fri, 2005-08-12 at 13:41 +0600, askar k wrote: Hello! I can't find changelog for Gentoo 2005.1 on its site. Thanks, askar There isn't one, AFAIK. Not much has changed to the profile, anyway. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] from 2005.0 to 2005.1
On Wed, 2005-08-10 at 13:54 -0700, Mark Knecht wrote: On 8/10/05, Craig Zeigler [EMAIL PROTECTED] wrote: If the developers bothered to write stuff like that for every package (most of them have changelogs BTW) Gentoo would be like Debian.. years between releases -- Yeah, true. Besides, when Neil made that comment he was speaking of the iso which is the 'installation disc' so I think that Neil was completely consistant. Running diff -upr --ignore-matching-lines='^# \ $Header:' /usr/portage/profiles/default-linux/x86/2005.{0,1} it looks like the differences between 2005.0 and 2005.1 are: 1. The default virtuals for os-headers and linux-sources have been removed (possibly preparatory to merging headers and sources?) 2. The minimum baselayout version is 1.11.12-r4, up from 1.9.4-r3 3. The minimum binutils version is 2.15.90.0.3-r4, up from 2.14.90.0.8-r1 Of course, other architectures may have more significant changes... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do I emerge Evolution+eds with debug information?
On Mon, 2005-08-08 at 09:15 +0200, Jules Colding wrote: I can not get any sensible debug information from bug-buddy. So how do I re-emerge evo and eds with debug symbols? Try USE=debug CFLAGS=-g emerge -1 evolution evolution-data-server. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Error Emerging Liferea 0.9.2
On Wed, 2005-07-27 at 03:56 -0700, Zac Medico wrote: Ow Mun Heng wrote: ui_feedlist.o(.text+0x227d): In function `ui_feedlist_dbus_connect': : undefined reference to `dbus_bus_acquire_service' collect2: ld returned 1 exit status make[3]: *** [liferea-bin] Error 1 make[3]: Leaving directory `/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2' Are you using dbus from the gentopia overlay? I've noticed that many apps are not compatible with the newer versions of dbus. Note that liferea 0.9.4 is in portage (keyworded ~x86) and is recent dbus compatible. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] GDM not bringing up log in screen
On Fri, 2005-07-15 at 23:05 -0600, George Roberts wrote: About a month or so ago I lost the ability to use my GDM to log in. I can log in using XDM which has to be called from the command line. When my system is booting it loads gdm, but when it finishes booting instead of starting X, it leaves me at the at the command line. I can then log in as root but when I type gdm it tells me gdm is already running. At one point it told me that I had no screens configured or XDMCP is disabled. I have unmerged gdm and re-emerged it. I have rebuilt my xorg.conf. I have removed my /etc/X11/gdm.conf and then ran gdmconfig. Even double checked rc.conf (no changes there). All of which has been a learning experience but is alas fruitless. /var/log/Xorg.0.log comes up clean execpt for a warning about APM and a warning while probing the nvidia video card. All hints will be tried and greatly appreciated. Thanks in advance. rm /var/run/gdm.pid? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Does (-win32codecs) mean Slots?
On Wed, 2005-07-13 at 10:53 +0800, Ow Mun Heng wrote: On Tue, 2005-07-12 at 22:48 -0400, daniel wrote: On July 12, 2005 05:12 am, Ow Mun Heng wrote: Why doesn't mplayer let me compile with win32codecs? It doesn't pull down win32codec as a dependency and having that USE flag in the CLI as well as on make.conf doesn't make a difference. I still can't get -win32codecs to +win32codecs Comment? FWIW, if you haven't worked this out yet :) USE flag masking is controlled by use.mask, which is a standard stackable profile file; as with package.mask, the masked USE flags are generated by combining use.mask from all the directories in the profile stack; but unlike package.mask, which is counteracted by package.unmask, the way to re-enable USE flags is to delete them from the use.mask profile stack by entering them in a later-processed use.mask file with a - before. So, what you would do in this case is: echo -win32codecs /etc/portage/profile/use.mask (make sure /etc/portage/profile exists, yada yada.) Again: the - at the beginning of the line instructs portage to *remove* win32codecs from the list of masked USE flags generated by merging the use.mask profile stack. Compare e.g. /usr/portage/profiles/default-linux/x86/use.mask. HTH, Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] system update
On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote: I am currently running kde-3.3, and do not want to have both 3.3 and 3.4 on the box. How can I update kde or any other app and not have the old version still installed. Update kde as usual, then # emerge -av --depclean Make sure that portage doesn't offer to remove packages you want to keep installed! Also a good idea to run revdep-rebuild afterwards. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] error when emerge -e system etc-update source /etc/profile
On Sun, 2005-07-10 at 10:10 +1000, [EMAIL PROTECTED] wrote: Hi all, I am a gentoo noob. When I run the command emerge -e system etc-update source /etc/profile, the make reported the following error: make[1]: Entering directory `/var/tmp/portage/ncurses-5.4.20050319/work/narrowc/c++' cd ../obj_s; -I../c++ -I../include -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesf.cc cd ../obj_s; -I../c++ -I../include -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -march=i686 -O3 -pipe -fPIC -c /var/tmp/portage/ncurses-5.4.20050319/work/ncurses-5.4/c++/cursesm.cc /bin/sh: line 1: -I../c++: No such file or directory /bin/sh: line 1: -I../c++: No such file or directory make[1]: *** [../obj_s/cursesf.o] Error 127 The error is that 'gcc' is missing from the beginning of the compile line. Difficult to say why that's happened, but I guess it has to do with it being a Knoppix system. You might consider starting from a different stage tarball. Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Where is GNOME_MixerAapplet
On Sun, 2005-07-10 at 14:51 -0400, Allan Gottlieb wrote: I just installed a new stage1 gentoo with gnome-2.10. It keeps complaining that The panel encountered a problem while loading OAFIID:GNOME_MixerApplet. I have emerged gnome-light, gnome-audio, gnome-alsamixer, and gnome-applets, but cannot find the gnome mixer applet. Can anyone tell me where it is? GNOME_MixerApplet belongs to gnome-applets, actually. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Generic What installed this?
On Fri, 2005-07-08 at 15:48 -0700, Mark Knecht wrote: On 7/8/05, kashani [EMAIL PROTECTED] wrote: Mark Knecht wrote: Hi ho, What program do I run to determine what emerge operation installed something on the system, in this specific case /etc/init.d/serial? I guessed it would be equery but that didn't work. I spoke too quickly. qpkg -f returns nothing for /etc/init.d/serial: dragonfly ~ # ls -al /etc/init.d/serial -rwxr-xr-x 1 root root 1104 Mar 11 09:57 /etc/init.d/serial dragonfly ~ # qpkg -f /etc/init.d/serial dragonfly ~ # The CVS header on /etc/init.d/serial shows that it is from the rc-scripts module on gentoo cvs, and rc-scripts is distributed as part of baselayout indeed. However it is not installed by baselayout-1.11.12-r4, and in fact it does nothing as /etc/serial.conf does not exist, so is safe to delete - but make sure (a) you aren't using it (check /etc/serial.conf) and (b) you remove it from all runlevels. Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerging old kernel
On Sat, 2005-07-09 at 03:30 +0200, Holly Bostick wrote: Don't forget to add sys-kernel-2.4.28-r9 to /etc/portage/package.mask. Better would be to change profile to a 2.4 kernel profile. If you look in /usr/portage/profiles/... you will see that (probably) under your current profile there will be a 2.4 directory e.g. /usr/portage/profiles/default-linux/x86/2005.0/2.4/ which not only sets kernel to 2.4 but also makes other changes to stay compatible e.g. setting headers to 2.4 and setting dev-manager to devfsd instead of udev. So switch your /etc/make.profile symlink to a 2.4 profile and all will be happy. The wonders of Gentoo stackable profiles, indeed. Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] sudo echo cannot write to /etc/ files ?
On Wed, 2005-07-06 at 15:52 +0200, Holly Bostick wrote: Echo is in the sudo-ed group, and echo isn't the problem-- the problem is that permission is refused to write to the file itself (which is an error *from* echo, so it would seem that echo itself is OK as far as sudo goes). Which means that I have to su anyway, to echo to the file, which really isn't the point of the exercise. As I see it, this error can mean only one of two things: sudo does not give me a login shell (so my UID is 'really' still my UID and not root's, and I don't have permission to write to the file); or there is another, invisible cli utility responsible for actually writing to the file, which is not sudo-ed. If you're using e.g. sudo echo package /etc/portage/package.unmask then the redirection takes place in your shell, not in sudo. HTH. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] emerge question
You need to set -qt, not -kde. On Tue, 2005-07-05 at 17:27 -0600, [EMAIL PROTECTED] wrote: hi I want to emerge PHP to my box, a 2.6.11-gentoo-r11 but a want to emerge it without x11 support. When I type emerge -p -v php I got this message: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] x11-base/opengl-update-2.2.1 38 kB [ebuild N] media-libs/fontconfig-2.2.3 732 kB [ebuild N] x11-misc/ttmkfdir-3.0.9-r3 19 kB [ebuild N] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal -mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,094 kB [ebuild N] app-arch/rpm2targz-9.0-r2 2 kB [ebuild N] sys-apps/utempter-0.5.5.5-r1 20 kB [ebuild N] x11-terms/xterm-200-r3 -Xaw3d -toolbar +truetype -unicode 681 kB [ebuild N] media-libs/lcms-1.13-r1 +jpeg +python -tiff +zlib 572 kB [ebuild N] media-libs/libmng-1.0.8-r1 497 kB [ebuild N] media-libs/tiff-3.7.2 1,231 kB [ebuild N] net-print/cups-1.1.23-r1 +nls +pam -samba -slp +ssl 8,501 kB [ebuild N] x11-libs/qt-3.3.4-r3 +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql -nas -odbc +opengl -postgres -sqlite -xinerama +zlib 14,101 kB [ebuild N] app-crypt/mhash-0.9.2 833 kB [ebuild N] media-libs/pdflib-5.0.4_p1-r1 -java +perl +python -tcltk 2,759 kB [ebuild N] dev-libs/libxml2-2.6.19 +ipv6 +python +readline 3,100 kB [ebuild N] dev-libs/libgpg-error-1.0-r1 +nls 316 kB [ebuild N] dev-libs/libgcrypt-1.2.1 +nls 938 kB [ebuild N] dev-libs/libxslt-1.1.12 +crypt +python 1,736 kB [ebuild N] dev-libs/libmcrypt-2.5.7 511 kB [ebuild N] app-text/aspell-0.50.5-r4 +gpm 992 kB [ebuild N] app-text/sablotron-1.0 -doc +perl 472 kB [ebuild N] net-libs/libwww-5.4.0-r3 +mysql +ssl 1,110 kB [ebuild NS ] sys-libs/db-1.85-r2 279 kB [ebuild NS ] media-libs/freetype-1.3.1-r4 +nls -tetex 1,919 kB [ebuild N] media-libs/t1lib-5.0.2 +X -doc 1,657 kB [ebuild N] dev-php/php-4.3.11 +X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap -informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 3,918 kB Total size of downloads: 92,039 kB Ok I have read that if I type this USE=-X -gnome -kde -xorg emerge -p -v php i going to emerge PHP without x11 packets but didnt work, take a look: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N] x11-base/opengl-update-2.2.1 38 kB [ebuild N] media-libs/fontconfig-2.2.3 732 kB [ebuild N] x11-misc/ttmkfdir-3.0.9-r3 19 kB [ebuild N] x11-base/xorg-x11-6.8.2-r1 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -hardened -insecure-drivers +ipv6 -minimal -mmx +nls +opengl +pam -sdk -sse -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 45,094 kB [ebuild N] app-arch/rpm2targz-9.0-r2 2 kB [ebuild N] sys-apps/utempter-0.5.5.5-r1 20 kB [ebuild N] x11-terms/xterm-200-r3 -Xaw3d -toolbar +truetype -unicode 681 kB [ebuild N] media-libs/lcms-1.13-r1 +jpeg +python -tiff +zlib 572 kB [ebuild N] media-libs/libmng-1.0.8-r1 497 kB [ebuild N] media-libs/tiff-3.7.2 1,231 kB [ebuild N] net-print/cups-1.1.23-r1 +nls +pam -samba -slp +ssl 8,501 kB [ebuild N] x11-libs/qt-3.3.4-r3 +cups -debug -doc -examples -firebird +gif -immqt -immqt-bc +ipv6 +mysql -nas -odbc +opengl -postgres -sqlite -xinerama +zlib 14,101 kB [ebuild N] app-crypt/mhash-0.9.2 833 kB [ebuild N] media-libs/pdflib-5.0.4_p1-r1 -java +perl +python -tcltk 2,759 kB [ebuild N] dev-libs/libxml2-2.6.19 +ipv6 +python +readline 3,100 kB [ebuild N] dev-libs/libgpg-error-1.0-r1 +nls 316 kB [ebuild N] dev-libs/libgcrypt-1.2.1 +nls 938 kB [ebuild N] dev-libs/libxslt-1.1.12 +crypt +python 1,736 kB [ebuild N] dev-libs/libmcrypt-2.5.7 511 kB [ebuild N] app-text/aspell-0.50.5-r4 +gpm 992 kB [ebuild N] app-text/sablotron-1.0 -doc +perl 472 kB [ebuild N] net-libs/libwww-5.4.0-r3 +mysql +ssl 1,110 kB [ebuild NS ] sys-libs/db-1.85-r2 279 kB [ebuild NS ] media-libs/freetype-1.3.1-r4 +nls -tetex 1,919 kB [ebuild N] media-libs/t1lib-5.0.2 -X -doc 1,657 kB [ebuild N] dev-php/php-4.3.11 -X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap -informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +pdflib +png -postgres +qt +readline -snmp +spell +ssl -tiff +truetype +xml2 -yaz 3,918 kB Any
Re: [gentoo-user] Problem unmasking packages
On Sun, 2005-07-03 at 15:13 +0200, Philip Lawatsch wrote: Hi, I'd like to unmask (-*) certain versions of a package (gcc). I'd like to keep the defaults for everything but I'd like to unmask gcc-4.0.1_pre* I've already tried to unmask ~sys-devel/gcc-4.0.1_pre20050616 -* and also ~sys-devel/gcc-4.0.1 -* but it didnt work. The first only only unmasked this one package and the second one didnt unmask anything. I really do not want to unmask with = foo and = bar because I do not want to change any other defaults. I'd really appreciate any pointers as to how I might do this one. kind regards Philip Try =sys-devel/gcc-4.0.1* -* or =sys-devel/gcc-4.0.1_pre* -* Remember that ~ only matches -r* revisions of a package, not _pre, _alpha, _beta etc. This is covered (not all that clearly, admittedly) in ebuild(5). HTH, Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Different Slots for ebuilds
On Sun, 2005-07-03 at 15:19 +0200, Philip Lawatsch wrote: Hi, another problem I've just run into: I'd like to have gcc 3.4.x, 4.0.1_pre* and 4.1.* installed at the same time. However all gcc-4.* versions do not seem to use different slots (eg one 4.0.* and one 4.1.* slot). Is there any way I can force slots without creating my own ebuilds in the overlay? (which would force me to update them everytime a new version is available.) Well, you can hack this sort of thing in /etc/portage/bashrc: if [[ $CATEGORY/$PF == sys-devel/gcc-4.1.0_beta20050702 ]]; then declare -r SLOT=4.1.0 fi (because bashrcs are sourced before the ebuild, you have to make SLOT readonly to prevent the ebuild being able to set it) Note you would have to regenerate metadata after this (emerge regen, I think) - and be careful! Actually, looking at your question again, I think gcc 3.4.x, 4.0.1_pre* and 4.1.* have different SLOTs anyway (3.4, 4.0, 4.1 resp.) - so you should be able to have them installed together anyway? Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Compilation problem: gcc
On Fri, 2005-06-10 at 12:44 +0200, Jean Magnan de Bornier wrote: gcc: installation problem, cannot exec `as': No such file or directory run binutils-config -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] fix_libtool_files.sh question
On Thu, 2005-06-09 at 15:51 -0700, Grant wrote: I've run into a problem trying to emerge gnome-vfs on one of my systems. It complains about libstdc++.la but there is a bug report that indicates running fix_libtool_files.sh will fix it. How do I know which old-gcc-version to use? It should be obvious from the error message; the old gcc version should be part of the path in the messsage. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] ALSA broke WINE build?
On Sat, 2005-05-28 at 19:57 +0200, Ryan Viljoen wrote: In file included from /usr/include/alsa/asoundlib.h:48, from alsa.h:23, from audio.c:63: /usr/include/alsa/conf.h:189: error: parse error before struct audio.c: In function `wodPlayer': audio.c:1720: warning: no return statement in function returning non-void audio.c: At top level: audio.c:243: warning: 'getCmdString' defined but not used audio.c:263: warning: 'getMessage' defined but not used audio.c:311: warning: 'getFormat' defined but not used make[2]: *** [audio.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/wine-20050524/work/wine-20050524/dlls/winmm/winealsa' make[1]: *** [winmm/winealsa] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-20050524/work/wine-20050524/dlls' make: *** [dlls] Error 2 See here: http://bugs.gentoo.org/show_bug.cgi?id=94272 I've made a patch, which makes wine compile OK here. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Error when running ethereal through ssh tunneled X11
On Mon, 2005-05-23 at 11:07 -0400, fire-eyes wrote: When I ssh into one of my servers, using X11 tunneling, then su - to root, then try to run ethereal the following happens: # ethereal The program 'ethereal' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 128 error_code 3 request_code 38 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Sometimes ssh -Y instead of ssh -X will work better. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome problem
On Sat, 2005-05-21 at 17:33 -0700, Bill Six wrote: Hi, My computer was accidently shut down uncleanly while running Gnome. When it was restarted, the icons on the desktop won't show, when you right click on the desktop no options are presented, and the background image doesn't show. Any ideas as to why? Nautilus not running? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] keeping source
On Fri, 2005-05-20 at 17:38 -0700, cfk wrote: I would like to study the c and cpp source on the packages I am emerging. I *think* they are removed after compilation. I say I *think* as I was looking in /var/tmp/portage and /usr/portage and didnt find them. How do I go about keeping the source for later reference of the various packages that I emerge with gentoo. FEATURES=keepwork Set it in /etc/make.conf or on the command line. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Unable to build anything - libtools error?
On Wed, 2005-05-18 at 22:06 -0400, Chris Woods wrote: configure:2385: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer conftest.c 5 i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory Use gcc-config to set up the symlink to as. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Whoops: 'rm -rf /var'
On Sun, 2005-05-15 at 06:46 -0700, Grant wrote: Good catch. I get this last: IOError: [Errno 2] No such file or directory: '/var/cache/edb/dep//usr/portage/sys-devel/.update.25322.bison-1.875d' What do you think I should do? rm -r /var/cache/edb/dep should do it; portage will then regenerate the cache. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] next step X
On Sat, 2005-05-14 at 07:24 -0700, Mark Knecht wrote: dragonfly ~ # emerge -pv --oneshot --update --deep --newuse world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] gnome-extra/libgtkhtml-2.6.3 [2.6.0] -accessibility -debug 382 kB [ebuild N] www-client/mozilla-1.7.8 +crypt -debug +gnome +java -ldap -mozdevelop -moznomail -moznoxft -mozsvg -mozxmlterm -postgres +ssl -xinerama -xprint 30,193 kB Total size of downloads: 30,576 kB dragonfly ~ # The first problem is that Mozilla is not in this system and it's not in the world file. Why is emerge trying to bring it in? Something depends on mozilla. I think the standard way to find out what is to use --tree. The second problem is libgtkhtml. The results looked very strange until I discovered that there are two versions installed: dragonfly ~ # emerge -Cp libgtkhtml These are the packages that I would unmerge: gnome-extra/libgtkhtml selected: 2.6.0 3.2.5 protected: none omitted: none 'Selected' packages are slated for removal. 'Protected' and 'omitted' packages will not be removed. dragonfly ~ # Some commands want to update 2.6.0 to 2.6.3, while others want to reinstall 3.2.5, and still others don't want to do anything! SLOTs. Some packages depend on gtkhtml-2.6.*, while others depend on 3.*. This is because they have different APIs and libtool version majors; and as such they can be installed in parallel and are given different SLOTs accordingly to reflect this. If later it turns out that the packages that required a particular gtkhtml version no longer do so, depclean will offer to unmerge the unused versions. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] problems with updating gcc
On Fri, 2005-05-13 at 07:56 -0600, Kumar Golap wrote: /var/tmp/portage/gcc-3.3.5.20050130-r1/work/build using mt-frag gcc: installation problem, cannot exec `as': No such file or directory *** The command '/usr/bin/gcc -o conftest -O2 -march=pentium3 conftest.c' failed. *** You must set the environment variable CC to a working compiler. `as' is the problem (as is the GNU assembler, provided by binutils). You probably need to run binutils-config. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Postfix problem w/o network
On Thu, 2005-05-12 at 12:17 +0200, Matthias Bethke wrote: I also haven't figured out *how* the net dependency is provided. The postfix iniscript explicitely contains provide mta, but very few scripts use this provide keyword, especially not net.* On my previous SuSE system, if I went someplace networked with the machine running already, I used to say ifup-dhcp eth0, and I could mail and ssh into the laptop without any further ado. I suppose I could do the same with Gentoo's runlevels which I haven't explored yet, but it still doesn't solve the problem that I can't have postfix running and queueing messages I send while offline so they can be delivered once I plug in somewhere. See RC_NET_STRICT_CHECKING in /etc/conf.d/rc. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libtoolize hoseage
On Wed, 2005-05-11 at 18:07 -0400, Eric S. Johansson wrote: *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.16, ltmain.sh = 1.5) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. .. relay2 root # libtoolize --copy --force libtoolize: `configure.ac' does not exist Try `libtoolize --help' for more information. libtoolize needs to be run within the ebuild (at the end of src_unpack). Check bugs.gentoo.org. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] evolution 2.2.1.1: Mail and Contacts features showing, others not
On Tue, 2005-05-10 at 09:49 -0400, fire-eyes wrote: On Tue, 2005-05-10 at 09:15 -0400, fire-eyes wrote: On Tue, 2005-05-10 at 08:43 -0400, fire-eyes wrote: Eh, looks like I found the problem. On STDOUT when starting evolution: evolution-2.2:6552): evolution-shell-WARNING **: Cannot activate 'OAFIID:GNOME_Evolution_Calendar_Component:2.2': g_module_open of `/usr/lib/evolution/2.2/components/libevolution-calendar.so' failed with `libgnutls.so.11: cannot open shared object file: No such file or directory' There was a GLSA yesterday for gnutls. So I had remerged that. Continuing this, I did a revdep-rebuild -p. It wanted to remerge evolution-data-server, but when doing that I get a flood of errors ending in this: /usr/lib/libsoup-2.2.so: undefined reference to [EMAIL PROTECTED]' Have you tried remerging libsoup? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Emerge -C package doesn't clean up /etc/ config files
On Thu, 2005-04-28 at 16:25 +0800, Ow Mun Heng wrote: Is this a feature or a bug? It seems that emerge -C will not remove any altered files from /etc/ once it has been changed. This really leaves some cruft in my /etc/ Is this due to config-protect or is it something else?? No, portage will not remove any files that have been changed (actually, had their mtime altered) wherever on the filesystem they reside. This is a feature. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] What happened to nautilus Scripts??
On Thu, 2005-04-28 at 16:35 +0800, Ow Mun Heng wrote: Is There such a thing left?? it used to be that we can select a file, right click on it and then select which script we want to execute it with. The location is ~/.gnome2/nautilus-scripts, if you had them anywhere else. However, see http://bugs.gentoo.org/show_bug.cgi?id=87719 if you are using nautilus 2.10 - you will need to unmask and install shared-mime-info 0.16. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] linux-headers-2.6.* masked by: profile
On Tue, 2005-04-26 at 22:19 -0700, Robert Persson wrote: On April 26, 2005 03:20 am, quoth Edward Catmur: Switch profile to /usr/portage/profiles/default-linux/x86/2005.0 or similar. How do I do that? http://www.gentoo.org/doc/en/gentoo-upgrading.xml#instructions -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] linux-headers-2.6.* masked by: profile
On Mon, 2005-04-25 at 22:00 -0700, Robert Persson wrote: !!! All ebuilds that could satisfy =sys-kernel/linux-headers-2.6 have been masked. !!! One of the following masked packages is required to complete your request: - sys-kernel/linux-headers-2.6.8.1-r2 (masked by: profile) - sys-kernel/linux-headers-2.6.11 (masked by: profile, -* keyword) - sys-kernel/linux-headers-2.6.8.1-r4 (masked by: profile, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 Software Availability in the Gentoo Handbook. !!!(dependency required by sys-apps/hal-0.4.7-r2 [ebuild]) Switch profile to /usr/portage/profiles/default-linux/x86/2005.0 or similar. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] OT prefixing Line numbers in codes for printing
On Tue, 2005-04-26 at 11:22 +0900, Steve B wrote: On an even more off topic note.. anybody know how use some nifty CSS or similar to take a block of text (code) and automaticly add line numbers? I guess I could use PHP but was looking for a CSS type style. Nice idea, but I don't think the lines within a code block are addressable by CSS, as they don't appear in the document tree and don't have pseudo-element selectors (not even in CSS3, AFAICR). Seeing as the code needs processing anyway to escape XML-semantic characters, you may as well pass it through a syntax-colouring module; that will do escaping, line numbering and syntax colouring all in one go. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] rdesktop
On Sun, 2005-04-24 at 21:20 +0300, Adi wrote: We've recently installed an Oracle database on 9i on RedHat ES 3. I was curious if there's a way to connect via Remote Desktop from a Windows machine to the Linux Server. If that's impossible VNC will do. I know KDE has something like krfb, but wee need to log in without previously being logged in if it's possible. One option that works well for me is to use NoMachine NX for remote desktop; there's free (FreeNX) and pay-for servers, and a free-beer Windows client. Also, if it's a single application you want to be able to access from Windows machines, you could install the Cygwin X server and use ssh tunnelling to display the application on your Windows clients. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gnome 2.10???
On Mon, 2005-04-25 at 17:08 -0700, timothy johnson wrote: Any idea on when this will be available? On avg how long does it take things to make it to become an ebuild? It's (mostly) there; the only question is when it'll be unmasked. In my /etc/cron.daily/emerge.sync: sed -i -e '/Gnome-2.10 mask/,/^$/d' /etc/portage/package.unmask sed -n -e '/Gnome-2.10 mask/,/^$/p' /usr/portage/profiles/package.mask /etc/portage/package.unmask And don't hassle foser, whatever you do; he does a great job. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] download dynamic generated file using wget or curl
On Thu, 2005-04-21 at 17:45 +0800, Qiangning Hong wrote: I want to download some jpg's whose URL is as http://some.site/show.php?id=100. In firefox, the downloaded filename is correctly as somefile.jpg, but if I download it using wget or curl, the downloaded file name is show.php?id=100, which is not acceptable. Can anyone give me a hint to use command line tool to download such kind of files with correct filename? I think you're right, curl and wget don't support giving the file the correct file name. As a workaround, this line will give the server-suggested file name: curl -I $URL 2/dev/null | sed 's/Content-\(Type\|disposition\):.*\ \(file\)\?name=\(.*\).*$/\3/;ta;d;:a;q' You could then use: wget $URL -o $(curl -I $URL 2/dev/null | sed 's/Content-\(Type\| disposition\):.*\\(file\)\?name=\(.*\).*$/\3/;ta;d;:a;q') -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage: multiple versions of same package
Generally if two versions of an ebuild have the same SLOT, then they will conflict in some way (normally by installing files with the same name) and so having one installed will break the other. Which packages are you trying to install? On Wed, 2005-04-20 at 14:20 -0400, [EMAIL PROTECTED] wrote: Hi, I am trying to install two different versions of the same package. I think the SLOTS mechanism of portage can handle this, but I get the feeling that this feature is only exposed to developers, and not to a user. I tried following the advice given here: http://gentoo-wiki.com/TIP_Installing_Specific_Packages and this did not work. In the ebuild I was trying to install I changed the SLOTS value to a new number and then typed: ebuild foo.ebuild digest to remake the md5sums. This worked and the package was placed into a new slot, but I feel/hope there is an easier way to do this. Thanks for helping, -- Michael Andrews | [EMAIL PROTECTED] 0xE7D25F66 | keyserver.net -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] portage: multiple versions of same package
On Wed, 2005-04-20 at 16:16 -0400, [EMAIL PROTECTED] wrote: I am trying to build a package called sipXphone. It requires glib-2.4.2, but most of my current packages require glib-2.6.3 (the latest version). requires glib-2.4.2 sounds unlikely. Presumably you mean that it doesn't compile against glib-2.6.3? If the issue you are coming up against is http://track.sipfoundry.org/browse/XPL-107 then the bug is (a) obvious and (b) trivial to fix: replace #include glib/g*.h with glib.h. One would think that the versioning would be backwards compatible but this is not the case. I still don't know how to proceed except by building this old version, in a special area that doesn't conflict with the rest of the system (ie. /usr/local). Yup. glib's internal SLOT-like logic means that two 2.x versions will conflict, as its includes and libraries take the name glib-2.0. Installing to /foo with portage is in theory possible, but tricky: assuming the package uses autotools and the ebuild uses econf and emake, you need to mess around with EXTRA_ECONF and EXTRA_EINSTALL, or just hack the ebuild to pass appropriate prefix (see ebuild(5)). You would also have conflicts with the pkgconfig .pc files; first you would need to get it to drop the .pc files in a different place than /usr/lib/pkgconfig, then export PKG_CONFIG_PATH=/path/to/pc/files when compiling using the new package. What could be easier is setting up a chroot environment and building packages there; glib has AFAICR excellent binary compatibility. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CUPS printing
On Mon, 2005-04-18 at 11:33 +0200, Frank Schafer wrote: foomatic-configure -s cups -p Canon-imageRunner_330s -n Canon -c smb://steffi/Canon\ iR2270\/iR2870\ PCL6 -d hpijs Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.8.5/Foomatic/DB.pm line 3427. lpadmin: add-printer (set device) failed: client-error-not-possible Could not set up/change the queue Canon! Probably the problem is the '/' character in the printer name. You could try over-escaping it on the command line (\\/, /, \\/ etc.) but it'd likely be easier to remove the slash from the printer name. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] xbindkeys
On Mon, 2005-04-18 at 12:34 +0200, Jean Magnan de Bornier wrote: I don't know about launching it sitewide, but starting xbindkeys automatically per user is very easy. If you use eg xfce, just put a link to it in ~/Desktop/Autostart. For kde or gnome there are specific places to make a link. Gnome: add an entry to ~/.gnome2/session-manual. For a site-wide item, use /etc/X11/xinit/xinitrc.d/ or /etc/X11/Xsession.d/. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] CUPS printing
To configure CUPS for SAMBA, run the following command: ln -s `which smbspool` /usr/lib/cups/backend/smb ENTER I do not have samba installed. Will I need a further USE flag? Will I need to reemerge everything after the USE flag changes (See the empty ''Advanced'' tab in gnome-cups-manager)? You need to merge cups with USE=samba, and samba with USE=cups. The backend symlink will be set up by the ebuild. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] bash script question, strange grep
then I want to cut out the files which don't contain the string 'NOIADM'. So I did: for i in `cat /tmp/iadmos` ; do egrep -lv 'NOIADM' $i ; done which gave me all 28 file name. I wondered about it, so I tried: for i in `cat /tmp/iadmos` ; do egrep -l 'NOIADM' $i ; done which gave me 4 file i checked them they contain 'NOIADM' but why first egrep finds that they don't? -lv lists files which contain a non-matching line. You want -L. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] libwxgtk2.2
On Sun, 2005-04-17 at 23:15 +0200, Al Bayrouni wrote: I need to install wxgtk2.2 because I have one program that uses it. But the package found in portage is wxgtk2.4. The old ebuilds (earliest is 2.2.9) are still accessible via the gentoo viewcvs: http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-libs/wxGTK/ It's anyone's guess whether that'll compile (dependencies etc.) though; it could well be easier to update the program to the wxGTK 2.4 API. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] nvidia newbie
On 15:39 Fri 15 Apr , Neil Bothwick wrote: On Fri, 15 Apr 2005 09:27:17 -0400, Dave Nebinger wrote: Upgraded the kernel to r6. No joy, X won't start, can't find valid module. After upgrading a kernel you need to boot into console mode and reinstall the drivers. Actually, if the /usr/src/linux symlink is set to your new kernel then you can merge nvidia-kernel *before* you reboot and it will be built against your new kernel and installed into /lib/modules for the new kernel. More convenient, less downtime and less to go wrong. Ed -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dispatch-conf problem
Then checked the stato of /usr/lib/X11/xkb/xkbcomp and realised as it's a binary it contains some weird lines like: 1. line: /etc/config-archive/usr/lib/X11/xkb/xkbcomp Later line: == I thought it was dispatch-conf inserted this lines :-( Currently I'm emerge xorg-x11 (-B) again to create a new binary. Any idea how to avoid it? It's a bug? Yes, it's a bug in dispatch-conf. A patch to dispatch-conf was posted to this list recently (check the archives) but there is a workaround: at the dispatch-conf prompt, press 't' (toggle-merge) to switch from the _mrg1 to the _cfg1 file. Ed Catmur -- gentoo-user@gentoo.org mailing list