Adding fastcgi to C++ cgi on AIX...

Waldemar Biernacki <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
> Now what do I do next?  I see some samples in this mailing list 
> where  someone included the "fcgi_stdio.h" header file 
> and called "FCGI_Accept()".  

> Where do I get the header file and the library associated with it?

With the help of jancha from the list I did as follows (in linux):

1. two compiled library files: 
libfcgi.so.0.0.0 as libfcgi.so.0
libfcgi.so++.0.0.0 as libfcgi++.so.0
which were installed by fastcgi software in /usr/local/lib directory I had 
copied (linked) to the main /lib directory in my system.

2. I add during compilation the option -lfcgi, for instance:
c++ -o program -lfcgi my_cpp_source.cpp.

Now, I don't remember whether reboot was needed...

It didn't copy header files anywhere. The same good compilation results were 
in "kdevelop" when only option -lfcgi was added to compilation.

I hope it helps you. I'm fresh in c++.

Waldemar


___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.