Re: [CentOS] Getting EXTERN.h, perl.h, etc
Christoph Maser wrote: > Am Donnerstag, den 03.12.2009, 18:43 +0100 schrieb Charles E Campbell > Jr: > >> Hello: >> >> I have a Fedora Core 11 system at home (Centos 5.2 at work). I'd like >> to build vim with huge and perl. This works under Centos, but fails at >> home: no EXTERN.h or perl.h (and, presumably, other things). So: is >> there a yum package I should be downloading, and if so, which one? >> (both the home computer and the work computer are 64-bit systems) >> >> Thank you, >> Chip Campbell >> >> > > The command: > yum provides "*/$filename" > > will tell you wich packages provide a certain file > Thanks -- I'll try it out tonight at home. However, I note that trying it on my Centos machine yields: $ yum provides '*/EXTERN.h' Loaded plugins: fastestmirror Error: Caching enabled but no local cache of //var/cache/yum/addons/filelists.xml.gz from addons So I'm trying yum makecache and then yum provides "*/EXTERN.h" Loaded plugins: fastestmirror (works!) Thank you, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Getting EXTERN.h, perl.h, etc
Hello: I have a Fedora Core 11 system at home (Centos 5.2 at work). I'd like to build vim with huge and perl. This works under Centos, but fails at home: no EXTERN.h or perl.h (and, presumably, other things). So: is there a yum package I should be downloading, and if so, which one? (both the home computer and the work computer are 64-bit systems) Thank you, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how to disable scim
Hello: I keep getting these An IOException occurred at scim_bridge_client_imcontext_set_cursor_location () messages -- and I'd like to turn them off. I won't mind having scim just plain turned off. However, in using Google, I find a hint such as "right click on the tray, ..." -- so where's the tray? A second part of that hint suggested using System:Administration:Language Support -- there's a "Language" (which allows me to select my default language) but nothing about scim. So, any hints about how to nuke scim? Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] - OT - VIM - recording
Ed Donahue wrote: > Is it possible in vim to do the following: > > Search for this block of data: > > # Catalog Service 2.0 for uat03 > > PathPrepend /inquiryservices > Cluster 172.21.1.1:999 > > > And change Cluster 172.21.1.1: to Cluster 172.21.1.2:7000 > > It needs to have uat03 (or 02, 01) on the line and this line > 'PathPrepend /inquiryservices' for the Cluster to be changed. > Yes. Embed following into a file, have cursor above any blocks you want changed, and source this: let uat= search('^\s*#\s*Catalog.*uat0[123]$','W') if uat if getline(uat+1) =~ '' let hasprepend = search('^\s*PathPrepend /inquiryservices','Wn') let lmend = search('^\s*','W') if lmend && hasprepend exe uat+1 "," lmend-1 "s/Cluster 172.21.1.1:/Cluster 172.21.1.2:7000/e" endif endif endif That's a one shot change. You could wrap this into a function or map and call it as often as wished. I suggest asking vim questions on the vim mailing list, BTW. See http://vim.sourceforge.net/community.php . You might get a better answer than mine there, too. Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] how to determine if my kernel has real-time clock function?
Hello: I'd like to install VmWare on my Centos 5.2; as a pre-requisite, it says that the kernel should have the real-time clock capability. How do I determine if the kernel has that capability? Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] problem with updates
Using Centos 5.2 and the "Software Updater/Package Updater/pup", I winnowed the problem updates down to six packages: 1: Updated file packages available 2: Updated gcc43 packages available 3: Updated gcc packages available 4: Updated pam packages available 5: Updated redhat-logos packages available 6: Updated redhat-menus packages available It'd really help if there was a button on pup to deselect all updates (and let me click just a few updates back on). The problem is typically... Updated file packages available Component: pirut Summary: TBe8ae967a sqlitesack.py:94:_read_db_obj:TypeError: unsubscriptable object As a result, /usr/share/gdm/themes/TreeFlower/background.png is missing, and so I get an error message about it and the "default" login screen. Of course, I don't know what else is missing (for example, those gcc packages...). Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Package Updater problems
unc(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object Local variables in innermost frame: item: name db_obj: None - 6: Updated redhat-menus packages available Component: pirut Summary: TBe8ae967a sqlitesack.py:94:_read_db_obj:TypeError: unsubscriptable object Traceback (most recent call last): File "/usr/sbin/pup", line 407, in _apply output = self.applyChanges(self.mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 813, in applyChanges self.checkDeps(mainwin) File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 550, in checkDeps (result, msgs) = self.buildTransaction() File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 647, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 704, in resolveDeps for po, dep in self._checkFileRequires(): File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 939, in _checkFileRequires if not self.tsInfo.getOldProvides(filename) and not self.tsInfo.getNewProvides(filename): File "/usr/lib/python2.4/site-packages/yum/transactioninfo.py", line 414, in getNewProvides for pkg, hits in self.pkgSack.getProvides(name, flag, version).iteritems(): File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 300, in getProvides return self._computeAggregateDictResult("getProvides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 470, in _computeAggregateDictResult sackResult = apply(method, args) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 861, in getProvides return self._search("provides", name, flags, version) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 837, in _search for pkg in self.searchFiles(name, strict=True): File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 43, in newFunc return func(*args, **kwargs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 586, in searchFiles self._sql_pkgKey2po(rep, cur, pkgs) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 470, in _sql_pkgKey2po pkg = self._packageByKey(repo, ob['pkgKey']) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 413, in _packageByKey po = self.pc(repo, cur.fetchone()) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 68, in __init__ self._read_db_obj(db_obj) File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 94, in _read_db_obj setattr(self, item, _share_data(db_obj[item])) TypeError: unsubscriptable object Local variables in innermost frame: item: name db_obj: None Regards, Charles E. Campbell, Jr. -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seamonkey and flash-plugin
MHR wrote: > On Fri, Jan 30, 2009 at 8:01 AM, Charles E Campbell Jr > wrote: > >> Charles E Campbell Jr wrote: >> >>> Hello! >>> >>> I like using Seamonkey; I have v1.1.13 on Centos. It works with >>> flash-plugin-10.0.12.36-release.i386.rpm. >>> >>> > : > >>> So -- has anyone gotten 1.1.15 Seamonkey working with the latest flash >>> plugin on Centos? I don't want to update Seamonkey on the Centos box if >>> its not working. >>> >>> >>> >> One thing -- that should've been v1.1.14 instead of ...15 above. >> >> > > I use the beta version of SM 2.0, which is (technically): Mozilla/5.0 > (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1b1pre) > Gecko/20080924175508 SeaMonkey/2.0a1 > > You can get it from mozilla.org - it works for me really well, but I > also run on an x86_64 machine in 64-bit mode (and I think the 2.0a1 > pre-release works better than 1.). There are a (very) few > things that don't quite work right, but most of them are Windows-only > features (like some of the online TV shows that don't use flash any > more). > Sounds like a good idea; I'll try it. Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Seamonkey and flash-plugin
Charles E Campbell Jr wrote: > Hello! > > I like using Seamonkey; I have v1.1.13 on Centos. It works with > flash-plugin-10.0.12.36-release.i386.rpm. > > On my home computer, I have Fedora Core 9; Seamonkey + flash-plugin used > to work with the same version combination above. > Unfortunately, I updated Seamonkey to v1.1.15, and every time I go to a > site (ex. http://www.wtopnews.com/ ) that's a flash user, Seamonkey > crashes. I'd use flashblock but attempts to download it ccomplain of a > missing install script. I've tried the latest flash plugin and it > crashes Seamonkey. I can use the latest flash plugin with firefox, however. > > Its been at least a month like that. > > So -- has anyone gotten 1.1.15 Seamonkey working with the latest flash > plugin on Centos? I don't want to update Seamonkey on the Centos box if > its not working. > > One thing -- that should've been v1.1.14 instead of ...15 above. Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Seamonkey and flash-plugin
Hello! I like using Seamonkey; I have v1.1.13 on Centos. It works with flash-plugin-10.0.12.36-release.i386.rpm. On my home computer, I have Fedora Core 9; Seamonkey + flash-plugin used to work with the same version combination above. Unfortunately, I updated Seamonkey to v1.1.15, and every time I go to a site (ex. http://www.wtopnews.com/ ) that's a flash user, Seamonkey crashes. I'd use flashblock but attempts to download it ccomplain of a missing install script. I've tried the latest flash plugin and it crashes Seamonkey. I can use the latest flash plugin with firefox, however. Its been at least a month like that. So -- has anyone gotten 1.1.15 Seamonkey working with the latest flash plugin on Centos? I don't want to update Seamonkey on the Centos box if its not working. Regards, Chip Campbell -- someday I'll have a good signature, I'm sure of it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Centos/Fedora core won't talk to an Epson Workforce 600 printer
MHR wrote: On Thu, Oct 23, 2008 at 7:15 AM, Charles Campbell <[EMAIL PROTECTED]> wrote: Thank you for looking. Whew! Finally found a method that worked -- had to buy a $40 USB cable, but with it I got the printer working under both WinXP and Linux. What kind of USB cable costs $40? Is this one of those milspec things? Its a ten-foot USB cable from Best Buy. Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to check for rootkit, troians etc in backed up files?
Mike McCarty wrote: M. Fioretti wrote: Hi, there is a remote (VPS) Centos 4.2 server which *may* have been compromised. Reinstalling everything from scratch isn't a problem, it may even be an occasion to improve a few things, the question is another. I use rkhunter and chkrootkit. I run them regularly. If you keep your machine clean, then your backups will be, too. If you get compromised, then your backups since compromise are suspect. Mike When I tried yum -y install chkrootkit.i386 I got... No package chkrootkit.i386 available. When I tried yum -y install rkhunter.noarch I got... No package rkhunter.noarch available. These were the two names mentioned on my yum list, so I updated my yum list (yum -y list > yum.list), and I find that neither is present anymore. Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Gnome-terminal's backslashes look like Ws with a horizontal line through -- how to get a backslash?
Hello! I've just started trying gnome-terminal (instead of xterm) because of its "tabbing" facility. However, I note that with it backslashes appear something like a W with a horizontal line through it. Any known way to get a backslash to appear as a backslash? To see what I mean, use gnome-terminal with echo '\' in bash, ksh, etc. Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Colors in vi for user root
Mário Gamito wrote: How can I have vi with syntax hilghting for root ? Regular users have it, but not root's. I've seen the hidden files of a regular user home, but found nothing. 1. use vim instead of vi (vi is /bin/vi , which is usually a "tiny" vim with few features) 2. put into /root/.vim : set nocp filetype plugin on syn on Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where are my VIM colors?
Jon Stanley wrote: On Dec 7, 2007 11:30 AM, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: - If you didn't install vim-enhanced, I suggest getting the vim source, preferably applying the patches, and compiling it yourself: Why? There would be nothing that we could do to support anything compiled form source. I attempt to discourage it as much as possible. * many (usually hundreds) of bugs from any earlier releases have been fixed if one is using an earlier release * applying patches fixes yet more bugs (currently there are 170 patches to vim 7.1) (admittedly, I didn't specify how to apply patches) * runtime files have been updated (generally to fix bugs) * there are options associated with the configure, such as whether to have ruby, perl, cscope, Sun workshop, etc support compiled in (see configure --help for the list) * if one wants support for vim, there's an active mailing list for it with many knowledgable folks, including vim's author (see http://vim.sf.net/ for details) Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Where are my VIM colors?
[EMAIL PROTECTED] wrote: Maybe, it's stupid question but I've just installed CentOS5 and when I'm going to edit some of my conf files I see no colors as it did in old CentOS4x... I'm using: [EMAIL PROTECTED]:~]$ echo $TERM xterm Check if your vi/vim has syntax highlighting enabled: vi --version | fgrep syntax If -syntax is on the line, you don't have syntax highlighting compiled in. - Did you install vim-enhanced, and does the command "vi" use it? - Try "vim" instead. - If you didn't install vim-enhanced, I suggest getting the vim source, preferably applying the patches, and compiling it yourself: 1. ftp [EMAIL PROTECTED] (use your [EMAIL PROTECTED] for the password) 2. cd pub/vim/unix 3. binary 4. get vim-7.1.tar.bz2 5. quit 6. (pick a suitable directory to have vim71 under), and bunzip2 vim-7.1.tar.bz2 7. tar -xf vim-7.1.tar 8. cd vim71 9. configure --with-features=huge 10. make 11. go to superuser mode 12. cd src 13. make install If +syntax is on the line, you do have syntax highlighting available. - Does your .vimrc turn on "non-compatability"? - Does your .vimrc have syntax highlighting enabled? As a minimal .vimrc, I suggest having the following in your <.vimrc>: set nocp if version >= 600 filetype plugin indent on endif Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] html/form newbie: trying to upload a little data to a server
Kenneth Porter wrote: --On Tuesday, November 20, 2007 5:09 PM -0500 Charles E Campbell Jr <[EMAIL PROTECTED]> wrote: Anyway, here's the form: That says the script is in the same directory as the form. Is your web server set up to allow scripts to be executed from the content directory? This will be restricted by both httpd.conf (and includes) and by SELinux, if enabled. Which distro? Which version of Apache? What language is the script in? Can you execute the script from the command line? (Many web script systems allow you to debug from the command line with some suitable setup, allowing you to test without an actual web server.) My client side is a centos o/s... but the server side is an SGI. I've found the following in a couple of httpd.conf files (I've found three on the system): httpd.conf -- SGI Outbox Apache HTTP server config file... [ port 80 ] In there: AllowOverride FileInfo AuthConfig Limit Options Indexes Includes FollowSymLinks MultiViews The scripts and html page are in that sort of a directory, ie. /usr/people/cec/public_html , so I think the httpd.conf is the pertinent one. How do I find out what version of Apache is installed? How do I find out if SELinux is enabled? The script -- well, I've tried Kornshell: #! /bin/ksh echo '$*<'$*'>' echo 'QUERY_STRING<'${QUERY_STRING}'>' and I've written a small C file, compiled it, etc. In both cases I set permissions to rwxrwxrwx (and directory paths) just to make sure for now that they are not permission bound. Both the script and executable work fine from the command line. Thank you for helping, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] html/form newbie: trying to upload a little data to a server
Hello! I've been trying for several hours to upload a few bits of data (not a file) from an html form to a server, and none of my variants have worked thus far. I've done some web searching, too. Anyway, here's the form: UserID: Date : Time : I've tried mmsrequest as a script and as an executable. Full path, etc. In and out of cgi-bin. Variants tried: method="GET" I end up with a copy of the script (well, I told the browser not to bother trying to display the executable), instead of having the script run. method="POST" I either end up with a "Not Found" or "Method Not Allowed". I've always insured that permissions were rwxrwxrwx, just to avoid any permissions problem, expecting to tighten that up after I got the basic thing working. I don't particularly care if the script or executable gets the information from the command line separated by ampersands and whatnot, environment variable (QUERY_STRING, or so I understand), or from standard input. However, I do care that the script/program gets run and does get the information somehow, on the server side. Any suggestions? Thank you, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] umount'ing a /media/disk... as a user
Lukasz wrote: Charles E Campbell Jr pisze: Currently, whenever I attempt to umount /media/disk (or -1, etc), I either have to be user or have to have given the account sudo privileges. Since these "disks" are usually just flash-memory sticks, I'd really rather have the permission to umount them be given to users. The /etc/mtab shows the /media filesystems, /etc/fstab does not. You may add those devices to fstab, much like partitions: /dev/sda1 /mnt/pendrive vfat noauto,users,rw,umask= 0 0 /dev/sda2 /mnt/pendrive2 vfat noauto,users,rw,umask= 0 0 the key is that "users" param, to allow normal users mount and umount filesystem; I very often use static mount points and edit fstab instead of using HAL for this, but HAL itself respects fstab configuration too all parameters are listed in mount docs, but since those are removable media, security isn't very important Thank you! I'll try this approach out... Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] umount'ing a /media/disk... as a user
Hello! Currently, whenever I attempt to umount /media/disk (or -1, etc), I either have to be user or have to have given the account sudo privileges. Since these "disks" are usually just flash-memory sticks, I'd really rather have the permission to umount them be given to users. The /etc/mtab shows the /media filesystems, /etc/fstab does not. Thank you, Charles Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Vim differences between C4 and C5
Rick Barnes wrote: I have installed CentOS 4.5 and 5 on 2 separate machines, and both have default installs of vim-enhanced on each of them. I noticed that I can get syntax highlighting as a regular user, sudo and as root in C4.5. In C5 I only get highlighting as a regular user. * Check that your /etc/vimrc is actually being loaded: vim -V should produce verbose details on what is being sourced by vim. * Another check: do vim --version and make sure that +syntax shows up. I usually use /root/.vimrc to do root-specific vim stuff, myself. Regards, Chip Campbell ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos