[Top][All Lists]

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

Re: [help-cgicc] howto use fcgi-test.cpp?

From: U.Mutlu
Subject: Re: [help-cgicc] howto use fcgi-test.cpp?
Date: Sun, 12 Feb 2012 22:26:03 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0.1) Gecko/20111121 Firefox/8.0.1 SeaMonkey/2.5

Igor Franchuk wrote, On 02/12/12 17:08:
UM>  I found fcgi-test.cpp in the archive of cgicc.
UM>  Building fcgi-test.cpp brings linker errors, it is also
UM>  commented out in the Makefile of cgicc, I guess because of the link errors.

If you're still interested you could copy paste the errors.
Many years ago I had no problems linking fcgi-test.cpp

Thx for the offer. In the mean time I've found the right compile-link commands 
and libs:
Under Linux (here Debian) one should install the following packages:

# cd /usr/share/doc/libcgicc-doc/examples/contrib/
# ls -l
-rw-r--r-- 1 root root 1870 Nov 14  2009 FCgiIO.cpp
-rw-r--r-- 1 root root 1476 Nov 14  2009 FCgiIO.h.gz
-rw-r--r-- 1 root root  377 Nov 14  2009 README
-rw-r--r-- 1 root root 2546 Nov 14  2009 fcgi-test.cpp
-rw-r--r-- 1 root root 2879 Nov 14  2009 nph-hello.cpp
-rw-r--r-- 1 root root 2415 Nov 14  2009 nph-login.cpp.gz

  g++ -o fcgi-test.cgi  fcgi-test.cpp FCgiIO.cpp -lfcgi++ -lfcgi -lcgicc

Now it compiles and links fine.
But I have not tested it yet as I'm concentrating myself on SCGI.
Maybe the above info can be useful for others interested in FastCGI and cgicc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]