Results 1 to 7 of 7
I'm trying to install the GNU cgicc library onto a PC running Ubuntu 9.04 desktop edition. When building the library I get a strange error that I don't know how ...
- 08-28-2009 #1Just Joined!
- Join Date
- Feb 2009
- Location
- location, location
- Posts
- 18
problem when compiling cgicc
I'm trying to install the GNU cgicc library onto a PC running Ubuntu 9.04 desktop edition. When building the library I get a strange error that I don't know how to solve.
I've emailed the cgicc support mailing list, but haven't had a reply yet. I was wondering if anyone on here could shed some light on it for me.
I'm trying to use cgicc version 3.2.7 (the latest is 3.2.8, but I have 3.2.7 running on another PC which I didn't install).
Having downloaded cgicc-3.2.7.tar.gz I unpacked it and ran "./configure". Here it what it outputs:
I can't see anything obviously wrong there. So I then ran "make", which generates this output:Code:checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for doxygen... /bin/echo checking for gethostbyaddr in -lnsl... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking whether the C++ compiler (g++) is aCC... no checking whether the compiler implements namespaces... yes checking whether the compiler supports Standard Template Library... yes checking maximum C++ compiler warning level... -Wall -W -pedantic checking for gettimeofday... yes checking for uname... yes checking whether to build the cgicc demos... yes checking whether to build the cgicc fcgi demos... no configure: creating ./config.status config.status: creating demo/Makefile config.status: creating contrib/Makefile config.status: creating Makefile config.status: creating cgicc/Makefile config.status: creating cgicc/CgiDefs.h config.status: creating support/Makefile config.status: creating support/cgicc-config config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: creating cgicc/config.h config.status: executing depfiles commands
Does anyone have any idea what might be wrong? Do I need to copy libtool from /usr/bin to this directory? It seems strange that I would need to do that. When I did, the Makefile proceeded a bit further but then generated a different error about a file not being present within the unpacked cgicc directory, which led me to think that I should solve the libtool error first.Code:Making all in cgicc make[1]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' cd .. && /bin/bash /home/steve/cgicc-3.2.7/support/missing --run autoheader configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from... aclocal.m4:621: AC_LIBTOOL_COMPILER_OPTION is expanded from... aclocal.m4:4797: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from... aclocal.m4:2645: _LT_AC_LANG_C_CONFIG is expanded from... aclocal.m4:2644: AC_LIBTOOL_LANG_C_CONFIG is expanded from... aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from... aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from... aclocal.m4:31: AC_PROG_LIBTOOL is expanded from... configure.ac:19: the top level configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:666: AC_LIBTOOL_LINKER_OPTION is expanded from... configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:2722: _LT_AC_LANG_CXX_CONFIG is expanded from... aclocal.m4:2721: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from... aclocal.m4:1781: _LT_AC_TAGCONFIG is expanded from... configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3885: _LT_AC_LANG_F77_CONFIG is expanded from... aclocal.m4:3884: AC_LIBTOOL_LANG_F77_CONFIG is expanded from... configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached aclocal.m4:3987: _LT_AC_LANG_GCJ_CONFIG is expanded from... aclocal.m4:3986: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from... configure.ac:19: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached rm -f stamp-h1 touch config.h.in cd .. && /bin/bash ./config.status cgicc/config.h config.status: creating cgicc/config.h config.status: cgicc/config.h is unchanged make all-am make[2]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiEnvironment.lo -MD -MP -MF ".deps/libcgicc_la-CgiEnvironment.Tpo" -c -o libcgicc_la-CgiEnvironment.lo `test -f 'CgiEnvironment.cpp' || echo './'`CgiEnvironment.cpp; \ then mv -f ".deps/libcgicc_la-CgiEnvironment.Tpo" ".deps/libcgicc_la-CgiEnvironment.Plo"; else rm -f ".deps/libcgicc_la-CgiEnvironment.Tpo"; exit 1; fi /bin/bash: ../libtool: No such file or directory make[2]: *** [libcgicc_la-CgiEnvironment.lo] Error 1 make[2]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make: *** [all-recursive] Error 1
Any help or advice is gratefully appreciated.
- 08-28-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
It seems pretty clear to me. You are missing libtool, or it is in the wrong place, that make needs. Since copying it from /usr/bin to the needed directory got you a bit further, then you need to look at the subsequent errors, which you have not posted here.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 08-29-2009 #3Just Joined!
- Join Date
- Feb 2009
- Location
- location, location
- Posts
- 18
Thanks for your reply Rubberman. I've already run "apt-get install libtool" to get and install libtool. I've checked that having done that, there is a "libtool" file in /usr/bin (also in /usr/share).
It's strange that between them, cgicc's configure script and Makefile are able to detect what compiler(s) I have installed and how they work, but aren't able to copy a widely-available dependency library that's been installed into a default location. Not even when configure and Makefile are run as superuser (I've tried that too). It just doesn't smell right.
No matter. Having copied the libtool file over, here's what make gives me:
Now, it seems that cgicc is missing a file called"doc/html/index.html". So I navigated to that directory, typedCode:Making all in cgicc make[1]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' cd .. && /bin/bash /home/steve/cgicc-3.2.7/support/missing --run autoheader /home/steve/cgicc-3.2.7/support/missing: line 52: autoheader: command not found WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.ac'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. rm -f stamp-h1 touch config.h.in cd .. && /bin/bash ./config.status cgicc/config.h config.status: creating cgicc/config.h config.status: cgicc/config.h is unchanged make all-am make[2]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiEnvironment.lo -MD -MP -MF ".deps/libcgicc_la-CgiEnvironment.Tpo" -c -o libcgicc_la-CgiEnvironment.lo `test -f 'CgiEnvironment.cpp' || echo './'`CgiEnvironment.cpp; \ then mv -f ".deps/libcgicc_la-CgiEnvironment.Tpo" ".deps/libcgicc_la-CgiEnvironment.Plo"; else rm -f ".deps/libcgicc_la-CgiEnvironment.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiEnvironment.lo -MD -MP -MF .deps/libcgicc_la-CgiEnvironment.Tpo -c CgiEnvironment.cpp -fPIC -DPIC -o .libs/libcgicc_la-CgiEnvironment.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiEnvironment.lo -MD -MP -MF .deps/libcgicc_la-CgiEnvironment.Tpo -c CgiEnvironment.cpp -o libcgicc_la-CgiEnvironment.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiInput.lo -MD -MP -MF ".deps/libcgicc_la-CgiInput.Tpo" -c -o libcgicc_la-CgiInput.lo `test -f 'CgiInput.cpp' || echo './'`CgiInput.cpp; \ then mv -f ".deps/libcgicc_la-CgiInput.Tpo" ".deps/libcgicc_la-CgiInput.Plo"; else rm -f ".deps/libcgicc_la-CgiInput.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiInput.lo -MD -MP -MF .deps/libcgicc_la-CgiInput.Tpo -c CgiInput.cpp -fPIC -DPIC -o .libs/libcgicc_la-CgiInput.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiInput.lo -MD -MP -MF .deps/libcgicc_la-CgiInput.Tpo -c CgiInput.cpp -o libcgicc_la-CgiInput.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiUtils.lo -MD -MP -MF ".deps/libcgicc_la-CgiUtils.Tpo" -c -o libcgicc_la-CgiUtils.lo `test -f 'CgiUtils.cpp' || echo './'`CgiUtils.cpp; \ then mv -f ".deps/libcgicc_la-CgiUtils.Tpo" ".deps/libcgicc_la-CgiUtils.Plo"; else rm -f ".deps/libcgicc_la-CgiUtils.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiUtils.lo -MD -MP -MF .deps/libcgicc_la-CgiUtils.Tpo -c CgiUtils.cpp -fPIC -DPIC -o .libs/libcgicc_la-CgiUtils.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-CgiUtils.lo -MD -MP -MF .deps/libcgicc_la-CgiUtils.Tpo -c CgiUtils.cpp -o libcgicc_la-CgiUtils.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-Cgicc.lo -MD -MP -MF ".deps/libcgicc_la-Cgicc.Tpo" -c -o libcgicc_la-Cgicc.lo `test -f 'Cgicc.cpp' || echo './'`Cgicc.cpp; \ then mv -f ".deps/libcgicc_la-Cgicc.Tpo" ".deps/libcgicc_la-Cgicc.Plo"; else rm -f ".deps/libcgicc_la-Cgicc.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-Cgicc.lo -MD -MP -MF .deps/libcgicc_la-Cgicc.Tpo -c Cgicc.cpp -fPIC -DPIC -o .libs/libcgicc_la-Cgicc.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-Cgicc.lo -MD -MP -MF .deps/libcgicc_la-Cgicc.Tpo -c Cgicc.cpp -o libcgicc_la-Cgicc.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormEntry.lo -MD -MP -MF ".deps/libcgicc_la-FormEntry.Tpo" -c -o libcgicc_la-FormEntry.lo `test -f 'FormEntry.cpp' || echo './'`FormEntry.cpp; \ then mv -f ".deps/libcgicc_la-FormEntry.Tpo" ".deps/libcgicc_la-FormEntry.Plo"; else rm -f ".deps/libcgicc_la-FormEntry.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormEntry.lo -MD -MP -MF .deps/libcgicc_la-FormEntry.Tpo -c FormEntry.cpp -fPIC -DPIC -o .libs/libcgicc_la-FormEntry.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormEntry.lo -MD -MP -MF .deps/libcgicc_la-FormEntry.Tpo -c FormEntry.cpp -o libcgicc_la-FormEntry.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormFile.lo -MD -MP -MF ".deps/libcgicc_la-FormFile.Tpo" -c -o libcgicc_la-FormFile.lo `test -f 'FormFile.cpp' || echo './'`FormFile.cpp; \ then mv -f ".deps/libcgicc_la-FormFile.Tpo" ".deps/libcgicc_la-FormFile.Plo"; else rm -f ".deps/libcgicc_la-FormFile.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormFile.lo -MD -MP -MF .deps/libcgicc_la-FormFile.Tpo -c FormFile.cpp -fPIC -DPIC -o .libs/libcgicc_la-FormFile.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-FormFile.lo -MD -MP -MF .deps/libcgicc_la-FormFile.Tpo -c FormFile.cpp -o libcgicc_la-FormFile.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttribute.lo -MD -MP -MF ".deps/libcgicc_la-HTMLAttribute.Tpo" -c -o libcgicc_la-HTMLAttribute.lo `test -f 'HTMLAttribute.cpp' || echo './'`HTMLAttribute.cpp; \ then mv -f ".deps/libcgicc_la-HTMLAttribute.Tpo" ".deps/libcgicc_la-HTMLAttribute.Plo"; else rm -f ".deps/libcgicc_la-HTMLAttribute.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttribute.lo -MD -MP -MF .deps/libcgicc_la-HTMLAttribute.Tpo -c HTMLAttribute.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTMLAttribute.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttribute.lo -MD -MP -MF .deps/libcgicc_la-HTMLAttribute.Tpo -c HTMLAttribute.cpp -o libcgicc_la-HTMLAttribute.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttributeList.lo -MD -MP -MF ".deps/libcgicc_la-HTMLAttributeList.Tpo" -c -o libcgicc_la-HTMLAttributeList.lo `test -f 'HTMLAttributeList.cpp' || echo './'`HTMLAttributeList.cpp; \ then mv -f ".deps/libcgicc_la-HTMLAttributeList.Tpo" ".deps/libcgicc_la-HTMLAttributeList.Plo"; else rm -f ".deps/libcgicc_la-HTMLAttributeList.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttributeList.lo -MD -MP -MF .deps/libcgicc_la-HTMLAttributeList.Tpo -c HTMLAttributeList.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTMLAttributeList.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLAttributeList.lo -MD -MP -MF .deps/libcgicc_la-HTMLAttributeList.Tpo -c HTMLAttributeList.cpp -o libcgicc_la-HTMLAttributeList.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLDoctype.lo -MD -MP -MF ".deps/libcgicc_la-HTMLDoctype.Tpo" -c -o libcgicc_la-HTMLDoctype.lo `test -f 'HTMLDoctype.cpp' || echo './'`HTMLDoctype.cpp; \ then mv -f ".deps/libcgicc_la-HTMLDoctype.Tpo" ".deps/libcgicc_la-HTMLDoctype.Plo"; else rm -f ".deps/libcgicc_la-HTMLDoctype.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLDoctype.lo -MD -MP -MF .deps/libcgicc_la-HTMLDoctype.Tpo -c HTMLDoctype.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTMLDoctype.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLDoctype.lo -MD -MP -MF .deps/libcgicc_la-HTMLDoctype.Tpo -c HTMLDoctype.cpp -o libcgicc_la-HTMLDoctype.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElement.lo -MD -MP -MF ".deps/libcgicc_la-HTMLElement.Tpo" -c -o libcgicc_la-HTMLElement.lo `test -f 'HTMLElement.cpp' || echo './'`HTMLElement.cpp; \ then mv -f ".deps/libcgicc_la-HTMLElement.Tpo" ".deps/libcgicc_la-HTMLElement.Plo"; else rm -f ".deps/libcgicc_la-HTMLElement.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElement.lo -MD -MP -MF .deps/libcgicc_la-HTMLElement.Tpo -c HTMLElement.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTMLElement.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElement.lo -MD -MP -MF .deps/libcgicc_la-HTMLElement.Tpo -c HTMLElement.cpp -o libcgicc_la-HTMLElement.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElementList.lo -MD -MP -MF ".deps/libcgicc_la-HTMLElementList.Tpo" -c -o libcgicc_la-HTMLElementList.lo `test -f 'HTMLElementList.cpp' || echo './'`HTMLElementList.cpp; \ then mv -f ".deps/libcgicc_la-HTMLElementList.Tpo" ".deps/libcgicc_la-HTMLElementList.Plo"; else rm -f ".deps/libcgicc_la-HTMLElementList.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElementList.lo -MD -MP -MF .deps/libcgicc_la-HTMLElementList.Tpo -c HTMLElementList.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTMLElementList.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTMLElementList.lo -MD -MP -MF .deps/libcgicc_la-HTMLElementList.Tpo -c HTMLElementList.cpp -o libcgicc_la-HTMLElementList.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPContentHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPContentHeader.Tpo" -c -o libcgicc_la-HTTPContentHeader.lo `test -f 'HTTPContentHeader.cpp' || echo './'`HTTPContentHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPContentHeader.Tpo" ".deps/libcgicc_la-HTTPContentHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPContentHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPContentHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPContentHeader.Tpo -c HTTPContentHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPContentHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPContentHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPContentHeader.Tpo -c HTTPContentHeader.cpp -o libcgicc_la-HTTPContentHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPCookie.lo -MD -MP -MF ".deps/libcgicc_la-HTTPCookie.Tpo" -c -o libcgicc_la-HTTPCookie.lo `test -f 'HTTPCookie.cpp' || echo './'`HTTPCookie.cpp; \ then mv -f ".deps/libcgicc_la-HTTPCookie.Tpo" ".deps/libcgicc_la-HTTPCookie.Plo"; else rm -f ".deps/libcgicc_la-HTTPCookie.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPCookie.lo -MD -MP -MF .deps/libcgicc_la-HTTPCookie.Tpo -c HTTPCookie.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPCookie.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPCookie.lo -MD -MP -MF .deps/libcgicc_la-HTTPCookie.Tpo -c HTTPCookie.cpp -o libcgicc_la-HTTPCookie.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHTMLHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPHTMLHeader.Tpo" -c -o libcgicc_la-HTTPHTMLHeader.lo `test -f 'HTTPHTMLHeader.cpp' || echo './'`HTTPHTMLHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPHTMLHeader.Tpo" ".deps/libcgicc_la-HTTPHTMLHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPHTMLHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHTMLHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPHTMLHeader.Tpo -c HTTPHTMLHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPHTMLHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHTMLHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPHTMLHeader.Tpo -c HTTPHTMLHeader.cpp -o libcgicc_la-HTTPHTMLHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPHeader.Tpo" -c -o libcgicc_la-HTTPHeader.lo `test -f 'HTTPHeader.cpp' || echo './'`HTTPHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPHeader.Tpo" ".deps/libcgicc_la-HTTPHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPHeader.Tpo -c HTTPHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPHeader.Tpo -c HTTPHeader.cpp -o libcgicc_la-HTTPHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPPlainHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPPlainHeader.Tpo" -c -o libcgicc_la-HTTPPlainHeader.lo `test -f 'HTTPPlainHeader.cpp' || echo './'`HTTPPlainHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPPlainHeader.Tpo" ".deps/libcgicc_la-HTTPPlainHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPPlainHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPPlainHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPPlainHeader.Tpo -c HTTPPlainHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPPlainHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPPlainHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPPlainHeader.Tpo -c HTTPPlainHeader.cpp -o libcgicc_la-HTTPPlainHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPRedirectHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPRedirectHeader.Tpo" -c -o libcgicc_la-HTTPRedirectHeader.lo `test -f 'HTTPRedirectHeader.cpp' || echo './'`HTTPRedirectHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPRedirectHeader.Tpo" ".deps/libcgicc_la-HTTPRedirectHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPRedirectHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPRedirectHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPRedirectHeader.Tpo -c HTTPRedirectHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPRedirectHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPRedirectHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPRedirectHeader.Tpo -c HTTPRedirectHeader.cpp -o libcgicc_la-HTTPRedirectHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPResponseHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPResponseHeader.Tpo" -c -o libcgicc_la-HTTPResponseHeader.lo `test -f 'HTTPResponseHeader.cpp' || echo './'`HTTPResponseHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPResponseHeader.Tpo" ".deps/libcgicc_la-HTTPResponseHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPResponseHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPResponseHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPResponseHeader.Tpo -c HTTPResponseHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPResponseHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPResponseHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPResponseHeader.Tpo -c HTTPResponseHeader.cpp -o libcgicc_la-HTTPResponseHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPStatusHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPStatusHeader.Tpo" -c -o libcgicc_la-HTTPStatusHeader.lo `test -f 'HTTPStatusHeader.cpp' || echo './'`HTTPStatusHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPStatusHeader.Tpo" ".deps/libcgicc_la-HTTPStatusHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPStatusHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPStatusHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPStatusHeader.Tpo -c HTTPStatusHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPStatusHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPStatusHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPStatusHeader.Tpo -c HTTPStatusHeader.cpp -o libcgicc_la-HTTPStatusHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-MStreamable.lo -MD -MP -MF ".deps/libcgicc_la-MStreamable.Tpo" -c -o libcgicc_la-MStreamable.lo `test -f 'MStreamable.cpp' || echo './'`MStreamable.cpp; \ then mv -f ".deps/libcgicc_la-MStreamable.Tpo" ".deps/libcgicc_la-MStreamable.Plo"; else rm -f ".deps/libcgicc_la-MStreamable.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-MStreamable.lo -MD -MP -MF .deps/libcgicc_la-MStreamable.Tpo -c MStreamable.cpp -fPIC -DPIC -o .libs/libcgicc_la-MStreamable.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-MStreamable.lo -MD -MP -MF .deps/libcgicc_la-MStreamable.Tpo -c MStreamable.cpp -o libcgicc_la-MStreamable.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPXHTMLHeader.lo -MD -MP -MF ".deps/libcgicc_la-HTTPXHTMLHeader.Tpo" -c -o libcgicc_la-HTTPXHTMLHeader.lo `test -f 'HTTPXHTMLHeader.cpp' || echo './'`HTTPXHTMLHeader.cpp; \ then mv -f ".deps/libcgicc_la-HTTPXHTMLHeader.Tpo" ".deps/libcgicc_la-HTTPXHTMLHeader.Plo"; else rm -f ".deps/libcgicc_la-HTTPXHTMLHeader.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPXHTMLHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPXHTMLHeader.Tpo -c HTTPXHTMLHeader.cpp -fPIC -DPIC -o .libs/libcgicc_la-HTTPXHTMLHeader.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-HTTPXHTMLHeader.lo -MD -MP -MF .deps/libcgicc_la-HTTPXHTMLHeader.Tpo -c HTTPXHTMLHeader.cpp -o libcgicc_la-HTTPXHTMLHeader.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XHTMLDoctype.lo -MD -MP -MF ".deps/libcgicc_la-XHTMLDoctype.Tpo" -c -o libcgicc_la-XHTMLDoctype.lo `test -f 'XHTMLDoctype.cpp' || echo './'`XHTMLDoctype.cpp; \ then mv -f ".deps/libcgicc_la-XHTMLDoctype.Tpo" ".deps/libcgicc_la-XHTMLDoctype.Plo"; else rm -f ".deps/libcgicc_la-XHTMLDoctype.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XHTMLDoctype.lo -MD -MP -MF .deps/libcgicc_la-XHTMLDoctype.Tpo -c XHTMLDoctype.cpp -fPIC -DPIC -o .libs/libcgicc_la-XHTMLDoctype.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XHTMLDoctype.lo -MD -MP -MF .deps/libcgicc_la-XHTMLDoctype.Tpo -c XHTMLDoctype.cpp -o libcgicc_la-XHTMLDoctype.o >/dev/null 2>&1 if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XMLPI.lo -MD -MP -MF ".deps/libcgicc_la-XMLPI.Tpo" -c -o libcgicc_la-XMLPI.lo `test -f 'XMLPI.cpp' || echo './'`XMLPI.cpp; \ then mv -f ".deps/libcgicc_la-XMLPI.Tpo" ".deps/libcgicc_la-XMLPI.Plo"; else rm -f ".deps/libcgicc_la-XMLPI.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XMLPI.lo -MD -MP -MF .deps/libcgicc_la-XMLPI.Tpo -c XMLPI.cpp -fPIC -DPIC -o .libs/libcgicc_la-XMLPI.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -x c++ -Wall -W -pedantic -g -O2 -MT libcgicc_la-XMLPI.lo -MD -MP -MF .deps/libcgicc_la-XMLPI.Tpo -c XMLPI.cpp -o libcgicc_la-XMLPI.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o libcgicc.la -rpath /usr/lib -lstdc++ -version-info 5:2:0 libcgicc_la-CgiEnvironment.lo libcgicc_la-CgiInput.lo libcgicc_la-CgiUtils.lo libcgicc_la-Cgicc.lo libcgicc_la-FormEntry.lo libcgicc_la-FormFile.lo libcgicc_la-HTMLAttribute.lo libcgicc_la-HTMLAttributeList.lo libcgicc_la-HTMLDoctype.lo libcgicc_la-HTMLElement.lo libcgicc_la-HTMLElementList.lo libcgicc_la-HTTPContentHeader.lo libcgicc_la-HTTPCookie.lo libcgicc_la-HTTPHTMLHeader.lo libcgicc_la-HTTPHeader.lo libcgicc_la-HTTPPlainHeader.lo libcgicc_la-HTTPRedirectHeader.lo libcgicc_la-HTTPResponseHeader.lo libcgicc_la-HTTPStatusHeader.lo libcgicc_la-MStreamable.lo libcgicc_la-HTTPXHTMLHeader.lo libcgicc_la-XHTMLDoctype.lo libcgicc_la-XMLPI.lo libtool: link: g++ -shared .libs/libcgicc_la-CgiEnvironment.o .libs/libcgicc_la-CgiInput.o .libs/libcgicc_la-CgiUtils.o .libs/libcgicc_la-Cgicc.o .libs/libcgicc_la-FormEntry.o .libs/libcgicc_la-FormFile.o .libs/libcgicc_la-HTMLAttribute.o .libs/libcgicc_la-HTMLAttributeList.o .libs/libcgicc_la-HTMLDoctype.o .libs/libcgicc_la-HTMLElement.o .libs/libcgicc_la-HTMLElementList.o .libs/libcgicc_la-HTTPContentHeader.o .libs/libcgicc_la-HTTPCookie.o .libs/libcgicc_la-HTTPHTMLHeader.o .libs/libcgicc_la-HTTPHeader.o .libs/libcgicc_la-HTTPPlainHeader.o .libs/libcgicc_la-HTTPRedirectHeader.o .libs/libcgicc_la-HTTPResponseHeader.o .libs/libcgicc_la-HTTPStatusHeader.o .libs/libcgicc_la-MStreamable.o .libs/libcgicc_la-HTTPXHTMLHeader.o .libs/libcgicc_la-XHTMLDoctype.o .libs/libcgicc_la-XMLPI.o -lstdc++ -lm -lc -lgcc_s -Wl,-soname -Wl,libcgicc.so.5 -o .libs/libcgicc.so.5.0.2 libtool: link: (cd ".libs" && rm -f "libcgicc.so.5" && ln -s "libcgicc.so.5.0.2" "libcgicc.so.5") libtool: link: (cd ".libs" && rm -f "libcgicc.so" && ln -s "libcgicc.so.5.0.2" "libcgicc.so") libtool: link: ar cru .libs/libcgicc.a libcgicc_la-CgiEnvironment.o libcgicc_la-CgiInput.o libcgicc_la-CgiUtils.o libcgicc_la-Cgicc.o libcgicc_la-FormEntry.o libcgicc_la-FormFile.o libcgicc_la-HTMLAttribute.o libcgicc_la-HTMLAttributeList.o libcgicc_la-HTMLDoctype.o libcgicc_la-HTMLElement.o libcgicc_la-HTMLElementList.o libcgicc_la-HTTPContentHeader.o libcgicc_la-HTTPCookie.o libcgicc_la-HTTPHTMLHeader.o libcgicc_la-HTTPHeader.o libcgicc_la-HTTPPlainHeader.o libcgicc_la-HTTPRedirectHeader.o libcgicc_la-HTTPResponseHeader.o libcgicc_la-HTTPStatusHeader.o libcgicc_la-MStreamable.o libcgicc_la-HTTPXHTMLHeader.o libcgicc_la-XHTMLDoctype.o libcgicc_la-XMLPI.o libtool: link: ranlib .libs/libcgicc.a libtool: link: ( cd ".libs" && rm -f "libcgicc.la" && ln -s "../libcgicc.la" "libcgicc.la" ) make[2]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make[1]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' Making all in doc make[1]: Entering directory `/home/steve/cgicc-3.2.7/doc' make html-doc make[2]: Entering directory `/home/steve/cgicc-3.2.7/doc' if test ! -d html; then \ mkdir html; \ fi; DATE=`date '+%-d %b %Y'` VERSION=3.2.7 /bin/echo Doxyfile Doxyfile cp cgicc.png gnu-head-sm.jpg cgicc-doc.css html mv html/index.html html/index.html.bak mv: cannot stat `html/index.html': No such file or directory make[2]: *** [html-doc] Error 1 make[2]: Leaving directory `/home/steve/cgicc-3.2.7/doc' make[1]: *** [stamp] Error 2 make[1]: Leaving directory `/home/steve/cgicc-3.2.7/doc' make: *** [all-recursive] Error 1
and re-ran make. Here's what make then gave me:Code:touch index.html
I gave up at this point. I can't believe that these are the steps people are expected to take to install cgicc. Can you see anything that appears to be wrong that I've missed?Code:Making all in cgicc make[1]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make all-am make[2]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make[2]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make[1]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' Making all in doc make[1]: Entering directory `/home/steve/cgicc-3.2.7/doc' make html-doc make[2]: Entering directory `/home/steve/cgicc-3.2.7/doc' if test ! -d html; then \ mkdir html; \ fi; DATE=`date '+%-d %b %Y'` VERSION=3.2.7 /bin/echo Doxyfile Doxyfile cp cgicc.png gnu-head-sm.jpg cgicc-doc.css html mv html/index.html html/index.html.bak sed -e 's/$title/GNU cgicc documentation version 3.2.7/g' -e 's/$(VERSION)/3.2.7/g' html/index.html.bak > html/index.html rm -f html/index.html.bak make[2]: Leaving directory `/home/steve/cgicc-3.2.7/doc' touch stamp make[1]: Leaving directory `/home/steve/cgicc-3.2.7/doc' Making all in support make[1]: Entering directory `/home/steve/cgicc-3.2.7/support' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/steve/cgicc-3.2.7/support' Making all in demo make[1]: Entering directory `/home/steve/cgicc-3.2.7/demo' if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o test.cpp; \ then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o test.cgi test.o ../cgicc/libcgicc.la libtool: link: g++ -Wall -W -pedantic -g -O2 -o .libs/test.cgi test.o ../cgicc/.libs/libcgicc.so if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT dns.o -MD -MP -MF ".deps/dns.Tpo" -c -o dns.o dns.cpp; \ then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; fi dns.cpp: In function ‘int main(int, char**)’: dns.cpp:128: error: ‘memcpy’ was not declared in this scope dns.cpp:160: error: ‘memcpy’ was not declared in this scope make[1]: *** [dns.o] Error 1 make[1]: Leaving directory `/home/steve/cgicc-3.2.7/demo' make: *** [all-recursive] Error 1
I've also tried installing cgicc on a different computer running Ubuntu 8.10, and as far as I can see that one gives exactly the same errors/problems.
All ideas welcomed.
- 08-29-2009 #4Just Joined!
- Join Date
- Feb 2009
- Location
- location, location
- Posts
- 18
Hmm. Just seen that make complains about "autoconf" not being installed. So I ran
then for good measure, re-unpacked the cgicc tarball to start afresh, ran configure, copied libtool, touched doc/html/index.html, and then ran make. Here's what make tells me:Code:sudo apt-get install autoconf
Code:Making all in cgicc make[1]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make all-am make[2]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make[2]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make[1]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' Making all in doc make[1]: Entering directory `/home/steve/cgicc-3.2.7/doc' make html-doc make[2]: Entering directory `/home/steve/cgicc-3.2.7/doc' if test ! -d html; then \ mkdir html; \ fi; DATE=`date '+%-d %b %Y'` VERSION=3.2.7 /bin/echo Doxyfile Doxyfile cp cgicc.png gnu-head-sm.jpg cgicc-doc.css html mv html/index.html html/index.html.bak sed -e 's/$title/GNU cgicc documentation version 3.2.7/g' -e 's/$(VERSION)/3.2.7/g' html/index.html.bak > html/index.html rm -f html/index.html.bak make[2]: Leaving directory `/home/steve/cgicc-3.2.7/doc' touch stamp make[1]: Leaving directory `/home/steve/cgicc-3.2.7/doc' Making all in support make[1]: Entering directory `/home/steve/cgicc-3.2.7/support' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/steve/cgicc-3.2.7/support' Making all in demo make[1]: Entering directory `/home/steve/cgicc-3.2.7/demo' if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT test.o -MD -MP -MF ".deps/test.Tpo" -c -o test.o test.cpp; \ then mv -f ".deps/test.Tpo" ".deps/test.Po"; else rm -f ".deps/test.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o test.cgi test.o ../cgicc/libcgicc.la libtool: link: g++ -Wall -W -pedantic -g -O2 -o .libs/test.cgi test.o ../cgicc/.libs/libcgicc.so if g++ -DHAVE_CONFIG_H -I. -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT dns.o -MD -MP -MF ".deps/dns.Tpo" -c -o dns.o dns.cpp; \ then mv -f ".deps/dns.Tpo" ".deps/dns.Po"; else rm -f ".deps/dns.Tpo"; exit 1; fi dns.cpp: In function ‘int main(int, char**)’: dns.cpp:128: error: ‘memcpy’ was not declared in this scope dns.cpp:160: error: ‘memcpy’ was not declared in this scope make[1]: *** [dns.o] Error 1 make[1]: Leaving directory `/home/steve/cgicc-3.2.7/demo' make: *** [all-recursive] Error 1
- 08-29-2009 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Well, that last error seems to be that memcpy, which is declared in <string.h>, hasn't been declared in dns.cpp or any of its include files. So, edit dns.cpp and add #include <string.h> there.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 08-29-2009 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
FWIW, I on occasion find that the source code for tools such as these are not properly set up for multi-platform development. It's mostly a matter of due dilligence on the part of the developers, and that is often the victim of lack of time, resources, or (apparent) need. A question: where did you download this package from?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-03-2009 #7Just Joined!
- Join Date
- Feb 2009
- Location
- location, location
- Posts
- 18
Hi Rubberman,
I downloaded the tarball from the GNU website (can't link to it as I haven't made 15 posts on this forum yet).
Some kind soul on the cgicc mailing list got in touch with me to let me know that the version of libtool I've downloaded has a problem. Running ./autogen within the cgicc directory removes the need to copy libtool over manually.
I added the #include to dns.cpp as you suggested. It gets a bit further once again, but still bombs out with an error:
So, I added "#include <algorithm>" to cardgame.cpp. I *think* that then made it compile OK. Phew! Many thanks for your help.Code:Making all in cgicc make[1]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make all-am make[2]: Entering directory `/home/steve/cgicc-3.2.7/cgicc' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' make[1]: Leaving directory `/home/steve/cgicc-3.2.7/cgicc' Making all in doc make[1]: Entering directory `/home/steve/cgicc-3.2.7/doc' make html-doc make[2]: Entering directory `/home/steve/cgicc-3.2.7/doc' if test ! -d html; then \ mkdir html; \ fi; DATE=`date '+%-d %b %Y'` VERSION=3.2.7 /bin/echo Doxyfile Doxyfile cp cgicc.png gnu-head-sm.jpg cgicc-doc.css html mv html/index.html html/index.html.bak sed -e 's/$title/GNU cgicc documentation version 3.2.7/g' -e 's/$(VERSION)/3.2.7/g' html/index.html.bak > html/index.html rm -f html/index.html.bak make[2]: Leaving directory `/home/steve/cgicc-3.2.7/doc' touch stamp make[1]: Leaving directory `/home/steve/cgicc-3.2.7/doc' Making all in support make[1]: Entering directory `/home/steve/cgicc-3.2.7/support' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/steve/cgicc-3.2.7/support' Making all in demo make[1]: Entering directory `/home/steve/cgicc-3.2.7/demo' g++ -DHAVE_CONFIG_H -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT dns.o -MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.cpp mv -f .deps/dns.Tpo .deps/dns.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o dns.cgi dns.o ../cgicc/libcgicc.la -lnsl libtool: link: g++ -Wall -W -pedantic -g -O2 -o .libs/dns.cgi dns.o ../cgicc/.libs/libcgicc.so -lnsl g++ -DHAVE_CONFIG_H -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT upload.o -MD -MP -MF .deps/upload.Tpo -c -o upload.o upload.cpp mv -f .deps/upload.Tpo .deps/upload.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o upload.cgi upload.o ../cgicc/libcgicc.la libtool: link: g++ -Wall -W -pedantic -g -O2 -o .libs/upload.cgi upload.o ../cgicc/.libs/libcgicc.so g++ -DHAVE_CONFIG_H -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT cookie.o -MD -MP -MF .deps/cookie.Tpo -c -o cookie.o cookie.cpp mv -f .deps/cookie.Tpo .deps/cookie.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -W -pedantic -g -O2 -o cookie.cgi cookie.o ../cgicc/libcgicc.la libtool: link: g++ -Wall -W -pedantic -g -O2 -o .libs/cookie.cgi cookie.o ../cgicc/.libs/libcgicc.so g++ -DHAVE_CONFIG_H -I. -I../cgicc -I.. -I.. -Wall -W -pedantic -g -O2 -MT cardgame.o -MD -MP -MF .deps/cardgame.Tpo -c -o cardgame.o cardgame.cpp cardgame.cpp: In function ‘datasplayer* CardGameTools::convertStringToStuct(std::string)’: cardgame.cpp:177: warning: suggest explicit curly brackets to avoid ambiguous ‘else’ cardgame.cpp: In function ‘datasgame* CardGameTools::getGame(std::string)’: cardgame.cpp:370: warning: suggest explicit curly brackets to avoid ambiguous ‘else’ cardgame.cpp: In function ‘void CardGameTools::drawPlayerCards(datasplayer*)’: cardgame.cpp:1046: error: ‘sort’ was not declared in this scope cardgame.cpp: In function ‘void CardGameTools::IAPlay(datasgame*, int)’: cardgame.cpp:1232: error: ‘sort’ was not declared in this scope make[1]: *** [cardgame.o] Error 1 make[1]: Leaving directory `/home/steve/cgicc-3.2.7/demo' make: *** [all-recursive] Error 1
I wonder what the cause of the problems were. Either
1) the problem(s) with the latest libtool were causing the cgicc compilation errors; or
2) cgicc wasn't been compiled on a clean Linux installation before being uploaded to their FTP site; or
3) I'm missing some other dependencies somewhere.


Reply With Quote