|
From: | Leonick, Chris |
Subject: | Problem compiling the cgicc class library on FreeBSD |
Date: | Tue, 22 Jan 2002 16:40:27 -0500 |
Hi,
I want to use the cgicc class library to write CGI applications in C++. I'm developing on FreeBSD 3.4-RELEASE #5. I downloaded the tarfile, cgicc-3.2.tar.gz, from the cgicc web site. I followed the instructions to untar the files. I read the INSTALL document, and started by running the configure script. I ran into a problem when I ran make. The following error stopped me from compiling:
%make
Making all in cgicc
cd .. && CONFIG_FILES= CONFIG_HEADERS=cgicc/config.h /bin/sh ./config.status
config.status: creating cgicc/config.h
config.status: cgicc/config.h is unchanged
make all-am
source='CgiEnvironment.cpp' object='CgiEnvironment.lo' libtool=yes depfile='.deps/CgiEnvironment.Plo' tmpdepfile='.deps/CgiEnvironment.TPlo' depmode=gcc /bin/sh ../support/depcomp /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -Wall -W -pedantic -g -O2 -c -o CgiEnvironment.lo `test -f CgiEnvironment.cpp || echo './'`CgiEnvironment.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -Wall -W -pedantic -g -O2 -c CgiEnvironment.cpp -Wp,-MD,.deps/CgiEnvironment.TPlo -fPIC -DPIC
In file included from ../cgicc/CgiEnvironment.h:43,
from CgiEnvironment.cpp:36:
../cgicc/CgiUtils.h:38: fstream: No such file or directory
In file included from ../cgicc/HTTPCookie.h:35,
from ../cgicc/CgiEnvironment.h:44,
from CgiEnvironment.cpp:36:
../cgicc/MStreamable.h:36: iostream: No such file or directory
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
While I tried to troubleshoot this I found that the include directory is /usr/include, the files iostream.h and fstream.h are located in /usr/include/g++. Could you please help me to compile cgicc?
Thanks,
Chris
[Prev in Thread] | Current Thread | [Next in Thread] |