Dad, you see, lives in Califorina.
I wonder if he's trying to tell me something …
It looks like this year he's trying out for the PGA Senior Tour. He said there are two qualifications to try out: You're over 50 (which he is) and you have a handycap of less than 3.5 (or something like that, which he does—he's a very good golfer). So if things work out, I'll get to see Dad on the TV, playing golf (which has to be the most boring thing in the world. But that's okay, because Dad considers this computer stuff the most boring thing in the world).
FreeBSD. No big deal, it's UNIX, right?
So I move over the two parts of the program, a library I wrote, and the main program. The library compiles fine. No problem. I then go to compile the program.
$ make gcc -I ../lib/src -DUNIX -DFREEBSD -g -c -o obj/calclog.o src/calclog.c gcc: src/calclog.c: No such file or directory gcc: No input files specified *** Error code 1 Stop. $
Odd, I think. What's going on?
$ ls -l src/calclog.c -rw-r--r-- 1 admin admin 3620 Jun 5 15:39 src/calclog.c $
It's there. Let me try it by hand …
$ gcc -I ../lib/src -DUNIX -DFREEBSD -g -c -o obj/calclog.o src/calclog.c $ ls -l obj/calclog.o -rw-r--r-- 1 admin admin 3364 Jun 5 21:37 calclog.o $
Okay, now I'm stumped.
roommate Rob answered the door. An older gentleman there asks if we've been having any plumbing problems. Upon hearing this, I head towards the front door.
“Yes,” I said. “This past Saturday.”
“Okay, there's a problem with the sewer system here and we can't repair it until tomarrow, so until then if you can keep the water usage to a miminum that would help,” he says.
“Okay, will do,” I said.
Ah, so that explains the odd behavior I saw on Saturday.
problem with FreeBSD. It seems that make acts very oddly when a subdirectory called obj exists and it changes into that directory before doing any compilations. And since my makefile uses relative directories of course they're going to fail since the directories are relative to the parent directory, not to the one named obj.
Funny, I never encountered this problem before using make.
Then again, I never used a directory named obj before either, but I didn't think that would matter.
While the man page for make(1) under FreeBSD makes mention of obj it doesn't exactly describe this behavior. Sigh.
- Oh good, [GeoFind]'s working.
- Why are you using [GeoFind]?
- Why not? I always use it for my searches as it usually finds what I'm looking for. Why? Dont' you use it?
- No, I use Google.
- [Both start laughing at the situation]
I suppose it's a bad sign when even I don't use something I wrote anymore, but that's because there's no real insentive for me to work on GeoFind. I don't own the code (so I can't release it) and the company that currently owns it isn't doing anything with it right now and the search engines have changed how they work (for the most part) so it pretty much fell into disuse.
Besides, when I first started writing the program there weren't that many metasearch engines around (this was in 1996) but now … there are dozens if not hundreds.
They're not hard to write.
“Come to think of it, this whole PA thing is going to get in the way of my upcoming Mexico pharmaceutical foraging adventure. Why, I've been stretching my anal cavity for weeks! What a waste.”
So, I guess that's what it's like being John Malkovich's Production Assistant.