No delete? Ohno!
Mar. 21st, 2007 01:17 pmI have a new computer at work, and I'm slowly installing all the various things I want on it. (I've been given a KVM switch also, which is super-fantastic, because it means I can keep working on my old machine while I'm configuring the new one.)
One of the packages Ilike am dependent on is the athena 'delete' package, which gives you a reversible version of 'rm'.
It doesn't want to compile on the new machine; it complains that
Help me, Intarwebs! You're my only hope! What should I do?
EDIT: I had assumed there wouldn't be any RPMs for it (I think the last time I looked there weren't any), but at
trapezebear's suggestion, I looked and google found some! Everything is now happy. Thanks, Pete!
One of the packages I
It doesn't want to compile on the new machine; it complains that
extern char* malloc in one of the header files has a conflicting return type.Help me, Intarwebs! You're my only hope! What should I do?
- Try to fix/port the C code? (I'm guessing it's a 64-bit vs 32-bit kind of thing, likely to go rapidly out of my depth.)
- Surf the web for a good replacement? (No luck so far...)
- Write some perl/shell scripts with the same behavior?
- Something else entirely?
EDIT: I had assumed there wouldn't be any RPMs for it (I think the last time I looked there weren't any), but at
no subject
Date: 2007-03-21 07:41 pm (UTC)I've got nothing, I'm just feeling chatty and crazy this evening.
frist psot
Date: 2007-03-21 07:52 pm (UTC)I *think* I understand why you want this feature, and it sounds like a good idea. I'm going to assume you are already using a cvs for your code...I've also heard of people who do that with their documents and even images as well...I'd also say fixing the code and re-contributing it back to the tree is the right thing to do, but not all of us have time for that sort of thing.
- Just be perfect and never make mistakes? ( you don't strike me as the crossword-puzzle-ink type, but it might work)
- DONT USE RM. ever. I never rm unless the files Im getting rid of are files I know I never ever want to use ( currupt downloads and so on) or I have a (right now in my lap) verifiable back up ( the lecture ends here)
- Maybe use ren and ln -s to manage what 'directories' the files are in, and use a rotating rsync file backup ( I have the *nix shell script for this at home- I'll send it if you want). cron a daily rotation so that the absolute worst that could happen would be a losing single day's changes. (you didn't say how much disk space you have...)
Re: frist psot
Date: 2007-03-21 08:42 pm (UTC)I can probably replicate the delete package with scripts pretty easily. I just have to figure out whether that's actually the path of least effort...
no subject
Date: 2007-03-21 08:44 pm (UTC)Sorry, nothing useful. I just use rm. Or I don't.
no subject
Date: 2007-03-21 08:47 pm (UTC)Have you tried plugging in [name of OS] [name of package] [text of error, in double quotes to keep it together if need be] into Google, to see if there is hackerish discussion of this error and possible fixed?
Could it be related to [version of compiler you're running] [ditto linker] [ditto any ancillary libraries], and not the package itself?
Can you find a precompiled binary for [this package:on your OS] anywhere?
no subject
Date: 2007-03-21 09:09 pm (UTC)I hadn't thought to look for RPMs because it's so old (the freshmeat page you get it from was last updated in 2001), but I did find some RedHat rpms on MIT's website. That seems a promising direction. Thanks!
no subject
Date: 2007-03-21 09:47 pm (UTC)no subject
Date: 2007-03-21 10:56 pm (UTC)