I’m setting up vpopmail 5.2.1 - a POP3 email manager for qmail, but it won’t compile out of the box.
gcc -I. -Icdb -g -O2 -Wall -c vconvert.c
In file included from vconvert.c:35: vmysql.h:53:22: missing terminating " character
vmysql.h:60:35: missing terminating " character
make[2]: *** [vconvert.o] Error 1
make[2]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/vpopmail-5.2.1'
make: *** [all-recursive-am] Error 2
Whenever make
gives you an error, look for the first error you can find. Any errors after that often fix themselves once you fix the first error. The relevant code is here, (vmysql.h, starting at line 42):
42: #ifdef CLEAR_PASS
43: #define TABLE_LAYOUT "pw_name char(32) not null, \
44: pw_domain char(64) not NULL, \
45: pw_passwd char(40), \
46: pw_uid int, pw_gid int, \
47: pw_gecos char(48), \
48: pw_dir char(160), \
49: pw_shell char(20), \
50: pw_clear_passwd char(16), \
51: primary key (pw_name, pw_domain ) "
52: #else
53: #define TABLE_LAYOUT "pw_name char(32) not null, \
54: pw_domain char(64) not null,
55: pw_passwd char(40), \
56: pw_uid int, pw_gid int, \
57: pw_gecos char(48), \
58: pw_dir char(160),
59: pw_shell char(20), \
60: primary key (pw_name, pw_domain ) "
61: #endif
Looking around line 53, I see that line 54 and line 58 are missing backslashes - adding ‘em back in fixes the error. The interesting thing to me is that version 5.2.1 has been out for over a year and, according to an email on the vpopmail list, this error still persists in more recent versions. How come this bug hasn’t bitten anyone else? I suppose it’s because the install docs recommend setting CLEAR_PASS (see line 42), which would cause the compiler to miss the bug. Or maybe I’m just lucky
Not all of OpenACS is Postgres 7.3 compliant yet. OpenACS 5 is compliant and the core packages in OpenACS 4.6 are compliant, but some non-core packages haven’t been fixed yet. Noncompliant packages will complain:
[24/Jun/2003:15:21:36][26623.196621][-conn:kurup::4] Error: Ns_PgExec: result status: 7 message: ERROR: Function pa_collection__new("unknown", "unknown", "unknown", timestamp with time zone, "unknown", "unknown", "unknown") does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
It is looking for a function with timestamp with time zone
as one of its parameters, but most OpenACS pl/pgsql functions were defined as accepting timestamp
. In PG 7.3, timestamp
means ‘timestamp without timezone’. timestamptz
means ‘timestamp with timezone’. So, the quick fix, is to change timestamp
to timestamptz
.
Read more at Bart’s posts in this thread.
psql doesn’t deal well with tabs. If you feed it a function that has tabs in it, and then call that function, you’ll often get this: ERROR: parser: parse error at or near "for" at character 15
. Thus, if you ever see this in your error log, it’s time to M-x untabify
.
I had dinner with a friend of mine whom I hadn’t seen in a few
months. Turned out that she had been mugged in the lobby of her
apartment in Hell’s Kitchen, so she’s spent the last few months moving
to a safer neighborhood and dealing with all the pain that goes along
with that. How sobering. Thanks to self-defense classes that she took
in college, she was able to ultimately fight off her attacker by
pushing him away just long enough for her to scream for help.
You can’t scream when he’s pressed up against you.
The bastard actually impersonated a police officer in order to get
access to her building. Her one piece of advice for me (or anyone) -
“Learn some self defense,” and blowing away any myths I might have
believed, “Men are targets as often as women because they tend to have
more money on hand.”
I’m slowly in the process of moving my site from PHP/MySQL to OpenACS. Things are broken in the meantime. Specifically, I need to import all my old photos, steal MarkD’s book module, and implement my family-tree module. If you find something that’s broken, feel free to let me know.
I’m currently using an open-source stylesheet from The NYPL, but I need to edit it at some point. But for now, at least, it looks better than anything I could drum up by myself.
My introduction to computers came when I was about 6 or 7 years old - I
can’t quite remember exactly when… Venu Mammen (my uncle) brought home a
terminal from work. It looked like a typewriter, but it had 2
suction-cup-thingys where you could attach a phone headset. (Phone headsets
were pretty much all the same shape back then). Venu Mammen issued some
magical command and then up on the screen came the most amazing
phrase. ADVENTURE v1.0. (Actually, I can’t remember for sure if it was a
LED screen or if it was a dot matrix printer output - Do you remember
Manu?.) Anyway, I stayed up late that night (read: 9PM) moving around an
endless maze without really ever getting anywhere. I always sucked at
adventure games… Despite this failure, I was hooked on computers.
Sinclair ZX-80
Around 1980, my father brought home a Sinclair ZX-80. This
computer had a whole 1K of RAM, and if you filled up the
RAM - no need to worry. Just hook it up to any handy portable cassette
recorder and you could save all the information you’d ever need (well,
about 20K or so). I think my brother wrote a ‘number guessing’ program… I
was so impressed. He saved the program on a cassette tape and I still
remember trying to listen to the tape on the cassette player, half
expecting it to speak, “Guess a number from 1 to 100.” No luck, though -
programming apparently was a bit more complicated.
Apple IIe
Some time later, we moved up to the big time (in my estimation). An
Apple IIe
with the Apple III monitor, 1 MHz processor, 64K of RAM (which we later upgraded to 256K!!!!), 2
floppy disk drives and AppleWorks software. This computer served me throughout high school. I began
to dabble with programming in BASIC and assembly. I think that Apple is still sitting in my parents
basement. I’ll have to see if I can load up One-on-One again…
My dad bought a Mac Plus for work when it came out and he let me play on it. I couldn’t believe what I was seeing. No command line interface. A little arrow that moved in response to my movements on a “mouse”. Folders that you could move around. I was in heaven! I perused all the manuals that came with it trying to learn as much as I could about this new beast. Around this time, my dad asked me to help him computerize the medical testing that his lab does. I fooled around with HyperCard for about a week and wrote my first Macintosh program.
Mac Classic II
The first couple years of college, I was computerless. My junior year, I
decided to splurge and I bought a Mac Classic II - 4 MB RAM, 80 MB HD, 16
MHz 68030 processor. That was 1992, back in the beginning days of the
internet. It’s pretty surprising, but this was actually marketed as a
business computer. I used that computer faithfully for 5 years. Even after
buying a new computer, I kept my old Classic II cuz I just couldn’t bear to
sell it (especially since I’d probably only get $20 for it). I finally
donated it to Goodwill in June of 1999.
PowerCenter
In February 1997, I decided I needed a new computer. Apple was in the middle of their worst year financially - losing over $1 billion. And unfortunately, their line of computers was a reflection of their financial incompetence. Despite this, I still liked the Mac OS platform, so I investigated the Mac Clones which were much more technically sound. I bought a Power Computing PowerCenter 150 MHz PowerPC 604 with 48 MB RAM, 2 gig HD. So far, this has been an ideal computer and I see it being usable for at least another couple years. (and perhaps even longer, now that I’ve installed Linux on it!)
PowerBook G3 Series
I spent most of 1999 travelling around the country (see my Work page), so I decided I needed a laptop…ok, ok… I wanted a laptop. So, I donated my PowerCenter to my roommate, Gerry, and bought a used PowerBook on eBay. It’s a Wallstreet 2 - 266 MHz PowerPC G3, 192 MB, 4 gig HD, and a DVD. I bought this in July 1999 and it was everything I could have imagined. I’ve extracted all my CD’s into MP3 format and I bought Virtual Game Station, so I could play Playstation games. This computer is now a complete entertainment system - and it only weighs 8 lbs! Now that I have 192 megabytes of RAM, it’s hard to believe that our original ZX80 had only 1 kilobyte of RAM! And even my Classic II had a only a 80 megabyte hard drive! That’s less than half the amount of RAM I have now… The way things are going, this computer should last at least a few weeks!
eMac
Wow, it’s been a while since I updated this page. Around the time I wrote that
last paragraph, I was beginning to get interested in Linux, so I bought
a cheap AMD-K6 processor and put together a little Linux playground. After trying out a few other distros, I finally installed to run
Debian GNU/Linux and it’s provided me a
wide-open window into the world of Free Software
(I’m associate member #1088). I’m not
coming back :-).
Powerbook 12
My Wallstreet finally died in the fall of 2002 and I mercilessly sold it
for the value of its parts. I bought an eMac because it appealed to my
sense of “bang for the buck”, but I missed the portability of my
laptop. So, I sold the eMac to Sung’s parents and bought the 12-inch Powerbook in the Spring of 2003. I miss the beautiful, expansive screen
of the eMac, but I really love this new toy. The most lovable part of the
Mac is the new operating system, OS X. It combines the stability and geekiness of UNIX with the beauty and
don’t-make-me-think usability of the Mac.
Apple pictures and movie obtained from Apple-History website. ZX-80 picture obtained from Albert’s Virtual Computer Museum
I’ve been meaning to put this pic up for a while. That’s me in back,
with my super-cool brother and his even-cooler Harley Davidson
VRod. It was about 40 degrees F and despite sitting in back and
despite having the warm helmet, I was still freezing. I can’t imagine
what Manu was feeling. Halfway through the ride, I asked him, but his
face was too frozen to talk. :-)
Got Mac OS X? Want a cool screensaver? I stole this from
MarkD over at
BorkWare and then
modified it to allow multiple drips and configurable block sizes.
My parents and I went to India for 2 weeks. We spent a couple days in
Delhi and then the rest of the time in Kerala. I thoroughly enjoyed
myself and actually found the vacation relaxing. Kerala is more
beautiful than I ever remember (somehow I seem to forget in between
trips). It’s lush and green and the food is amazing. I can’t wait to
go back. Here are some pics. Unfortunately, my
camera battery died while I was in Kottarakara and I was too dense to
bring a 220V converter, so there aren’t nearly enough pictures from
Kerala.
It’s snowing in NYC. Really hard.
Comments from old site
hard worker
you have work hard to make this page.best of luck.and lagey raho.
Unregistered Visitor 2007-07-30 06:07:58nice pictures
nice pictures you added.thanks.rajatrajaji
Unregistered Visitor 2007-07-30 06:09:18