./bootstrap.sh Running phpize... Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 done. ./configure checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for PHP extension directory... /usr/lib/php5/20060613+lfs checking for PHP installed headers prefix... /usr/include/php5 checking for re2c... re2c checking for re2c version... 0.13.5 (ok) checking for gawk... gawk checking for teng support... yes, shared checking for teng files in default path... found in /usr/local found in /usr checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for teng_library_present in -lteng... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes 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 recognize 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... gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether gfortran accepts -g... yes checking the maximum length of command line arguments... 98304 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... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gfortran option to produce PIC... -fPIC checking if gfortran PIC flag -fPIC works... yes checking if gfortran static flag -static works... yes checking if gfortran supports -c -o file.o... yes checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate configure: creating ./config.status config.status: creating config.h config.status: config.h is unchanged make /bin/sh /root/teng/php4-teng-1.0.0/libtool --mode=compile g++ -I. -I/root/teng/php4-teng-1.0.0 -DPHP_ATOM_INC -I/root/teng/php4-teng-1.0.0/include -I/root/teng/php4-teng-1.0.0/main -I/root/teng/php4-teng-1.0.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/teng/php4-teng-1.0.0/yes -DHAVE_CONFIG_H -g -O2 -c /root/teng/php4-teng-1.0.0/teng.cpp -o teng.lo mkdir .libs g++ -I. -I/root/teng/php4-teng-1.0.0 -DPHP_ATOM_INC -I/root/teng/php4-teng-1.0.0/include -I/root/teng/php4-teng-1.0.0/main -I/root/teng/php4-teng-1.0.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/root/teng/php4-teng-1.0.0/yes -DHAVE_CONFIG_H -g -O2 -c /root/teng/php4-teng-1.0.0/teng.cpp -fPIC -DPIC -o .libs/teng.o In file included from /usr/local/include/teng.h:46, from /root/teng/php4-teng-1.0.0/teng.cpp:40: /usr/local/include/tengwriter.h:116: error: invalid abstract return type for member function ‘Teng::Writer_t Teng::Writer_t::operator=(const Teng::Writer_t&)’ /usr/local/include/tengwriter.h:50: note: because the following virtual functions are pure within ‘Teng::Writer_t’: /usr/local/include/tengwriter.h:67: note: virtual int Teng::Writer_t::write(const std::string&) /usr/local/include/tengwriter.h:74: note: virtual int Teng::Writer_t::write(const char*) /usr/local/include/tengwriter.h:85: note: virtual int Teng::Writer_t::write(const std::string&, std::pair<__gnu_cxx::__normal_iterator, std::allocator > >, __gnu_cxx::__normal_iterator, std::allocator > > >) /usr/local/include/tengwriter.h:91: note: virtual int Teng::Writer_t::flush() /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:70: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:90: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:90: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:196: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘int zm_startup_teng(int, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:222: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:224: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘int generate_page(zval*, const std::string*, const std::string*, zval*, zval*, std::string&)’: /root/teng/php4-teng-1.0.0/teng.cpp:450: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:456: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:457: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:458: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:459: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:460: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:461: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:462: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:495: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_init(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:595: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_release(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:663: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:667: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_create_data_root(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:691: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_release_data(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:718: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:722: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_add_fragment(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:755: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:759: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_page_string(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:804: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_page_string_from_string(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:844: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp: In function ‘void zif_teng_dict_lookup(int, zval*, zval**, zval*, int)’: /root/teng/php4-teng-1.0.0/teng.cpp:884: warning: deprecated conversion from string constant to ‘char*’ /root/teng/php4-teng-1.0.0/teng.cpp:895: warning: deprecated conversion from string constant to ‘char*’ make: *** [teng.lo] Error 1