help-cgicc
[Top][All Lists]
Advanced

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

RE: [help-cgicc] problems configuring with fastcgi


From: Jiann-Ming Su
Subject: RE: [help-cgicc] problems configuring with fastcgi
Date: Tue, 6 Apr 2004 13:54:18 -0400 (EDT)

On Mon, 5 Apr 2004, Stephen F. Booth wrote:

> You might need to set the LDFLAGS environment variable; I'm not sure
> which paths are being searched.  It appears that the library can't find
> either the header files or the FastCGI library itself.
> 
> % LDFLAGS=-L/opt/lib ./configure --prefix=/opt --enable-fcgi-demos
> 

Both of your answers are correct:

  LDFLAGS=-L/opt/lib CCFLAGS="-I/opt/include" CXXFLAGS="-I/opt/include" \
   ./configure --prefix=/opt --enable-fcgi-demos

However, now I get the following compile error:

  Making all in contrib
  make[1]: Entering directory `/opt/src/cgicc-3.2.2/contrib'
  if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I..    -Wall -W -pedantic 
-I/opt/include -MT FCgiIO.o -MD -MP -MF ".deps/FCgiIO.Tpo" \
    -c -o FCgiIO.o `test -f 'FCgiIO.cpp' || echo './'`FCgiIO.cpp; \
  then mv -f ".deps/FCgiIO.Tpo" ".deps/FCgiIO.Po"; \
  else rm -f ".deps/FCgiIO.Tpo"; exit 1; \
  fi
  FCgiIO.cpp:32: error: parse error before `::' token
  FCgiIO.cpp:40: error: syntax error before `.' token
  FCgiIO.cpp:43: error: syntax error before `!=' token
  FCgiIO.cpp:45: error: `s' was not declared in this scope
  FCgiIO.cpp:46: error: parse error before `if'
  FCgiIO.cpp:48: error: `s' was not declared in this scope
  FCgiIO.cpp:48: error: ISO C++ forbids declaration of `fEnv' with no type
  FCgiIO.cpp:48: error: `s' was not declared in this scope
  FCgiIO.cpp:48: error: assignment (not initialization) in declaration
  FCgiIO.cpp:49: error: parse error before `}' token
  FCgiIO.cpp:52: error: parse error before `::' token
  FCgiIO.cpp:60: error: syntax error before `.' token
  distcc[4535] ERROR: compile on localhost failed
  make[1]: *** [FCgiIO.o] Error 1
  make[1]: Leaving directory `/opt/src/cgicc-3.2.2/contrib'
  make: *** [all-recursive] Error 1

I have some C++ coding experience, but I have no idea what could possibly
be wrong with FCgiIO.cpp for those errors to occur.  I'm using g++ 3.3.3. 



-- 
Jiann-Ming Su  address@hidden  404-712-2603
Development Team Systems Administrator
General Libraries Systems Division







reply via email to

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