[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] C libraries for CGI



on 1/27/00 10:57 AM, WebMost at dbugger@xxxxxxxxxxx wrote:

> Ahoy
> 
> Appreciate your advice, but I have a project for a client which will require
> compiled CGI, because something compiled does not reveal its source.
> 
> As for headaches, I am something of a Perl guru (and I love the stuff),
> somewhat adept at VB (and I hate the stuff), can piddle thru PHP (and hope
> it soon pushes those stinking ASPs off the map), etc., and I just enjoy to
> be multilingual. I have found that C compiles quickly enough on my little
> Debian boxes so that it's not much hassle (tho the error messages are about
> as obtuse as they can get -- e.g. "pointer from an integer without a cast")
> and you've got to admit it runs quick as a wink.
> 
> You write: "All you have to do is snag the library and documentation from
> someone, slap an include statement in there and you're off and running.
> There isn't really an 'installation'."
> 
> Well, I tried just that, with CGI-LIB and a makefile. But, when I tried to
> include it, I got a bunch of compilation errors, warning me about duplicate
> declarations, unterminated constants, etc., which seem to point at
> deficiencies in the libraries themselves. At that point, it seemed like a
> good idea to ask what someone has had success with, so as to start off on
> the right foot.
> 
> So, do you know a specific library I can slap right in there and be off and
> running?

Sorry bout those assumptions.

True that compiled they do run quickly.

Honestly, I haven't needed to write a C cgi app in such a long time that I
have forgetten which libraries I used to use or the specifics of getting it
working.  I think it was called cgilib.  If I remember, it was way easy to
get it going, no problems.  I just can't remember the exact name (they all
have cgi and lib in the name, so I'm not really suprised that I can
remember).

Are you aware that PHPs will soon be compilable?  If it is a long-term
project you may want to hold-off for PHP4.  I think you may actually be able
to compile them now, but am not sure on that one.  Might be worth looking
into.

Good luck,
-k