help-cgicc
[Top][All Lists]
Advanced

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

RE: Problem compiling the cgicc class library on FreeBSD


From: Stephen F. Booth
Subject: RE: Problem compiling the cgicc class library on FreeBSD
Date: Tue, 22 Jan 2002 20:03:22 -0500

Hi Chris,

 

Are you using gcc or a different compiler?  If you are using gcc, which version do you have?  This sounds to me like it might be a compiler configuration issue.

 

-Stephen

 

-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Leonick, Chris
Sent: Tuesday, January 22, 2002 4:40 PM
To: 'address@hidden'
Subject: Problem compiling the cgicc class library on FreeBSD

 

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


reply via email to

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